Re: "ring gfx timeout" with Vega 64 on mesa 19.0.0-rc2 and kernel 5.0.0-rc6 (GPU reset still not works)

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

 



OK, just apply the following to your amdgpu_dm_do_flip function and see 
if GPU reset does proceed after you experience the hang.

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index d59bafc..586301f 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -4809,7 +4809,7 @@ static void amdgpu_dm_do_flip(struct 
drm_atomic_state *state,

                         /* Wait for all fences on this FB */
WARN_ON(reservation_object_wait_timeout_rcu(abo->tbo.resv, true, false,
- MAX_SCHEDULE_TIMEOUT) < 0);
+                                       msecs_to_jiffies(5000)) < 0);

                         amdgpu_bo_get_tiling_flags(abo, &tiling_flags);

Andrey

On 2/13/19 8:59 AM, Mikhail Gavrilov wrote:
> On Wed, 13 Feb 2019 at 00:44, Grodzovsky, Andrey
> <Andrey.Grodzovsky@xxxxxxx> wrote:
>> Sorry, for your kernel this particular set of prints should go in amdgpu_dm_do_flip
>>
>
> Kernel logs became very weird after yesterday patch.
> Too many messages even without reproducing  the issue which cause
> "ring gfx timeout".
>
> --
> Best Regards,
> Mike Gavrilov.
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux