Commit 1cf36599 authored by Saleemkhan Jamadar's avatar Saleemkhan Jamadar Committed by Alex Deucher

drm/amdgpu/jpeg: initialize number of jpeg ring

Initialize number of jpeg ring for vcn 4.0.5.
Signed-off-by: default avatarSaleemkhan Jamadar <saleemkhan.jamadar@amd.com>
Reviewed-by: default avatarVeerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a5492fe2
...@@ -56,6 +56,7 @@ static int jpeg_v4_0_5_early_init(void *handle) ...@@ -56,6 +56,7 @@ static int jpeg_v4_0_5_early_init(void *handle)
adev->jpeg.num_jpeg_inst = 1; 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_dec_ring_funcs(adev);
jpeg_v4_0_5_set_irq_funcs(adev); jpeg_v4_0_5_set_irq_funcs(adev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment