]> 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)
commite519cb36e6898c154bb812a4b748ac65bc3f8a30
tree85a007c9ed594348bee70481baafdbbfb98cd54d
parent78dc8455ee236616bc326bb79752c62260e8f44b
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