]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make __i915_printk debug output behave the same as DRM_DEBUG_DRIVER
authorImre Deak <imre.deak@intel.com>
Mon, 21 Mar 2016 15:08:57 +0000 (17:08 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 22 Mar 2016 12:49:49 +0000 (14:49 +0200)
commitb1bf40953adf0ea48f712ae37d1aa0a6733b6d88
treeb85cf4e88e777316f619e8c0bc7489a1bcc33b78
parent2bc7757db0632210e2dc85b11fe9da76c3cbc662
drm/i915: Make __i915_printk debug output behave the same as DRM_DEBUG_DRIVER

Joonas and Daniel remarked that our debugging output should stay compatible
with the core DRM's debug facility. The recently added __i915_printk() would
output debug messages even if debugging is completely disabled via the
drm.debug option. To fix this make __i915_printk behave the same as
DRM_DEBUG_DRIVER in this case.

CC: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
CC: Daniel Vetter <daniel.vetter@ffwll.ch>
CC: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1458572937-21712-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c