video: tegra: host: invalidate FDC before context save
authorNuno Subtil <nsubtil@nvidia.com>
Tue, 7 Aug 2012 05:11:01 +0000 (22:11 -0700)
committerSimone Willett <swillett@nvidia.com>
Fri, 10 Aug 2012 01:06:03 +0000 (18:06 -0700)
commita0e0764dd05daec75c9c45b2866a5e6fbe042352
tree7e6f05758fa0b12aa6655742b07e2e61fd28c037
parent7b3a327acb3a63fddc14f2b3ecd19a7ea8f41b3e
video: tegra: host: invalidate FDC before context save

Invalidate the FDC before submitting the context
save pushbuffer to ensure cache coherency across
both GPU cores.

Bug 1020291

Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/121945
(cherry picked from commit cef956d07ec717f4714f5101805bbe2f0f149e71)

Change-Id: I43ffee6a77122b4f2fe17f063dc6756c501e59c7
Reviewed-on: http://git-master/r/122323
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
drivers/video/tegra/host/gr3d/gr3d.h
drivers/video/tegra/host/gr3d/gr3d_t30.c