1
0
Fork 0
alistair23-linux/drivers/gpu/drm/amd/display
Takashi Iwai 9cdccb4761 drm/amd/display: Fix kernel panic by dal_gpio_open() error
commit 920bb38c51 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
..
amdgpu_dm drm/amd/display: Avoid MST manager resource leak. 2020-11-05 11:43:34 +01:00
dc drm/amd/display: Fix kernel panic by dal_gpio_open() error 2020-11-05 11:43:34 +01:00
include drm/amd/display: fix pow() crashing when given base 0 2020-08-26 10:40:53 +02:00
modules drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp() 2020-06-30 15:37:03 -04:00
Kconfig drm/amd/display: add Renoir to kconfig 2019-08-29 15:52:33 -05:00
Makefile drm/amd/display: move clk_mgr files to right place 2019-05-31 10:39:31 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00