diff options
author | Roman Li <[email protected]> | 2022-11-03 17:33:07 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-11-15 13:20:37 -0500 |
commit | e7e4f77c991c9abf90924929a9d55f90b0bb78de (patch) | |
tree | 569db613ea5d3a01cf33902ae10346997934c742 /lib/mpi/mpi-sub-ui.c | |
parent | 4d285241230676ba8b888701b89684b4e0360fcc (diff) |
drm/amd/display: Fix optc2_configure warning on dcn314
[Why]
dcn314 uses optc2_configure_crc() that wraps
optc1_configure_crc() + set additional registers
not applicable to dcn314.
It's not critical but when used leads to warning like:
WARNING: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c
Call Trace:
<TASK>
generic_reg_set_ex+0x6d/0xe0 [amdgpu]
optc2_configure_crc+0x60/0x80 [amdgpu]
dc_stream_configure_crc+0x129/0x150 [amdgpu]
amdgpu_dm_crtc_configure_crc_source+0x5d/0xe0 [amdgpu]
[How]
Use optc1_configure_crc() directly
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected] # 6.0.x
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions