]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb40ab6f20093dfc60b2fdb6b2a1adec260d32851
tree0ae6b6313369f73cd356f000a2d427a39bea7344
parent1b4f604d868c533d5c20057318972bef71d15700
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