aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2025-08-04 07:32:44 +0000
committerMaarten Lankhorst <[email protected]>2025-08-04 07:34:14 +0000
commit220994d61cebfc04f071d69049127657c7e8191b (patch)
tree7b04783d6d848d29564e70dd1e2b06cfb6bf9017 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/bridge: fix OF node leak (diff)
parentMerge tag 'drm-xe-next-fixes-2025-07-31' of https://gitlab.freedesktop.org/dr... (diff)
downloadkernel-220994d61cebfc04f071d69049127657c7e8191b.tar.gz
kernel-220994d61cebfc04f071d69049127657c7e8191b.zip
Merge remote-tracking branch 'drm/drm-next' into drm-misc-next-fixes
Seems we missed one drm-misc-next pull-request in drm-misc-next-fixes. This is required to pull in 5d156a9c3d5e ("drm/bridge: Pass down connector to drm bridge detect hook") and update its docs. Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
index 183fa33c2434..8112ffc85995 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
@@ -624,7 +624,7 @@ int amdgpu_irq_put(struct amdgpu_device *adev, struct amdgpu_irq_src *src,
unsigned int type)
{
/* When the threshold is reached,the interrupt source may not be enabled.return -EINVAL */
- if (amdgpu_ras_is_rma(adev))
+ if (amdgpu_ras_is_rma(adev) && !amdgpu_irq_enabled(adev, src, type))
return -EINVAL;
if (!adev->irq.installed)