On 2022-06-11 09:19, Christian König wrote:
Am 10.06.22 um 15:54 schrieb Michel Dänzer:
From: Michel Dänzer mdaenzer@redhat.com
The commit below changed the TTM manager size unit from pages to bytes, but failed to adjust the corresponding calculations in amdgpu_ioctl.
Fixes: dfa714b88eb0 ("drm/amdgpu: remove GTT accounting v2") Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1930 Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6642 Signed-off-by: Michel Dänzer mdaenzer@redhat.com
Ah, WTF! You won't believe how long I have been searching for this one.
Don't feel too bad, similar things have happened to me before. :) Even after Marek's GitLab comment got me on the right track, it still took a fair amount of trial, error & head scratching to put this one to bed.