diff options
| -rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/mc/base.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c index 37712a6df923..d8bb48f54c16 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c | |||
| @@ -30,7 +30,6 @@ nouveau_mc_intr(int irq, void *arg) | |||
| 30 | { | 30 | { |
| 31 | struct nouveau_mc *pmc = arg; | 31 | struct nouveau_mc *pmc = arg; |
| 32 | const struct nouveau_mc_intr *map = pmc->intr_map; | 32 | const struct nouveau_mc_intr *map = pmc->intr_map; |
| 33 | struct nouveau_device *device = nv_device(pmc); | ||
| 34 | struct nouveau_subdev *unit; | 33 | struct nouveau_subdev *unit; |
| 35 | u32 stat, intr; | 34 | u32 stat, intr; |
| 36 | 35 | ||
| @@ -54,8 +53,6 @@ nouveau_mc_intr(int irq, void *arg) | |||
| 54 | nv_error(pmc, "unknown intr 0x%08x\n", stat); | 53 | nv_error(pmc, "unknown intr 0x%08x\n", stat); |
| 55 | } | 54 | } |
| 56 | 55 | ||
| 57 | if (stat == IRQ_HANDLED) | ||
| 58 | pm_runtime_mark_last_busy(&device->pdev->dev); | ||
| 59 | return stat ? IRQ_HANDLED : IRQ_NONE; | 56 | return stat ? IRQ_HANDLED : IRQ_NONE; |
| 60 | } | 57 | } |
| 61 | 58 | ||
