Skip to contentSkip to conversation

drm/amdgpu/jpeg: initialize number of jpeg ring

PATCH New Saleemkhan Jamadar 1 participant 1 message Aug 31, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/jpeg: initialize number of jpeg ring

Initialize number of jpeg ring for gc ip 11_5_0

---
 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c +1 -0
index b99faf55d3c4..9df011323d4b 100644
@@ -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);
Signature · 1 line
2.25.1