aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>2024-04-19 12:05:38 +0530
committerChristian König <christian.koenig@amd.com>2024-04-22 19:44:16 +0200
commitc1696bf8d5f5389c5312aebf9e3ad0267149cdea (patch)
treed2bf849a481a155da2d2b6ce3eee140a7a67e57e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parenta68c7eaa7a8ffdec9287ba1561a668d674c20a13 (diff)
downloadlinux-c1696bf8d5f5389c5312aebf9e3ad0267149cdea.tar.gz
linux-c1696bf8d5f5389c5312aebf9e3ad0267149cdea.tar.bz2
linux-c1696bf8d5f5389c5312aebf9e3ad0267149cdea.zip
drm/tests: Add a test case for drm buddy clear allocation
Add a new test case for the drm buddy clear and dirty allocation. v2:(Matthew) - make size as u32 - rename PAGE_SIZE with SZ_4K - dont fragment the address space for all the order allocation iterations. we can do it once and just increment and allocate the size. - create new mm with non power-of-two size to ensure the multi-root force_merge during fini. v3: - add randomness in size calculation(Matthew) Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Suggested-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240419063538.11957-3-Arunpravin.PaneerSelvam@amd.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions