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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 18 Feb 2026 00:42:00 +0000 (19:42 -0500)
commit2d01d88a532b8847757d3015c66beca315f496bf
tree266182469d5171bf96c37171cc8abcbac8f2c94d
parent93d08a1cfc2fb6a5f3e9953eee807c66f38d5547
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
(cherry picked from commit 4e8f602ac3574cf1ebc7acfb6624d06e04b30c91)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_ccs_mode.c