summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_lock.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-29 10:12:38 (GMT)
committerDave Airlie <airlied@redhat.com>2014-09-10 07:41:20 (GMT)
commitedf0ac7c67ce596f43d66a781660889bbdcc9505 (patch)
tree3dc84b9857549790628b9173c4f5d120507f6298 /drivers/gpu/drm/drm_lock.c
parent969939087da7aca386ff166a1c67ee9707215feb (diff)
downloadlinux-edf0ac7c67ce596f43d66a781660889bbdcc9505.tar.xz
drm: drop DRM_DEBUG_CODE
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 pretty fast.. There should hardly be any performance penalty, it's even guarded by unlikely(). Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_lock.c')
0 files changed, 0 insertions, 0 deletions