linux-stable/drivers/gpu/drm/radeon
David Miller 6abf6bb0ff drm: radeon: Use surface for PCI GART table.
This allocates a physical surface for the PCI GART table, this way no
matter what other surface configurations exist the GART table will
always be seen by the hardware properly.

We encode the file pointer of the virtual surface allocate using a
special cookie value, called PCIGART_FILE_PRIV.  On the last close, we
release that surface.

Just to be doubly safe, we run the pcigart table setup with the main
surface control register clear.

Based upon ideas from David Airlie and Ben Benjamin Herrenschmidt.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-03-13 14:24:02 +10:00
..
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
r300_cmdbuf.c drm: move to kref per-master structures. 2008-12-29 17:47:22 +10:00
r300_reg.h radeon: fix some hard lockups on r3/4/500s 2008-08-25 06:34:58 +10:00
radeon_cp.c drm: radeon: Use surface for PCI GART table. 2009-03-13 14:24:02 +10:00
radeon_drv.c drm: Drop unused and broken dri_library_name sysfs attribute. 2009-03-13 14:23:58 +10:00
radeon_drv.h drm: radeon: Use surface for PCI GART table. 2009-03-13 14:24:02 +10:00
radeon_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_irq.c drm/radeon: fix correctness of irq_enabled check for radeon. 2008-12-23 10:50:12 +10:00
radeon_mem.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_microcode.h drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_state.c drm: radeon: Use surface for PCI GART table. 2009-03-13 14:24:02 +10:00