]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Explain why ttm_bo_add_move_fence uses a shared slot
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 May 2021 08:24:09 +0000 (10:24 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 May 2021 20:28:11 +0000 (22:28 +0200)
commit6d0a12c734c302eead11366856aecdae54a401e8
treeebe6aee670ce026869a0d9deeaa5d75b3d1ac2a5
parentea8c9ed53f871ac90659fe519c85b8f10a51677d
drm/ttm: Explain why ttm_bo_add_move_fence uses a shared slot

Motivated because I got confused and Christian confirmed why this
works. I think this is non-obvious enough that it merits a slightly
longer comment.

Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: Christian König <ckoenig.leichtzumerken@gmail.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Huang Rui <ray.huang@amd.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210519082409.672016-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/ttm/ttm_bo.c