[Intel-gfx] [PATCH] drm/i915: Make driver less chatty

Keith Packard keithp at keithp.com
Tue Jun 30 08:38:33 CEST 2009

On Tue, 2009-06-30 at 09:33 +0800, yakui_zhao wrote:

> >         DRM_DEBUG(fmt, args...)
> >         DRM_DEBUG_DRIVER(prefix, fmt, args...)
> >         DRM_DEBUG_KMS(prefix, fmt, args...)
> >         DRM_DEBUG_MODE(prefix, fmt, args...)
> > but that should probably be done as a separate patch.
> Agree with what Jesse said.
>     Will you please use the macro definition mentioned by Jesse so that
> we can get the different drm debug info.
>     For example:
>          The DRM_DEBUG_DRIVER can be used in the file of
> i915_dma/i915_drv.c
>          The DRM_DEBUG_KMS can be used in the file related with KMS.

I'd like to see documentation added to the DRM header file that explains
when each of these should be used -- in particular, what's the
difference between DRM_DEBUG_KMS and DRM_DEBUG_MODE?

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090629/90493cf0/attachment.sig>

More information about the Intel-gfx mailing list