mirror_ubuntu-kernels/drivers/gpu/drm/amd
Arnd Bergmann 087bad7eb1 drm/amdgpu: fix enum odm_combine_mode mismatch
A conversion from 'bool' to 'enum odm_combine_mode' was incomplete,
and gcc warns about this with many instances of

display/dc/dml/dcn20/display_mode_vba_20.c:3899:44: warning: implicit conversion from 'enum <anonymous>' to 'enum
odm_combine_mode' [-Wenum-conversion]
 3899 |     locals->ODMCombineEnablePerState[i][k] = false;

Change the ones that we get a warning for, using the same numerical
values to leave the behavior unchanged.

Fixes: 5fc1159816 ("drm/amd/display: expand dml structs")
Link: https://lore.kernel.org/all/20201026210039.3884312-3-arnd@kernel.org/
Link: https://lore.kernel.org/all/20210927100659.1431744-1-arnd@kernel.org/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-02-08 17:35:55 -05:00
..
acp
amdgpu drm/amd/amdgpu: add complete header search path 2023-02-08 17:35:55 -05:00
amdkfd Merge tag 'amd-drm-next-6.3-2023-01-20' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2023-01-25 12:07:53 +10:00
display drm/amdgpu: fix enum odm_combine_mode mismatch 2023-02-08 17:35:55 -05:00
include drm/amdgpu: correct query xgmi3x16 pcs error status 2023-01-17 16:11:52 -05:00
pm drm/amdgpu: Enable vclk dclk node for gc11.0.3 2023-01-31 14:04:29 -05:00