OSDN Git Service

tests/amdgpu: enable dispatch/draw tests for Renoir
authorchangzhu <Changfeng.Zhu@amd.com>
Mon, 4 Nov 2019 03:48:19 +0000 (11:48 +0800)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 9 Dec 2019 20:46:53 +0000 (15:46 -0500)
It can run dispatch/draw tests on new renoir chips. So it needs to
enable dispatch/draw tests for Renoir again.

Change-Id: I3a72a4bbfe0fc663ee0e3e58d8e9c304f513e568
Signed-off-by: changzhu <Changfeng.Zhu@amd.com>
Reviewed-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
tests/amdgpu/basic_tests.c

index 0f4aa5d..978f81e 100644 (file)
@@ -2869,7 +2869,7 @@ void amdgpu_memset_draw(amdgpu_device_handle device_handle,
        resources[1] = bo_shader_ps;
        resources[2] = bo_shader_vs;
        resources[3] = bo_cmd;
-       r = amdgpu_bo_list_create(device_handle, 3, resources, NULL, &bo_list);
+       r = amdgpu_bo_list_create(device_handle, 4, resources, NULL, &bo_list);
        CU_ASSERT_EQUAL(r, 0);
 
        ib_info.ib_mc_address = mc_address_cmd;