]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/query: Report hwconfig size as 0 if primary GT is disabled
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 13 Oct 2025 20:09:53 +0000 (13:09 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 14 Oct 2025 14:44:58 +0000 (07:44 -0700)
commit090e7fc422a5810b0267d2e83859e05b53007563
treedbf7badf7d8fbaffb2c7ee9844bace5f5cf7f333
parent082547d8b401f8eef076d18344c267fe1bddb055
drm/xe/query: Report hwconfig size as 0 if primary GT is disabled

The hwconfig table is part of the primary GT's GuC firmware.  If the
primary GT is disabled, the hwconfig is unavailable and should be
reported to userspace as having size 0.

Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Link: https://lore.kernel.org/r/20251013200944.2499947-35-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_query.c