mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
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>
This commit is contained in:
parent
8a5a80081a
commit
d2e546b855
5 changed files with 18 additions and 31 deletions
|
@ -82,19 +82,19 @@ static void *agp_remap(unsigned long offset, unsigned long size,
|
|||
}
|
||||
|
||||
/** Wrapper around agp_free_memory() */
|
||||
void drm_free_agp(DRM_AGP_MEM * handle, int pages)
|
||||
void drm_free_agp(struct agp_memory * handle, int pages)
|
||||
{
|
||||
agp_free_memory(handle);
|
||||
}
|
||||
|
||||
/** Wrapper around agp_bind_memory() */
|
||||
int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start)
|
||||
int drm_bind_agp(struct agp_memory * handle, unsigned int start)
|
||||
{
|
||||
return agp_bind_memory(handle, start);
|
||||
}
|
||||
|
||||
/** Wrapper around agp_unbind_memory() */
|
||||
int drm_unbind_agp(DRM_AGP_MEM * handle)
|
||||
int drm_unbind_agp(struct agp_memory * handle)
|
||||
{
|
||||
return agp_unbind_memory(handle);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue