diff options
author | Arunpravin <Arunpravin.PaneerSelvam@amd.com> | 2022-02-22 23:18:41 +0530 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-02-23 10:44:43 +0100 |
commit | 92937f170d3f49f41d7acb86243ee691a98eb2be (patch) | |
tree | a3705c67a108d61b397be2328c6b6085c67606cb /drivers/gpu/drm/lima/lima_gem.c | |
parent | cb8f00f27ae7a1e8d047f1e2c96acc257f09d51b (diff) | |
download | linux-92937f170d3f49f41d7acb86243ee691a98eb2be.tar.bz2 |
drm/selftests: add drm buddy alloc range testcase
- add a test to check the range allocation
- export get_buddy() function in drm_buddy.c
- export drm_prandom_u32_max_state() in lib/drm_random.c
- include helper functions
- include prime number header file
v2:
- add drm_get_buddy() function description (Matthew Auld)
- removed unnecessary test succeeded print
Signed-off-by: Arunpravin <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222174845.2175-3-Arunpravin.PaneerSelvam@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions