[PATCH] drm/amdgpu: toggle on DF Cstate after finishing xgmi injection

2021-01-13 Thread Guchun Chen
Fixes: 5c23e9e05e42 ("drm/amdgpu: Update RAS XGMI error inject sequence") Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

[PATCH 00/10] Fix documentation warnings at linux-next

2021-01-13 Thread Mauro Carvalho Chehab
This series fixes the documentation warnings found at next-20210114. Most of the changes here are trivial. While those patches could be merged via the docs tree during the next merge window, It sounds better to have those patches merged directly via each maintainer's tree, where the new

[PATCH 06/10] drm: amd: amdgpu_dm.h: fix a wrong kernel-doc markup

2021-01-13 Thread Mauro Carvalho Chehab
There's a missing colon, causing the markup to be ignored, solving those warnings: ../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:340: warning: Incorrect use of kernel-doc format: * @active_vblank_irq_count ../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:379:

RE: [PATCH 1/2] drm/amdgpu: Add Secure Display TA header file

2021-01-13 Thread Su, Jinzhou (Joe)
[AMD Official Use Only - Internal Distribution Only] Dear Paul, Thanks so much for your review. Answer your Question inline. Please check. Regards, Joe -Original Message- From: Paul Menzel Sent: Thursday, January 14, 2021 3:06 AM To: Su, Jinzhou (Joe) Cc: Huang, Ray ;

Re: [PATCH 2/2] drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work

2021-01-13 Thread Andrey Grodzovsky
On 1/14/21 12:11 AM, Chen, Xiaogang wrote: On 1/12/2021 10:54 PM, Grodzovsky, Andrey wrote: On 1/4/21 1:01 AM, Xiaogang.Chen wrote: From: Xiaogang Chen amdgpu DM handles INTERRUPT_LOW_IRQ_CONTEXT interrupt(hpd, hpd_rx) by using work queue and uses single work_struct. If previous interrupt

RE: [PATCH] drm/amdgpu: check the result of copy_from_user in secure display debugfs (v2)

2021-01-13 Thread Su, Jinzhou (Joe)
[AMD Public Use] Reviewed-by : Jinzhou Su Regards, Joe -Original Message- From: Deucher, Alexander Sent: Thursday, January 14, 2021 12:17 PM To: Su, Jinzhou (Joe) ; Alex Deucher ; amd-gfx list Subject: RE: [PATCH] drm/amdgpu: check the result of copy_from_user in secure display

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-13 Thread Felix Kuehling
Am 2021-01-11 um 11:29 a.m. schrieb Daniel Vetter: > On Fri, Jan 08, 2021 at 12:56:24PM -0500, Felix Kuehling wrote: >> Am 2021-01-08 um 11:53 a.m. schrieb Daniel Vetter: >>> On Fri, Jan 8, 2021 at 5:36 PM Felix Kuehling >>> wrote: Am 2021-01-08 um 11:06 a.m. schrieb Daniel Vetter: > On

Re: mclk stuck at low state

2021-01-13 Thread Alex Deucher
On Wed, Jan 13, 2021 at 8:51 AM Tom Psyborg wrote: > > Hi > > I see the message didn't make it to the mailing list? Any reason for that? No idea. I never saw it until now. > > On 10/01/2021, Tom Psyborg wrote: > > Hi > > > > Have an ubuntu 16.04 system here with kernel version 5.6.14, running

Re: [PATCH 2/2] drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work

2021-01-13 Thread Chen, Xiaogang
On 1/12/2021 10:54 PM, Grodzovsky, Andrey wrote: On 1/4/21 1:01 AM, Xiaogang.Chen wrote: From: Xiaogang Chen amdgpu DM handles INTERRUPT_LOW_IRQ_CONTEXT interrupt(hpd, hpd_rx) by using work queue and uses single work_struct. If previous interrupt has not been

RE: [PATCH] drm/amdgpu: check the result of copy_from_user in secure display debugfs (v2)

2021-01-13 Thread Deucher, Alexander
[AMD Public Use] > -Original Message- > From: Su, Jinzhou (Joe) > Sent: Wednesday, January 13, 2021 10:27 PM > To: Alex Deucher ; amd-gfx list g...@lists.freedesktop.org> > Cc: Deucher, Alexander > Subject: RE: [PATCH] drm/amdgpu: check the result of copy_from_user in > secure display

RE: [PATCH] drm/amdgpu: check the result of copy_from_user in secure display debugfs (v2)

2021-01-13 Thread Su, Jinzhou (Joe)
[AMD Official Use Only - Internal Distribution Only] Thanks, Alex! Regards, Joe -Original Message- From: Alex Deucher Sent: Thursday, January 14, 2021 11:24 AM To: amd-gfx list ; Su, Jinzhou (Joe) Cc: Deucher, Alexander Subject: Re: [PATCH] drm/amdgpu: check the result of

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-13 Thread Jerome Glisse
On Wed, Jan 13, 2021 at 09:31:11PM +0100, Daniel Vetter wrote: > On Wed, Jan 13, 2021 at 5:56 PM Jerome Glisse wrote: > > On Fri, Jan 08, 2021 at 03:40:07PM +0100, Daniel Vetter wrote: > > > On Thu, Jan 07, 2021 at 11:25:41AM -0500, Felix Kuehling wrote: > > > > Am 2021-01-07 um 4:23 a.m. schrieb

Re: [PATCH] drm/amdgpu: check the result of copy_from_user in secure display debugfs (v2)

2021-01-13 Thread Alex Deucher
+ Joe On Mon, Jan 4, 2021 at 12:53 PM Alex Deucher wrote: > > Make sure the copy succeeded. Also fixes a warning. > > v2: fix the error check > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >

Re: [PATCH 2/2] drm/amd/pm: modify the fine grain tuning function for vangogh

2021-01-13 Thread Huang Rui
On Wed, Jan 13, 2021 at 07:22:04PM +0800, Du, Xiaojian wrote: > This patch is to modify the fine grain tuning function for vangogh. > It is risky to add two new flags to common smu struct. > So this patch uses the existing old flag to make the two sysfs files > work separately --

RE: [PATCH] drm/amdgpu: change the fence ring wait timeout

2021-01-13 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] >-Original Message- >From: amd-gfx On Behalf Of >Christian König >Sent: Wednesday, January 13, 2021 10:03 PM >To: Sun, Roy ; amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] drm/amdgpu: change the fence ring wait timeout > >Am

Re: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

2021-01-13 Thread Mikhail Gavrilov
On Tue, 12 Jan 2021 at 01:45, Christian König wrote: > > But what you have in your logs so far are only unrelated symptoms, the > root of the problem is that somebody is leaking memory. > > What you could do as well is to try to enable kmemleak I captured some memleaks. Do they contain any

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-13 Thread Felix Kuehling
Am 2021-01-13 um 11:47 a.m. schrieb Jerome Glisse: > On Wed, Jan 06, 2021 at 10:00:52PM -0500, Felix Kuehling wrote: >> This is the first version of our HMM based shared virtual memory manager >> for KFD. There are still a number of known issues that we're working through >> (see below). This

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-13 Thread Daniel Vetter
On Wed, Jan 13, 2021 at 5:56 PM Jerome Glisse wrote: > On Fri, Jan 08, 2021 at 03:40:07PM +0100, Daniel Vetter wrote: > > On Thu, Jan 07, 2021 at 11:25:41AM -0500, Felix Kuehling wrote: > > > Am 2021-01-07 um 4:23 a.m. schrieb Daniel Vetter: > > > > On Wed, Jan 06, 2021 at 10:00:52PM -0500, Felix

Re: [PATCH 1/2] drm/amdgpu: Add Secure Display TA header file

2021-01-13 Thread Paul Menzel
Dear Jinzhou, Am 13.01.21 um 04:43 schrieb Jinzhou Su: Add file ta_secureDisplay_if.h for Secure Display TA What is *Secure Display TA*? Please give some background, and even examples how it can be used. How is the header file generated? What do the comments mean, when they refer to “for

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-13 Thread Jerome Glisse
On Fri, Jan 08, 2021 at 03:40:07PM +0100, Daniel Vetter wrote: > On Thu, Jan 07, 2021 at 11:25:41AM -0500, Felix Kuehling wrote: > > Am 2021-01-07 um 4:23 a.m. schrieb Daniel Vetter: > > > On Wed, Jan 06, 2021 at 10:00:52PM -0500, Felix Kuehling wrote: > > >> This is the first version of our HMM

Re: [PATCH 00/35] Add HMM-based SVM memory manager to KFD

2021-01-13 Thread Jerome Glisse
On Wed, Jan 06, 2021 at 10:00:52PM -0500, Felix Kuehling wrote: > This is the first version of our HMM based shared virtual memory manager > for KFD. There are still a number of known issues that we're working through > (see below). This will likely lead to some pretty significant changes in > MMU

Re: [PATCH 1/2] drm/amdgpu: add green_sardine device id (v2)

2021-01-13 Thread Huang Rui
On Wed, Jan 13, 2021 at 11:24:03PM +0800, Alex Deucher wrote: > From: Prike Liang > > Add green_sardine PCI id support and map it to renoir asic type. > > v2: add apu flag > > Signed-off-by: Prike Liang > Reviewed-by: Alex Deucher > Reviewed-by: Huang Rui Series are Reviewed-by: Huang Rui

Re: [PATCH] drm/amdgpu: fix vram type and bandwidth error for DDR5 and DDR4

2021-01-13 Thread Alex Deucher
On Wed, Jan 13, 2021 at 7:30 AM Huang Rui wrote: > > This patch is to update atomfirmware parser for the memory type and > bandwidth of DDR5 and DDR4. > > Signed-off-by: Huang Rui Reviewed-by: Alex Deucher > --- > .../gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 53 +-- > 1

[PATCH 2/2] drm/amdgpu: add new device id for Renior

2021-01-13 Thread Alex Deucher
From: mengwang add DID 0x164C into pciidlist under CHIP_RENOIR family. Signed-off-by: mengwang Reviewed-by: Huang Rui Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org # 5.10.x --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 + drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++- 2 files

[PATCH 1/2] drm/amdgpu: add green_sardine device id (v2)

2021-01-13 Thread Alex Deucher
From: Prike Liang Add green_sardine PCI id support and map it to renoir asic type. v2: add apu flag Signed-off-by: Prike Liang Reviewed-by: Alex Deucher Reviewed-by: Huang Rui Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org # 5.10.x --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +

Re: [PATCH 2/2] drm/amdgpu: Add secure display TA interface

2021-01-13 Thread Wang, Kevin(Yang)
[AMD Official Use Only - Internal Distribution Only] From: amd-gfx on behalf of Jinzhou Su Sent: Wednesday, January 13, 2021 11:43 AM To: amd-gfx@lists.freedesktop.org Cc: Su, Jinzhou (Joe) ; Huang, Ray Subject: [PATCH 2/2] drm/amdgpu: Add secure display TA

Re: [PATCH v3 01/12] drm: Add dummy page per device or GEM object

2021-01-13 Thread Andrey Grodzovsky
On 1/13/21 4:14 AM, Christian König wrote: Am 12.01.21 um 16:59 schrieb Andrey Grodzovsky: On 1/12/21 7:32 AM, Christian König wrote: Am 12.01.21 um 10:10 schrieb Daniel Vetter: On Mon, Jan 11, 2021 at 03:45:10PM -0500, Andrey Grodzovsky wrote: On 1/11/21 11:15 AM, Daniel Vetter wrote: On

Re: [PATCH] drm/amdgpu: change the fence ring wait timeout

2021-01-13 Thread Christian König
Am 13.01.21 um 07:36 schrieb Roy Sun: This fix bug where when the engine hang, the fence ring will wait without quit and cause kernel crash NAK, this blocking is intentional unlimited because otherwise we will cause a memory corruption. What is the actual bug you are trying to fix here?

Re: [PATCH 2/2] drm/amdgpu: Add secure display TA interface

2021-01-13 Thread Alex Deucher
On Tue, Jan 12, 2021 at 10:44 PM Jinzhou Su wrote: > > Add interface to load, unload, invoke command for > secure display TA. > > v2: Add debugfs interface for secure display TA > > Signed-off-by: Jinzhou.Su > Reviewed-by: Huang Rui > --- > drivers/gpu/drm/amd/amdgpu/Makefile | 2

Re: mclk stuck at low state

2021-01-13 Thread Tom Psyborg
Hi I see the message didn't make it to the mailing list? Any reason for that? On 10/01/2021, Tom Psyborg wrote: > Hi > > Have an ubuntu 16.04 system here with kernel version 5.6.14, running > on a laptop with FX9830P APU. > During graphic load I notice the memory clock is always at the low >

[PATCH] drm/amd/display: Simplify bool comparison

2021-01-13 Thread Yang Li
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c:3141:30-39: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c | 2 +- 1 file changed, 1

[PATCH] drm/amd/display: Simplify bool comparison

2021-01-13 Thread Yang Li
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c:580:23-31: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] drm/amd/display: Simplify bool comparison

2021-01-13 Thread Yang Li
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c:5121:14-38: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: Yang Li --- .../amd/display/dc/dml/dcn21/display_mode_vba_21.c | 44 +++--- 1 file changed, 22

[PATCH] drm/amd/display: Simplify bool comparison

2021-01-13 Thread Yang Li
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c:1228:9-20: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c | 4 ++-- 1 file changed, 2

[PATCH] drm/amdgpu: fix vram type and bandwidth error for DDR5 and DDR4

2021-01-13 Thread Huang Rui
This patch is to update atomfirmware parser for the memory type and bandwidth of DDR5 and DDR4. Signed-off-by: Huang Rui --- .../gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 53 +-- 1 file changed, 36 insertions(+), 17 deletions(-) diff --git

Re: [PATCH 2/2] drm/amd/pm: modify the fine grain tuning function for vangogh

2021-01-13 Thread Wang, Kevin(Yang)
[AMD Official Use Only - Internal Distribution Only] From: Du, Xiaojian Sent: Wednesday, January 13, 2021 7:22 PM To: amd-gfx@lists.freedesktop.org Cc: Huang, Ray ; Quan, Evan ; Lazar, Lijo ; Wang, Kevin(Yang) ; Du, Xiaojian Subject: [PATCH 2/2] drm/amd/pm:

[PATCH 2/2] drm/amd/pm: modify the fine grain tuning function for vangogh

2021-01-13 Thread Xiaojian Du
This patch is to modify the fine grain tuning function for vangogh. It is risky to add two new flags to common smu struct. So this patch uses the existing old flag to make the two sysfs files work separately -- "power_dpm_force_performance_level" and "pp_od_clk_voltage". Only the

[PATCH 1/2] drm/amd/pm: modify the fine grain tuning function for Renoir

2021-01-13 Thread Xiaojian Du
This patch is to modify the fine grain tuning function for Renoir. The fine grain tuning function uses the sysfs node -- pp_od_clk_voltage to config gfxclk. Meanwhile, another sysfs node -- power_dpm_force_perfomance_level also affects the gfx clk. It will cause confusion when these two sysfs

Re: [PATCH v2 0/4] Revert "drm/amd/display: Expose new CRC window property" and changes associated with this commit

2021-01-13 Thread Wayne Lin
Thanks Siqueira. Series is: Reviewed-by: Wayne Lin On 1/12/21 10:55 PM, Rodrigo Siqueira wrote: Hi, In the V1, Wayne pointed out two problems: 1. The revert patch included one extra line that does not belong to it; 2. The original patch also had other fixes in the same commit; I removed the

Re: [PATCH v3 01/12] drm: Add dummy page per device or GEM object

2021-01-13 Thread Christian König
Am 12.01.21 um 16:59 schrieb Andrey Grodzovsky: On 1/12/21 7:32 AM, Christian König wrote: Am 12.01.21 um 10:10 schrieb Daniel Vetter: On Mon, Jan 11, 2021 at 03:45:10PM -0500, Andrey Grodzovsky wrote: On 1/11/21 11:15 AM, Daniel Vetter wrote: On Mon, Jan 11, 2021 at 05:13:56PM +0100,

[PATCH 13/30] drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:28: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:568:43: warning: initialized field overwritten [-Woverride-init]

[PATCH 14/30] drm/amd/display/dc/dce80/Makefile: Ignore -Woverride-init warning

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:29: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9546:58: warning: initialized field overwritten [-Woverride-init]

[PATCH 08/30] drm/amd/display/dc/core/dc_link_dp: Staticify local function 'linkRateInKHzToLinkRateMultiplier'

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:3710:19: warning: no previous prototype for ‘linkRateInKHzToLinkRateMultiplier’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function

[PATCH 15/30] drm/amd/display/dc/dce80/dce80_resource: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1126:23: warning: no previous prototype for ‘dce80_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1325:23: warning:

[PATCH 21/30] drm/amd/display/dc/core/dc_resource: Demote some kernel-doc abuses

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1710: warning: Function parameter or member 'old_stream' not described in 'dc_is_stream_unchanged' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1710: warning: Function

[PATCH 02/30] drm/amd/include/renoir_ip_offset: Mark top-level IP_BASE as __maybe_unused

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:226:29: warning: ‘UVD0_BASE’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../include/renoir_ip_offset.h:219:29: warning: ‘USB0_BASE’ defined but not used

[PATCH 04/30] drm/amd/display/modules/power/power_helpers: Staticify local functions

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:281:6: warning: no previous prototype for ‘fill_iram_v_2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:455:6: warning: no previous

[PATCH 09/30] drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:883:6: warning: no previous prototype for ‘dce112_validate_bandwidth’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1008:16: warning:

[PATCH 06/30] drm/amd/display/dc/core/dc_resource: Staticify local functions

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1120:5: warning: no previous prototype for ‘shift_border_left_to_dst’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1131:6: warning: no previous

[PATCH 22/30] drm/amd/display/dc/core/dc_link: Fix a couple of function documentation issues

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:214: warning: Function parameter or member 'link' not described in 'dc_link_detect_sink' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:350: warning: Function parameter or member

[PATCH 11/30] drm/amd/display/dc/dce100/Makefile: Ignore -Woverride-init warning

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5084:45: warning: initialized field overwritten [-Woverride-init]

[PATCH 10/30] drm/amd/display/dc/core/dc: Staticise local function 'apply_ctx_interdependent_lock'

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:806:6: warning: no previous prototype for ‘apply_ctx_interdependent_lock’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc:

[PATCH 07/30] drm/amd/display/dc/core/dc_link: Remove unused variable 'status'

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c: In function ‘query_hdcp_capability’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:599:28: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] Cc: Harry

[PATCH 00/30] [Set 13] Finally rid W=1 warnings from GPU

2021-01-13 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. 0 out of 5000 left! LAST SET! You're all clean. Can you believe it!? Lee Jones (30): drm/amd/display/dc/dc_helper: Include our own header,

[PATCH 17/30] drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1115:23: warning: no previous prototype for ‘dce60_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1312:23: warning:

[PATCH 01/30] drm/amd/display/dc/dc_helper: Include our own header, containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:299:10: warning: no previous prototype for ‘generic_reg_get’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:307:10: warning: no previous prototype for

[PATCH 20/30] drm/amd/display/dc/core/dc: Fix a bunch of documentation misdemeanours

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:287: warning: Cannot understand * drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:366: warning: Function

[PATCH 05/30] drm/amd/display/modules/info_packet/info_packet: Correct kernel-doc formatting

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/modules/info_packet/info_packet.c:412: warning: Cannot understand * Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc:

[PATCH 03/30] drm/amd/display/dmub/src/dmub_dcn30: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn30.c:83:6: warning: no previous prototype for ‘dmub_dcn30_backdoor_load’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn30.c:118:6: warning: no previous

[PATCH 12/30] drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’

[PATCH 18/30] drm/amd/display/dc/core/dc_link: Move some local data from the stack to the heap

2021-01-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c: In function ‘dc_link_construct’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1588:1: warning: the frame size of 1176 bytes is larger than 1024 bytes [-Wframe-larger-than=]

[PATCH 19/30] drm/amd/display/dc/core/dc_link_dp: Mark 'result_write_min_hblank' as __maybe_unused

2021-01-13 Thread Lee Jones
It looks like it could be used inside the DC_TRACE_LEVEL_MESSAGE() macro. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function ‘dpcd_set_source_specific_data’: