linux/drivers/gpu/drm/amd/display/dc
Michel Dänzer 33c3365ec6 drm/amd/display: Reduce stack size for dml31 UseMinimumDCFCLK
Use the struct display_mode_lib pointer instead of passing lots of large
arrays as parameters by value.

Addresses this warning (resulting in failure to build a RHEL debug kernel
with Werror enabled):

../drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c: In function ‘UseMinimumDCFCLK’:
../drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c:7478:1: warning: the frame size of 2128 bytes is larger than 2048 bytes [-Wframe-larger-than=]

NOTE: AFAICT this function previously had no observable effect, since it
only modified parameters passed by value and doesn't return anything.
Now it may modify some values in struct display_mode_lib passed in by
reference.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-13 16:34:06 -05:00
..
basics
bios drm/amd/display: Display object info table changes 2021-11-24 14:06:52 -05:00
calcs drm/amd/display: Rename dcn_validate_bandwidth to dcn10_validate_bandwidth 2021-11-24 14:06:52 -05:00
clk_mgr drm/amdgpu: remove unnecessary variables 2021-12-13 16:33:17 -05:00
core drm/amdgpu: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi 2021-12-07 13:13:07 -05:00
dce drm/amd/display: add hdmi disable debug check 2021-12-01 16:05:16 -05:00
dce60
dce80
dce100
dce110 drm/amd: move variable to local scope 2021-12-13 16:33:16 -05:00
dce112
dce120
dcn10 drm/amd/display: add hdmi disable debug check 2021-12-01 16:05:16 -05:00
dcn20 drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn21 drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn30 drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn31 drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn201 drm/amd/display: Re-arrange FPU code structure for dcn2x 2021-10-06 15:49:24 -04:00
dcn301 drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn302 drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn303 drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dml drm/amd/display: Reduce stack size for dml31 UseMinimumDCFCLK 2021-12-13 16:34:06 -05:00
dsc drm/amd/display: fixed an error related to 4:2:0/4:2:2 DSC 2021-11-24 14:06:52 -05:00
gpio drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04:00
hdcp
inc drm/amd/display: Move link_enc init logic to DC 2021-12-07 13:11:14 -05:00
irq drm/amdgpu/display: fold DRM_AMD_DC_DCN201 into DRM_AMD_DC_DCN 2021-10-04 15:23:02 -04:00
virtual drm/amd/display: Fix issue with dynamic bpp change for DCN3x 2021-09-23 15:17:30 -04:00
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: Wait for ACK for INBOX0 HW Lock 2021-11-17 16:58:11 -05:00
dc_dmub_srv.h drm/amd/display: Wait for ACK for INBOX0 HW Lock 2021-11-17 16:58:11 -05:00
dc_dp_types.h drm/amd/display: Add DP-HDMI FRL PCON Support in DC 2021-12-01 16:04:56 -05:00
dc_dsc.h drm/amd/display: move bpp range decision in decide dsc bw range function 2021-09-14 15:57:09 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_helper.c isystem: ship and use stdarg.h 2021-08-19 09:02:55 +09:00
dc_hw_types.h drm/amd/display: Add DP-HDMI FRL PCON Support in DC 2021-12-01 16:04:56 -05:00
dc_link.h drm/amd/display: prevent reading unitialized links 2021-12-07 13:10:30 -05:00
dc_stat.h
dc_stream.h drm/amd/display: Add DP 2.0 MST DC Support 2021-10-25 21:21:08 -04:00
dc_trace.h drm/amd/display: Add control mechanism for FPU utilization 2021-08-05 21:17:59 -04:00
dc_types.h drm/amd/display: Add DP-HDMI FRL PCON Support in DC 2021-12-01 16:04:56 -05:00
dc.h drm/amd/display: add a debug option to force dp2 lt fallback method 2021-12-07 13:11:34 -05:00
dm_cp_psp.h drm/amd/display: Add support for USB4 on C20 PHY for DCN3.1 2021-10-28 14:26:14 -04:00
dm_event_log.h
dm_helpers.h drm/amdgpu: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi 2021-12-07 13:13:07 -05:00
dm_pp_smu.h
dm_services_types.h
dm_services.h
irq_types.h drm/amd/display: Fix for access for ddc pin and aux engine. 2021-10-06 15:52:48 -04:00
Makefile drm/amd/display: Add stub to get DPIA tunneling device data 2021-10-06 15:51:22 -04:00
os_types.h drm/amd/display: Implement DPIA training loop 2021-10-06 15:51:39 -04:00