diff options
author | Guo, Bing <[email protected]> | 2021-11-08 17:17:46 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-24 14:06:52 -0500 |
commit | f53e191e2be811158f59024524b509d39808e454 (patch) | |
tree | cc9accfaa0f9b8c018403006e4e6577b92f9740a /scripts/gdb/linux/tasks.py | |
parent | 6984fa418b8efde7662af151bae4b8dc66e65fcf (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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions