]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Drop CTC_MODE register read
authorBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Fri, 17 Oct 2025 02:26:22 +0000 (19:26 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Oct 2025 22:32:37 +0000 (15:32 -0700)
commit26f368949e4ec5767ca2479fdba4d0deb5429958
tree231e6fb203d2c4384f1ddb22ddc2fe9ef7b7c0a6
parentfdce3e20dae82d529e9dbaf3dea155301bc7a4d7
drm/xe: Drop CTC_MODE register read

The warning was added for a condition that never triggered even for
platforms prior to Xe2. It's not supported in Xe2 and in Xe3p the
register is removed from the main GT. Just drop the entire function as
it doesn't bring any benefit.

Bspec: 62395
Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
[ Drop the entire check for CTC_MODE ]
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20251016-xe3p-v3-3-3dd173a3097a@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/regs/xe_gt_regs.h
drivers/gpu/drm/xe/xe_gt_clock.c