RE: [PATCH 5/5] drm/amdgpu/hdp7.0: do a posting read when flushing HDP

2024-11-25 Thread Min, Frank
[AMD Official Use Only - AMD Internal Distribution Only] Hi Alex, These serial patches look good to me. Reviewed-By: frank@amd.com Best Regards, Frank -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Saturday, November 23, 2024 12:27 AM To: amd-gfx@lists.freedesktop

Re: [PATCH 2/2] drm/amd/pm: Fill max mem bw & total app clk counter

2024-11-25 Thread Lazar, Lijo
On 11/25/2024 8:08 PM, Asad Kamal wrote: > Fill max memory bandwidth and total app clock counter to metrics v1_7 > > Signed-off-by: Asad Kamal > --- > .../drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 34 +++ > 1 file changed, 28 insertions(+), 6 deletions(-) > > diff --git a/d

[PATCH] drm/amdgpu: rework resume handling for display

2024-11-25 Thread Alex Deucher
Split resume into a 3rd step to handle displays when DCC is enabled on DCN 4.0.1. Move display after the buffer funcs have been re-enabled so that the GPU will do the move and properly set the DCC metadata for DCN. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 42

Re: [PATCH v4 2/2] drm/amd: Add Suspend/Hibernate notification callback support

2024-11-25 Thread Mario Limonciello
On 11/25/24 08:59, Lazar, Lijo wrote: On 11/25/2024 12:30 AM, Mario Limonciello wrote: From: Mario Limonciello As part of the suspend sequence VRAM needs to be evicted on dGPUs. In order to make suspend/resume more reliable we moved this into the pmops prepare() callback so that the suspe

[PATCH v2] drm/amdkfd: Have kfd driver use same PASID values from graphic driver

2024-11-25 Thread Xiaogang . Chen
From: Xiaogang Chen Current kfd driver has its own PASID value for a kfd process and uses it to locate vm at interrupt handler or mapping between kfd process and vm. That design is not working when a physical gpu device has multiple spatial partitions, ex: adev in CPX mode. This patch has kfd dri

Re: [PATCH v4 2/2] drm/amd: Add Suspend/Hibernate notification callback support

2024-11-25 Thread Lazar, Lijo
On 11/25/2024 12:30 AM, Mario Limonciello wrote: > From: Mario Limonciello > > As part of the suspend sequence VRAM needs to be evicted on dGPUs. > In order to make suspend/resume more reliable we moved this into > the pmops prepare() callback so that the suspend sequence would fail > but the

[PATCH 2/2] drm/amd/pm: Fill max mem bw & total app clk counter

2024-11-25 Thread Asad Kamal
Fill max memory bandwidth and total app clock counter to metrics v1_7 Signed-off-by: Asad Kamal --- .../drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 34 +++ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c b/drive

[PATCH 1/2] drm/amd/pm: Update SMUv13.0.6 PMFW headers

2024-11-25 Thread Asad Kamal
Update pmfw headers for smuv13.0.6 to pmfw version 85.121 Signed-off-by: Asad Kamal --- .../amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_pmfw.h| 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_pmfw.h b/drivers/gp

Re: [PATCH AUTOSEL 6.12 079/107] Revert "drm/amd/display: Block UHBR Based On USB-C PD Cable ID"

2024-11-25 Thread Michel Dänzer
On 2024-11-24 14:29, Sasha Levin wrote: > From: Ausef Yousof > > [ Upstream commit d7b86a002cf7e1b55ec311c11264f70d079860b9 ] > > This reverts commit 4f01a68751194d05280d659a65758c09e4af04d6. Which was patch 16 in this series... -- Earthling Michel Dänzer \GNOME / Xwayland / Me

Re: [PATCH v9 1/4] drm: Introduce device wedged event

2024-11-25 Thread Christian König
Am 25.11.24 um 06:56 schrieb Aravind Iddamsetty: On 22/11/24 21:32, Raag Jadav wrote: On Fri, Nov 22, 2024 at 11:09:32AM +0100, Christian König wrote: Am 22.11.24 um 08:07 schrieb Raag Jadav: On Mon, Nov 18, 2024 at 08:26:37PM +0530, Aravind Iddamsetty wrote: On 15/11/24 10:37, Raag Jadav wro

Re: [PATCH 1/3] drm/amdgpu: Add NULL ptr check for non userq fences

2024-11-25 Thread Christian König
Hi Arun, Am 25.11.24 um 07:40 schrieb Paneer Selvam, Arunpravin: Hi Christian, On 11/20/2024 4:04 PM, Christian König wrote: Am 20.11.24 um 10:26 schrieb Arunpravin Paneer Selvam: We are observing a NULL value in the non userq fences, thus added a NULL pointer check just to avoid the NULL po

Re: [PATCH v9 1/4] drm: Introduce device wedged event

2024-11-25 Thread Christian König
Am 22.11.24 um 17:02 schrieb Raag Jadav: On Fri, Nov 22, 2024 at 11:09:32AM +0100, Christian König wrote: Am 22.11.24 um 08:07 schrieb Raag Jadav: On Mon, Nov 18, 2024 at 08:26:37PM +0530, Aravind Iddamsetty wrote: On 15/11/24 10:37, Raag Jadav wrote: Introduce device wedged event, which noti

Re: [PATCH] drm/amdgpu: Make the submission path memory reclaim safe

2024-11-25 Thread Tvrtko Ursulin
On 22/11/2024 13:46, Christian König wrote: Am 22.11.24 um 12:34 schrieb Tvrtko Ursulin: On 13/11/2024 14:42, Tvrtko Ursulin wrote: On 13/11/2024 14:26, Christian König wrote: Am 13.11.24 um 14:48 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin As commit 746ae46c1113 ("drm/sched: Mark schedu

Re: [PATCH] drm/amdgpu: Make the submission path memory reclaim safe

2024-11-25 Thread Tvrtko Ursulin
On 13/11/2024 14:42, Tvrtko Ursulin wrote: On 13/11/2024 14:26, Christian König wrote: Am 13.11.24 um 14:48 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin As commit 746ae46c1113 ("drm/sched: Mark scheduler work queues with WQ_MEM_RECLAIM") points out, ever since a6149f039369 ("drm/sched: C

Re: [PATCH v9 1/4] drm: Introduce device wedged event

2024-11-25 Thread Raag Jadav
On Fri, Nov 22, 2024 at 11:09:32AM +0100, Christian König wrote: > Am 22.11.24 um 08:07 schrieb Raag Jadav: > > On Mon, Nov 18, 2024 at 08:26:37PM +0530, Aravind Iddamsetty wrote: > > > On 15/11/24 10:37, Raag Jadav wrote: > > > > Introduce device wedged event, which notifies userspace of 'wedged'