diff options
author | Takashi Iwai | 2020-10-23 09:46:56 +0200 |
---|---|---|
committer | Alex Deucher | 2020-10-26 17:19:30 -0400 |
commit | bcc3775dcf920b25d7123c141ed61f7f9f9bb6c3 (patch) | |
tree | ff725b1d2a9dfc979236a4f2d46df3452def3f98 /lib | |
parent | 8b7dc1fe1a5c1093551f6cd7dfbb941bd9081c2e (diff) |
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 'lib')
0 files changed, 0 insertions, 0 deletions