radv/wsi: drop allocate memory special case
authorDave Airlie <airlied@redhat.com>
Thu, 16 Nov 2017 01:03:22 +0000 (11:03 +1000)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
commit69365d72de7086bf10017ba896e68e3ebdf7b956
tree514654bf43cf14ddd96c0aab540c6a5a172a8a9c
parente12688f365258f6f719983528a2af9b6ca4e25c5
radv/wsi: drop allocate memory special case

Just check if image has scanout flag set

v2 (Jason Ekstrand):
 - Rebase
 - Also drop the now unused radv_mem_flag_bits enum

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h