diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 05:34:40 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-17 20:32:55 -0500 |
commit | d2e546b855646f251046098ddaccef50bf3d4302 (patch) | |
tree | 2fbb465e003fe0fbcc2283d69ce5e747c6a13329 /drivers/gpu/drm/drm_memory.c | |
parent | 8a5a80081a1cc8b4f7bdf777fde3d955a020481c (diff) |
drm: rip out DRM_AGP_MEM and DRM_AGP_KERN
The <linux/agp_backend.h> header provides dummy functions and
fallbacks, so no need for screaming macros.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
-rw-r--r-- | drivers/gpu/drm/drm_memory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c index 3359bc453e11..00c67c0f2381 100644 --- a/drivers/gpu/drm/drm_memory.c +++ b/drivers/gpu/drm/drm_memory.c | |||
@@ -82,19 +82,19 @@ static void *agp_remap(unsigned long offset, unsigned long size, | |||
82 | } | 82 | } |
83 | 83 | ||
84 | /** Wrapper around agp_free_memory() */ | 84 | /** Wrapper around agp_free_memory() */ |
85 | void drm_free_agp(DRM_AGP_MEM * handle, int pages) | 85 | void drm_free_agp(struct agp_memory * handle, int pages) |
86 | { | 86 | { |
87 | agp_free_memory(handle); | 87 | agp_free_memory(handle); |
88 | } | 88 | } |
89 | 89 | ||
90 | /** Wrapper around agp_bind_memory() */ | 90 | /** Wrapper around agp_bind_memory() */ |
91 | int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) | 91 | int drm_bind_agp(struct agp_memory * handle, unsigned int start) |
92 | { | 92 | { |
93 | return agp_bind_memory(handle, start); | 93 | return agp_bind_memory(handle, start); |
94 | } | 94 | } |
95 | 95 | ||
96 | /** Wrapper around agp_unbind_memory() */ | 96 | /** Wrapper around agp_unbind_memory() */ |
97 | int drm_unbind_agp(DRM_AGP_MEM * handle) | 97 | int drm_unbind_agp(struct agp_memory * handle) |
98 | { | 98 | { |
99 | return agp_unbind_memory(handle); | 99 | return agp_unbind_memory(handle); |
100 | } | 100 | } |