* [PATCH libdrm] amdgpu/tests: drop unused local vars
@ 2018-12-19 16:23 Eric Engestrom
2019-04-17 18:25 ` Emil Velikov
0 siblings, 1 reply; 2+ messages in thread
From: Eric Engestrom @ 2018-12-19 16:23 UTC (permalink / raw)
To: dri-devel
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
---
tests/amdgpu/vce_tests.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/amdgpu/vce_tests.c b/tests/amdgpu/vce_tests.c
index b9e15ee97148ee3b38d4..0026826ea58bd9d9dd8b 100644
--- a/tests/amdgpu/vce_tests.c
+++ b/tests/amdgpu/vce_tests.c
@@ -648,12 +648,10 @@ static void check_mv_result(struct amdgpu_vce_encode *enc)
{
uint64_t sum;
uint32_t s = 140790;
- uint32_t *ptr, size;
- int i, j, r;
+ int j, r;
r = amdgpu_bo_cpu_map(enc->fb[0].handle, (void **)&enc->fb[0].ptr);
CU_ASSERT_EQUAL(r, 0);
- ptr = (uint32_t *)enc->fb[0].ptr;
r = amdgpu_bo_cpu_unmap(enc->fb[0].handle);
CU_ASSERT_EQUAL(r, 0);
r = amdgpu_bo_cpu_map(enc->mvb.handle, (void **)&enc->mvb.ptr);
--
Cheers,
Eric
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH libdrm] amdgpu/tests: drop unused local vars
2018-12-19 16:23 [PATCH libdrm] amdgpu/tests: drop unused local vars Eric Engestrom
@ 2019-04-17 18:25 ` Emil Velikov
0 siblings, 0 replies; 2+ messages in thread
From: Emil Velikov @ 2019-04-17 18:25 UTC (permalink / raw)
To: Eric Engestrom; +Cc: ML dri-devel
On Wed, 19 Dec 2018 at 16:23, Eric Engestrom <eric.engestrom@intel.com> wrote:
>
> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
> ---
> tests/amdgpu/vce_tests.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
and pushed to master.
Thanks
-Emil
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-17 18:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-19 16:23 [PATCH libdrm] amdgpu/tests: drop unused local vars Eric Engestrom
2019-04-17 18:25 ` Emil Velikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox