projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d57229b
)
drm/amd/amdgpu: add print prefix for dev_* variants
author
Aurabindo Pillai
<mail@aurabindo.in>
Thu, 9 Apr 2020 01:28:14 +0000
(21:28 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:02:37 +0000
(12:02 -0400)
Define dev_fmt macro for informative print messages
Signed-off-by: Aurabindo Pillai <mail@aurabindo.in>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 20354f7b2b12644ad52db279211be8d8449b2025..215f57765e5e77b95096a937ad487dcd5bc32680 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@
-34,6
+34,12
@@
#define pr_fmt(fmt) "amdgpu: " fmt
+#ifdef dev_fmt
+#undef dev_fmt
+#endif
+
+#define dev_fmt(fmt) "amdgpu: " fmt
+
#include "amdgpu_ctx.h"
#include <linux/atomic.h>