drm/ttm: further cleanup ttm_mem_reg handling
authorChristian König <christian.koenig@amd.com>
Mon, 6 Jul 2020 15:32:55 +0000 (17:32 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 13 Jul 2020 12:29:40 +0000 (14:29 +0200)
commite04be2310b5eac683ec03b096c0e22c4c2e23593
treebccd84dab97af1728775b12e442805a908f4df32
parent7b814900b8ccb4e61ebe704d42a12dc2d06b4a3a
drm/ttm: further cleanup ttm_mem_reg handling

Stop touching the backend private pointer alltogether and
make sure we never put the same mem twice by.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Madhav Chauhan <madhav.chauhan@amd.com>
Link: https://patchwork.freedesktop.org/patch/375613/
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_driver.h