]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Don't fail probe on unsupported mailbox command
authorRaag Jadav <raag.jadav@intel.com>
Mon, 14 Jul 2025 21:55:03 +0000 (03:25 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 15 Jul 2025 19:26:01 +0000 (15:26 -0400)
commited5461daa150b037e36b8202381da1ef85d6b16b
tree1acc20e3d7af8a200257903187358f92164c1cd7
parenta81648768178f6adf171d98db486b4b2613f645a
drm/xe: Don't fail probe on unsupported mailbox command

If the device is running older pcode firmware, it is possible that newer
mailbox commands are not supported by it. The sysfs attributes aren't
useful in that case, but we shouldn't fail driver probe because of it.
As of now, it is unknown if we can distinguish unsupported commands before
attempting them. But until we figure out a way to do that, fix the
regressions.

v2: Add debug message (Lucas)

Fixes: cdc36b66cd41 ("drm/xe: Expose fan control and voltage regulator version")
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20250714215503.2897748-1-raag.jadav@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device_sysfs.c