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
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
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,
> > > >
> > > >
[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
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
+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
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
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
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
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.
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
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
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
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
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
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
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
---
.
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
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
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
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 ++
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
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
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
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
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
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
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
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 +-
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
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
>
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
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
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
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
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
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
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
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/
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
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/
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
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/
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
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
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
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
>
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
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_
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
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
[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
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
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
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
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
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/
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
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
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
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/
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
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
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
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'
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
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:
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
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
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
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
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
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:
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
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
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:
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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]
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
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
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
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
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
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
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
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
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 - 100 of 155 matches
Mail list logo