radeon: set the address to access the GART table on the CPU side correctly
authorDave Airlie <airlied@linux.ie>
Mon, 5 Nov 2007 00:45:27 +0000 (10:45 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 5 Nov 2007 00:49:04 +0000 (10:49 +1000)
commit7fc86860cf73e060ab8ed9763010dfe5b5389b1c
treeccff8d34a2307779d96320158c607ddbd56a2647
parent5da0c7aad6271dd29526e3b49cbeb3bab9e8e491
radeon: set the address to access the GART table on the CPU side correctly

This code relied on the CPU and GPU address for the aperture being the same,
On some r5xx hardware I was playing with I noticed that this isn't always true.
This fixes issues seen on some r400 cards. (bugs.freedesktop.org 9957)

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