]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm/amdgpu: consolidate ttm reserve paths
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:55:38 +0000 (12:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 02:16:31 +0000 (12:16 +1000)
commit54894fd4c57dcf238ac8f14825fc0f66c883899c
tree85a007c9ed594348bee70481baafdbbfb98cd54d
parent3808a5d90842c68376a59fb9c92d53e0ab21ec22
drm/ttm/amdgpu: consolidate ttm reserve paths

Drop the WARN_ON and consolidate the two paths into one.

Use the consolidate slowpath in the execbuf utils code.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-6-airlied@gmail.com
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/ttm/ttm_execbuf_util.c
include/drm/ttm/ttm_bo_driver.h