diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-25 07:26:52 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-26 10:45:14 +0100 |
commit | 2ce0264d61548b51d5d406ff9f414af10b9c7348 (patch) | |
tree | 79f3e0105e676fa13e59805273db7b2274ada28e /include/drm/drm_drv.h | |
parent | 858b2c1bf820ebfba89c5e2867ab882bdb5b2f5a (diff) | |
download | linux-stable-2ce0264d61548b51d5d406ff9f414af10b9c7348.tar.gz linux-stable-2ce0264d61548b51d5d406ff9f414af10b9c7348.tar.bz2 linux-stable-2ce0264d61548b51d5d406ff9f414af10b9c7348.zip |
drm: remove device_is_agp callback
With that the drm_pci_device_is_agp function becomes trivial, so
inline that too. And while at it, move the drm_pci_agp_destroy
declaration into drm-internal.h, since it's not used by drivers.
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-11-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drm_drv.h')
-rw-r--r-- | include/drm/drm_drv.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index 5ab2459b4345..af75fc6ec830 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h @@ -151,20 +151,6 @@ struct drm_driver { void (*disable_vblank) (struct drm_device *dev, unsigned int pipe); /** - * @device_is_agp: - * - * Called by drm_device_is_agp(). Typically used to determine if a card - * is really attached to AGP or not. - * - * Returns: - * - * One of three values is returned depending on whether or not the - * card is absolutely not AGP (return of 0), absolutely is AGP - * (return of 1), or may or may not be AGP (return of 2). - */ - int (*device_is_agp) (struct drm_device *dev); - - /** * @get_scanout_position: * * Called by vblank timestamping code. |