From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> Define DRM_NAME to i915 so that the log messages we output change from: [drm] RC6 on to: [i915] RC6 on Since I wasn't around in the beginning of DRM I wonder whether that was the intended purpose of DRM_NAME or if it was something else. Today it looks a bit messy with it being used by both macros and core DRM helpers, like drm_dev_printk and drm_printk, meaning that this change only affects some and not all log messages. Following patches will try to correct that as well. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> --- include/uapi/drm/i915_drm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index da32c2f6c3f9..b777a6b7b3dc 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -29,6 +29,9 @@ #include "drm.h" +#undef DRM_NAME +#define DRM_NAME "i915" + #if defined(__cplusplus) extern "C" { #endif -- 2.7.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx