On 7/1/26 18:17, Timur Kristóf wrote: > When there are a lot of retry faults happening, the soft IH ring > can fill up really quickly and possibly overflow. PAGE_SIZE was > too small, use IH_SW_RING_SIZE to match what other GPU generations > are doing. > > Signed-off-by: Timur Kristóf <[email protected]> > Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Christian König <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/ih_v6_1.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/ih_v6_1.c > b/drivers/gpu/drm/amd/amdgpu/ih_v6_1.c > index 9dbc20131410..f6fdb3a950e0 100644 > --- a/drivers/gpu/drm/amd/amdgpu/ih_v6_1.c > +++ b/drivers/gpu/drm/amd/amdgpu/ih_v6_1.c > @@ -590,7 +590,7 @@ static int ih_v6_1_sw_init(struct amdgpu_ip_block > *ip_block) > /* initialize ih control register offset */ > ih_v6_1_init_register_offset(adev); > > - r = amdgpu_ih_ring_init(adev, &adev->irq.ih_soft, PAGE_SIZE, true); > + r = amdgpu_ih_ring_init(adev, &adev->irq.ih_soft, IH_SW_RING_SIZE, > true); > if (r) > return r; >
