summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2025-12-06 03:31:03 +0100
committerAlex Deucher <alexander.deucher@amd.com>2026-01-05 17:00:00 -0500
commitcdf6e4c0cdab129ffc4e41a8ac53a0738f805072 (patch)
treebf2e2665e17713f5d2a13b8ca5d1c0ef5781da19 /drivers/gpu/drm/amd/display/include
parent436d0d22aa7035a9f9b24fb14cd0e84d6571ea87 (diff)
downloadlinux-cdf6e4c0cdab129ffc4e41a8ac53a0738f805072.tar.gz
linux-cdf6e4c0cdab129ffc4e41a8ac53a0738f805072.zip
drm/amd/display: Correct color depth for SelectCRTC_Source
Pass the correct enum values as expected by the VBIOS. Previously the actual bit depth integer value was passed, which was a mistake. Fixes: 7fb4f254c8eb ("drm/amd/display: Add SelectCRTC_Source to BIOS parser") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
-rw-r--r--drivers/gpu/drm/amd/display/include/bios_parser_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/include/bios_parser_types.h b/drivers/gpu/drm/amd/display/include/bios_parser_types.h
index 973b6bdbac63..f40dc612ec73 100644
--- a/drivers/gpu/drm/amd/display/include/bios_parser_types.h
+++ b/drivers/gpu/drm/amd/display/include/bios_parser_types.h
@@ -136,7 +136,7 @@ struct bp_crtc_source_select {
enum engine_id engine_id;
enum controller_id controller_id;
enum signal_type sink_signal;
- uint8_t bit_depth;
+ enum dc_color_depth color_depth;
};
struct bp_transmitter_control {