diff options
| author | 2021-11-08 17:17:46 -0500 | |
|---|---|---|
| committer | 2021-11-24 14:06:52 -0500 | |
| commit | f53e191e2be811158f59024524b509d39808e454 (patch) | |
| tree | cc9accfaa0f9b8c018403006e4e6577b92f9740a /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amd/display: Set plane update flags for all planes in reset (diff) | |
| download | linux-dev-f53e191e2be811158f59024524b509d39808e454.tar.xz linux-dev-f53e191e2be811158f59024524b509d39808e454.zip | |
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 <Wenjing.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Bing Guo <Bing.Guo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
