aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-11-14 13:25:41 +0000
committerAlex Deucher <[email protected]>2016-11-23 20:08:43 +0000
commit3b1c9036a678e917c2df6ed12cb96681b7dd92b4 (patch)
treea283a2157b391777620476eb750eb2147227a2a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentamdgpu: Wrap dev_err() calls on vm faults with printk_ratelimit() (diff)
downloadkernel-3b1c9036a678e917c2df6ed12cb96681b7dd92b4.tar.gz
kernel-3b1c9036a678e917c2df6ed12cb96681b7dd92b4.zip
drm/amdgpu: remove amdgpu_irq_get_delayed
Not used any more. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
index 9fa809876339..fb902932f571 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
@@ -424,15 +424,6 @@ int amdgpu_irq_get(struct amdgpu_device *adev, struct amdgpu_irq_src *src,
return 0;
}
-bool amdgpu_irq_get_delayed(struct amdgpu_device *adev,
- struct amdgpu_irq_src *src,
- unsigned type)
-{
- if ((type >= src->num_types) || !src->enabled_types)
- return false;
- return atomic_inc_return(&src->enabled_types[type]) == 1;
-}
-
/**
* amdgpu_irq_put - disable interrupt
*