summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-10-23 09:46:56 +0200
committerAlex Deucher <alexander.deucher@amd.com>2020-10-26 16:52:08 -0400
commitc5ff0c1950e598e144f7327fe75681b566b540cf (patch)
tree9d556b3b6c5d916368610a53accf6f9bfa5a103a /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
parent0ca3418272a230a16d87d3302839d0ca1255f378 (diff)
downloadlinux-c5ff0c1950e598e144f7327fe75681b566b540cf.tar.bz2
drm/amd/display: Clean up debug macros
This patch simplifies the ASSERT*() and BREAK_TO_DEBUGGER() macros: - Move the dependency check of CONFIG_KGDB into Kconfig - Unify the kgdb_breakpoint() call - Drop the non-existing CONFIG_HAVE_KGDB Also align the behavior of ASSERT() macro in both cases with and without CONFIG_DEBUG_KERNEL_DC. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
0 files changed, 0 insertions, 0 deletions