On Tue, Sep 15, 2026 at 8:51 AM Hawking Zhang <[email protected]> wrote: > > This programming is unnecessary and can be removed. > > Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c > b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c > index d7effa43c0fa..a2f73a71f11f 100644 > --- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c > +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c > @@ -2377,9 +2377,6 @@ static int gfx_v12_1_xcc_kcq_resume(struct > amdgpu_device *adev, > struct amdgpu_ring *ring = NULL; > int r = 0, i; > > - if (!amdgpu_async_gfx_ring) > - gfx_v12_1_xcc_cp_compute_enable(adev, true, xcc_id); > - > for (i = 0; i < adev->gfx.num_compute_rings; i++) { > ring = &adev->gfx.compute_ring[i + xcc_id * > adev->gfx.num_compute_rings]; > > -- > 2.17.1 >
