mirror-linux/drivers/gpu/drm/amd/display/include
Rosen Penev 7329417fc9 drm/amd/display: shrink struct members
On a 32-bit ARM system, the audio_decoder struct ends up being too large
for dp_retrain_link_dp_test.

link_dp_cts.c:157:1: error: the frame size of 1328 bytes is larger than
1280 bytes [-Werror=frame-larger-than=]

This is mitigated by shrinking the members of the struct and avoids
having to deal with dynamic allocation.

feed_back_divider is assigned but otherwise unused. Remove both.

pixel_repetition looks like it should be a bool since it's only ever
assigned to 1. But there are checks for 2 and 4. Reduce to uint8_t.

Remove ss_percentage_divider. Unused.

Shrink refresh_rate as it gets assigned to at most a 3 digit integer
value.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3849efdc78)
2025-12-08 15:30:40 -05:00
..
audio_types.h drm/amd/display: shrink struct members 2025-12-08 15:30:40 -05:00
bios_parser_interface.h
bios_parser_types.h drm/amd/display: Add DAC_LoadDetection to BIOS parser (v2) 2025-10-28 10:09:55 -04:00
dal_asic_id.h drm/amd/display: add more cyan skillfish devices 2025-08-04 14:36:50 -04:00
dal_types.h drm/amd/display: Add DCN36 version identifiers 2025-02-12 21:04:07 -05:00
ddc_service_types.h drm/amd/display: support main link off before specific vertical line 2023-09-11 17:16:21 -04:00
dpcd_defs.h drm/amd/display: Add panel replay enablement option and logic 2025-11-18 10:50:06 -05:00
fixed31_32.h drm/amd/display: remove dc dependencies from SPL library 2024-07-23 17:07:12 -04:00
gpio_interface.h
gpio_service_interface.h drm/amd/display: Implement HDMI Read Request 2025-04-21 11:27:25 -04:00
gpio_types.h
grph_object_ctrl_defs.h drm/amd/display: Get maximum pixel clock from VBIOS 2025-10-28 10:08:36 -04:00
grph_object_defs.h
grph_object_id.h drm/amd/display: Add analog bit to edid_caps (v2) 2025-10-28 10:07:15 -04:00
hdcp_msg_types.h drm/amd/display: Add missing chips for HDCP 2023-11-17 09:30:50 -05:00
irq_service_interface.h
link_service_types.h drm/amd/display: Add early 8b/10b channel equalization test pattern sequence 2025-05-13 09:31:21 -04:00
logger_interface.h drm/amdgpu: Remove unused pre_surface_trace 2025-03-05 10:44:40 -05:00
logger_types.h drm/amd/display: Add new log type `DC_LOG_INFO` 2025-02-12 21:02:58 -05:00
set_mode_types.h
signal_types.h drm/amd/display: Don't use stereo sync and audio on RGB signals (v2) 2025-10-28 10:08:41 -04:00
vector.h