]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Add timing pixel encoding for mst mode validation
authorHersen Wu <hersenxs.wu@amd.com>
Mon, 11 Mar 2024 17:43:37 +0000 (13:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 01:51:18 +0000 (21:51 -0400)
commit4df96ba66760345471a85ef7bb29e1cd4e956057
treeeb932e5b2f6253ac57ea7772ad23d4de5a5cc9c5
parentfec85f995a4ba43d1a1359934c7fe577389c300d
drm/amd/display: Add timing pixel encoding for mst mode validation

[Why] Mode pbn is not calculated correctly because timing pixel encoding is
not checked within convert_dc_color_depth_into_bpc.

[How] Get mode kbps from dc_bandwidth_in_kbps_from_timing, then calculate
pbn by kbps_to_peak_pbn.

Reviewed-by: Wayne Lin <wayne.lin@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c