]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/xe_late_bind_fw: Introduce debug fs node to disable late binding
authorBadal Nilawar <badal.nilawar@intel.com>
Fri, 5 Sep 2025 15:49:52 +0000 (21:19 +0530)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 18 Sep 2025 16:32:01 +0000 (09:32 -0700)
commit67de7982d5053f5a277f86e4560fea98dd95dcdf
treed0b413c4a0757215f27a1422f98dac3307554bfc
parent02f52f6d924037a20e90a280363afba10e425367
drm/xe/xe_late_bind_fw: Introduce debug fs node to disable late binding

Introduce a debug filesystem node to disable late binding fw reload
during the system or runtime resume. This is intended for situations
where the late binding fw needs to be loaded from user mode,
perticularly for validation purpose.
Note that xe kmd doesn't participate in late binding flow from user
space. Binary loaded from the userspace will be lost upon entering to
D3 cold hence user space app need to handle this situation.

v2:
  - s/(uval == 1) ? true : false/!!uval/ (Daniele)
v3:
  - Refine the commit message (Daniele)

Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250905154953.3974335-9-badal.nilawar@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_debugfs.c
drivers/gpu/drm/xe/xe_late_bind_fw.c
drivers/gpu/drm/xe/xe_late_bind_fw_types.h