]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: refactor out common code to setup a new tt backed resource
authorDave Airlie <airlied@redhat.com>
Mon, 19 Oct 2020 07:13:10 +0000 (17:13 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Oct 2020 18:54:01 +0000 (04:54 +1000)
commitf42af0c819312da6615e19beb09335d263cfa43e
tree6398b6c48488d2c185dd387bef9e6f90e275fb43
parent0f7642459a19382d97d5fc79af27da3fda4296b8
drm/ttm: refactor out common code to setup a new tt backed resource

This factors out the code to setup non-system tt.

The same code was used twice in the move paths.

Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201019071314.1671485-2-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
include/drm/ttm/ttm_bo_driver.h