]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: fix warning after moving resource to ghost obj
authorChristian König <christian.koenig@amd.com>
Mon, 7 Jun 2021 17:56:32 +0000 (19:56 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 7 Jun 2021 18:04:16 +0000 (20:04 +0200)
commit65d1aa14c2ebfc491ff14f57c8e32aae0b91d3d8
tree0dd7b3210434ee20bac3246835d1cf356f4ec439
parentf5eb2d6d7523f05e5d9d8304e11df043da7257be
drm/ttm: fix warning after moving resource to ghost obj

After we moved the resource to the ghost the bo->resource pointer needs
to be reset since the owner of the resource is now the ghost.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210607175737.1405-1-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo_util.c