]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/vf: Disable CSC support on VF
authorLukasz Laguna <lukasz.laguna@intel.com>
Tue, 29 Jul 2025 12:34:37 +0000 (14:34 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 30 Jul 2025 19:09:27 +0000 (15:09 -0400)
CSC is not accessible by VF drivers, so disable its support flag on VF
to prevent further initialization attempts.

Fixes: e02cea83d32d ("drm/xe/gsc: add Battlemage support")
Signed-off-by: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20250729123437.5933-1-lukasz.laguna@intel.com
(cherry picked from commit 552dbba1caaf0cb40ce961806d757615e26ec668)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device.c

index 6dc84e4ed28155ae3cf9ad9dd42a020ff5312e2c..5bd2f7d7b4ea534c84ef3db3b6ec220fa4c39860 100644 (file)
@@ -681,6 +681,7 @@ static void sriov_update_device_info(struct xe_device *xe)
        /* disable features that are not available/applicable to VFs */
        if (IS_SRIOV_VF(xe)) {
                xe->info.probe_display = 0;
+               xe->info.has_heci_cscfi = 0;
                xe->info.has_heci_gscfi = 0;
                xe->info.skip_guc_pc = 1;
                xe->info.skip_pcode = 1;