]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/vf: Don't check CTC_MODE[0] if VF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 11 Mar 2025 11:40:41 +0000 (12:40 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 12 Mar 2025 12:44:04 +0000 (13:44 +0100)
commitfce3fb7b914bcd19341de8d8eff8bef371c2cddf
treef7415628a5b8bedbdf4ec8c34ac2d68e131c2b13
parentf990c11a63bb957ecdde4629492b334e3e42f072
drm/xe/vf: Don't check CTC_MODE[0] if VF

Starting from commit 18778b5fdd01 ("drm/xe: Eliminate usage of
TIMESTAMP_OVERRIDE") we access the CTC_MODE register only to warn
if it has undocumented value.  There is no point in doing that on
the VF driver.  While here, move this check to a helper function.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250311114042.1954-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_clock.c