drm/radeon/ttm: handle ttm moves properly
authorDave Airlie <airlied@redhat.com>
Thu, 24 Sep 2020 05:18:04 +0000 (15:18 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 24 Sep 2020 19:48:00 +0000 (05:48 +1000)
commit51e50e542204329e36e248de14f4c7a466d2f677
treea6aaa6c673fbe57eb47d4c46b32f38098de5b60b
parent3a08446b31e3614f6e018c6ac297b1312689a73a
drm/radeon/ttm: handle ttm moves properly

The core move code currently handles use_tt moves, for radeon
this was being handled also in the driver, but not using the same
paths.

If moving between TT/SYSTEM (all the use_tt paths on radeon) use
the core move function.

Eventually the core will be flipped over to calling the driver.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200924051845.397177-5-airlied@gmail.com
drivers/gpu/drm/radeon/radeon_ttm.c