diff options
| author | Luben Tuikov <[email protected]> | 2023-11-11 01:01:57 +0000 |
|---|---|---|
| committer | Luben Tuikov <[email protected]> | 2023-11-14 00:55:25 +0000 |
| commit | b0e396d68fef9c9c050dfbb590cc0066441f65c7 (patch) | |
| tree | a1678378f8394ac4fdd3acaa6ad1f0e6dc98527a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/gpuvm: track/lock/validate external/evicted objects (diff) | |
| download | kernel-b0e396d68fef9c9c050dfbb590cc0066441f65c7.tar.gz kernel-b0e396d68fef9c9c050dfbb590cc0066441f65c7.zip | |
Revert "drm/sched: Define pr_fmt() for DRM using pr_*()"
From Jani:
The drm_print.[ch] facilities use very few pr_*() calls directly. The
users of pr_*() calls do not necessarily include <drm/drm_print.h> at
all, and really don't have to.
Even the ones that do include it, usually have <linux/...> includes
first, and <drm/...> includes next. Notably, <linux/kernel.h> includes
<linux/printk.h>.
And, of course, <linux/printk.h> defines pr_fmt() itself if not already
defined.
No, it's encouraged not to use pr_*() at all, and prefer drm device
based logging, or device based logging.
This reverts commit 36245bd02e88e68ac5955c2958c968879d7b75a9.
Signed-off-by: Luben Tuikov <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
