[Intel-gfx] [PATCH v5 1/4] drm: two more (drm_)printk() wrapper macros

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 26 18:00:43 UTC 2016


On Fri, Aug 26, 2016 at 06:50:56PM +0100, Dave Gordon wrote:
> We had only DRM_INFO() and DRM_ERROR(), whereas the underlying printk()
> provides several other useful intermediate levels such as NOTICE and
> WARNING. So this patch fills out the set by providing simple macros for
> the additional levels. We don't provide _DEV_ or _ONCE or RATELIMITED
> versions yet as it seems unlikely that they'll be as useful.
> 
> v2:
>     Fix whitespace, missing ## (Eric Engestrom)
> v5:
>     Much simplified after underlying functions were reworked.
> 
> Signed-off-by: Dave Gordon <david.s.gordon at intel.com>
> Previously-Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com> (v2)
> Cc: Eric Engestrom <eric.engestrom at imgtec.com>
> Cc: dri-devel at lists.freedesktop.org

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list