drm/sched: Define pr_fmt() for DRM using pr_*()
authorLuben Tuikov <ltuikov89@gmail.com>
Fri, 10 Nov 2023 00:11:46 +0000 (19:11 -0500)
committerLuben Tuikov <ltuikov89@gmail.com>
Fri, 10 Nov 2023 01:18:21 +0000 (20:18 -0500)
commit36245bd02e88e68ac5955c2958c968879d7b75a9
tree641381cc2598b0b7d864c654757e9662247ca0d7
parent4d53cf81479500d7af787fe6bc881c24ec31f005
drm/sched: Define pr_fmt() for DRM using pr_*()

Define pr_fmt() as "[drm] " for DRM code using pr_*() facilities, especially
when no devices are available. This makes it easier to browse kernel logs.

Signed-off-by: Luben Tuikov <ltuikov89@gmail.com>
Acked-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231110002659.113208-2-ltuikov89@gmail.com
include/drm/drm_print.h