aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2021-03-05 17:36:05 +0200
committerVille Syrjälä <[email protected]>2021-03-22 17:55:25 +0200
commit97bc7ffa1b1e9a8672e0a8e9a96680b0c3717427 (patch)
tree59b4701ab1f63ffd469d1bc90b5ffc852387608b /drivers/gpu/drm/i915/display/intel_dp_mst.c
parent3a913fa535c185d017625b352a32d1643d1f489e (diff)
drm/i915: Fix enabled_planes bitmask
The enabled_planes bitmask was supposed to track logically enabled planes (ie. fb!=NULL and crtc!=NULL), but instead we end up putting even disabled planes into the bitmask since intel_plane_atomic_check_with_state() only takes the early exit if the plane was disabled and stays disabled. I think I misread the early said codepath to exit whenever the plane is logically disabled, which is not true. So let's fix this up properly and set the bit only when the plane actually is logically enabled. Cc: Manasi Navare <[email protected]> Fixes: ee42ec19ca2e ("drm/i915: Track logically enabled planes for hw state") Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Manasi Navare <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions