[PATCH AUTOSEL 6.6 09/11] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

[PATCH AUTOSEL 6.6 10/11] drm/amd/display: Avoid NULL dereference of timing generator

2023-11-12 Thread Sasha Levin
From: Wayne Lin [ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei Acked-by: Hersen Wu Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler

[PATCH AUTOSEL 6.5 09/10] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

[PATCH AUTOSEL 6.5 10/10] drm/amd/display: Avoid NULL dereference of timing generator

2023-11-12 Thread Sasha Levin
From: Wayne Lin [ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei Acked-by: Hersen Wu Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler

[PATCH AUTOSEL 6.1 8/9] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

[PATCH AUTOSEL 6.1 9/9] drm/amd/display: Avoid NULL dereference of timing generator

2023-11-12 Thread Sasha Levin
From: Wayne Lin [ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei Acked-by: Hersen Wu Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler

[PATCH AUTOSEL 5.15 8/9] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

[PATCH AUTOSEL 5.15 9/9] drm/amd/display: Avoid NULL dereference of timing generator

2023-11-12 Thread Sasha Levin
From: Wayne Lin [ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei Acked-by: Hersen Wu Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler

[PATCH AUTOSEL 5.10 8/8] drm/amd/display: Avoid NULL dereference of timing generator

2023-11-12 Thread Sasha Levin
From: Wayne Lin [ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei Acked-by: Hersen Wu Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler

[PATCH AUTOSEL 5.10 7/8] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

[PATCH AUTOSEL 5.4 5/6] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

[PATCH AUTOSEL 5.4 6/6] drm/amd/display: Avoid NULL dereference of timing generator

2023-11-12 Thread Sasha Levin
From: Wayne Lin [ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei Acked-by: Hersen Wu Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler

[PATCH AUTOSEL 4.19 4/5] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

[PATCH AUTOSEL 4.19 5/5] drm/amd/display: Avoid NULL dereference of timing generator

2023-11-12 Thread Sasha Levin
From: Wayne Lin [ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei Acked-by: Hersen Wu Signed-off-by: Wayne Lin Tested-by: Daniel Wheeler

[PATCH AUTOSEL 4.14 4/4] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 Reviewed-by: Mario Limonciello Acked-by: Christian König Signed-off-by: Al

Re: [PATCH AUTOSEL 6.6 09/11] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Alex Deucher
On Sun, Nov 12, 2023 at 8:27 AM Sasha Levin wrote: > > From: Alex Deucher > > [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] > > For pptable structs that use flexible array sizes, use flexible arrays. > > Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926 > Reviewed-

Re: [PATCH v7d 01/23] test-dyndbg: fixup CLASSMAP usage error

2023-11-12 Thread J Fra

Re: [PATCH v7d 02/23] dyndbg: reword "class unknown, " to "class:_UNKNOWN_"

2023-11-12 Thread J Fra

Re: Radeon regression in 6.6 kernel

2023-11-12 Thread Bagas Sanjaya
On Sat, Nov 11, 2023 at 07:46:41PM -0500, Phillip Susi wrote: > I had been testing some things on a post 6.6-rc5 kernel for a week or > two and then when I pulled to a post 6.6 release kernel, I found that > system suspend was broken. It seems that the radeon driver failed to > suspend, leaving th

Re: [PATCH v7d 04/23] dyndbg: replace classmap list with a vector

2023-11-12 Thread J Fra

Re: mainline build failure due to 7966f319c66d ("drm/amd/display: Introduce DML2")

2023-11-12 Thread Linux regression tracking #update (Thorsten Leemhuis)
[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 04.11.23 10:42, Sudip Mukherjee wrote: > On Thu, 2 Nov 2023 at 22:53, Alex Deucher wrote: >> On Thu, Nov 2, 2023 at 1:07 PM Sudip Mukherjee >> wrote: >>> On Thu, 2 Nov 20

Re: [PATCH v7d 00/23] fix DRM_USE_DYNAMIC_DEBUG=y regression

2023-11-12 Thread J Fra

Re: [PATCH] drm/amdgpu: Address member 'ring' not described in 'amdgpu_ vce, uvd_entity_init()'

2023-11-12 Thread Alex Deucher
On Sat, Nov 11, 2023 at 11:32 PM Srinivasan Shanmugam wrote: > > Fixes the following: > > drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:237: warning: Function parameter or > member 'ring' not described in 'amdgpu_vce_entity_init' > drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:405: warning: Function paramete

Re: [PATCH] drm/amdgpu: fix AGP addressing when GART is not at 0

2023-11-12 Thread Alex Deucher
On Sat, Nov 11, 2023 at 2:17 AM Christian König wrote: > > Am 10.11.23 um 15:47 schrieb Alex Deucher: > > This worked by luck if the GART aperture ended up at 0. When > > we ended up moving GART on some chips, the GART aperture ended > > up offsetting the the AGP address since the resource->start

Re: [PATCH AUTOSEL 6.6 09/11] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

2023-11-12 Thread Sasha Levin
On Sun, Nov 12, 2023 at 01:00:37PM -0500, Alex Deucher wrote: On Sun, Nov 12, 2023 at 8:27 AM Sasha Levin wrote: From: Alex Deucher [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ] For pptable structs that use flexible array sizes, use flexible arrays. Link: https://bugs.launch

RE: [PATCH] drm/amd/display: Remove redundant DRM device struct in amdgpu_dm_, mst_types.c

2023-11-12 Thread Li, Roman
[AMD Official Use Only - General] Reviewed-by: Roman Li > -Original Message- > From: SHANMUGAM, SRINIVASAN > Sent: Saturday, November 11, 2023 11:01 PM > To: Pillai, Aurabindo ; Siqueira, Rodrigo > ; Li, Roman ; Deucher, > Alexander ; Wentland, Harry > ; Mahfooz, Hamza > > Cc: amd-gfx@

RE: [PATCH] drm/amd/pm: Make smu_v13_0_baco_set_armd3_sequence() static

2023-11-12 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] Series is. Reviewed-by: Yang Wang Best Regards, Kevin -Original Message- From: Ma, Jun Sent: Thursday, November 9, 2023 10:12 AM To: amd-gfx@lists.freedesktop.org; Feng, Kenneth ; Deucher, Alexander ; Wang, Yang(Kevin) Cc: Ma, Jun Subject: [PATCH

[PATCH v2] drm/amdgpu: Address member 'ring' not described in 'amdgpu_ vce, uvd_entity_init()'

2023-11-12 Thread Srinivasan Shanmugam
Fixes the following: drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:237: warning: Function parameter or member 'ring' not described in 'amdgpu_vce_entity_init' drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:405: warning: Function parameter or member 'ring' not described in 'amdgpu_uvd_entity_init' Cc: Christ

[PATCH] drm/amdgpu: fix err_data null pointer issue in amdgpu_ras.c

2023-11-12 Thread Yang Wang
fix err_data null pointer issue about err_data in amdgpu_ras.c Fixes: b752e18f33f1 ("drm/amdgpu: Support multiple error query modes") Signed-off-by: Yang Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdg

RE: [PATCH] drm/amdgpu: fix err_data null pointer issue in amdgpu_ras.c

2023-11-12 Thread Zhang, Hawking
[AMD Official Use Only - General] Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Yang Wang Sent: Monday, November 13, 2023 14:51 To: amd-gfx@lists.freedesktop.org Cc: hawking.zh...@amc.com; Li, Candice ; Wang, Yang(Kevin) Subject: [PATCH] drm