diff options
| author | Nicholas Kazlauskas <[email protected]> | 2021-03-26 18:25:21 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-09 20:53:32 +0000 |
| commit | 091e3131a8c237e17e310db2b3b59aa576075574 (patch) | |
| tree | a13da61ae3546fb71cc74845c34618e957395422 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd/display: Fixed corruption on 4K tvs (diff) | |
| download | kernel-091e3131a8c237e17e310db2b3b59aa576075574.tar.gz kernel-091e3131a8c237e17e310db2b3b59aa576075574.zip | |
drm/amd/display: Cleanup DML DSC input bpc validation
[Why & How]
Pipe input DSC bpc has a type mismatch with maximum DSC
input bpc - align the maximum with the pipe input type,
unsigned integer.
When checking the type we shoudl also check for an
implicit value of 0 and align with what the spreadsheet
does - default to max.
Rename output_bpc to dsc_input_bpc to reflect what the
field is actually used for.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
