drm/amdgpu/vcn: remove irq disabling in vcn 5 suspend
authorDavid (Ming Qiang) Wu <David.Wu3@amd.com>
Thu, 9 May 2024 17:40:10 +0000 (13:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 19:45:12 +0000 (15:45 -0400)
commit10fe1a79cd1bff3048e13120e93c02f8ecd05e9d
tree5ce7b24368a8a5e025ed2de6e83c11f52ca299f5
parentadb9de4dd207fb1264ea70b9eacab9f70ee4707a
drm/amdgpu/vcn: remove irq disabling in vcn 5 suspend

We do not directly enable/disable VCN IRQ in vcn 5.0.0.
And we do not handle the IRQ state as well. So the calls to
disable IRQ and set state are removed. This effectively gets
rid of the warining of
      "WARN_ON(!amdgpu_irq_enabled(adev, src, type))"
in amdgpu_irq_put().

Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c