aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_pci.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2016-04-26 17:29:34 +0000
committerDaniel Vetter <[email protected]>2016-04-27 06:41:34 +0000
commit366884b17fae7d2a7517eea60e64d6d6754fa9db (patch)
tree8c57a2989b43c494726ceb18bf7813961f2a660c /drivers/gpu/drm/drm_pci.c
parentdrm/sysfs: Annote lockless show functions with READ_ONCE (diff)
downloadkernel-366884b17fae7d2a7517eea60e64d6d6754fa9db.tar.gz
kernel-366884b17fae7d2a7517eea60e64d6d6754fa9db.zip
drm: Give drm_agp_clear drm_legacy_ prefix
It has a DRIVER_MODESET check to sure make it's not creating havoc for drm drivers. Make that clear in the name too. v2: Move misplaced hunk, spotted by 0day and Thierry. Cc: Thierry Reding <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r--drivers/gpu/drm/drm_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c
index a1fff1179a97..29d5a548d07a 100644
--- a/drivers/gpu/drm/drm_pci.c
+++ b/drivers/gpu/drm/drm_pci.c
@@ -250,7 +250,7 @@ void drm_pci_agp_destroy(struct drm_device *dev)
{
if (dev->agp) {
arch_phys_wc_del(dev->agp->agp_mtrr);
- drm_agp_clear(dev);
+ drm_legacy_agp_clear(dev);
kfree(dev->agp);
dev->agp = NULL;
}