Patch "drm/panfrost: increase readl_relaxed_poll_timeout values" has been added to the 5.8-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/panfrost: increase readl_relaxed_poll_timeout values

to the 5.8-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-panfrost-increase-readl_relaxed_poll_timeout-val.patch
and it can be found in the queue-5.8 subdirectory.

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



commit 84ff309e322692c6cf33f1dba45fa7d6ea860cec
Author: Christian Hewitt <christianshewitt@xxxxxxxxx>
Date:   Thu Oct 8 14:17:38 2020 +0000

    drm/panfrost: increase readl_relaxed_poll_timeout values
    
    [ Upstream commit c2df75ad2a9f205820e4bc0db936d3d9af3da1ae ]
    
    Amlogic SoC devices report the following errors frequently causing excessive
    dmesg log spam and early log rotataion, although the errors appear to be
    harmless as everything works fine:
    
    [    7.202702] panfrost ffe40000.gpu: error powering up gpu L2
    [    7.203760] panfrost ffe40000.gpu: error powering up gpu shader
    
    ARM staff have advised increasing the timeout values to eliminate the errors
    in most normal scenarios, and testing with several different G31/G52 devices
    shows 20000 to be a reliable value.
    
    Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver")
    Suggested-by: Steven Price <steven.price@xxxxxxx>
    Signed-off-by: Christian Hewitt <christianshewitt@xxxxxxxxx>
    Reviewed-by: Steven Price <steven.price@xxxxxxx>
    Signed-off-by: Steven Price <steven.price@xxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20201008141738.13560-1-christianshewitt@xxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/panfrost/panfrost_gpu.c b/drivers/gpu/drm/panfrost/panfrost_gpu.c
index 689b92893e0e1..dfe4c9151eaf2 100644
--- a/drivers/gpu/drm/panfrost/panfrost_gpu.c
+++ b/drivers/gpu/drm/panfrost/panfrost_gpu.c
@@ -309,13 +309,13 @@ void panfrost_gpu_power_on(struct panfrost_device *pfdev)
 	/* Just turn on everything for now */
 	gpu_write(pfdev, L2_PWRON_LO, pfdev->features.l2_present);
 	ret = readl_relaxed_poll_timeout(pfdev->iomem + L2_READY_LO,
-		val, val == pfdev->features.l2_present, 100, 1000);
+		val, val == pfdev->features.l2_present, 100, 20000);
 	if (ret)
 		dev_err(pfdev->dev, "error powering up gpu L2");
 
 	gpu_write(pfdev, SHADER_PWRON_LO, pfdev->features.shader_present);
 	ret = readl_relaxed_poll_timeout(pfdev->iomem + SHADER_READY_LO,
-		val, val == pfdev->features.shader_present, 100, 1000);
+		val, val == pfdev->features.shader_present, 100, 20000);
 	if (ret)
 		dev_err(pfdev->dev, "error powering up gpu shader");
 



[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