]> Gentwo Git Trees - linux/.git/commit
drm/xe: Don't check BIOS-disabled FlatCCS if primary GT is disabled
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 13 Oct 2025 20:10:03 +0000 (13:10 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 14 Oct 2025 14:45:17 +0000 (07:45 -0700)
commitad0084f3f8ba1891b1e59b9606eae8c2474a1496
tree0deb8eff889d8a98c30569620d062991f449d7e8
parent5dfc8989694001aff99348eef3c69c3294ea8e09
drm/xe: Don't check BIOS-disabled FlatCCS if primary GT is disabled

If the primary is GT is disabled via configfs, we can't read the GT
registers that would tell us whether the BIOS has disabled FlatCCS on a
platform that would otherwise have it; we'll just proceed as if the
FlatCCS is still enabled.  This is similar to the situation seen by
SRIOV VFs and doesn't cause any functional problems since the hardware
will simply drop writes to the CCS region and reads will always come
back as 0 (indicating uncompressed data).  We'll simply miss out on the
chance to avoid some unnecessary overhead during BO creation and
migration.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20251013200944.2499947-45-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_device.c