]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: Use hw.active instead of uapi.active in the initial plane readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 19 Nov 2025 18:16:04 +0000 (20:16 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Nov 2025 22:04:13 +0000 (00:04 +0200)
commite48b99d863166c5131f6d6c0ed81107392bc421f
tree277da7a43a3ba85e260ee026529f12b851c5a9a5
parent28bf111ffee103e143038949e781a5c209070348
drm/i915: Use hw.active instead of uapi.active in the initial plane readout

We're interested in the actual hardware state rather than the uapi
state, so grab the crtc active flag from the correct spot.

In practice the two will be identical here becase
.get_initial_plane_config() will reject the initial FB when
joiner is active.

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