Patch "drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-i915-call-intel_pre_plane_updates-also-for-pipes.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 96b8700b91f6931409b5979c15d478756f645152
Author: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
Date:   Tue Nov 21 07:43:15 2023 +0200

    drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled
    
    [ Upstream commit d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa ]
    
    We used to call intel_pre_plane_updates() for any pipe going through
    a modeset whether the pipe was previously enabled or not. This in
    fact needed to apply all the necessary clock gating workarounds/etc.
    Restore the correct behaviour.
    
    Fixes: 39919997322f ("drm/i915: Disable all planes before modesetting any pipes")
    Reviewed-by: Jani Nikula <jani.nikula@xxxxxxxxx>
    Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20231121054324.9988-3-ville.syrjala@xxxxxxxxxxxxxxx
    (cherry picked from commit e0d5ce11ed0a21bb2bf328ad82fd261783c7ad88)
    Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 763ab569d8f32..8232887fdf948 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -6658,10 +6658,11 @@ static void intel_commit_modeset_disables(struct intel_atomic_state *state)
 		if (!intel_crtc_needs_modeset(new_crtc_state))
 			continue;
 
+		intel_pre_plane_update(state, crtc);
+
 		if (!old_crtc_state->hw.active)
 			continue;
 
-		intel_pre_plane_update(state, crtc);
 		intel_crtc_disable_planes(state, crtc);
 	}
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux