[PATCH] drm/i915/gvt: Make gvt_vgpu_err use pr_err
changbin.du at intel.com
changbin.du at intel.com
Thu Nov 2 05:33:32 UTC 2017
From: Changbin Du <changbin.du at intel.com>
gvt_vgpu_err means something goes wrong. We need the error propagates to
kernel message by default.
Signed-off-by: Changbin Du <changbin.du at intel.com>
---
drivers/gpu/drm/i915/gvt/debug.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gvt/debug.h b/drivers/gpu/drm/i915/gvt/debug.h
index d98d5a0..c602712 100644
--- a/drivers/gpu/drm/i915/gvt/debug.h
+++ b/drivers/gpu/drm/i915/gvt/debug.h
@@ -30,9 +30,9 @@
#define gvt_vgpu_err(fmt, args...) \
do { \
if (IS_ERR_OR_NULL(vgpu)) \
- pr_debug("gvt: "fmt, ##args); \
+ pr_err("gvt: "fmt, ##args); \
else \
- pr_debug("gvt: vgpu %d: "fmt, vgpu->id, ##args);\
+ pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\
} while (0)
#define gvt_dbg_core(fmt, args...) \
--
2.7.4
More information about the intel-gvt-dev
mailing list