drm/r600: get values from the passed in IB not the copy.
authorDave Airlie <airlied@linux.ie>
Fri, 25 Sep 2009 04:23:47 +0000 (14:23 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 25 Sep 2009 04:23:47 +0000 (14:23 +1000)
commitadea4796cfb9b74d340f9e32ba523fb61305d0b7
tree7cd02110a866031d70ca38037325b1d63d0348f1
parent31edd4824ec42e7cba26498fbd35df6c66b098ba
drm/r600: get values from the passed in IB not the copy.

this avoids reading back the IB on AGP, also it avoids
the race where since we haven't fetched the page from the main IB
and written it to the gpu one, reading back fetches 0.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cs.c