summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2012-06-26 01:27:58 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-06-28 03:53:41 -0700
commit97c7c67dd39bb1f4a7ecc1be86f748dede33e8f0 (patch)
tree8eb3273e57a707c70348326c59d9495635071730 /drivers/video/tegra/dc
parent8192e9996b7a32b8aef49f18b8d72cdc43b71ee3 (diff)
video: tegra: dc: Fix the check of dirty window.
Change-Id: I6584c856356d6be123a66731bde414e4925ffe07 Reviewed-on: http://git-master/r/111184 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc')
-rw-r--r--drivers/video/tegra/dc/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index 39470e1..b79a659 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -1993,7 +1993,7 @@ static bool tegra_dc_windows_are_dirty(struct tegra_dc *dc)
u32 val;
val = tegra_dc_readl(dc, DC_CMD_STATE_CONTROL);
- if (val & (WIN_A_UPDATE | WIN_B_UPDATE | WIN_C_UPDATE))
+ if (val & (WIN_A_ACT_REQ | WIN_B_ACT_REQ | WIN_C_ACT_REQ))
return true;
#endif
return false;