diff options
author | 2013-08-08 22:19:12 +0200 | |
---|---|---|
committer | 2013-08-09 07:22:11 +1000 | |
commit | 00fd78e5279aec3aa504307ff2db892d3efb555d (patch) | |
tree | 96b7b3a906eab063855eee055efa491dade3d84e /tools/perf/scripts/python | |
parent | Merge tag 'drm-intel-next-2013-07-26-fixed' of git://people.freedesktop.org/~danvet/drm-intel into drm-next (diff) | |
download | linux-dev-00fd78e5279aec3aa504307ff2db892d3efb555d.tar.xz linux-dev-00fd78e5279aec3aa504307ff2db892d3efb555d.zip |
drm: provide agp dummies for CONFIG_AGP=n
We currently rely on gcc dead-code elimination so the drm_agp_* helpers
are not called if drm_core_has_AGP() is false. That's ugly as hell so
provide "static inline" dummies for the case that AGP is disabled.
Fixes a build-regression introduced by:
commit 28ec711cd427f8b61f73712a43b8100ba8ca933b
Author: David Herrmann <dh.herrmann@gmail.com>
Date: Sat Jul 27 16:37:00 2013 +0200
drm/agp: move AGP cleanup paths to drm_agpsupport.c
v2: switch #ifdef -> #if (spotted by Stephen)
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions