drm: add DRM_INFO_ONCE() to print a one-time DRM_INFO() message
authorJani Nikula <jani.nikula@intel.com>
Fri, 31 Jan 2014 13:49:07 +0000 (15:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Feb 2014 20:05:40 +0000 (21:05 +0100)
commit48b8f6315a6a230f859fcae8ef4a0ccf4f48e802
tree477a0bc9e9c12a411a4e4aebdedf62754be7981b
parent89258a97531124cd1e212f7a8ed44fccf8f9a891
drm: add DRM_INFO_ONCE() to print a one-time DRM_INFO() message

Just like DRM_INFO(), but only do it once.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drmP.h