]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: Reject X/Y tiled BIOS FB if we don't have fenced regions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 Apr 2026 15:04:47 +0000 (18:04 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Apr 2026 09:38:20 +0000 (12:38 +0300)
commita05eda6f64f88c215d75e68e904d2d9cef3b87db
treec46b77d75a9eea663273122a3a6eafdd8cb085fc
parentc2a9f16bc990593f11c53ff547ccdf00d066d348
drm/i915: Reject X/Y tiled BIOS FB if we don't have fenced regions

The CPU always needs linear view into the BIOS FB, and for X/Y tiled
buffers that is achieved by the use of a fenced region. If the
underlying driver doesn't support fenced regions then we can't keep
the X/Y tiled BIOS FB. i915 has fenced regions, xe does not.

Probably not a big deal since I don't think we've seen tiled BIOS
FBs outside of some MacBooks. See eg. commit d9a515867bdb
("drm/i915/gen9+: Fix initial readout for Y tiled framebuffers").

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260410150449.9699-9-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_initial_plane.c