]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Prevent VFs from exposing the CCS mode sysfs file
authorNareshkumar Gollakoti <naresh.kumar.g@intel.com>
Mon, 2 Feb 2026 17:08:12 +0000 (22:38 +0530)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 5 Feb 2026 20:51:58 +0000 (21:51 +0100)
commit4e8f602ac3574cf1ebc7acfb6624d06e04b30c91
tree9ddae38a072f0bcf1566732d4335678907014bbc
parentf59cde8a2452b392115d2af8f1143a94725f4827
drm/xe: Prevent VFs from exposing the CCS mode sysfs file

Skip creating CCS sysfs files in VF mode to ensure VFs do not
try to change CCS mode, as it is predefined and immutable in
the SR-IOV mode.

Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Nareshkumar Gollakoti <naresh.kumar.g@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20260202170810.1393147-5-naresh.kumar.g@intel.com
drivers/gpu/drm/xe/xe_gt_ccs_mode.c