bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc/gpio
Takashi Iwai 920bb38c51 drm/amd/display: Fix kernel panic by dal_gpio_open() error
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>
2020-10-26 17:19:02 -04:00
..
dce60 drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00
dce80 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dce110 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dce120 drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
dcn10 drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
dcn20 drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
dcn21 drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
dcn30 drm/amd/display: adding ddc_gpio_vga_reg_list to ddc reg def'ns 2020-10-26 17:16:18 -04:00
diagnostics drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
ddc_regs.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
generic_regs.h drm/amd/display: Implement generic MUX registers (v2) 2019-07-18 14:27:24 -05:00
gpio_base.c drm/amd/display: Fix kernel panic by dal_gpio_open() error 2020-10-26 17:19:02 -04:00
gpio_regs.h
gpio_service.c drm/amd/display: remove hw access from dc_destroy 2019-09-13 18:02:52 -05:00
gpio_service.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hpd_regs.h
hw_ddc.c drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
hw_ddc.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_factory.c drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00
hw_factory.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_generic.c drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
hw_generic.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_gpio.c amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_gpio.h amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_hpd.c drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
hw_hpd.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_translate.c drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00
hw_translate.h
Makefile drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00