Patch "drm/msm/disp/dpu1: program 3d_merge only if block is attached" has been added to the 5.11-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/disp/dpu1: program 3d_merge only if block is attached

to the 5.11-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-disp-dpu1-program-3d_merge-only-if-block-is-.patch
and it can be found in the queue-5.11 subdirectory.

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



commit efcf3fcacda2f511aad30ad1c80df1a40e22e464
Author: Kalyan Thota <kalyan_t@xxxxxxxxxxxxxx>
Date:   Fri Apr 2 04:54:53 2021 -0700

    drm/msm/disp/dpu1: program 3d_merge only if block is attached
    
    [ Upstream commit 12aca1ce9ee33af3751aec5e55a5900747cbdd4b ]
    
    Update the 3d merge as active in the data path only if
    the hw block is selected in the configuration.
    
    Reported-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
    Fixes: 73bfb790ac78 ("msm:disp:dpu1: setup display datapath for SC7180 target")
    Signed-off-by: Kalyan Thota <kalyan_t@xxxxxxxxxxxxxx>
    Message-Id: <1617364493-13518-1-git-send-email-kalyan_t@xxxxxxxxxxxxxx>
    Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx>
    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 8981cfa9dbc3..92e6f1b94738 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
@@ -496,7 +496,9 @@ static void dpu_hw_ctl_intf_cfg_v1(struct dpu_hw_ctl *ctx,
 
 	DPU_REG_WRITE(c, CTL_TOP, mode_sel);
 	DPU_REG_WRITE(c, CTL_INTF_ACTIVE, intf_active);
-	DPU_REG_WRITE(c, CTL_MERGE_3D_ACTIVE, BIT(cfg->merge_3d - MERGE_3D_0));
+	if (cfg->merge_3d)
+		DPU_REG_WRITE(c, CTL_MERGE_3D_ACTIVE,
+			      BIT(cfg->merge_3d - MERGE_3D_0));
 }
 
 static void dpu_hw_ctl_intf_cfg(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