[PATCH v5] drm/amd/display: Revert W/A for hard hangs on DCN20/DCN21

2022-01-11 Thread Bert Karwatzki
I just tested patch v5 applied to amd-staging-drm-next (with HEAD 26c981e27e698c251ef3241f73ac846e66ad7fc3) and suspend and resume work fine. But as amd-staging-drm-next is still based on linux-5.13 I had to replace the mediatek wlan driver by the version from linux-5.16.

Re: [PATCH v5] drm/amd/display: Revert W/A for hard hangs on DCN20/DCN21

2022-01-13 Thread Bert Karwatzki
Am Mittwoch, dem 12.01.2022 um 02:08 + schrieb Limonciello, Mario: > [AMD Official Use Only] > > > -Original Message- > > From: Bert Karwatzki > > Sent: Tuesday, January 11, 2022 19:12 > > To: amd-gfx@lists.freedesktop.org > > Cc: Limonciel

Re: [PATCH v5] drm/amd/display: Revert W/A for hard hangs on DCN20/DCN21

2022-01-15 Thread Bert Karwatzki
Am Mittwoch, dem 12.01.2022 um 02:08 + schrieb Limonciello, Mario: > [AMD Official Use Only] > > > -Original Message- > > From: Bert Karwatzki > > Sent: Tuesday, January 11, 2022 19:12 > > To: amd-gfx@lists.freedesktop.org > > Cc: Limonciel

Re: amd-staging-drm-next breaks suspend

2022-01-20 Thread Bert Karwatzki
the issue by getting rid of the unneeded flag check > during gart bind: > https://patchwork.freedesktop.org/patch/469907/ > > Thanks, > > Jon > > > -Original Message- > > From: amd-gfx On Behalf Of > > Bert > > Karwatzki > > Sent: January 19, 2

Re: amd-staging-drm-next breaks suspend

2022-01-19 Thread Bert Karwatzki
+ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 4 ++ 2 files changed, 82 insertions(+) Am Donnerstag, dem 20.01.2022 um 00:22 +0100 schrieb Bert Karwatzki: > Reverting commit 72f686438de13f121c52f58d7445570a33dfdc61 does not > change the errors: > [   

Re: amd-staging-drm-next breaks suspend

2022-01-19 Thread Bert Karwatzki
he oth GPU in the system (the integrated one at 08:00.0) Am Mittwoch, dem 19.01.2022 um 23:40 +0100 schrieb Das, Nirmoy: > > On 1/19/2022 10:59 PM, Limonciello, Mario wrote: > > [Public] > > > > > -----Original Message- > > > From: Bert Karwatzki >

amd-staging-drm-next breaks suspend

2022-01-19 Thread Bert Karwatzki
I just tested drm-staging-drm-next with HEAD f1b2924ee6929cb431440e6f961f06eb65d52beb: Going into suspend leads to a hang again: This is probably caused by [ 1.310551] trying to bind memory to uninitialized GART ! and/or [ 3.976438] trying to bind memory to uninitialized GART ! Here's the

Re: amd-staging-drm-next breaks suspend

2022-01-19 Thread Bert Karwatzki
n 19, 2022 at 7:48 PM Bert Karwatzki > wrote: > > > > Bisected the error and found the first bad commit to be > > d015e9861e55928a78137a2c95897bc50637fc47 is the first bad commit > > commit d015e9861e55928a78137a2c95897bc50637fc47 > > Author: Jonathan Kim > >

[PATCH 10/13] drm/amdgpu: use scheduler depenencies for CS

2022-12-22 Thread Bert Karwatzki
tlab.freedesktop.org/drm/amd/-/issues/2291 Bert Karwatzki

Re: [PATCH 10/13] drm/amdgpu: use scheduler depenencies for CS

2022-12-22 Thread Bert Karwatzki
tlab.freedesktop.org/drm/amd/-/issues/2291 Bert Karwatzki

Re: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-23 Thread Bert Karwatzki
Evolution seems to have garbled the first patch. >From 51cba3ae1e9f557cca8e37eb43b9b9310d0d504d Mon Sep 17 00:00:00 2001 From: Bert Karwatzki Date: Thu, 16 Feb 2023 10:34:11 +0100 Subject: [PATCH] Use drm_kms_helper_poll_fini instead of  drm_kms_helper_poll_disable in amdgpu_device.c to av

[PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-16 Thread Bert Karwatzki
rom 51cba3ae1e9f557cca8e37eb43b9b9310d0d504d Mon Sep 17 00:00:00 2001 From: Bert Karwatzki Date: Thu, 16 Feb 2023 10:34:11 +0100 Subject: [PATCH] Use drm_kms_helper_poll_fini instead of drm_kms_helper_poll_disable in amdgpu_device.c to avoid a warning from __flush_work. Signed-off-by: Bert Karwatzki --- drivers/gpu/

Re: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-24 Thread Bert Karwatzki
> Regards, > > Guchun > > > > -Original Message- > > From: amd-gfx On Behalf Of > > Bert Karwatzki > > Sent: Friday, February 24, 2023 4:52 AM > > To: amd-gfx@lists.freedesktop.org > > Subject: Re: [PATCH] drm/amd: use drm_kms_helper_poll

Re: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-24 Thread Bert Karwatzki
> Regards, > > Guchun > > > > -Original Message- > > From: amd-gfx On Behalf Of > > Bert Karwatzki > > Sent: Friday, February 24, 2023 4:52 AM > > To: amd-gfx@lists.freedesktop.org > > Subject: Re: [PATCH] drm/amd: use drm_kms_helper_poll

Re: [PATCH] drm/amd: fix memory leak in amdgpu_cs_sync_rings

2023-02-03 Thread Bert Karwatzki
Here is the fix for (send again to test if I can get it right with Evolution) Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2360 From 6e064c9565ef0da890f3fcb2a4f6a8cd44a12fdb Mon Sep 17 00:00:00 2001 From: Bert Karwatzki Date: Thu, 2 Feb 2023 19:50:27 +0100 Subject: [PATCH] Fix memory

[PATCH] drm/amd: fix memory leak in amdgpu_cs_sync_rings

2023-02-02 Thread Bert Karwatzki
r = amdgpu_sync_fence(>gang_leader->explicit_sync, fence); + dma_fence_put(fence); if (r) return r; } Bert Karwatzki

Re: [PATCH] drm/amd: fix memory leak in amdgpu_cs_sync_rings

2023-02-02 Thread Bert Karwatzki
I hope I got it right this time: Here is the fix for Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2360 >From 6e064c9565ef0da890f3fcb2a4f6a8cd44a12fdb Mon Sep 17 00:00:00 2001 From: Bert Karwatzki Date: Thu, 2 Feb 2023 19:50:27 +0100 Subject: [PATCH] Fix memory l

[PATCH] gpu: drm: amd: amdgpu: Fix calls to dev_{info,err}

2023-08-01 Thread Bert Karwatzki
radeon_atpx. Fixes: https://gitlab.freedesktop.org/drm/amd/-/issues/2744 Signed-off-by: Bert Karwatzki --- .../gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 40 +-- drivers/gpu/drm/radeon/radeon_atpx_handler.c | 30 +++--- 2 files changed, 32 insertions(+), 38 deletions