]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: add ttm_sg_tt_init
authorChristian König <christian.koenig@amd.com>
Fri, 23 Feb 2018 14:12:00 +0000 (15:12 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 19:38:24 +0000 (14:38 -0500)
commit85c4195ceba493ac539ee531fc54a315cee5070f
treee661f838d1097ca040d1f47b40c6425f4bcdde6b
parent6ef8dc4eb367fa34466a91406e51e1a6ebc02c69
drm/ttm: add ttm_sg_tt_init

This allows drivers to only allocate dma addresses, but not a page
array.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_tt.h