diff options
| author | Michał Grzelak <michal.grzelak@intel.com> | 2026-05-22 15:55:19 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-06-03 11:24:52 +0200 |
| commit | 96889ef7dcf70bd7f8d78a6e6f255d9436d59993 (patch) | |
| tree | 4b4153c1ac067c5d46dd8c1af4dac4a42a3e6e0b /include | |
| parent | d59676b3ebadc44d6d87b0c6133f169dad9192a2 (diff) | |
| download | linux-next-96889ef7dcf70bd7f8d78a6e6f255d9436d59993.tar.gz linux-next-96889ef7dcf70bd7f8d78a6e6f255d9436d59993.zip | |
drm/print: describe 6th & 9th bit of drm.debug
Setting 6th or 9th bit of drm.debug change debug logging. Meanwhile
`modinfo drm` does not inform about it at all.
Add info to MODULE_PARAM_DESC(debug, ...) about setting 6th and 9th bit
basing on DECLARE_DYNDBG_CLASSMAP(drm_debug_classes, ...). Match
description of corresponding bits with enum drm_debug_category. Include
9th bit in the example with enabling all possible logging provided at
comment at include/drm/drm_print.h.
Signed-off-by: Michał Grzelak <michal.grzelak@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260522135520.1862848-2-michal.grzelak@intel.com
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/drm_print.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index ab017b05e175..2adc5ac688e1 100644 --- a/include/drm/drm_print.h +++ b/include/drm/drm_print.h @@ -87,7 +87,7 @@ extern unsigned long __drm_debug; * - drm.debug=0x2 will enable DRIVER messages * - drm.debug=0x3 will enable CORE and DRIVER messages * - ... - * - drm.debug=0x1ff will enable all messages + * - drm.debug=0x3ff will enable all messages * * An interesting feature is that it's possible to enable verbose logging at * run-time by echoing the debug value in its sysfs node:: |
