summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Diaz Prado <x0083741@ti.com>2011-05-31 09:25:15 +0100
committerAndy Green <andy.green@linaro.org>2011-05-31 09:25:15 +0100
commit33338625c712052c27f5ece15d85b533dc1c2440 (patch)
tree6f65a82eb494b2406801a583f2228efe5c33f950
parent044d8a2171a610df3f5a6c39c7f1ab1b28f0ac8a (diff)
OMAP4: SGX: UDD: Fix potential OCP DSS error when flushing buffers
This patch fixes sending an incorrect address to the DSS when the flushing buffers mechanism is triggered in the SGX display driver Change-Id: I9cb13d25fd5938ef69238c1d16871ac4ceab1687 Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
-rw-r--r--drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c
index ca9bf3eee78..0afff5460bd 100644
--- a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c
+++ b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c
@@ -178,10 +178,8 @@ static void FlushInternalSyncQueue(OMAPLFB_SWAPCHAIN *psSwapChain)
/* Flip the buffer if it hasn't been flipped */
if(psFlipItem->bFlipped == OMAP_FALSE)
- {
OMAPLFBFlip(psSwapChain,
- (unsigned long)psFlipItem->sSysAddr);
- }
+ (unsigned long)psFlipItem->sSysAddr->uiAddr);
/* If the command didn't complete, assume it did */
if(psFlipItem->bCmdCompleted == OMAP_FALSE)