i915/perf: Disable OA sseu config param for gfx12.50+
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Thu, 7 Jul 2022 19:30:02 +0000 (12:30 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 8 Jul 2022 15:27:36 +0000 (08:27 -0700)
commitca437b45ac6d4baac348303920dae0fdee68e937
treea4d851ad4de701b0b9d61f8ba4451fd50c6fb3bb
parent2fec539112e89255b6a47f566e21d99937fada7b
i915/perf: Disable OA sseu config param for gfx12.50+

The global sseu config is applicable only to gen11 platforms where
concurrent media, render and OA use cases may cause some subslices to be
turned off and hence lose NOA configuration. Ideally we want to return
ENODEV for non-gen11 platforms, however, this has shipped with gfx12, so
disable only for gfx12.50+.

v2: gfx12 is already shipped with this, disable for gfx12.50+ (Lionel)

v3: (Matt)
- Update commit message and replace "12.5" with "12.50"
- Replace DRM_DEBUG() with driver specific drm_dbg()

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220707193002.2859653-2-umesh.nerlige.ramappa@intel.com
drivers/gpu/drm/i915/i915_perf.c