linux/drivers/gpu/drm/amd/display/dc/dce
Rodrigo Siqueira 6bdeff12a9 drm/amd/display: Add get_dig_frontend implementation for DCEx
Some old ASICs might not implement/require get_dig_frontend helper; in
this scenario, we can have a NULL pointer exception when we try to call
it inside vbios disable operation. For example, this situation might
happen when using Polaris12 with an eDP panel. This commit avoids this
situation by adding a specific get_dig_frontend implementation for DCEx.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Harry Wentland <Harry.Wentland@amd.com>
Cc: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Cc: Chiawen Huang <chiawen.huang@amd.com>
Reported-and-tested-by: Borislav Petkov <bp@suse.de>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2020-12-16 13:27:08 -05:00
..
dce_abm.c drm/amd/display: Move panel_cntl specific register from abm to panel_cntl. 2020-05-05 13:10:46 -04:00
dce_abm.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dce_audio.c drm/amd/display: dce_audio: add DCE6 specific macros,functions 2020-07-27 16:46:12 -04:00
dce_audio.h drm/amd/display: dce_audio: add DCE6 specific macros,functions 2020-07-27 16:46:12 -04:00
dce_aux.c drm/amd/display: Using udelay for specific dongle while edid return defer 2020-10-26 13:34:47 -04:00
dce_aux.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dce_clk_mgr.c drm/amd/display: correct asic type check V2 2020-10-27 12:01:16 -04:00
dce_clock_source.c drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dce_clock_source.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dce_dmcu.c drm/amd/display: Engage PSR synchronously 2020-11-10 14:24:55 -05:00
dce_dmcu.h drm/amd/display: dce_dmcu: add DCE6 specific macros,functions 2020-07-27 16:46:15 -04:00
dce_hwseq.c drm/amd/display: dce_hwseq: add DCE6 specific macros,functions 2020-07-27 16:46:17 -04:00
dce_hwseq.h drm/amd/display: Add DMCU memory low power support 2020-11-24 12:07:31 -05:00
dce_i2c_hw.c drm/amd/display: Add I2C memory low power support 2020-11-16 12:19:22 -05:00
dce_i2c_hw.h drm/amd/display: Add I2C memory low power support 2020-11-16 12:19:22 -05:00
dce_i2c_sw.c drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_i2c_sw.h drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_i2c.c drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_i2c.h
dce_ipp.c drm/amd/display: dce_ipp: add DCE6 specific macros,functions 2020-07-27 16:46:20 -04:00
dce_ipp.h drm/amd/display: dce_ipp: add DCE6 specific macros,functions 2020-07-27 16:46:20 -04:00
dce_link_encoder.c drm/amd/display: Add get_dig_frontend implementation for DCEx 2020-12-16 13:27:08 -05:00
dce_link_encoder.h drm/amd/display: Add get_dig_frontend implementation for DCEx 2020-12-16 13:27:08 -05:00
dce_mem_input.c drm/amd/display: dce_mem_input: add DCE6 specific macros,functions (v2) 2020-07-27 16:46:26 -04:00
dce_mem_input.h drm/amd/display: dce_mem_input: add DCE6 specific macros,functions (v2) 2020-07-27 16:46:26 -04:00
dce_opp.c drm/amd/display: dce_opp: add DCE6 specific macros,functions 2020-07-27 16:46:28 -04:00
dce_opp.h drm/amd/display: dce_opp: add DCE6 specific macros,functions 2020-07-27 16:46:28 -04:00
dce_panel_cntl.c drm/amd/display: To update backlight restore mechanism 2020-11-24 12:08:56 -05:00
dce_panel_cntl.h drm/amd/display: Bug in dce_is_panel_backlight_on() 2020-09-22 12:27:35 -04:00
dce_scl_filters_old.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_scl_filters.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_stream_encoder.c drm/amd/display: Move common speakersToChannels definition to hw_shared.h 2020-11-10 14:25:15 -05:00
dce_stream_encoder.h drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
dce_transform.c drm/amdgpu: remove unneeded break 2020-10-23 15:33:47 -04:00
dce_transform.h drm/amd/display: dce_transform: DCE6 Scaling Horizontal Filter Init (v2) 2020-07-27 16:46:34 -04:00
dmub_abm.c drm/amd/display: Implement some asic specific abm call backs. 2020-05-28 14:00:48 -04:00
dmub_abm.h drm/amd/display: Add ABM driver implementation 2020-04-01 14:44:44 -04:00
dmub_hw_lock_mgr.c drm/amd/display: Use dmub fw to lock pipe, cursor, dig 2020-07-01 01:59:24 -04:00
dmub_hw_lock_mgr.h drm/amd/display: Use dmub fw to lock pipe, cursor, dig 2020-07-01 01:59:24 -04:00
dmub_psr.c drm/amd/display: Add dual edp optimization flag. 2020-11-16 12:19:33 -05:00
dmub_psr.h drm/amd/display: Hook up PSR residency command to DSAT 2020-11-16 12:18:38 -05:00
Makefile drm/amd/display: Use dmub fw to lock pipe, cursor, dig 2020-07-01 01:59:24 -04:00