diff options
author | 2021-07-12 10:45:41 +0800 | |
---|---|---|
committer | 2021-08-05 21:17:59 -0400 | |
commit | 564e3dcf79628d0b61a6c354efcdcf3a9e68c35f (patch) | |
tree | c25e074c084fbe96936588899180b3d7af900296 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
parent | drm/amdgpu: added synchronization for psp cmd buf access (diff) | |
download | linux-dev-564e3dcf79628d0b61a6c354efcdcf3a9e68c35f.tar.xz linux-dev-564e3dcf79628d0b61a6c354efcdcf3a9e68c35f.zip |
drm/amd/amdgpu: Recovery vcn instance iterate.
The previous logic is recording the amount of valid vcn instances
to use them on SRIOV, it is a hard task due to the vcn accessment is
based on the index of the vcn instance.
Check if the vcn instance enabled before do instance init.
Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions