iris: Move SET_DOMAIN to alloc_fresh_bo()
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 30 May 2019 06:40:20 +0000 (23:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 30 May 2019 07:15:26 +0000 (00:15 -0700)
commit0cb380a6b318376743174d173f5bc9e18b9b8ce3
treeb3783b3072f2cce215fafbba781b4bb6eeade08f
parent53878f7a8989879b0f3ca37df9fd1fb37f2525ca
iris: Move SET_DOMAIN to alloc_fresh_bo()

Chris pointed out that the order between SET_DOMAIN and SET_TILING
doesn't matter, so we can just do the page allocation when creating
a new BO.  Simplifies the flow a bit.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/gallium/drivers/iris/iris_bufmgr.c