Commit 539489fc authored by Aurabindo Pillai's avatar Aurabindo Pillai Committed by Alex Deucher
Browse files

drm/amd/amdgpu: add print prefix for dev_* variants



Define dev_fmt macro for informative print messages

Signed-off-by: default avatarAurabindo Pillai <mail@aurabindo.in>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d57229b1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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>