]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/vf: Don't expose privileged GT debugfs files if VF
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 3 Apr 2025 14:26:35 +0000 (16:26 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 11 Apr 2025 10:15:10 +0000 (12:15 +0200)
commitd11c5a928a6e1d786e25a9284ef59bf58a02cf0d
tree041559b026d070cbf4d4be7dcd92c705b5b97a9c
parent387444984d7b53dbaee263887cad4ea7c8e57b34
drm/xe/vf: Don't expose privileged GT debugfs files if VF

Some of the debugfs files require access to the registers that are
not accessible to the VFs. Don't expose those files on VF drivers.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Tested-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Reviewed-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250403142635.1821-4-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_debugfs.c