mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
drm/xe/xe3p_lpm: Skip disabling NOA on unsupported IPs
IP version 35 has removed "NOA Enable Signal" bit from RPM_CONFIG1 register. Skip clearing that bit on unsupported IPs. Bspec: 62391 Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20251016-xe3p-v3-5-3dd173a3097a@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
committed by
Lucas De Marchi
parent
4ad05339c5
commit
6f2aa1493d
@@ -837,7 +837,8 @@ static void xe_oa_disable_metric_set(struct xe_oa_stream *stream)
|
||||
xe_oa_configure_oa_context(stream, false);
|
||||
|
||||
/* Make sure we disable noa to save power. */
|
||||
xe_mmio_rmw32(mmio, RPM_CONFIG1, GT_NOA_ENABLE, 0);
|
||||
if (GT_VER(stream->gt) < 35)
|
||||
xe_mmio_rmw32(mmio, RPM_CONFIG1, GT_NOA_ENABLE, 0);
|
||||
|
||||
sqcnt1 = SQCNT1_PMON_ENABLE |
|
||||
(HAS_OA_BPC_REPORTING(stream->oa->xe) ? SQCNT1_OABPC : 0);
|
||||
|
||||
Reference in New Issue
Block a user