diff options
author | Arnd Bergmann <[email protected]> | 2023-02-06 20:36:02 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-02-08 17:35:55 -0500 |
commit | 087bad7eb1f6945f8232f132953ecc2bda8bd38d (patch) | |
tree | 046d53ab3f127c2675e37f7d43666c91893cb6e2 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 93b1a791c0a09311b61c0f7ed8c5332f7bff3f38 (diff) |
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/[email protected]/
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions