[PATCH] tests/amdgpu: Add VCN test support for Biege Goby

Alex Deucher alexdeucher at gmail.com
Thu Jan 13 14:17:11 UTC 2022


Acked-by: Alex Deucher <alexander.deucher at amd.com>

On Thu, Jan 13, 2022 at 8:55 AM Guchun Chen <guchun.chen at amd.com> wrote:
>
> Added Beige Goby chip id in vcn test, will open a MR to
> merge this on gitlab after review.
>
> Signed-off-by: Guchun Chen <guchun.chen at amd.com>
> ---
>  tests/amdgpu/vcn_tests.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/amdgpu/vcn_tests.c b/tests/amdgpu/vcn_tests.c
> index 628b4910..15d573d3 100644
> --- a/tests/amdgpu/vcn_tests.c
> +++ b/tests/amdgpu/vcn_tests.c
> @@ -142,7 +142,8 @@ CU_BOOL suite_vcn_tests_enable(void)
>         } else if (family_id == AMDGPU_FAMILY_NV) {
>                 if (chip_id == (chip_rev + 0x28) ||
>                     chip_id == (chip_rev + 0x32) ||
> -                   chip_id == (chip_rev + 0x3c)) {
> +                   chip_id == (chip_rev + 0x3c) ||
> +                   chip_id == (chip_rev + 0x46)) {
>                         reg.data0 = 0x10;
>                         reg.data1 = 0x11;
>                         reg.cmd = 0xf;
> --
> 2.17.1
>


More information about the amd-gfx mailing list