]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Do an MMIO read on interrupts when not uisng MSIs
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 13 Jul 2011 06:28:22 +0000 (06:28 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 25 Jul 2011 11:16:25 +0000 (12:16 +0100)
commitee17f20e1085d882db5552c8e036330cb43b26d6
treedfbe75b52e4f7c8d5b8d12cd9a6433ea91bfe57f
parentfa109950740bcd2ca5101466611c9258b31837f0
drm/radeon: Do an MMIO read on interrupts when not uisng MSIs

When not using MSIs, there is no guarantee that DMA from the device
has been fully flushed to point where it's visible to the CPU when
taking an interrupt. To get this guarantee, we need to perform an
MMIO read from the device, which will flush all outstanding DMAs
from bridges between the device and the system.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c