gallium/radeon: don't force the same tiling parameters for FMASK
authorMarek Olšák <marek.olsak@amd.com>
Mon, 24 Oct 2016 16:22:31 +0000 (18:22 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 26 Oct 2016 11:02:58 +0000 (13:02 +0200)
commitd18bf0b9441934c5119351b19e628f9e8df0dd3a
tree2dfd12526e1a37d2085f6d3512ce312062d961a9
parentecf045b4f7c83e2ea070e490d9475c2132308ee4
gallium/radeon: don't force the same tiling parameters for FMASK

GCN can use a completely different tile mode for FMASK.

FMASK allocation now skips one unrelated amdgpu_surface_init codepath as
hinted by the assertion.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_texture.c
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c