[PATCH] drm/amdgpu/jpeg: initialize number of jpeg ring
Saleemkhan Jamadar
saleemkhan.jamadar at amd.com
Thu Aug 31 09:52:31 UTC 2023
Initialize number of jpeg ring for gc ip 11_5_0
Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar at amd.com>
Reviewed-by: Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan at amd.com>
---
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
index b99faf55d3c4..9df011323d4b 100644
--- a/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
+++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
@@ -56,6 +56,7 @@ static int jpeg_v4_0_5_early_init(void *handle)
adev->jpeg.num_jpeg_inst = 1;
+ adev->jpeg.num_jpeg_rings = 1;
jpeg_v4_0_5_set_dec_ring_funcs(adev);
jpeg_v4_0_5_set_irq_funcs(adev);
--
2.25.1
More information about the amd-gfx
mailing list