i965/drm: Make a set_domain() helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 05:58:57 +0000 (22:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:33:18 +0000 (14:33 -0700)
commitf053ee78ed2415a91d2960da50ea7c2ff9eddaa5
treec01baeb28dc59d46fd89439358e942523b202698
parenta99a4979fdb84a41cc3626b27695f02b32ebb98a
i965/drm: Make a set_domain() helper function.

Less boilerplate.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/mesa/drivers/dri/i965/brw_bufmgr.c