linux-brain/drivers/gpu/drm/amd/display/dc
Takashi Iwai 9cdccb4761 drm/amd/display: Fix kernel panic by dal_gpio_open() error
commit 920bb38c518408fa2600eaefa0af9e82cf48f166 upstream.

Currently both error code paths handled in dal_gpio_open_ex() issues
ASSERT_CRITICAL(), and this leads to a kernel panic unnecessarily if
CONFIG_KGDB is enabled.  Since basically both are non-critical errors
and can be recovered, drop those assert calls and use a safer one,
BREAK_TO_DEBUGGER(), for allowing the debugging, instead.

BugLink: https://bugzilla.opensuse.org/show_bug.cgi?id=1177973
Cc: <stable@vger.kernel.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:43:34 +01:00
..
basics drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
bios drm/amd/display: Use swap() where appropriate 2020-06-24 17:50:49 +02:00
calcs drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2) 2020-02-24 08:37:03 +01:00
clk_mgr drm/amd/display: dchubbub p-state warning during surface planes switch 2020-08-21 13:05:39 +02:00
core drm/amd/display: HDMI remote sink need mode validation for Linux 2020-11-05 11:43:19 +01:00
dce drm/amd/display: Check engine is not NULL before acquiring 2020-03-05 16:43:38 +01:00
dce80 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce100 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce110 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce112 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dce120 drm/amd/display: memory leak 2019-10-02 12:58:33 -05:00
dcn10 drm/amd/display: Increase timeout for DP Disable 2020-11-05 11:43:33 +01:00
dcn20 drm/amd/display: update nv1x stutter latencies 2020-10-01 13:18:15 +02:00
dcn21 drm/amd/display: fix workaround for incorrect double buffer register for DLG ADL and TTU 2020-10-01 13:17:32 +02:00
dml drm/amd/display: fixup DML dependencies 2020-02-24 08:36:51 +01:00
dsc drm/amdgpu: enable -msse2 for GCC 7.1+ users 2019-10-30 11:56:20 -04:00
gpio drm/amd/display: Fix kernel panic by dal_gpio_open() error 2020-11-05 11:43:34 +01:00
inc drm/amd/display: fix image corruption with ODM 2:1 DSC 2 slice 2020-10-01 13:17:38 +02:00
irq drm/amd/display: Add Renoir irq_services (v2) 2019-08-29 15:52:33 -05:00
virtual drm/amd/display: reset hdmi tmds rate and data scramble on pipe reset 2019-08-15 10:52:59 -05:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dc_dp_types.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_dsc.h drm/amd/display: update DSC MST DP virtual DPCD peer device enumeration policy 2019-06-22 09:34:13 -05:00
dc_helper.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
dc_hw_types.h drm/amd/display: Expose OTG_V_TOTAL_MID for HW Diags 2019-08-23 11:43:42 -05:00
dc_link.h drm/amd/display: Synchronous DisplayPort Link Training 2019-08-15 10:53:30 -05:00
dc_stream.h drm/amd/display: Expose audio inst from DC to DM 2019-07-11 14:37:24 -05:00
dc_types.h drm/amd/display: add set and get clock for testing purposes 2019-07-18 14:27:25 -05:00
dc.h drm/amd/display: add dcn21 core DC changes 2019-08-29 15:52:33 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
dm_pp_smu.h drm/amd/display: Add pp_smu functions for Renoir 2019-08-29 15:52:33 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: refactor dump_clk_registers 2019-07-18 14:18:09 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: build dcn21 blocks 2019-08-29 15:52:33 -05:00
os_types.h drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally 2020-11-05 11:43:34 +01:00