diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-02-06 20:36:02 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-08 17:35:55 -0500 |
commit | 087bad7eb1f6945f8232f132953ecc2bda8bd38d (patch) | |
tree | 046d53ab3f127c2675e37f7d43666c91893cb6e2 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 93b1a791c0a09311b61c0f7ed8c5332f7bff3f38 (diff) | |
download | linux-087bad7eb1f6945f8232f132953ecc2bda8bd38d.tar.gz linux-087bad7eb1f6945f8232f132953ecc2bda8bd38d.tar.bz2 linux-087bad7eb1f6945f8232f132953ecc2bda8bd38d.zip |
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: 5fc11598166d ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions