enable dispatch/draw tests for renoir
Olsak, Marek
Marek.Olsak at amd.com
Mon Nov 4 20:47:22 UTC 2019
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
________________________________
From: Zhu, Changfeng <Changfeng.Zhu at amd.com>
Sent: November 4, 2019 02:07
To: Cui, Flora <Flora.Cui at amd.com>; brahma_sw_dev <brahma_sw_dev at amd.com>; amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Liu, Aaron <Aaron.Liu at amd.com>; Zhang, Hawking <Hawking.Zhang at amd.com>; Huang, Ray <Ray.Huang at amd.com>; Huang, Shimmer <Xinmei.Huang at amd.com>; Deucher, Alexander <Alexander.Deucher at amd.com>; Olsak, Marek <Marek.Olsak at amd.com>
Subject: RE: enable dispatch/draw tests for renoir
Thanks for review, Flora.
Hi Alex & Marek,
Here is a libdrm patch for Renoir dispatch/draw tests.
Could you please help review it? It needs to be upstream.
BR,
Changfeng.
From: Cui, Flora <Flora.Cui at amd.com>
Sent: Monday, November 4, 2019 1:21 PM
To: Zhu, Changfeng <Changfeng.Zhu at amd.com>; brahma_sw_dev <brahma_sw_dev at amd.com>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Liu, Aaron <Aaron.Liu at amd.com>; Zhang, Hawking <Hawking.Zhang at amd.com>; Huang, Ray <Ray.Huang at amd.com>; Huang, Shimmer <Xinmei.Huang at amd.com>
Subject: RE: enable dispatch/draw tests for renoir
Good catch. rb
From: Zhu, Changfeng <Changfeng.Zhu at amd.com<mailto:Changfeng.Zhu at amd.com>>
Sent: Monday, November 4, 2019 11:59 AM
To: brahma_sw_dev <brahma_sw_dev at amd.com<mailto:brahma_sw_dev at amd.com>>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com<mailto:Alexander.Deucher at amd.com>>; Liu, Aaron <Aaron.Liu at amd.com<mailto:Aaron.Liu at amd.com>>; Cui, Flora <Flora.Cui at amd.com<mailto:Flora.Cui at amd.com>>; Zhang, Hawking <Hawking.Zhang at amd.com<mailto:Hawking.Zhang at amd.com>>; Huang, Ray <Ray.Huang at amd.com<mailto:Ray.Huang at amd.com>>; Huang, Shimmer <Xinmei.Huang at amd.com<mailto:Xinmei.Huang at amd.com>>
Subject: enable dispatch/draw tests for renoir
Hi Ray & Flora,
It can run dispatch/draw tests on new Renoir chips. So we can take back dispatch/draw tests for Renoir.
Could you please help review this patch?
>From 793b7fd4dd1580f29e27bd2a90da787535abee14 Mon Sep 17 00:00:00 2001
From: changzhu <Changfeng.Zhu at amd.com<mailto:Changfeng.Zhu at amd.com>>
Date: Mon, 4 Nov 2019 11:48:19 +0800
Subject: [PATCH libdrm] tests/amdgpu: enable dispatch/draw tests for Renoir
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 at amd.com<mailto:Changfeng.Zhu at amd.com>>
---
tests/amdgpu/basic_tests.c | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/tests/amdgpu/basic_tests.c b/tests/amdgpu/basic_tests.c
index e75b9d0d..a57dcbb4 100644
--- a/tests/amdgpu/basic_tests.c
+++ b/tests/amdgpu/basic_tests.c
@@ -592,20 +592,6 @@ int suite_basic_tests_init(void)
family_id = gpu_info.family_id;
- if (gpu_info.asic_id == 0x1636) {
- if (amdgpu_set_test_active("Basic Tests",
- "Dispatch Test",
- CU_FALSE))
- fprintf(stderr, "test deactivation failed - %s\n",
- CU_get_error_msg());
-
- if (amdgpu_set_test_active("Basic Tests",
- "Draw Test",
- CU_FALSE))
- fprintf(stderr, "test deactivation failed - %s\n",
- CU_get_error_msg());
- }
-
return CUE_SUCCESS;
}
@@ -2992,7 +2978,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;
--
2.17.1
BR,
Changfeng.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20191104/77863d67/attachment.html>
More information about the amd-gfx
mailing list