[PATCH 12/20] drm: drop DRM_DEBUG_CODE

2014-08-29 Thread Thierry Reding
On Fri, Aug 29, 2014 at 12:12:38PM +0200, David Herrmann wrote: [...] > diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h > index 83a2461..5cfa574 100644 > --- a/drivers/gpu/drm/radeon/radeon.h > +++ b/drivers/gpu/drm/radeon/radeon.h > @@ -2761,18 +2761,25 @@ void

[PATCH 12/20] drm: drop DRM_DEBUG_CODE

2014-08-29 Thread David Herrmann
DRM_DEBUG_CODE is currently always set, so distributions enable it. The only reason to keep support in code is if developers wanted to disable debug support. Sounds unlikely. All the DRM_DEBUG() printks are still guarded by a drm_debug read. So if its cacheline is read once, they're discarded