Re: [PATCH] drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu()

2021-01-08 Thread Jeremy Cline
On Fri, Jan 08, 2021 at 06:46:17PM -0500, Felix Kuehling wrote: > Am 2021-01-08 um 11:31 a.m. schrieb Jeremy Cline: > > KASAN reported a slab-out-of-bounds read of size 1 in > > kdf_create_vcrat_image_cpu(). > > > > This occurs when, for example, when on an x86_64 with a single NUMA node > > becaus

Re: [PATCH] drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu()

2021-01-08 Thread Felix Kuehling
Am 2021-01-08 um 11:31 a.m. schrieb Jeremy Cline: > KASAN reported a slab-out-of-bounds read of size 1 in > kdf_create_vcrat_image_cpu(). > > This occurs when, for example, when on an x86_64 with a single NUMA node > because kfd_fill_iolink_info_for_cpu() is a no-op, but afterwards the > sub_type_h

Re: AMDGPU VCE 1: some info needed

2021-01-08 Thread Alexandre Demers
On Fri, 2021-01-08 at 15:00 -0500, Alex Deucher wrote: > On Fri, Jan 8, 2021 at 2:37 PM Alexandre Demers > wrote: > > > > > > On Fri, 2021-01-08 at 10:28 -0500, Alex Deucher wrote: > > > On Fri, Jan 8, 2021 at 3:11 AM Christian König > > > wrote: > > > > > > > > Hi Alexandre, > > > > > > > >

RE: [PATCH 00/21] DC Patches January 08, 2021

2021-01-08 Thread Wheeler, Daniel
[AMD Public Use] Hi all, Ran the promotion test this week on Navi14 and a Renoir laptop (HP Envy 360 with Ryzen 5 4500U). Tested the laptop with it's internal 1080p display and externally with USB-C to DP and HDMI to 2x 4k60 displays and 1x 1440p 144hz display. Also tested using an MST hub wit

[pull] radeon, amdgpu drm-next-5.12

2021-01-08 Thread Alex Deucher
Hi Dave, Daniel, First set of new changes for 5.12. The following changes since commit a135a1b4c4db1f3b8cbed9676a40ede39feb3362: drm/amd/display: Fix memory leaks in S3 resume (2020-12-23 15:03:15 -0500) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git

Re: [PATCH 00/21] DC Patches January 08, 2021

2021-01-08 Thread Rodrigo Siqueira
+Daniel On 01/08, Rodrigo Siqueira wrote: > Happy new year, this is the first code promotion of the year; for this > reason, most of the changes are related to fixes. > > This DC patchset brings improvements in multiple areas. In summary, we have: > * Multiple fixes and code refactoring. > * Upda

[PATCH] amdgpu: Avoid sleeping during FPU critical sections

2021-01-08 Thread Jeremy Cline
dcn20_resource_construct() includes a number of kzalloc(GFP_KERNEL) calls which can sleep, but kernel_fpu_begin() disables preemption and sleeping in this context is invalid. The only places the FPU appears to be required is in the init_soc_bounding_box() function and when calculating the {min,max

[PATCH 21/21] drm/amd/display: change SMU repsonse timeout to 2s

2021-01-08 Thread Rodrigo Siqueira
From: Charlene Liu [why] driver has sent PMFW VBIOSSMC_MSG_SetDisplayIdleOptimizations while SMU still processing a previous VBIOSSMC_MSG_SetHardMinDcfclkByFreq message. [how] same as RN, change the time out to2s. Signed-off-by: Charlene Liu Reviewed-by: Chris Park Acked-by: Rodrigo Siqueira

[PATCH 20/21] drm/amd/display: disable dcn10 pipe split by default

2021-01-08 Thread Rodrigo Siqueira
From: "Li, Roman" [Why] The initial purpose of dcn10 pipe split is to support some high bandwidth mode which requires dispclk greater than max dispclk. By initial bring up power measurement data, it showed power consumption is less with pipe split for dcn block. This could be reason for enable pi

[PATCH 19/21] drm/amd/display: Revert patch causing black screen

2021-01-08 Thread Rodrigo Siqueira
From: Stylon Wang [Why] Previous patch is causing black screen from S3 hotplug. [How] Revert patch until correct solution is developed. This reverts 2b09ac8145dc. Signed-off-by: Stylon Wang Reviewed-by: Roman Li Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.

[PATCH 18/21] drm/amd/display: 3.2.118

2021-01-08 Thread Rodrigo Siqueira
From: Aric Cyr Signed-off-by: Aric Cyr Reviewed-by: Aric Cyr Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 3737fb9802a4..f3

[PATCH 16/21] drm/amd/display: enable HUBP blank behaviour

2021-01-08 Thread Rodrigo Siqueira
From: Bhawanpreet Lakha - Reverts "drm/amd/display: Revert HUBP blank behaviour for now" - Hubp blank will fail if the pipe is locked (this is the case on linux), so add a check to make sure pipe isn't locked, if it is then defer the blank to post_unlock. Signed-off-by: Bhawanpreet Lakha Review

[PATCH 17/21] drm/amd/display: Add a missing DCN3.01 API mapping

2021-01-08 Thread Rodrigo Siqueira
From: Nikola Cornij [why] Required for DSC MST Signed-off-by: Nikola Cornij Reviewed-by: Zhan Liu Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c

[PATCH 15/21] drm/amd/display: New sequence for HUBP blank

2021-01-08 Thread Rodrigo Siqueira
From: Wesley Chalmers [WHY] DCN30 has a bug where blanking HUBP blocks pstate allow unless HUBP_DISABLE is toggled afterwards. [HOW] Create a HW sequence for blanking HUBP. 1. Wait for enter VBLANK 2. Set HUBP_BLANK 3. Make sure HUBP_IN_BLANK = 1 4. Toggle HUBP_DISABLE on and off to perform soft

[PATCH 14/21] drm/amd/display: Fix assert being hit with GAMCOR memory shut down

2021-01-08 Thread Rodrigo Siqueira
From: Jacky Liao [Why] A call to BREAK_TO_DEBUGGER is triggered when powering down memory [How] Remove the check for GAMCOR_MEM_PWR_STATE when powering off the memory Signed-off-by: Jacky Liao Reviewed-by: Nicholas Kazlauskas Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dcn

[PATCH 12/21] drm/amd/display: implement T12 compliance

2021-01-08 Thread Rodrigo Siqueira
From: Jun Lei [why] When OS reboots, and panel is turned off, T12 may not be maintained. T12 is defined as the interval between VDDC off (occurs at shutdown) and the next VDDC on (occurs when eDP is POST-ed) [how] DC already tracks panel power off time. Add a DC interface which DM can call duri

[PATCH 13/21] drm/amd/display: fix seamless boot stream adding algorithm

2021-01-08 Thread Rodrigo Siqueira
From: Raymond Yang [Why] Seamless boot stream has hw resource assigned, already. 'add' is actually rebuild the assignment. [How] Swap seamless boot stream to pipe 0 (if needed) to ensure pipe_ctx matches Signed-off-by: Raymond Yang Reviewed-by: Martin Leung Acked-by: Rodrigo Siqueira --- .

[PATCH 11/21] drm/amd/display: Remove unused P010 debug flag

2021-01-08 Thread Rodrigo Siqueira
From: Mike Hsieh Signed-off-by: Mike Hsieh Reviewed-by: Aric Cyr Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 38a962bc28f2..3737fb9802a4 10

[PATCH 09/21] drm/amd/display: removed unnecessary check when dpp clock increasing

2021-01-08 Thread Rodrigo Siqueira
From: Chiawen Huang [Why] When switching single pipe to split pipe, the bandwidth check is just for first pipe. The 2nd pipe with abnormal(or zero) dpp clock when pipe ready and unlock leads the garbage on display. [How] Removed external increasing dpp clock check, the internal function already

[PATCH 10/21] drm/amd/display: doesn't reprogram AMD OUI

2021-01-08 Thread Rodrigo Siqueira
From: Yu-ting Shen [Why] 1. the corrected timing to write DPCD 300h AMD signature is before link training. 2. and VBIOS will writes correctted AMD signature by after AGESA 1.0.0, so driver doesn't need to write DPCD 300h again to switch config. 3. there are some OLED panel will clean backlight le

[PATCH 08/21] drm/amd/display: New path for enabling DPG

2021-01-08 Thread Rodrigo Siqueira
From: Wesley Chalmers [WHY] We want to make enabling test pattern a part of the stream update code path. This change is the first step towards that goal. Signed-off-by: Wesley Chalmers Reviewed-by: Aric Cyr Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/core/dc.c | 12 ++

[PATCH 07/21] drm/amd/display: Unblank hubp based on plane visibility

2021-01-08 Thread Rodrigo Siqueira
From: Wesley Chalmers [WHY] DCN10 uses plane visibility to determine when to unblank HUBP; there is no reason DCN20+ should not do the same. [HOW] In addition to changing the check in HWSEQ, we must change is_pipe_tree_visible so that it checks ODM pipe topologies as well as MPC. Since we're now

[PATCH 05/21] drm/amd/display: HUBP_IN_BLANK for DCN30

2021-01-08 Thread Rodrigo Siqueira
From: Wesley Chalmers [WHY] Shift/mask for HUBP_IN_BLANK is currently missing. Signed-off-by: Wesley Chalmers Reviewed-by: Aric Cyr Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display

[PATCH 06/21] drm/amd/display: Remove HUBP_DISABLE from default

2021-01-08 Thread Rodrigo Siqueira
From: Wesley Chalmers [WHY] HW team plans to rename HUBP_DISABLE to HUBP_SOFT_RESET in future HW revisions. Those future revisions should not inherit the HUBP_DISABLE name. Signed-off-by: Wesley Chalmers Reviewed-by: Aric Cyr Acked-by: Rodrigo Siqueira --- .../gpu/drm/amd/display/dc/dcn10/dc

[PATCH 04/21] drm/amd/display: Separate fec debug flag and monitor patch

2021-01-08 Thread Rodrigo Siqueira
From: Lewis Huang [Why] Driver apply the monitor patch into global debug flag. When apply monitor patch, fec feature will always disable. [How] Separate fec debug flag and monitor patch Signed-off-by: Lewis Huang Reviewed-by: Wenjing Liu Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/d

[PATCH 02/21] drm/amd/display: NULL pointer hang

2021-01-08 Thread Rodrigo Siqueira
From: Qingqing Zhuo [Why] In dc_link_dp_set_test_pattern, we assume all pipes have a stream, which can cause null pointer dereference. [How] Add a null pointer check before accessing stream. Signed-off-by: Qingqing Zhuo Reviewed-by: Nicholas Kazlauskas Acked-by: Rodrigo Siqueira --- drivers

[PATCH 01/21] drm/amd/display: 3.2.117

2021-01-08 Thread Rodrigo Siqueira
From: Aric Cyr Signed-off-by: Aric Cyr Reviewed-by: Aric Cyr Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 90fdddb72e3b..38

[PATCH 00/21] DC Patches January 08, 2021

2021-01-08 Thread Rodrigo Siqueira
Happy new year, this is the first code promotion of the year; for this reason, most of the changes are related to fixes. This DC patchset brings improvements in multiple areas. In summary, we have: * Multiple fixes and code refactoring. * Updates on HUBP operations Best Regards Aric Cyr (2): d

[PATCH 03/21] drm/amd/display: Initialize stack variable

2021-01-08 Thread Rodrigo Siqueira
From: Wesley Chalmers [WHY] The stack variable "val" is potentially unpopulate it, so initialize it with the value 0xf (indicating an invalid mux) Signed-off-by: Wesley Chalmers Reviewed-by: Martin Leung Acked-by: Rodrigo Siqueira --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c | 2 +-

Re: [PATCH] MAINTAINERS: update radeon/amdgpu/amdkfd git trees

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:52 PM Abramov, Slava wrote: > > [AMD Official Use Only - Internal Distribution Only] > > > Why not just https://gitlab.freedesktop.org/agd5f/linux ? I guess that works too. Alex > > From: amd-gfx on behalf of Alex > Deucher > Sent: Fr

Re: [PATCH 40/40] drm/amd/display/dc/gpio/hw_factory: Delete unused function 'dal_hw_factory_destroy'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_factory.c:123:6: warning: > no previous prototype for ‘dal_hw_factory_destroy’ [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li >

Re: [PATCH 39/40] drm/amd/display/dc/dce/dmub_psr: Demote non-conformant kernel-doc headers

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:38: warning: > Function parameter or member 'raw_state' not described in 'convert_psr_state' > drivers/gpu/drm/amd/amdgpu/../display/d

Re: [PATCH 38/40] drm/amd/display/dc/dce/dce_panel_cntl: Remove unused variables 'bl_pwm_cntl' and 'pwm_period_cntl'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c: In function > ‘dce_get_16_bit_backlight_from_pwm’: > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:54:11: > wa

Re: [PATCH 37/40] drm/amd/display/dc/dce/dce_i2c_sw: Make a bunch of local functions static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_sw.c:342:6: warning: no > previous prototype for ‘dce_i2c_sw_engine_set_speed’ [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../dis

Re: [PATCH 36/40] drm/amd/display/dc/dce/dce_i2c_hw: Make functions called by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c:438:35: warning: > no previous prototype for ‘dce_i2c_hw_engine_wait_on_operation_result’ > [-Wmissing-prototypes] > drivers/gpu/dr

Re: [PATCH 35/40] drm/amd/display/dc/bios/command_table: Remove unused variable and associated comment

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c: In function > ‘adjust_display_pll_v2’: > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1462:11: > warning: unu

Re: [PATCH 34/40] drm/amd/display/dc/bios/bios_parser: Fix misspelling of function parameter

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:997: warning: > Function parameter or member 'ss_info' not described in 'get_ss_info_from_tbl' > drivers/gpu/drm/amd/amdgpu/../dis

Re: [PATCH 32/40] drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:391:25: warning: no > previous prototype for ‘get_engine_type’ [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex D

Re: [PATCH 31/40] drm/amd/display/dc/dce/dce_opp: Make local functions and ones invoked by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:427:6: warning: no > previous prototype for ‘dce60_opp_set_clamping’ [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/

Re: [PATCH 30/40] drm/amd/display/dc/dce/dce_dmcu: Move 'abm_gain_stepsize' to only source file it's used in

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > And only declare it if it's to be used. > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.h:320:23: warning: > ‘abm_gain_stepsize’ defined but not used [-Wunused-const-variable=] > d

Re: [PATCH 29/40] drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:74:6: warning: no > previous prototype for ‘dce_dmcu_load_iram’ [-Wmissing-prototypes] > In file included from > drivers/gpu/drm/amd/

Re: [PATCH 28/40] drm/amd/display/dc/dce/dce_transform: Remove 3 unused/legacy variables

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.c: In function > ‘dce60_transform_set_scaler’: > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.c:496:7: warning: > va

Re: [PATCH 27/40] drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix worthy function headers, demote barely documented one

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1556: > warning: Function parameter or member 'acg_freq' not described in > 'vega10_populate_single_gfx_level' > drivers/gpu/

Re: [PATCH 26/40] drm/amd/display/dc/dce/dce_clock_source: Fix formatting/spelling of worthy function headers

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Demote the one that provides no param descriptions. > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clock_source.c:142: > warning: Function parameter or member 'calc_pll_cs' not describe

Re: [PATCH 25/40] drm/amd/display/dc/dce/dce_link_encoder: Make functions invoked by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1200:6: > warning: no previous prototype for ‘dce60_link_encoder_enable_dp_output’ > [-Wmissing-prototypes] > drivers/gpu/drm

Re: [PATCH 24/40] drm/amd/display/dc/dce/dce_stream_encoder: Remove unused variable 'regval'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.c: In > function ‘dce110_update_generic_info_packet’: > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.c:70:1

Re: [PATCH 23/40] drm/amd/display/dc/dce/dce_audio: Make function invoked by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.c:871:6: warning: no > previous prototype for ‘dce60_aud_wall_dto_setup’ [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li >

Re: [PATCH 22/40] drm/amd/display/dc/bios/bios_parser2: Fix some formatting issues and missing parameter docs

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:501: warning: > Function parameter or member 'dcb' not described in > 'bios_parser_get_gpio_pin_info' > drivers/gpu/drm/amd/amdg

Re: [PATCH 21/40] drm/amd/display/dc/calcs/dce_calcs: Remove unused variables 'v_filter_init_mode' and 'sclk_lvl'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function > ‘calculate_bandwidth’: > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:109:18: warning: > variable ‘v_

[PATCH] drm/amdgpu/display: actually execute the atom command table in adjust_display_pll_v2

2021-01-08 Thread Alex Deucher
We should execute the table to see if we need to adjust the pixel clock. That said, I'm not sure this version of the atom table is actually in use on any asics supported by amdgpu. Signed-off-by: Alex Deucher --- .../drm/amd/display/dc/bios/command_table.c | 24 +++ 1 file chan

Re: [PATCH 19/40] drm/amd/display/dc/bios/command_table: Remove unused variable

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > None of the surrounding code was removed just in case even a small > fraction of it was functional. > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c: In function > ‘adjust_di

Re: [PATCH] MAINTAINERS: update radeon/amdgpu/amdkfd git trees

2021-01-08 Thread Abramov, Slava
[AMD Official Use Only - Internal Distribution Only] Why not just https://gitlab.freedesktop.org/agd5f/linux ? From: amd-gfx on behalf of Alex Deucher Sent: Friday, January 8, 2021 2:30 PM To: amd-gfx list ; Maling list - DRI developers ; Dave Airlie ; Daniel

Re: [PATCH 18/40] drm/amd/display/dc/bios/bios_parser: Fix a whole bunch of legacy doc formatting

2021-01-08 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2588:16: > warning: no previous prototype for ‘update_slot_layout_info’ > [-Wmissing-prototypes] > drive

Re: [PATCH 17/40] drm/amd/display/dc/bios/bios_parser: Make local functions static

2021-01-08 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2588:16: > warning: no previous prototype for ‘update_slot_layout_info’ > [-Wmissing-prototypes] > drive

Re: [PATCH 16/40] drm/amd/display/dc/bios/command_table_helper2: Fix legacy formatting problems

2021-01-08 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c:145: > warning: Function parameter or member 't' not described in > 'dal_cmd_table_helper_trans

Re: [PATCH 15/40] drm/amd/display/dc/bios/command_table_helper: Fix kernel-doc formatting

2021-01-08 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper.c:131: > warning: Function parameter or member 't' not described in > 'dal_cmd_table_helper_transm

Re: [PATCH 14/40] drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs: Demote non-kernel-doc comment blocks

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:699: > warning: Function parameter or member 'm' not described in > 'dmub_tracebuffer_show' > drivers/gpu/drm/amd/amdgpu/

Re: [PATCH 13/40] drm/amd/display/dc/basics/conversion: Demote obvious kernel-doc abuse

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.c:86: warning: > Function parameter or member 'matrix' not described in 'convert_float_matrix' > drivers/gpu/drm/amd/amdgpu/../disp

Re: [PATCH 12/40] drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix a bunch of kernel-doc formatting issues

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:5474:5: > warning: no previous prototype for ‘vega10_hwmgr_init’ [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../pm/pow

Re: [PATCH 11/40] drm/amd/pm/powerplay/hwmgr/hwmgr: Move prototype into shared header

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:5474:5: > warning: no previous prototype for ‘vega10_hwmgr_init’ [-Wmissing-prototypes] > > Cc: Evan Quan > Cc: Alex Deucher

Re: [PATCH 10/40] drm/amd/pm/powerplay/hwmgr/smu7_hwmgr: Fix formatting and spelling issues

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:242: warning: > Function parameter or member 'hwmgr' not described in > 'smu7_enable_smc_voltage_controller' > drivers/gpu/drm/

Re: [PATCH 09/40] drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Fix legacy function header formatting

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega20_hwmgr.c:781: > warning: Function parameter or member 'hwmgr' not described in > 'vega20_init_smc_table' > > Cc: Evan Quan > Cc: Alex

Re: [PATCH 08/40] drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Fix legacy function header formatting

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_hwmgr.c:728: > warning: Function parameter or member 'hwmgr' not described in > 'vega12_init_smc_table' > > Cc: Evan Quan > Cc: Alex

Re: [PATCH 07/40] drm/amd/pm/powerplay/hwmgr/ppatomctrl: Fix documentation for 'mpll_param'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:290: warning: > Function parameter or member 'mpll_param' not described in > 'atomctrl_get_memory_pll_dividers_si' > drivers/gp

Re: [PATCH 06/40] drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0: Provide description of 'call_back_func'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c:1371: > warning: Function parameter or member 'call_back_func' not described in > 'get_powerplay_table_entry_v1_0'

Re: [PATCH 05/40] drm/amd/amdgpu/vega20_ih: Add missing descriptions for 'ih' and fix spelling error

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/vega20_ih.c:378: warning: Function parameter or > member 'ih' not described in 'vega20_ih_get_wptr' > drivers/gpu/drm/amd/amdgpu/vega20_ih.c:421: warning: Function

Re: [PATCH 04/40] drm/amd/amdgpu/amdgpu_ih: Update 'amdgpu_ih_decode_iv_helper()'s function header

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c:220: warning: Function parameter or > member 'ih' not described in 'amdgpu_ih_decode_iv_helper' > drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c:220: warning:

[PATCH 18/40] drm/amd/display/dc/bios/bios_parser: Fix a whole bunch of legacy doc formatting

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2588:16: warning: no previous prototype for ‘update_slot_layout_info’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2692:16: warning: no previous pr

[PATCH 14/40] drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs: Demote non-kernel-doc comment blocks

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:699: warning: Function parameter or member 'm' not described in 'dmub_tracebuffer_show' drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:699: warning: Functi

[PATCH 32/40] drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type'

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

[PATCH 23/40] drm/amd/display/dc/dce/dce_audio: Make function invoked by reference static

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

[PATCH 16/40] drm/amd/display/dc/bios/command_table_helper2: Fix legacy formatting problems

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c:145: warning: Function parameter or member 't' not described in 'dal_cmd_table_helper_transmitter_bp_to_atom2' Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian

[PATCH 30/40] drm/amd/display/dc/dce/dce_dmcu: Move 'abm_gain_stepsize' to only source file it's used in

2021-01-08 Thread Lee Jones
And only declare it if it's to be used. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.h:320:23: warning: ‘abm_gain_stepsize’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.h:320:23:

[PATCH 24/40] drm/amd/display/dc/dce/dce_stream_encoder: Remove unused variable 'regval'

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.c: In function ‘dce110_update_generic_info_packet’: drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.c:70:11: warning: variable ‘regval’ set but not used [-Wunused-bu

[PATCH 05/40] drm/amd/amdgpu/vega20_ih: Add missing descriptions for 'ih' and fix spelling error

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/vega20_ih.c:378: warning: Function parameter or member 'ih' not described in 'vega20_ih_get_wptr' drivers/gpu/drm/amd/amdgpu/vega20_ih.c:421: warning: Function parameter or member 'ih' not described in 'vega20_ih_irq_r

[PATCH 11/40] drm/amd/pm/powerplay/hwmgr/hwmgr: Move prototype into shared header

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:5474:5: warning: no previous prototype for ‘vega10_hwmgr_init’ [-Wmissing-prototypes] Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc:

[PATCH 12/40] drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix a bunch of kernel-doc formatting issues

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:5474:5: warning: no previous prototype for ‘vega10_hwmgr_init’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:551: warning: Function paramete

[PATCH 38/40] drm/amd/display/dc/dce/dce_panel_cntl: Remove unused variables 'bl_pwm_cntl' and 'pwm_period_cntl'

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c: In function ‘dce_get_16_bit_backlight_from_pwm’: drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:54:11: warning: variable ‘bl_pwm_cntl’ set but not used [-Wunused-but-s

[PATCH 35/40] drm/amd/display/dc/bios/command_table: Remove unused variable and associated comment

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c: In function ‘adjust_display_pll_v2’: drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1462:11: warning: unused variable ‘pixel_clock_10KHz_in’ [-Wunused-variable] Cc: H

[PATCH 04/40] drm/amd/amdgpu/amdgpu_ih: Update 'amdgpu_ih_decode_iv_helper()'s function header

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c:220: warning: Function parameter or member 'ih' not described in 'amdgpu_ih_decode_iv_helper' drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c:220: warning: Function parameter or member 'entry' not described in 'amdg

[PATCH 40/40] drm/amd/display/dc/gpio/hw_factory: Delete unused function 'dal_hw_factory_destroy'

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

[PATCH 37/40] drm/amd/display/dc/dce/dce_i2c_sw: Make a bunch of local functions static

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_sw.c:342:6: warning: no previous prototype for ‘dce_i2c_sw_engine_set_speed’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_sw.c:356:6: warning: no previous protot

[PATCH 13/40] drm/amd/display/dc/basics/conversion: Demote obvious kernel-doc abuse

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.c:86: warning: Function parameter or member 'matrix' not described in 'convert_float_matrix' drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.c:86: warning: Function parameter

[PATCH 07/40] drm/amd/pm/powerplay/hwmgr/ppatomctrl: Fix documentation for 'mpll_param'

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:290: warning: Function parameter or member 'mpll_param' not described in 'atomctrl_get_memory_pll_dividers_si' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:290: warni

[PATCH 10/40] drm/amd/pm/powerplay/hwmgr/smu7_hwmgr: Fix formatting and spelling issues

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:242: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_smc_voltage_controller' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:4508: warning:

[PATCH 34/40] drm/amd/display/dc/bios/bios_parser: Fix misspelling of function parameter

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:997: warning: Function parameter or member 'ss_info' not described in 'get_ss_info_from_tbl' drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:997: warning: Excess function pa

[PATCH 06/40] drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0: Provide description of 'call_back_func'

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c:1371: warning: Function parameter or member 'call_back_func' not described in 'get_powerplay_table_entry_v1_0' Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: D

[PATCH 00/40] [Set 11] Rid W=1 warnings from GPU

2021-01-08 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. 300 out of 5000 left! Lee Jones (40): drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc drm/nouveau/dispnv50/disp: Remove u

[PATCH 22/40] drm/amd/display/dc/bios/bios_parser2: Fix some formatting issues and missing parameter docs

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:501: warning: Function parameter or member 'dcb' not described in 'bios_parser_get_gpio_pin_info' drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:501: warning: Function p

[PATCH 17/40] drm/amd/display/dc/bios/bios_parser: Make local functions static

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2588:16: warning: no previous prototype for ‘update_slot_layout_info’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2692:16: warning: no previous pr

[PATCH 21/40] drm/amd/display/dc/calcs/dce_calcs: Remove unused variables 'v_filter_init_mode' and 'sclk_lvl'

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function ‘calculate_bandwidth’: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:109:18: warning: variable ‘v_filter_init_mode’ set but not used [-Wunused-but-set-variable]

[PATCH 25/40] drm/amd/display/dc/dce/dce_link_encoder: Make functions invoked by reference static

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1200:6: warning: no previous prototype for ‘dce60_link_encoder_enable_dp_output’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1239:6: warn

[PATCH 27/40] drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix worthy function headers, demote barely documented one

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1556: warning: Function parameter or member 'acg_freq' not described in 'vega10_populate_single_gfx_level' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1621: warn

[PATCH 29/40] drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram'

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:74:6: warning: no previous prototype for ‘dce_dmcu_load_iram’ [-Wmissing-prototypes] In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:31: Cc: Harry Wentland C

[PATCH 39/40] drm/amd/display/dc/dce/dmub_psr: Demote non-conformant kernel-doc headers

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:38: warning: Function parameter or member 'raw_state' not described in 'convert_psr_state' drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:81: warning: Function parameter or member

[PATCH 15/40] drm/amd/display/dc/bios/command_table_helper: Fix kernel-doc formatting

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper.c:131: warning: Function parameter or member 't' not described in 'dal_cmd_table_helper_transmitter_bp_to_atom' Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian K

[PATCH 09/40] drm/amd/pm/powerplay/hwmgr/vega20_hwmgr: Fix legacy function header formatting

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega20_hwmgr.c:781: warning: Function parameter or member 'hwmgr' not described in 'vega20_init_smc_table' Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vette

[PATCH 31/40] drm/amd/display/dc/dce/dce_opp: Make local functions and ones invoked by reference static

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:427:6: warning: no previous prototype for ‘dce60_opp_set_clamping’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:548:6: warning: no previous prototype for ‘dc

[PATCH 08/40] drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Fix legacy function header formatting

2021-01-08 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_hwmgr.c:728: warning: Function parameter or member 'hwmgr' not described in 'vega12_init_smc_table' Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vette

[PATCH 19/40] drm/amd/display/dc/bios/command_table: Remove unused variable

2021-01-08 Thread Lee Jones
None of the surrounding code was removed just in case even a small fraction of it was functional. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c: In function ‘adjust_display_pll_v2’: drivers/gpu/drm/amd/amdgpu/../display/dc/bios/c

  1   2   >