]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add DRM_DEBUG_ATOMIC
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 22 Feb 2015 11:24:16 +0000 (12:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Feb 2015 10:19:49 +0000 (11:19 +0100)
commita41880061f03e5773f78dd05475029afbd42e19e
treeb1f985b6b75c86174e7c45e8e37c87fbfe32c385
parent6c53745fbdf6a2f717398521caa1f93f55cffa2f
drm: Add DRM_DEBUG_ATOMIC

Atomic state handling adds a lot of indirection and complexity between
simple updates and drivers. For easier debugging the diagnostic output
is therefore rather chatty. Which is great for tracking down atomic
issues, but really annoying otherwise.

Add a new DRM_DEBUG_ATOMIC to be able to filter this out.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drmP.h