]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5e3b7e774d3ea745ba90db9726d10d8087468de
treea6aaa6c673fbe57eb47d4c46b32f38098de5b60b
parentd999fccc017149827843f2179259eb7784b4e34a
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