diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-02-10 17:54:02 +0530 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-02-13 22:14:48 -0800 |
commit | 410536f668a62d94603bc3287efaef3dcffb1226 (patch) | |
tree | e94fee806e291f73e423a887fb5d534c5464f742 /drivers/video/tegra/host/t114/t114.c | |
parent | 4cee1d17b01019cc122acf21604d4f01ac6f7474 (diff) |
video: tegra: host: hard-code syncpts for t114
- hard code syncpts for gr3d, gr2d and syncpt no. 17 for T114
- this is to maintain user space dependency on hard-coded syncpts
- syncpt no. 17 is wrongly used by some of the graphics tests which
require this syncpt to be reserved as client_managed syncpt
- keep this hard-coded part for t114 under #ifdef
CONFIG_ARCH_TEGRA_11x_SOC
Bug 1305024
Change-Id: I08eeb0acb6c85569f354c0233cc127362b4c0d8d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/365977
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/t114/t114.c')
-rw-r--r-- | drivers/video/tegra/host/t114/t114.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/t114/t114.c b/drivers/video/tegra/host/t114/t114.c index 8a3218f1da4c..607700b12377 100644 --- a/drivers/video/tegra/host/t114/t114.c +++ b/drivers/video/tegra/host/t114/t114.c @@ -98,6 +98,7 @@ static struct platform_device tegra_host1x02_device = { struct nvhost_device_data t11_gr3d_info = { .version = 3, .index = 1, + .syncpts = {NVSYNCPT_3D}, .waitbases = {NVWAITBASE_3D}, .modulemutexes = {NVMODMUTEX_3D}, .class = NV_GRAPHICS_3D_CLASS_ID, @@ -138,6 +139,7 @@ static struct platform_device tegra_gr3d03_device = { struct nvhost_device_data t11_gr2d_info = { .version = 2, .index = 2, + .syncpts = {NVSYNCPT_2D_0, NVSYNCPT_2D_1}, .waitbases = {NVWAITBASE_2D_0, NVWAITBASE_2D_1}, .modulemutexes = {NVMODMUTEX_2D_FULL, NVMODMUTEX_2D_SIMPLE, NVMODMUTEX_2D_SB_A, NVMODMUTEX_2D_SB_B}, |