summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2013-07-29 16:10:09 +0300
committerAlon Levy <alevy@redhat.com>2013-07-30 16:30:08 +0300
commit49feefa95d3595f04355c4aed53ec5bf26551046 (patch)
tree802107fd890bfa9c69457fecfd92fee2930f330a
parent06e3a524af721ba5fdc12bbf58c0b6749103319d (diff)
miniport: halve QXL_IO_UPDATE_IRQ calls
QXL_IO_UPDATE_IRQ causes the device to check int_mask and int_pending and issue an interrupt if that is required. Since we just zeroed int_mask, no interrupt will ever be issued. Since we issue another QXL_IO_UPDATE_IRQ in the interrupt routine DPC right after resetting int_mask any pending interrupt will be raised then. RHBZ: 856246
-rw-r--r--xddm/miniport/qxl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xddm/miniport/qxl.c b/xddm/miniport/qxl.c
index f5d6b48..ce37f07 100644
--- a/xddm/miniport/qxl.c
+++ b/xddm/miniport/qxl.c
@@ -1321,7 +1321,6 @@ BOOLEAN Interrupt(PVOID dev_extension)
return FALSE;
}
dev_ext->ram_header->int_mask = 0;
- VideoPortWritePortUchar((PUCHAR)dev_ext->io_base + QXL_IO_UPDATE_IRQ, 0);
if (!VideoPortQueueDpc(dev_extension, InterruptCallback, NULL)) {
VideoPortLogError(dev_extension, NULL, E_UNEXPECTED, QXLERR_INT_DELIVERY);