diff options
| author | Arunpravin Paneer Selvam <[email protected]> | 2024-04-19 06:35:38 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2024-04-22 17:44:16 +0000 |
| commit | c1696bf8d5f5389c5312aebf9e3ad0267149cdea (patch) | |
| tree | d2bf849a481a155da2d2b6ce3eee140a7a67e57e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdgpu: Enable clear page functionality (diff) | |
| download | kernel-c1696bf8d5f5389c5312aebf9e3ad0267149cdea.tar.gz kernel-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 <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Suggested-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
