commit | dde5da2379319c08ceb2295467df6e60a3cf5da1 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Thu Feb 22 10:18:14 2018 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 14 14:38:27 2018 -0500 |
tree | d585dfd0257b7b62182e0eec09b6ea49f0135d99 | |
parent | 5d95109815493e273a2ef9010df0939aa3cfe10f [diff] |
drm/ttm: add bo as parameter to the ttm_tt_create callback Instead of calculating the size in bytes just to recalculate the number of pages from it pass the BO directly to the function. 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>