diff options
author | Dave Airlie <airlied@redhat.com> | 2007-10-31 11:33:34 +1100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2007-10-31 11:33:34 +1100 |
commit | 17f0882d5080a2436e4351c2bf497b8e00bc8e74 (patch) | |
tree | a5b770b2871555f559a164277e90c84a13a5e92c /linux-core/drm_agpsupport.c | |
parent | 2489062a3319c72197914ee06b089ae581c5f0a8 (diff) |
drm: add chipset flushing via agp support
Diffstat (limited to 'linux-core/drm_agpsupport.c')
-rw-r--r-- | linux-core/drm_agpsupport.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-core/drm_agpsupport.c b/linux-core/drm_agpsupport.c index b68efc64..8c7f570e 100644 --- a/linux-core/drm_agpsupport.c +++ b/linux-core/drm_agpsupport.c @@ -650,4 +650,12 @@ struct drm_ttm_backend *drm_agp_init_ttm(struct drm_device *dev) } EXPORT_SYMBOL(drm_agp_init_ttm); +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) +void drm_agp_flush_chipset(struct drm_device *dev) +{ + agp_flush_chipset(dev->agp->bridge); +} +EXPORT_SYMBOL(drm_agp_flush_chipset); +#endif + #endif /* __OS_HAS_AGP */ |