mesa/src/intel
Sushma Venkatesh Reddy 7ca77370d2 anv: Fix I915_PARAM_HAS_CONTEXT_FREQ_HINT check
When I915_PARAM_HAS_CONTEXT_FREQ_HINT is not supported the
intel_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp) will return -1 and that
will cause i915_gem_get_param() to return false.

val will be different than 1 when not using GuC submission, so we are
forcing val check to ensure this holds good in platforms that doesn't
support GuC submission.

Fixes: d52dd5a9 ("anv/drirc: add option to provide low latency hint")

Signed-off-by: Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30234>
2024-07-18 18:26:38 +00:00
..
blorp blorp: Ensure MSAA fast clear in correct modes (xe2) 2024-07-02 19:03:19 +00:00
ci ci: simplify setting .no-auto-retry now that it isn't bundled with unrelated rules: 2024-07-07 19:31:44 +00:00
common intel/common: fix building error in intel_common.c 2024-07-02 23:35:26 +00:00
compiler intel/brw: Don't mix types for unary extended math instructions 2024-07-18 03:25:06 +00:00
decoder intel/decoder: Add intel_print_group_custom_spacing() 2024-04-24 17:07:50 +00:00
dev intel/dev: Drop writeback_incoherent from Xe2 2024-07-17 17:41:32 +00:00
ds intel/ds: remove duplicate arguments 2024-07-03 21:10:13 +00:00
genxml build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
isl isl: Add some formats not covered in CMF table (xe2) 2024-07-02 19:03:19 +00:00
nullhw-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
perf intel: Rename XE_PERF to XE_OBSERVATION 2024-07-17 01:00:34 +00:00
shaders meson: use glslang --depfile argument when possible 2024-05-20 17:34:17 +00:00
tools build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
vulkan anv: Fix I915_PARAM_HAS_CONTEXT_FREQ_HINT check 2024-07-18 18:26:38 +00:00
vulkan_hasvk hasvk: pass anv_address to predicate helper 2024-07-03 21:10:13 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00