linux/drivers/gpu/drm/amd/display/dc/dce
David Galiffi 49947b906a drm/amd/display: Check if modulo is 0 before dividing.
[How & Why]
If a value of 0 is read, then this will cause a divide-by-0 panic.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-05-26 14:56:30 -04:00
..
Makefile
dce_abm.c
dce_abm.h drm/amd/display: add missing ABM register offsets 2021-09-01 16:55:10 -04:00
dce_audio.c drm/amd/display: clean up some formats and log 2021-11-17 16:58:07 -05:00
dce_audio.h drm/amd/display: clean up some formats and log 2021-11-17 16:58:07 -05:00
dce_aux.c drm/amd/display: clear request when release aux engine 2022-05-26 14:56:30 -04:00
dce_aux.h
dce_clk_mgr.c drm/amd/display: add debug option to bypass ssinfo from bios for dcn315 2022-03-15 14:25:15 -04:00
dce_clock_source.c drm/amd/display: Check if modulo is 0 before dividing. 2022-05-26 14:56:30 -04:00
dce_clock_source.h drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in dce 2022-05-10 17:53:12 -04:00
dce_dmcu.c drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in dce 2022-05-10 17:53:12 -04:00
dce_dmcu.h
dce_hwseq.c
dce_hwseq.h drm/amd/display: Added HPO HW control shutdown support 2021-11-03 12:32:34 -04:00
dce_i2c.c drm/amd/display: Add I2C escape to support query device exist. 2022-03-15 14:41:03 -04:00
dce_i2c.h drm/amd/display: Add I2C escape to support query device exist. 2022-03-15 14:41:03 -04:00
dce_i2c_hw.c
dce_i2c_hw.h
dce_i2c_sw.c
dce_i2c_sw.h
dce_ipp.c
dce_ipp.h
dce_link_encoder.c drm/amd/display: add set dp lane settings to link_hwss 2022-02-02 18:26:32 -05:00
dce_link_encoder.h drm/amd/display: add set dp lane settings to link_hwss 2022-02-02 18:26:32 -05:00
dce_mem_input.c
dce_mem_input.h
dce_opp.c
dce_opp.h
dce_panel_cntl.c drm/amd/display: Get backlight from PWM if DMCU is not initialized 2021-09-14 15:57:10 -04:00
dce_panel_cntl.h
dce_scl_filters.c
dce_scl_filters_old.c
dce_stream_encoder.c drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in dce 2022-05-10 17:53:12 -04:00
dce_stream_encoder.h
dce_transform.c
dce_transform.h
dmub_abm.c drm/amd/display: add vsync notify to dmub for abm pause 2021-09-28 09:30:09 -04:00
dmub_abm.h
dmub_hw_lock_mgr.c drm/amd/display: Wait for ACK for INBOX0 HW Lock 2021-11-17 16:58:11 -05:00
dmub_hw_lock_mgr.h
dmub_outbox.c drm/amd/display: Fix for dmub outbox notification enable 2022-02-16 17:01:42 -05:00
dmub_outbox.h drm/amd/display: Fix for dmub outbox notification enable 2022-02-16 17:01:42 -05:00
dmub_psr.c drm/amd/display: fix non-kernel-doc comment warnings 2022-04-26 11:43:08 -04:00
dmub_psr.h drm/amd/display: Pass panel inst to a PSR command 2021-11-17 16:58:05 -05:00