[PATCH v9 43/53] drm-dyndbg: add DRM_CLASSMAP_USE to etnaviv

2024-07-03 Thread Jim Cromie
etnaviv has 5 DRM_UT_CORE debugs, make them controllable when CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg that the module has class'd debugs as well as plain-old pr_debug()s Signed-off-by: Jim Cromie --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --g

[PATCH v9 42/52] drm-dyndbg: add DRM_CLASSMAP_USE to etnaviv

2024-07-03 Thread Jim Cromie
etnaviv has 5 DRM_UT_CORE debugs, make them controllable when CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg that the module has class'd debugs as well as plain-old pr_debug()s Signed-off-by: Jim Cromie --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --g

[PATCH v9 44/52] drm-dyndbg: add DRM_CLASSMAP_USE to radeon

2024-07-03 Thread Jim Cromie
radeon has some DRM_UT_* debugs, make them controllable when CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg about its use of the class'd debugs. Signed-off-by: Jim Cromie --- drivers/gpu/drm/radeon/radeon_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon

[PATCH v9 48/52] drm-dyndbg: add DRM_CLASSMAP_USE to mgag200 driver

2024-07-03 Thread Jim Cromie
The mgag200 driver has a number of DRM_UT_* debugs, make them controllable when CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg that the module uses them. Signed-off-by: Jim Cromie --- drivers/gpu/drm/mgag200/mgag200_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mg

[PATCH v9 33/52] drm-dyndbg: DRM_CLASSMAP_USE in i915 driver

2024-07-03 Thread Jim Cromie
Following the dyndbg-api-fix, replace DECLARE_DYNDBG_CLASSMAP with DRM_CLASSMAP_USE. This refs the defined & exported classmap, rather than re-declaring it redundantly, and error-prone-ly. This resolves the appearance of "class:_UNKNOWN_" in the control file for the driver's drm_dbg()s. Fixes: f

[PATCH v9 45/52] drm-dyndbg: add DRM_CLASSMAP_USE to vmwgfx driver

2024-07-03 Thread Jim Cromie
The vmwgfx driver has a number of DRM_UT_* debugs, make them controllable when CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg that the module uses them. Signed-off-by: Jim Cromie --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/vmwgf

[PATCH v9 34/53] drm-dyndbg: DRM_CLASSMAP_USE in i915 driver

2024-07-03 Thread Jim Cromie
Following the dyndbg-api-fix, replace DECLARE_DYNDBG_CLASSMAP with DRM_CLASSMAP_USE. This refs the defined & exported classmap, rather than re-declaring it redundantly, and error-prone-ly. This resolves the appearance of "class:_UNKNOWN_" in the control file for the driver's drm_dbg()s. Fixes: f

[PATCH v9 52/53] drm-dyndbg: add DRM_CLASSMAP_USE to the drm_gem_shmem_helper driver

2024-07-03 Thread Jim Cromie
The drm_gem_shmem_helper driver has a number of DRM_UT_* debugs, make them controllable when CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg that the module uses them. Signed-off-by: Jim Cromie --- drivers/gpu/drm/drm_gem_shmem_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driv

[PATCH v9 13/52] dyndbg: reduce verbose=3 messages in ddebug_add_module

2024-07-03 Thread Jim Cromie
When modprobing a module, dyndbg currently logs/says "add-module", and then "skipping" if the module has no prdbgs. Instead just check 1st and return quietly. no functional change Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) di

[PATCH v9 40/52] drm-dyndbg: add DRM_CLASSMAP_USE to simpledrm

2024-07-03 Thread Jim Cromie
tiny/simpledrm has 3 DRM_UT_DRIVER debugs, make them controllable when CONFIG_DRM_USE_DYNAMIC_DEBUG=y by telling dyndbg that the module has class'd debugs. Signed-off-by: Jim Cromie --- drivers/gpu/drm/tiny/simpledrm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tiny/si

Re: [PATCH 2/3] drm/dp_mst: Skip CSN if topology probing is not done yet

2024-07-03 Thread Lyude Paul
Ah yep! I thought you had push rights for some reason Also, just so patchwork picks up on it before I push: Reviewed-by: Lyude Paul On Wed, 2024-07-03 at 08:13 +, Lin, Wayne wrote: > [Public] > > > -Original Message- > > From: Lyude Paul > > Sent: Saturday, June 29, 2024 1:40 AM >

RE: [PATCH 3/3] drm/amd/display: Solve mst monitors blank out problem after resume

2024-07-03 Thread Zuo, Jerry
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Fangzhi Zuo > -Original Message- > From: Wayne Lin > Sent: Wednesday, June 26, 2024 4:48 AM > To: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org > Cc: ly...@redhat.com; jani.nik...@intel.com; imre.d...

Re: [PATCH] drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit

2024-07-03 Thread Christian König
Am 03.07.24 um 14:48 schrieb Pierre-Eric Pelloux-Prayer: Le 02/07/2024 à 15:35, Christian König a écrit : Am 02.07.24 um 15:23 schrieb Pierre-Eric Pelloux-Prayer: Before this commit, only submits with both a BO_HANDLES chunk and a 'bo_list_handle' would be rejected (by amdgpu_cs_parser_bos). B

Re: [PATCH v1 4/4] drm/amdgpu: add gfx queue support for gfx12 ipdump

2024-07-03 Thread Alex Deucher
Series is: Reviewed-by: Alex Deucher On Wed, Jul 3, 2024 at 3:39 AM Sunil Khatri wrote: > > Add support of all the CP GFX queues for gfx12 ipdump > to be used by devcoredump. > > Signed-off-by: Sunil Khatri > --- > drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 94 ++ > 1 fil

[PATCH v1 1/2] drm:amdgpu: enable IH ring1 for IH v7.0

2024-07-03 Thread Sunil Khatri
We need IH ring1 for handling the pagefault interrupts which over flow in default ring for specific usecases. Enable ring1 allows software to redirect high interrupts to ring1 from default IH ring. Signed-off-by: Sunil Khatri --- drivers/gpu/drm/amd/amdgpu/ih_v7_0.c | 11 +-- 1 file cha

[PATCH v1 2/2] drm/amdgpu: enable redirection of irq's for IH v7.0

2024-07-03 Thread Sunil Khatri
Enable redirection of irq for pagefaults for specific clients to avoid overflow without dropping interrupts. So here we redirect the interrupts to another IH ring i.e ring1 where only these interrupts are processed. Signed-off-by: Sunil Khatri --- drivers/gpu/drm/amd/amdgpu/ih_v7_0.c | 15 +

Re: [PATCH v1 2/2] drm/amdgpu: enable redirection of irq's for IH v7.0

2024-07-03 Thread Alex Deucher
Series is: Reviewed-by: Alex Deucher On Wed, Jul 3, 2024 at 1:49 PM Sunil Khatri wrote: > > Enable redirection of irq for pagefaults for specific > clients to avoid overflow without dropping interrupts. > > So here we redirect the interrupts to another IH ring > i.e ring1 where only these interr

[pull] amdgpu, radeon drm-fixes-6.10

2024-07-03 Thread Alex Deucher
Hi Dave, Sima, Fixes for 6.10. The following changes since commit 22a40d14b572deb80c0648557f4bd502d7e83826: Linux 6.10-rc6 (2024-06-30 14:40:44 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.10-2024-07-03 for you to fetc

[PATCH] MAINTAINERS: add an entry for AMD DC DML

2024-07-03 Thread Hamza Mahfooz
We want all DML changes to be reviewed by Chaitanya or Jun. So, add an entry for DML to MAINTAINERS. Suggested-by: Rodrigo Siqueira Signed-off-by: Hamza Mahfooz --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7fec8ddb8d5b..d2fb60fee7e8

Re: [PATCH] MAINTAINERS: add an entry for AMD DC DML

2024-07-03 Thread Alex Deucher
On Wed, Jul 3, 2024 at 3:20 PM Hamza Mahfooz wrote: > > We want all DML changes to be reviewed by Chaitanya or Jun. So, add an > entry for DML to MAINTAINERS. > > Suggested-by: Rodrigo Siqueira > Signed-off-by: Hamza Mahfooz Acked-by: Alex Deucher > --- > MAINTAINERS | 7 +++ > 1 file ch

[PATCH 1/2] MAINTAINERS: update powerplay and swsmu

2024-07-03 Thread Alex Deucher
Evan is no longer maintaining powerplay and swsmu. Add Kenneth Feng as his replacement. Signed-off-by: Alex Deucher Cc: Kenneth Feng --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 082483b40fac..3b7aac333d8e 100644 --- a/MAINTA

[PATCH 2/2] MAINTAINERS: fix Xinhui's name

2024-07-03 Thread Alex Deucher
Switch to fist last for consistency. Signed-off-by: Alex Deucher Cc: Xinhui Pan --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3b7aac333d8e..5fd6fba07fa6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18648,7 +18648,7 @@ F:

[pull] amdgpu, radeon drm-next-6.11

2024-07-03 Thread Alex Deucher
Hi Dave, Sima, More new stuff for 6.11. There will be a few additional patches next week for new IPs that were added in this cycle just to get them tied off, but this should be it for general changes. The following changes since commit 15eb8573ad72a97b8f70e3c88b9bef6ddc861f77: drm/amd: Don't

[PATCH] amdgpu/pm: support gpu_metrics sysfs interface for smu v14.0.2/3

2024-07-03 Thread Kenneth Feng
support gpu_metrics sysfs interface for smu v14.0.2/3 Signed-off-by: Kenneth Feng --- .../drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 86 ++- 1 file changed, 84 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c b/drivers/gpu/drm/amd

RE: [PATCH] amdgpu/pm: support gpu_metrics sysfs interface for smu v14.0.2/3

2024-07-03 Thread Wang, Yang(Kevin)
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Yang Wang It is better to change the patch tile prefix to 'drm/amd/pm' . Best Regards, Kevin -Original Message- From: Kenneth Feng Sent: Thursday, July 4, 2024 8:17 AM To: amd-gfx@lists.freedesktop.org Cc: Wang, Yan

RE: [PATCH 2/2] drm/amdgpu: timely save bad pages to eeprom after gpu ras reset is complete

2024-07-03 Thread Zhou1, Tao
[AMD Official Use Only - AMD Internal Distribution Only] > -Original Message- > From: Chai, Thomas > Sent: Wednesday, July 3, 2024 4:41 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking ; Zhou1, Tao > ; Li, Candice ; Wang, Yang(Kevin) > ; Yang, Stanley ; Chai, > Thomas > Subjec

[PATCH] drm/amdgpu: remove redundant semicolons in RAS_EVENT_LOG

2024-07-03 Thread Yang Wang
remove redundant semicolons in RAS_EVENT_LOG to avoid code format check warning. Fixes: 951c09c88fca ("drm/amdgpu: fix compiler 'side-effect' check issue for RAS_EVENT_LOG()") Signed-off-by: Yang Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 2 +- 1 file changed, 1 insertion(+), 1 deletio

RE: [PATCH 2/2] drm/amdgpu: timely save bad pages to eeprom after gpu ras reset is complete

2024-07-03 Thread Chai, Thomas
[AMD Official Use Only - AMD Internal Distribution Only] - Best Regards, Thomas -Original Message- From: Zhou1, Tao Sent: Thursday, July 4, 2024 11:40 AM To: Chai, Thomas ; amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Li, Candice ; Wang, Yang(Kevin) ; Yang, Stanley

RE: [PATCH 4/4] drm/amdgpu: add ras event state device attribute support

2024-07-03 Thread Zhou1, Tao
[AMD Official Use Only - AMD Internal Distribution Only] The series is: Reviewed-by: Tao Zhou > -Original Message- > From: Wang, Yang(Kevin) > Sent: Wednesday, July 3, 2024 5:03 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking ; Zhou1, Tao > > Subject: [PATCH 4/4] drm/amdgp

RE: [PATCH] drm/amdgpu: remove redundant semicolons in RAS_EVENT_LOG

2024-07-03 Thread Zhou1, Tao
[AMD Official Use Only - AMD Internal Distribution Only] Reviewed-by: Tao Zhou > -Original Message- > From: Wang, Yang(Kevin) > Sent: Thursday, July 4, 2024 1:53 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking ; Zhou1, Tao > > Subject: [PATCH] drm/amdgpu: remove redundant s

<    1   2