drm/radeon/kms: only evict to GTT if CP is ready
authorDave Airlie <airlied@redhat.com>
Tue, 12 Jan 2010 23:21:49 +0000 (09:21 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Jan 2010 03:25:14 +0000 (13:25 +1000)
commit9270eb1b496cb002d75f49ef82c9ef4cbd22a5a0
tree10ad9294e12834b7ff4ea9d91ea5e0bc73744c55
parent11f3b59e3654c66c4e8ef2c48f8138b78bf440da
drm/radeon/kms: only evict to GTT if CP is ready

Testing GTT ready might be more correct but cp.ready
works fine and has been tested on irc by 2-3 ppl.

fixes bug k.org 15035 and fd.o 25733

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