OSDN Git Service

drm/ttm: move initializing ttm->sg into ttm_tt_init_fields
authorChristian König <christian.koenig@amd.com>
Wed, 28 Feb 2018 08:48:22 +0000 (09:48 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 19:38:28 +0000 (14:38 -0500)
commit536bbeba9bd9ab6dc9d175a76a04aa10ea049fea
tree9619b509b8fbd2101f9aa2676f952255ed26dd95
parentdde5da2379319c08ceb2295467df6e60a3cf5da1
drm/ttm: move initializing ttm->sg into ttm_tt_init_fields

Better to set this with all other fields as well.

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