summaryrefslogtreecommitdiff
path: root/drivers/gpu/pvr
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 11:06:47 +0100
commitaa45919f29199aead88bc0f29cb56eb5b67269e7 (patch)
treea3c5a00fa454f371c3c55b79f943967285cbce55 /drivers/gpu/pvr
parent3e03f98dbeb7ba62569a78c976dda00a23001655 (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>
Diffstat (limited to 'drivers/gpu/pvr')
-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)