OSDN Git Service

drm/amdgpu/uvd7: optimize uvd initialization sequence for SRIOV
authorFrank Min <Frank.Min@amd.com>
Mon, 12 Jun 2017 09:32:14 +0000 (17:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:49 +0000 (14:45 -0400)
commit81fe3f35ac91ce8cbeec8b9b264523f63d702218
tree0cdcc44602d11edc1dd51bcbaf6af8c4b3be2966
parenta1aacc97593c2aed620a8b62ab929d239ee0b1cc
drm/amdgpu/uvd7: optimize uvd initialization sequence for SRIOV

1.Since in sriov there is no need of decoding, so skip the related code;
2.Vcpu boot up and umc enable need to take at the end of the init sequence;

Signed-off-by: Frank Min <Frank.Min@amd.com>
Signed-off-by: Xiangliang.Yu <Xiangliang.Yu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c