linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/dcn10
Sung Lee d5e27f0728 drm/amd/display: Check power_down functions exist before calling
[WHY]
The power_down() function was only defined for specific asics and will
crash the system if it is called by an asic with eDP connected that does
not have it defined.

[HOW]
Add a check for the function's existence before calling it.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-04-09 10:43:16 -04:00
..
dcn10_cm_common.c drm/amd/display: programming last delta in output transfer function LUT to a correct value 2020-02-25 11:05:51 -05:00
dcn10_cm_common.h
dcn10_dpp_cm.c drm/amd/display: Fix double buffering in dcn2 ICSC 2020-01-16 14:13:16 -05:00
dcn10_dpp_dscl.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_dpp.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_dpp.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_dwb.c drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_dwb.h drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_hubbub.c drm/amd/display: fix dcc swath size calculations on dcn1 2020-03-05 00:30:29 -05:00
dcn10_hubbub.h drm/amd/display: optimize prgoram wm and clks 2020-02-25 11:09:37 -05:00
dcn10_hubp.c drm/amd/display: update chroma viewport wa 2019-12-18 16:09:08 -05:00
dcn10_hubp.h drm/amd/display: update chroma viewport wa 2019-12-18 16:09:08 -05:00
dcn10_hw_sequencer_debug.c
dcn10_hw_sequencer_debug.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_hw_sequencer.c drm/amd/display: Check power_down functions exist before calling 2020-04-09 10:43:16 -04:00
dcn10_hw_sequencer.h drm/amd/display: Added locking for atomic update stream and update planes 2020-02-06 15:04:37 -05:00
dcn10_init.c drm/amd/display: Add function pointers for panel related hw functions 2020-02-25 11:05:35 -05:00
dcn10_init.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_ipp.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_ipp.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_link_encoder.c drm/amd/display: add monitor patch to disable SCDC read/write 2020-02-11 11:50:42 -05:00
dcn10_link_encoder.h drm/amd/display: guard DPPHY_Internal_ctrl 2020-03-19 00:03:04 -04:00
dcn10_mpc.c drm/amd/display: Update background color in bottommost mpcc 2019-11-19 10:12:51 -05:00
dcn10_mpc.h
dcn10_opp.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn10_opp.h
dcn10_optc.c drm/amd/display: Use double buffered DRR timing update by default 2020-03-31 12:26:14 -04:00
dcn10_optc.h drm/amd/display: Use double buffered DRR timing update by default 2020-03-31 12:26:14 -04:00
dcn10_resource.c drm/amd/display: Support P010 pixel format 2020-03-31 12:26:14 -04:00
dcn10_resource.h
dcn10_stream_encoder.c drm/amd/display: add stream_enc_inst for PSP HDCP inst use 2020-02-06 15:04:37 -05:00
dcn10_stream_encoder.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
Makefile drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00