commit | fad061270ac43ff9eed315f0eae7c40b694592de | [log] [tgz] |
---|---|---|
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | Thu Feb 09 11:33:37 2017 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Feb 09 11:29:44 2017 -0500 |
tree | 8d3b407141622c4addc4898b9b9c4192d332c30e | |
parent | 38fc4856ad98f230bc91da0421dec69e4aee40f8 [diff] |
drm/amdgpu: report the number of bytes moved at buffer creation Like ttm_bo_validate(), ttm_bo_init() might need to move BO and the number of bytes moved by TTM should be reported. This can help the throttle buffer migration mechanism to make a better decision. v2: fix computation Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>