summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLang Yu <Lang.Yu@amd.com>2021-06-22 12:23:37 -0400
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>2021-06-23 14:59:39 -0400
commit2b70af79fd2283a356b34e6955f8a130298840bc (patch)
treefe80df8b3aa73852d6b8be5cac4e38f28606d098 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent9a22149e9561e71583a48cc8d6d325958243d3ca (diff)
downloadlwn-2b70af79fd2283a356b34e6955f8a130298840bc.tar.gz
lwn-2b70af79fd2283a356b34e6955f8a130298840bc.zip
drm/amdgpu: switch gtt_mgr to counting used pages
Change mgr->available into mgr->used (invert the value). Makes more sense to do it this way since we don't need the spinlock any more to double check the handling. v3 (chk): separated from the TEMPOARAY FLAG change. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Acked-by: Nirmoy Das <nirmoy.das@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210622162339.761651-4-andrey.grodzovsky@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions