drm/amd/sriov skip vcn powergating and dec_ring_test
authorJack Zhang <Jack.Zhang1@amd.com>
Mon, 29 Jun 2020 02:06:49 +0000 (10:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2020 16:45:28 +0000 (12:45 -0400)
commitc8466cc0d2a419e7659bff5161440741cb96ab1e
tree0ae6b6313369f73cd356f000a2d427a39bea7344
parenta3302729368d2e4c6c6a1918179c8c53bec79219
drm/amd/sriov skip vcn powergating and dec_ring_test

1.Skip decode_ring test in VF, because VCN in SRIOV does not
support direct register read/write.

2.Skip powergating configuration in hw fini because
VCN3.0 SRIOV doesn't support powergating.

V2: delete unneccessary white lines and refine implementation.

Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c