diff options
| author | Yifan Zha <[email protected]> | 2023-03-28 03:42:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-03-31 15:18:53 +0000 |
| commit | d2cdc01451973235e2b83ea85493817705a48263 (patch) | |
| tree | 72afa252142f4792e220b9463eea2927560c0d25 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/amdgpu: Remove initialisation of globals to 0 or NULL (diff) | |
| download | kernel-d2cdc01451973235e2b83ea85493817705a48263.tar.gz kernel-d2cdc01451973235e2b83ea85493817705a48263.zip | |
drm/amdgpu: Add JPEG IP block to SRIOV reinit
[Why]
Reset(mode1) failed as JPRG IP did not reinit under sriov.
[How]
Add JPEG IP block to sriov reinit function.
Signed-off-by: Yifan Zha <[email protected]>
Reviewed-by: Horace Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index bc158995105d..fac9312b1695 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -3184,7 +3184,8 @@ static int amdgpu_device_ip_reinit_late_sriov(struct amdgpu_device *adev) AMD_IP_BLOCK_TYPE_MES, AMD_IP_BLOCK_TYPE_UVD, AMD_IP_BLOCK_TYPE_VCE, - AMD_IP_BLOCK_TYPE_VCN + AMD_IP_BLOCK_TYPE_VCN, + AMD_IP_BLOCK_TYPE_JPEG }; for (i = 0; i < ARRAY_SIZE(ip_order); i++) { |
