Patch "drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs" has been added to the 5.4-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/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs

to the 5.4-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-adreno-a5xx_power-don-t-apply-a540-lm_setup-.patch
and it can be found in the queue-5.4 subdirectory.

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



commit a1e397aeba3f682e0451aaf38e635eb0ee383b3e
Author: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
Date:   Sun Feb 28 13:36:51 2021 +0100

    drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
    
    [ Upstream commit 4a9d36b0610aa7034340e976652e5b43320dd7c5 ]
    
    While passing the A530-specific lm_setup func to A530 and A540
    to !A530 was fine back when only these two were supported, it
    certainly is not a good idea to send A540 specifics to smaller
    GPUs like A508 and friends.
    
    Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
    Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/msm/adreno/a5xx_power.c b/drivers/gpu/drm/msm/adreno/a5xx_power.c
index a3a06db675ba..ee3ff32da004 100644
--- a/drivers/gpu/drm/msm/adreno/a5xx_power.c
+++ b/drivers/gpu/drm/msm/adreno/a5xx_power.c
@@ -300,7 +300,7 @@ int a5xx_power_init(struct msm_gpu *gpu)
 	/* Set up the limits management */
 	if (adreno_is_a530(adreno_gpu))
 		a530_lm_setup(gpu);
-	else
+	else if (adreno_is_a540(adreno_gpu))
 		a540_lm_setup(gpu);
 
 	/* Set up SP/TP power collpase */



[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