diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-11-08 05:29:26 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-11-08 05:29:26 +0000 |
commit | 71f9b7357cb3d4ea7bb5b396840de3985bc13ad4 (patch) | |
tree | 55f2598fd5612e953ecb4b18a9e5d7710bdf6044 /shared-core | |
parent | 1a256df4804e4e987f81226a5d8e0573363607ee (diff) |
Fix FreeBSD DRM for latest MGA changes to agp support, which cleans things
up a good bit, I think. Also, remove the agp_uninit() function which
has lain around as a noop for years now. The FreeBSD DRM is now all
compiling, with the exception of via. One known sleeping-with-lock-held
issue remains.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/mga_dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/mga_dma.c b/shared-core/mga_dma.c index fa3dd394..cc93d5ae 100644 --- a/shared-core/mga_dma.c +++ b/shared-core/mga_dma.c @@ -546,6 +546,7 @@ static int mga_do_agp_dma_bootstrap(drm_device_t * dev, return err; } +#ifdef __linux__ { drm_map_list_t *_entry; unsigned long agp_token = 0; @@ -559,6 +560,7 @@ static int mga_do_agp_dma_bootstrap(drm_device_t * dev, dev->agp_buffer_token = agp_token; } +#endif offset += secondary_size; err = drm_addmap( dev, offset, agp_size - offset, |