drm/amdgpu/vg20:Enable the 2nd instance for uvd
authorJames Zhu <James.Zhu@amd.com>
Fri, 11 May 2018 18:56:44 +0000 (13:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 May 2018 21:08:13 +0000 (16:08 -0500)
commit9181dba670cf0a0e8e3bda9fa66fecfe7c28b535
tree73c01d487aee23105725aea726752d53f16597c5
parent3b17c622856299a0b0eef02a409edec366a719a7
drm/amdgpu/vg20:Enable the 2nd instance for uvd

For Vega20, set num of uvd instance to 2, to enble 2nd instance.
The IB test build-in registers need update for vega20 2nd instance.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c