diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 16:54:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 16:54:50 -0400 |
commit | dfbbe89e197a77f2c8046a51c74e33e35f878080 (patch) | |
tree | 23b860ad3d68a12503f04c44c2e4465fbb8bdae9 /drivers/gpu/drm/drm_memory.c | |
parent | 712b0006bf3a9ed0b14a56c3291975e582127766 (diff) | |
parent | f23c20c83d523e5f8cda1f8f7ed52fe6afffbe29 (diff) |
Merge branch 'drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (53 commits)
drm: detect hdmi monitor by hdmi identifier (v3)
drm: drm_fops.c unlock missing on error path
drm: reorder struct drm_ioctl_desc to save space on 64 bit builds
radeon: add some new pci ids
drm: read EDID extensions from monitor
drm: Use a little stash on the stack to avoid kmalloc in most DRM ioctls.
drm/radeon: add regs required for occlusion queries support
drm/i915: check the return value from the copy from user
drm/radeon: fix logic in r600_page_table_init() to match ati_gart
drm/radeon: r600 ptes are 64-bit, cleanup cleanup function.
drm/radeon: don't call irq changes on r600 suspend/resume
drm/radeon: fix r600 writeback across suspend/resume
drm/radeon: fix r600 writeback setup.
drm: fix warnings about new mappings in info code.
drm/radeon: NULL noise: drivers/gpu/drm/radeon/radeon_*.c
drm/radeon: fix r600 pci mapping calls.
drm/radeon: r6xx/r7xx: fix possible oops in r600_page_table_cleanup()
radeon: call the correct idle function, logic got inverted.
drm/radeon: RS600: fix interrupt handling
drm/r600: fix rptr address along lines of previous fixes to radeon.
...
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 bcc869bc4092..0c707f533eab 100644 --- a/drivers/gpu/drm/drm_memory.c +++ b/drivers/gpu/drm/drm_memory.c | |||
@@ -159,7 +159,7 @@ static inline void *agp_remap(unsigned long offset, unsigned long size, | |||
159 | 159 | ||
160 | #endif /* debug_memory */ | 160 | #endif /* debug_memory */ |
161 | 161 | ||
162 | void drm_core_ioremap(struct drm_map *map, struct drm_device *dev) | 162 | void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) |
163 | { | 163 | { |
164 | if (drm_core_has_AGP(dev) && | 164 | if (drm_core_has_AGP(dev) && |
165 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) | 165 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) |
@@ -169,7 +169,7 @@ void drm_core_ioremap(struct drm_map *map, struct drm_device *dev) | |||
169 | } | 169 | } |
170 | EXPORT_SYMBOL(drm_core_ioremap); | 170 | EXPORT_SYMBOL(drm_core_ioremap); |
171 | 171 | ||
172 | void drm_core_ioremap_wc(struct drm_map *map, struct drm_device *dev) | 172 | void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev) |
173 | { | 173 | { |
174 | if (drm_core_has_AGP(dev) && | 174 | if (drm_core_has_AGP(dev) && |
175 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) | 175 | dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) |
@@ -179,7 +179,7 @@ void drm_core_ioremap_wc(struct drm_map *map, struct drm_device *dev) | |||
179 | } | 179 | } |
180 | EXPORT_SYMBOL(drm_core_ioremap_wc); | 180 | EXPORT_SYMBOL(drm_core_ioremap_wc); |
181 | 181 | ||
182 | void drm_core_ioremapfree(struct drm_map *map, struct drm_device *dev) | 182 | void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) |
183 | { | 183 | { |
184 | if (!map->handle || !map->size) | 184 | if (!map->handle || !map->size) |
185 | return; | 185 | return; |