diff options
| author | James Zhu <[email protected]> | 2023-05-24 14:48:40 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 15:07:00 +0000 |
| commit | 28bb7f13e70dcd3a6c736ee1567cf91c47af2600 (patch) | |
| tree | f6bc7edc219167acc625c50241733732c4a775a3 /drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | |
| parent | drm/amdgpu: complement the 4, 6 and 8 XCC cases (diff) | |
| download | kernel-28bb7f13e70dcd3a6c736ee1567cf91c47af2600.tar.gz kernel-28bb7f13e70dcd3a6c736ee1567cf91c47af2600.zip | |
drm/jpeg: add init value for num_jpeg_rings
Need init new num_jpeg_rings to 1 on jpeg.
Signed-off-by: James Zhu <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Richard Liang <[email protected]>
Tested-by: Ying Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c index f533ede484d4..aadb74de52bc 100644 --- a/drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c +++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c @@ -60,6 +60,7 @@ static int jpeg_v2_5_early_init(void *handle) u32 harvest; int i; + adev->jpeg.num_jpeg_rings = 1; adev->jpeg.num_jpeg_inst = JPEG25_MAX_HW_INSTANCES_ARCTURUS; for (i = 0; i < adev->jpeg.num_jpeg_inst; i++) { harvest = RREG32_SOC15(JPEG, i, mmCC_UVD_HARVESTING); |
