linux/drivers/gpu/drm/amd/display/dc
Takashi Iwai 0ac2a7bcff drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally
commit 8b7dc1fe1a upstream.

ASSERT_CRITICAL() invokes kgdb_breakpoint() whenever either
CONFIG_KGDB or CONFIG_HAVE_KGDB is set.  This, however, may lead to a
kernel panic when no kdb stuff is attached, since the
kgdb_breakpoint() call issues INT3.  It's nothing but a surprise for
normal end-users.

For avoiding the pitfall, make the kgdb_breakpoint() call only when
CONFIG_DEBUG_KERNEL_DC is set.

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:08:52 +01:00
..
basics drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
bios Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
calcs drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2) 2020-02-24 08:34:54 +01:00
core drm/amd/display: HDMI remote sink need mode validation for Linux 2020-11-05 11:08:43 +01:00
dce drm/amd/display: support spdif 2019-10-07 18:56:57 +02:00
dce80 drm/amd/display: Don't share clk source between DP and HDMI 2018-08-06 14:35:43 -05:00
dce100 drm/amd/display: prevent memory leak 2020-08-05 10:06:00 +02:00
dce110 drm/amd/display: prevent memory leak 2020-08-05 10:06:00 +02:00
dce112 drm/amd/display: prevent memory leak 2020-08-05 10:06:00 +02:00
dce120 drm/amd/display: prevent memory leak 2020-08-05 10:06:00 +02:00
dcn10 drm/amd/display: prevent memory leak 2020-08-05 10:06:00 +02:00
dml drm/amd/display: fixup DML dependencies 2020-02-24 08:34:48 +01:00
gpio Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
i2caux Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
inc drm/amd/display: fixup DML dependencies 2020-02-24 08:34:48 +01:00
irq Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
virtual drm/amd/display: Pass signal directly to enable_tmds_output 2018-03-07 16:27:20 -05:00
dc_bios_types.h drm/amd/display: get board layout for edid emulation 2018-07-05 16:38:45 -05:00
dc_ddc_types.h drm/amd/display: Move i2c and aux structs into dc_ddc_types.h 2018-06-15 12:23:38 -05:00
dc_dp_types.h drm/amd/display: Write TEST_EDID_CHECKSUM_WRITE for EDID tests 2018-06-15 12:22:09 -05:00
dc_helper.c drm/amd/display: generic indirect register access 2018-07-13 14:47:33 -05:00
dc_hw_types.h drm/amd/display: Implement custom degamma lut on dcn 2018-08-06 14:35:25 -05:00
dc_link.h drm/amd/display: Fix Edid emulation for linux 2018-09-27 10:05:21 -05:00
dc_stream.h drm/amd/display: Refactor SDR cursor boosting in HDR mode 2018-07-16 16:11:49 -05:00
dc_types.h drm/amd/display: Patch for extend time to panel poweron. 2018-07-13 14:49:29 -05:00
dc.h drm/amd/display: If one stream full updates, full update all planes 2019-05-16 19:41:22 +02:00
dm_helpers.h drm/amd/display: Add hook for MST root branch info 2018-07-16 16:11:49 -05:00
dm_pp_smu.h drm/amd/display: Introduce pp-smu raven functions 2018-07-05 16:38:30 -05:00
dm_services_types.h drm/amd/display: Fix a typo in wm_min_memg_clk_in_khz 2018-07-05 16:38:51 -05:00
dm_services.h amdgpu: display: use modern ktime accessors 2018-06-19 13:17:38 -05:00
irq_types.h drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
Makefile Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
os_types.h drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally 2020-11-05 11:08:52 +01:00