drm/ati_pcigart: fix the PCIGART to use drm_pci to allocate GART table.
authorDave Airlie <airlied@redhat.com>
Mon, 17 Mar 2008 00:24:24 +0000 (10:24 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 17 Mar 2008 00:24:24 +0000 (10:24 +1000)
commitb05c23851ab820b1957cd2f322eaa1ac44c196bd
tree59e1a38a36cadf683559dae629fc6583d1ca5141
parent16d3be46d9ffbc2c562b25d66d59666db2cf2cd5
drm/ati_pcigart: fix the PCIGART to use drm_pci to allocate GART table.

This fixes a problem on 64-bit with 4GB with ATI RS690 chipsets. It
makes sure the pcigart table is allocated in coherent memory for DMA operations.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/drm/ati_pcigart.c
drivers/char/drm/drmP.h
drivers/char/drm/r128_cce.c
drivers/char/drm/radeon_cp.c