diff options
author | Peng Ju Zhou <PengJu.Zhou@amd.com> | 2021-07-12 10:45:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-05 21:17:59 -0400 |
commit | 564e3dcf79628d0b61a6c354efcdcf3a9e68c35f (patch) | |
tree | c25e074c084fbe96936588899180b3d7af900296 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
parent | 4b296527549853eae8f1f0e010eaaea511ab00d7 (diff) | |
download | linux-564e3dcf79628d0b61a6c354efcdcf3a9e68c35f.tar.bz2 |
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