Skip to content
Commit fad06127 authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Alex Deucher
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 38fc4856
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment