anv: Nuke cmd_parser_version

This was only necessary for gen7 platforms that no longer support by
anv.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18601>
This commit is contained in:
José Roberto de Souza
2022-09-02 06:43:47 -07:00
committed by Marge Bot
parent 6b36d20bb2
commit 7d399a2e78
2 changed files with 0 additions and 3 deletions

View File

@@ -805,8 +805,6 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
device->info = devinfo; device->info = devinfo;
device->cmd_parser_version = -1;
if (!anv_gem_get_param(fd, I915_PARAM_HAS_WAIT_TIMEOUT)) { if (!anv_gem_get_param(fd, I915_PARAM_HAS_WAIT_TIMEOUT)) {
result = vk_errorf(device, VK_ERROR_INITIALIZATION_FAILED, result = vk_errorf(device, VK_ERROR_INITIALIZATION_FAILED,
"kernel missing gem wait"); "kernel missing gem wait");

View File

@@ -905,7 +905,6 @@ struct anv_physical_device {
* end. * end.
*/ */
uint32_t n_perf_query_commands; uint32_t n_perf_query_commands;
int cmd_parser_version;
bool has_exec_async; bool has_exec_async;
bool has_exec_capture; bool has_exec_capture;
int max_context_priority; int max_context_priority;