diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2021-03-26 14:25:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:53:32 -0400 |
commit | 091e3131a8c237e17e310db2b3b59aa576075574 (patch) | |
tree | a13da61ae3546fb71cc74845c34618e957395422 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | 0774e08adf5fe789eac2f9feca9c4eab03cbbc69 (diff) |
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 <nicholas.kazlauskas@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions