mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 18:10:12 +01:00
doh.. that makes no sense.. thinko in removal of OS_HAS_AGP
This commit is contained in:
parent
8825579f1c
commit
3d9e16aa6e
2 changed files with 4 additions and 2 deletions
|
|
@ -59,7 +59,8 @@ static __inline__ struct page *DRM(do_vm_nopage)(struct vm_area_struct *vma,
|
|||
/*
|
||||
* Find the right map
|
||||
*/
|
||||
if (!(dev->agp && DRIVER_USE_AGP)) goto vm_nopage_error;
|
||||
if (!drm_core_check_feature(dev, DRIVER_USE_AGP))
|
||||
goto vm_nopage_error;
|
||||
|
||||
if(!dev->agp || !dev->agp->cant_use_aperture) goto vm_nopage_error;
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,8 @@ static __inline__ struct page *DRM(do_vm_nopage)(struct vm_area_struct *vma,
|
|||
/*
|
||||
* Find the right map
|
||||
*/
|
||||
if (!(dev->agp && DRIVER_USE_AGP)) goto vm_nopage_error;
|
||||
if (!drm_core_check_feature(dev, DRIVER_USE_AGP))
|
||||
goto vm_nopage_error;
|
||||
|
||||
if(!dev->agp || !dev->agp->cant_use_aperture) goto vm_nopage_error;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue