From 7d399a2e78bc8eb97232fcabf9bd1b0ffdaf75a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Fri, 2 Sep 2022 06:43:47 -0700 Subject: [PATCH] anv: Nuke cmd_parser_version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was only necessary for gen7 platforms that no longer support by anv. Signed-off-by: José Roberto de Souza Reviewed-by: Ivan Briano Part-of: --- src/intel/vulkan/anv_device.c | 2 -- src/intel/vulkan/anv_private.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 5798d39ff2d..7837714faa7 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -805,8 +805,6 @@ anv_physical_device_try_create(struct vk_instance *vk_instance, device->info = devinfo; - device->cmd_parser_version = -1; - if (!anv_gem_get_param(fd, I915_PARAM_HAS_WAIT_TIMEOUT)) { result = vk_errorf(device, VK_ERROR_INITIALIZATION_FAILED, "kernel missing gem wait"); diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 4f3eacc9471..a6023bc0849 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -905,7 +905,6 @@ struct anv_physical_device { * end. */ uint32_t n_perf_query_commands; - int cmd_parser_version; bool has_exec_async; bool has_exec_capture; int max_context_priority;