diff mbox

[libdrm] tests/amdgpu: Restore return CUE_SUCCESS to suite_vcn_tests_clean.

Message ID 1513362432-1866-1-git-send-email-andrey.grodzovsky@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrey Grodzovsky Dec. 15, 2017, 6:27 p.m. UTC
fixes: 806d0803600000faecb4025d8e9c7490cb097c25 (amdgpu: Use new suite/test disabling functionality.)
    bug: https://bugs.freedesktop.org/show_bug.cgi?id=104280

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
---
 tests/amdgpu/vcn_tests.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Christian König Dec. 15, 2017, 6:28 p.m. UTC | #1
Am 15.12.2017 um 19:27 schrieb Andrey Grodzovsky:
>      fixes: 806d0803600000faecb4025d8e9c7490cb097c25 (amdgpu: Use new suite/test disabling functionality.)
>      bug: https://bugs.freedesktop.org/show_bug.cgi?id=104280
>
> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>

Reviewed-by: Christian König <christian.koenig@amd.com>

> ---
>   tests/amdgpu/vcn_tests.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/tests/amdgpu/vcn_tests.c b/tests/amdgpu/vcn_tests.c
> index 53a2d08..9224bc3 100644
> --- a/tests/amdgpu/vcn_tests.c
> +++ b/tests/amdgpu/vcn_tests.c
> @@ -144,6 +144,8 @@ int suite_vcn_tests_clean(void)
>   	r = amdgpu_device_deinitialize(device_handle);
>   	if (r)
>   		return CUE_SCLEAN_FAILED;
> +
> +	return CUE_SUCCESS;
>   }
>   
>   static int submit(unsigned ndw, unsigned ip)
Emil Velikov Dec. 15, 2017, 6:38 p.m. UTC | #2
On 15 December 2017 at 18:27, Andrey Grodzovsky
<andrey.grodzovsky@amd.com> wrote:
>     fixes: 806d0803600000faecb4025d8e9c7490cb097c25 (amdgpu: Use new suite/test disabling functionality.)
>     bug: https://bugs.freedesktop.org/show_bug.cgi?id=104280
Nit: remove the leading space.

>
> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Thanks for the quick fixup.
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>

-Emil
diff mbox

Patch

diff --git a/tests/amdgpu/vcn_tests.c b/tests/amdgpu/vcn_tests.c
index 53a2d08..9224bc3 100644
--- a/tests/amdgpu/vcn_tests.c
+++ b/tests/amdgpu/vcn_tests.c
@@ -144,6 +144,8 @@  int suite_vcn_tests_clean(void)
 	r = amdgpu_device_deinitialize(device_handle);
 	if (r)
 		return CUE_SCLEAN_FAILED;
+
+	return CUE_SUCCESS;
 }
 
 static int submit(unsigned ndw, unsigned ip)