radeon: fix regression with eviction since evict caching changes
authorDave Airlie <airlied@redhat.com>
Fri, 14 Dec 2012 11:04:46 +0000 (21:04 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2012 15:45:28 +0000 (10:45 -0500)
commitdd54fee7d440c4a9756cce2c24a50c15e4c17ccb
treea2ecda4e8167c94a31d22442360401418c2abab6
parent9d89d78e3a20980205966fba6345645547e59ceb
radeon: fix regression with eviction since evict caching changes

Since 0d0b3e7443bed6b49cb90fe7ddc4b5578a83a88d
drm/radeon: use cached memory when evicting for vram on non agp

evicting from TTM would try and evict to TTM instead of system,
not so good.

This should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=58272

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_object.c