Patch "drm/msm/dpu: always clear every individual pending flush mask" has been added to the 6.3-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/msm/dpu: always clear every individual pending flush mask

to the 6.3-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-msm-dpu-always-clear-every-individual-pending-fl.patch
and it can be found in the queue-6.3 subdirectory.

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



commit fbd36b95cb7c5bf3e4152222d0fe8e5d87758b37
Author: Kuogee Hsieh <quic_khsieh@xxxxxxxxxxx>
Date:   Thu May 25 10:40:55 2023 -0700

    drm/msm/dpu: always clear every individual pending flush mask
    
    [ Upstream commit 625cbb077007698060b12d0ae5657a4d8411b153 ]
    
    There are two tiers of pending flush control, top level and
    individual hardware block. Currently only the top level of
    flush mask is reset to 0 but the individual pending flush masks
    of particular hardware blocks are left at their previous values,
    eventually accumulating all possible bit values and typically
    flushing more than necessary.
    Reset all individual hardware block flush masks to 0 to avoid
    accidentally flushing them.
    
    Changes in V13:
    -- rewording commit text
    -- add an empty space line as suggested
    
    Changes in V14:
    -- add Fixes tag
    
    Fixes: 73bfb790ac78 ("msm:disp:dpu1: setup display datapath for SC7180 target")
    Signed-off-by: Kuogee Hsieh <quic_khsieh@xxxxxxxxxxx>
    Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Reviewed-by: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
    Patchwork: https://patchwork.freedesktop.org/patch/539508/
    Link: https://lore.kernel.org/r/1685036458-22683-8-git-send-email-quic_khsieh@xxxxxxxxxxx
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
index 3ef2e37b41087..4072638c37918 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
@@ -115,6 +115,9 @@ static inline void dpu_hw_ctl_clear_pending_flush(struct dpu_hw_ctl *ctx)
 	trace_dpu_hw_ctl_clear_pending_flush(ctx->pending_flush_mask,
 				     dpu_hw_ctl_get_flush_register(ctx));
 	ctx->pending_flush_mask = 0x0;
+	ctx->pending_intf_flush_mask = 0;
+	ctx->pending_wb_flush_mask = 0;
+	ctx->pending_merge_3d_flush_mask = 0;
 }
 
 static inline void dpu_hw_ctl_update_pending_flush(struct dpu_hw_ctl *ctx,



[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