]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add 6bpc RGB case for dcn32 output bpp calculations
authorGeorge Shen <george.shen@amd.com>
Thu, 12 Dec 2024 21:17:22 +0000 (16:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2025 19:44:28 +0000 (14:44 -0500)
commit79a57f9479de9c6fc3a8c4f50e7c853a134f9b41
tree08b56ee68f9e2154b22dedcb8bd54ba3f38984ca
parentd7879340e987b3056b8ae39db255b6c19c170a0d
drm/amd/display: Add 6bpc RGB case for dcn32 output bpp calculations

[Why]
Current DCN32 calculation doesn't consider RGB 6bpc for the DP case.
This results in an invalid output bpp being calculated when DSC is not
enabled in the configuration, failing the mode validation.

[How]
Add special case to handle 6bpc RGB in the output bpp calculation.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c