[pull] amdgpu, amdkfd, radeon, drm drm-next-6.3

2023-01-06 Thread Alex Deucher
Hi Dave, Daniel, New stuff for 6.3. The following changes since commit 7a18e089eff02f17eaee49fc18641f5d16a8284b: drm/amd/pm: update SMU13.0.0 reported maximum shader clock (2022-12-15 12:18:08 -0500) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git t

Re: [PATCH] drm/radeon: free iio for atombios when driver shutdown

2023-01-06 Thread Daniel Vetter
Just a quick drive-by. For these simple cases where we just need to make sure that memory is freed using drmm_kmalloc and friends should help simplify things. Probably not worth it for radeon, but figured I'll throw it out there. For more functional code switching to drmm is harder because you nee

Re: Build regressions/improvements in v6.2-rc1

2023-01-06 Thread Alex Deucher
On Tue, Dec 27, 2022 at 10:34 AM Geert Uytterhoeven wrote: > > On Tue, 27 Dec 2022, Geert Uytterhoeven wrote: > > Below is the list of build error/warning regressions/improvements in > > v6.2-rc1[1] compared to v6.1[2]. > > > > Summarized: > > - build errors: +11/-13 > > amd-gfx@lists.freedesktop

Re: [PATCH] drm/radeon: free iio for atombios when driver shutdown

2023-01-06 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jan 6, 2023 at 5:00 AM Liwei Song wrote: > > Fix below kmemleak when unload radeon driver: > > unreferenced object 0x9f8608ede200 (size 512): > comm "systemd-udevd", pid 326, jiffies 4294682822 (age 716.338s) > hex dump (first 32 bytes): > 00 00 00 00 c

Re: [PATCH -next] drm/amdgpu: clean up some inconsistent indentings

2023-01-06 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Jan 5, 2023 at 8:37 PM Yang Li wrote: > > drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65 amdgpu_gem_fault() warn: > inconsistent indenting > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3639 > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > driv

Re: [PATCH -next] drm/amd/display: Remove unneeded semicolon

2023-01-06 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Jan 5, 2023 at 7:30 PM Yang Li wrote: > > ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:7431:3-4: Unneeded > semicolon > ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:7485:4-5: Unneeded > semicolon > ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Re: [PATCH -next] drm/amd/display: Remove redundant assignment to variable dc

2023-01-06 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Jan 5, 2023 at 2:20 PM Harry Wentland wrote: > > On 12/16/22 05:23, Yi Yang wrote: > > Smatch report warning as follows: > > > > Line 53679: drivers/gpu/drm/amd/display/dc/core/dc_stream.c:402 > > dc_stream_set_cursor_position() warn: variable dereferenced before >

Re: [PATCH] drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency

2023-01-06 Thread Christian König
Am 06.01.23 um 15:24 schrieb Alex Deucher: On Fri, Jan 6, 2023 at 8:00 AM Mikhail Gavrilov wrote: On Thu, Jan 5, 2023 at 3:03 PM Christian König wrote: That one should be fixed by: commit 9f1ecfc5dcb47a7ca37be47b0eaca0f37f1ae93d Author: Dmitry Osipenko Date: Wed Nov 23 03:13:03 2022 +0300

Re: Build regressions/improvements in v6.2-rc1

2023-01-06 Thread Geert Uytterhoeven
Hi John, On Fri, Jan 6, 2023 at 4:10 PM John Paul Adrian Glaubitz wrote: > On 12/27/22 09:35, Geert Uytterhoeven wrote: > >+ /kisskb/src/include/linux/compiler_types.h: error: call to > > '__compiletime_assert_262' declared with attribute error: Unsupported > > access size for {READ,WRITE}_

Re: Build regressions/improvements in v6.2-rc1

2023-01-06 Thread Geert Uytterhoeven
On Fri, Jan 6, 2023 at 4:17 PM Geert Uytterhoeven wrote: > > Hi John, Bummer, "Hi Adrian", ofc ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself

Re: Build regressions/improvements in v6.2-rc1

2023-01-06 Thread John Paul Adrian Glaubitz
Hi Geert! On 12/27/22 09:35, Geert Uytterhoeven wrote: + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_262' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE().: => 358:45 + /kisskb/src/include/linux/compiler_types.h: error:

Re: [PATCH v4] drm/amd/display: fix PSR-SU/DSC interoperability support

2023-01-06 Thread Harry Wentland
On 1/5/23 17:23, Hamza Mahfooz wrote: > Currently, there are issues with enabling PSR-SU + DSC. This stems from > the fact that DSC imposes a slice height on transmitted video data and > we are not conforming to that slice height in PSR-SU regions. So, pass > slice_height into su_y_granularity t

Re: [PATCH] drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency

2023-01-06 Thread Alex Deucher
On Fri, Jan 6, 2023 at 8:00 AM Mikhail Gavrilov wrote: > > On Thu, Jan 5, 2023 at 3:03 PM Christian König > wrote: > > > > That one should be fixed by: > > > > commit 9f1ecfc5dcb47a7ca37be47b0eaca0f37f1ae93d > > Author: Dmitry Osipenko > > Date: Wed Nov 23 03:13:03 2022 +0300 > > > > Christian

Re: [PATCH] drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency

2023-01-06 Thread Mikhail Gavrilov
On Thu, Jan 5, 2023 at 3:03 PM Christian König wrote: > > That one should be fixed by: > > commit 9f1ecfc5dcb47a7ca37be47b0eaca0f37f1ae93d > Author: Dmitry Osipenko > Date: Wed Nov 23 03:13:03 2022 +0300 > Christian, This patch was written Nov. 23, 2022, but still not submitted in 6.2! Why? It

Re: [PATCH 2/8] drm/amd/pm: refine the checks for sysfs interfaces support

2023-01-06 Thread Lazar, Lijo
On 1/6/2023 2:14 PM, Quan, Evan wrote: [AMD Official Use Only - General] -Original Message- From: Lazar, Lijo Sent: Friday, January 6, 2023 11:55 AM To: Quan, Evan ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: Re: [PATCH 2/8] drm/amd/pm: refine the checks for sy

[PATCH] drm/radeon: free iio for atombios when driver shutdown

2023-01-06 Thread Liwei Song
Fix below kmemleak when unload radeon driver: unreferenced object 0x9f8608ede200 (size 512): comm "systemd-udevd", pid 326, jiffies 4294682822 (age 716.338s) hex dump (first 32 bytes): 00 00 00 00 c4 aa ec aa 14 ab 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0

RE: [PATCH 2/8] drm/amd/pm: refine the checks for sysfs interfaces support

2023-01-06 Thread Quan, Evan
[AMD Official Use Only - General] > -Original Message- > From: Lazar, Lijo > Sent: Friday, January 6, 2023 11:55 AM > To: Quan, Evan ; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: Re: [PATCH 2/8] drm/amd/pm: refine the checks for sysfs interfaces > support > > >

[PATCH -next] drm/amdgpu: clean up some inconsistent indentings

2023-01-06 Thread Yang Li
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65 amdgpu_gem_fault() warn: inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3639 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti