aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorGuo, Bing <[email protected]>2021-11-08 17:17:46 -0500
committerAlex Deucher <[email protected]>2021-11-24 14:06:52 -0500
commitf53e191e2be811158f59024524b509d39808e454 (patch)
treecc9accfaa0f9b8c018403006e4e6577b92f9740a /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent6984fa418b8efde7662af151bae4b8dc66e65fcf (diff)
drm/amd/display: fixed an error related to 4:2:0/4:2:2 DSC
[Why] OPTC_BYTES_PER_PIXEL calculation for 4:2:2 and 4:2:0 could have error. [How] Change to use following formula: OPTC_DSC_BYTES_PER_PIXEL = ceiling((chunk size * 2^28) / slice width) v2: squash in 64 bit divide fix (Alex) Reviewed-by: Wenjing Liu <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Bing Guo <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions