drm/xe/xe2: Enable Indirect Ring State support for Xe2
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Tue, 7 May 2024 22:42:53 +0000 (15:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 8 May 2024 21:48:33 +0000 (14:48 -0700)
Indirect Ring State is the recommended mode for Xe2 platforms,
enable it by default.

v2: Set has_indirect_ring_state to '1' instead of 'true'

Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240507224255.5059-5-niranjana.vishwanathapura@intel.com
drivers/gpu/drm/xe/xe_pci.c

index 595e409..83e662a 100644 (file)
@@ -166,6 +166,7 @@ static const struct xe_graphics_desc graphics_xelpg = {
        .has_asid = 1, \
        .has_atomic_enable_pte_bit = 1, \
        .has_flat_ccs = 1, \
+       .has_indirect_ring_state = 1, \
        .has_range_tlb_invalidation = 1, \
        .has_usm = 1, \
        .va_bits = 48, \