anv: Always set has_context_priority
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 28 Feb 2018 23:25:48 +0000 (15:25 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Mar 2018 01:31:20 +0000 (17:31 -0800)
commit6d3edbea16335b1f85f9e4e38cfe6dbd1133472d
treec5b6a5e1826dab2aeb02f3643ae3625ffa943920
parent0fc009b8c7bd6fb4a2cc77e9c4d0440acdc58ee1
anv: Always set has_context_priority

We don't zalloc the physical device so we need to unconditionally set
everything.  Crucible helpfully initializes all allocations to 139 so it
was getting true regardless of whether or not the kernel actually
supports context priorities.

Fixes: 6d8ab53303331 "anv: implement VK_EXT_global_priority extension"
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_device.c