drm/print: convert debug category macros into an enum
authorJani Nikula <jani.nikula@intel.com>
Mon, 28 Oct 2019 10:38:20 +0000 (12:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Nov 2019 12:08:57 +0000 (14:08 +0200)
commit876905b8fe59d06b20dd3e10502312447bd0a90d
tree32a0049cbe334d49fc269ac9a0233e2fde8e6b50
parent99acf4716f99ce1925f73c7f47cab7b454ea56a5
drm/print: convert debug category macros into an enum

Mostly for improved documentation, convert the debug category macros
into an enum. Drop unused DRM_UT_NONE. Document previously undocumented
categories.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Sean Paul <sean@poorly.run>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/96582479e7829d92b89adb805f829e23043ca85c.1572258936.git.jani.nikula@intel.com
drivers/gpu/drm/drm_print.c
include/drm/drm_print.h