[PATCH] tests/amdgpu/vcn: clean abundant codes

Alex Deucher alexdeucher at gmail.com
Fri Jan 22 15:23:09 UTC 2021


Please open a libdrm MR for libdrm updates.

Alex

On Fri, Jan 22, 2021 at 10:05 AM Sonny Jiang <sonny.jiang at amd.com> wrote:
>
> Remove useless codes.
>
> Signed-off-by: Sonny Jiang <sonny.jiang at amd.com>
> ---
>  tests/amdgpu/vcn_tests.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/tests/amdgpu/vcn_tests.c b/tests/amdgpu/vcn_tests.c
> index 0f5b4241..1ca66297 100644
> --- a/tests/amdgpu/vcn_tests.c
> +++ b/tests/amdgpu/vcn_tests.c
> @@ -102,8 +102,6 @@ CU_BOOL suite_vcn_tests_enable(void)
>                 return CU_FALSE;
>
>         family_id = device_handle->info.family_id;
> -       chip_rev = device_handle->info.chip_rev;
> -       chip_id = device_handle->info.chip_external_rev;
>         asic_id = device_handle->info.asic_id;
>         chip_rev = device_handle->info.chip_rev;
>         chip_id = device_handle->info.chip_external_rev;
> --
> 2.25.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list