kernel-fxtec-pro1x/drivers/gpu/drm/i915
Benjamin Herrenschmidt f77d390c97 drm: Split drm_map and drm_local_map
Once upon a time, the DRM made the distinction between the drm_map
data structure exchanged with user space and the drm_local_map used
in the kernel.

For some reasons, while the BSD port still has that "feature", the
linux part abused drm_map for kernel internal usage as the local
map only existed as a typedef of the struct drm_map.

This patch fixes it by declaring struct drm_local_map separately
(though its content is currently identical to the userspace variant),
and changing the kernel code to only use that, except when it's a
user<->kernel interface (ie. ioctl).

This allows subsequent changes to the in-kernel format

I've also replaced the use of drm_local_map_t with struct drm_local_map
in a couple of places. Mostly by accident but they are the same (the
former is a typedef of the later) and I have some remote plans and
half finished patch to completely kill the drm_local_map_t typedef
so I left those bits in.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-03-13 14:23:56 +10:00
..
dvo.h drm/i915: fix sparse warnings: move 'extern' decls to header file 2008-12-29 17:47:26 +10:00
dvo_ch7xxx.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ch7017.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ivch.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_sil164.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_tfp410.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_dma.c drm: Use resource_size_t for drm_get_resource_{start, len} 2009-03-13 14:23:56 +10:00
i915_drv.c i915: suspend/resume interrupt state 2009-02-23 17:23:57 -08:00
i915_drv.h drm/i915: Don't restore palettes through VGA registers. 2009-03-10 13:11:12 -07:00
i915_gem.c drm: Split drm_map and drm_local_map 2009-03-13 14:23:56 +10:00
i915_gem_debug.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem_proc.c drm/i915: Add /proc debugging entry for reading out the HWS. 2008-12-29 17:47:22 +10:00
i915_gem_tiling.c drm/i915: hold mutex for unreference() in i915_gem_tiling.c 2009-02-20 12:21:09 +10:00
i915_ioc32.c
i915_irq.c drm/i915: Fix use-before-null-check in i915_irq_emit(). 2009-03-03 09:53:05 +10:00
i915_mem.c drm: move to kref per-master structures. 2008-12-29 17:47:22 +10:00
i915_opregion.c drm/i915: fix sparse warnings: make symbols static 2008-12-29 17:47:26 +10:00
i915_reg.h drm/i915: fix 945 fence register writes for fence 8 and above. 2009-03-11 11:02:06 -07:00
i915_suspend.c drm/i915: Don't restore palettes through VGA registers. 2009-03-10 13:11:12 -07:00
intel_bios.c drm/i915: handle bogus VBT panel timing 2009-02-25 14:10:42 +10:00
intel_bios.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_crt.c drm/i915: fix sparse warnings: make symbols static 2008-12-29 17:47:26 +10:00
intel_display.c drm/i915: remove PLL debugging messages 2009-02-25 14:10:39 +10:00
intel_drv.h drm/i915: sync SDVO code with stable userland modesetting driver 2009-02-08 21:38:14 +10:00
intel_dvo.c drm/i915: fix sparse warnings: move 'extern' decls to header file 2008-12-29 17:47:26 +10:00
intel_fb.c drm/i915: Unpin the fb on error during construction. 2009-02-20 12:21:11 +10:00
intel_hdmi.c drm/i915: Add support for integrated HDMI on G4X hardware. 2009-01-07 11:49:47 +10:00
intel_i2c.c i2c: Delete many unused adapter IDs 2009-01-26 21:19:52 +01:00
intel_lvds.c drm/i915: Don't add panel_fixed_mode to the probed modes list at LVDS init. 2009-02-20 12:21:12 +10:00
intel_modes.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_sdvo.c drm/i915: Storage class should be before const qualifier 2009-02-20 12:21:08 +10:00
intel_sdvo_regs.h drm/i915: sync SDVO code with stable userland modesetting driver 2009-02-08 21:38:14 +10:00
intel_tv.c drm/i915: Storage class should be before const qualifier 2009-02-20 12:21:08 +10:00
Makefile drm/i915: Add support for integrated HDMI on G4X hardware. 2009-01-07 11:49:47 +10:00