drm: rip out drm_core_has_AGP
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 10:34:35 +0000 (11:34 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:20:04 +0000 (11:20 +1000)
commitd9906753bb997d651beaba0e4026a873bd0e8340
tree08cfef0a3d712dc1354ce90cd489d33283d9cdcf
parent8da79ccd1aaa2efe482b2c555c4684c7b503864a
drm: rip out drm_core_has_AGP

Most place actually want to just check for dev->agp (most do, but a
few don't so this fixes a few potential NULL derefs). The only
exception is the agp init code which should check for the AGP driver
feature flag.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_agpsupport.c
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_memory.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_vm.c
drivers/gpu/drm/radeon/radeon_ttm.c
include/drm/drm_agpsupport.h