ac/surface: don't set the display flag for obviously unsupported cases (v2)
authorMarek Olšák <marek.olsak@amd.com>
Mon, 2 Apr 2018 16:51:14 +0000 (12:51 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 10 Apr 2018 17:06:03 +0000 (13:06 -0400)
commite29facff315ea63b8643766a45b3e56bf1dd8866
tree92f355ccda510809cdd3516513f3da7cabe933c2
parent19ce5048eedeac6584ae51f79658656ae53f0e05
ac/surface: don't set the display flag for obviously unsupported cases (v2)

This enables the tile swizzle for some cases of the displayable micro mode,
and it also fixes an addrlib assertion failure on Vega.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_image.c
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c