]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pf: Improve reading VF config blob from debugfs
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 4 Oct 2025 16:20:34 +0000 (18:20 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 7 Oct 2025 11:00:29 +0000 (13:00 +0200)
commit4592e7abd2cd2900d312a7438dcaa56c13728314
tree19b9a21c5068cdb2a9fe4b8af4f93f614b784f40
parent0faa22e70643211213ba13e7317600da9e96e44b
drm/xe/pf: Improve reading VF config blob from debugfs

Due to the use of the file operation flows, we might encode the
VF config blob multiple times. Avoid that by capturing it once
during the open() operation instead of the read() operation.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://lore.kernel.org/r/20251004162036.1800-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c