mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Include scaling factor for SubVP command 2022-08-16 18:14:20 -04:00
bios drm/amd/display: use swap() helper macro in bios_parser 2023-01-17 16:11:51 -05:00
clk_mgr drm/amd/display: Revert "avoid disable otg when dig was disabled" 2023-01-31 14:02:07 -05:00
core drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dce drm/amd/display: Pass DSC slice height to PSR FW 2023-01-24 13:26:25 -05:00
dce60 drm/amd/display: prevent memory leak 2022-10-27 15:12:08 -04:00
dce80 drm/amd/display: prevent memory leak 2022-10-27 15:12:08 -04:00
dce100 drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
dce110 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dce112 drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
dce120 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN 2022-11-23 09:47:13 -05:00
dcn10 drm/amd/display: fix cursor offset on rotation 180 2023-02-08 17:16:27 -05:00
dcn20 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dcn21 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dcn30 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dcn31 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dcn32 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dcn201 drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn301 drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn302 drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn303 drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn314 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dcn315 drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00
dcn316 drm/amd/display: Change i2c speed for hdcp 2023-01-17 15:38:15 -05:00
dcn321 drm/amd/display: fix MALL size hardcoded for DCN321 2023-01-31 14:00:57 -05:00
dml drm/amdgpu: fix enum odm_combine_mode mismatch 2023-02-08 17:35:55 -05:00
dsc drm/amd/display: add rc_params_override option in dc_dsc_config 2023-01-31 14:00:51 -05:00
gpio drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
hdcp drm/amd/display: create accessories, hwss and protocols sub folders in link 2023-01-24 13:26:25 -05:00
inc drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
irq drm/amd/display: Remove the unused function dmub_outbox_irq_info_funcs 2023-01-03 16:57:58 -05:00
link drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h drm/amd/display: Skip backlight control delay on external powered links 2023-01-17 15:40:28 -05:00
dc_ddc_types.h drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dc_dmub_srv.c drm/amd/display: Add margin on DRR vblank start for subvp 2022-11-23 09:47:13 -05:00
dc_dmub_srv.h drm/amd/display: Use the same cursor info across features 2022-10-10 17:32:55 -04:00
dc_dp_types.h drm/amd/display: Enable AdaptiveSync in DC interface 2023-01-24 13:26:25 -05:00
dc_dsc.h
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h drm/amd/display: Add HDMI manufacturer OUI and device id read 2023-02-08 17:15:42 -05:00
dc_helper.c drm/amd/display: Support synchronized indirect reg access 2022-01-25 18:00:35 -05:00
dc_hw_types.h drm/amd/display: add rc_params_override option in dc_dsc_config 2023-01-31 14:00:51 -05:00
dc_link.h drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dc_stat.h
dc_stream.h drm/amd/display: Enable AdaptiveSync in DC interface 2023-01-24 13:26:25 -05:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: Pass DSC slice height to PSR FW 2023-01-24 13:26:25 -05:00
dc.h drm/amd/display: Add HDMI manufacturer OUI and device id read 2023-02-08 17:15:42 -05:00
dm_cp_psp.h drm/amd/display: unhard code link to phy idx mapping in dc link and clean up 2022-01-07 17:21:20 -05:00
dm_event_log.h
dm_helpers.h drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
dm_pp_smu.h
dm_services_types.h
dm_services.h
irq_types.h drm/amd/display: Remove underflow IRQ type 2022-04-05 10:29:47 -04:00
Makefile drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
os_types.h drm/amd/display: remove repeated includes 2022-07-07 15:55:39 -04:00