]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 30 Jul 2025 11:09:46 +0000 (13:09 +0200)
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
drivers/gpu/drm/xe/xe_device.c

index d04a0ae018e66cb0ffec77f58bcc11e87b430113..c754374f1a8dbc213ab0bb16a865218774b94507 100644 (file)
@@ -682,6 +682,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;