OSDN Git Service

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)
commit75a57669cbc881032c60615a31bfc6bfab4c813c
treee661f838d1097ca040d1f47b40c6425f4bcdde6b
parent81f5ec025514865fb930d3a665a10a339b113da8
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