ac/surface: set SCANOUT if surf->is_displayable
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 26 May 2020 07:53:27 +0000 (09:53 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 09:11:23 +0000 (09:11 +0000)
commite9826a1bb2fd156479c62e915d3cab567876061f
tree6d3bda75b1105d43a2ce3a1aab51e28fad7fa1e7
parent10f07495f694e175f50bfd088b72dc2e0ecdecad
ac/surface: set SCANOUT if surf->is_displayable

Fixes: ba10fb3f7f4 ("radeonsi: preserve the scanout flag for shared resources on gfx9 and gfx10")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5314>
src/amd/common/ac_surface.c