summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/t114/t114.c
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2013-02-02 10:48:40 +0200
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:00:04 -0700
commite510354e0aaa760fe4ed088cc908fd84ffdd392f (patch)
tree50e9f32e1d23b63ae6e506ecfd42827d68e9ca2d /drivers/video/tegra/host/t114/t114.c
parentcb326e200a58d764a7799f82d34a826e3d619970 (diff)
video: tegra: host: Init 3d scaling on probe
sysfs control nodes are created during 3d scaling initialization. This change reorders 3d scaling initialization to occur during device probe so that sysfs nodes are always available. Bug 1223355 Bug 1229151 Change-Id: I626f18c5cd409050e51f51dacfd6b36bfbcf788c Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/196736 (cherry picked from commit 5aad1f18b8d0b725e3a96bd062a565abdb5c15dc) Reviewed-on: http://git-master/r/201782 Reviewed-by: Automatic_Commit_Validation_User 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.c2
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 dd345472ef91..1412707eef09 100644
--- a/drivers/video/tegra/host/t114/t114.c
+++ b/drivers/video/tegra/host/t114/t114.c
@@ -139,6 +139,8 @@ struct nvhost_device_data t11_gr3d_info = {
.suspend_ndev = nvhost_scale3d_suspend,
.init = nvhost_gr3d_t114_init,
.deinit = nvhost_gr3d_t114_deinit,
+ .scaling_init = nvhost_scale3d_actmon_init,
+ .scaling_deinit = nvhost_scale3d_actmon_deinit,
.prepare_poweroff = nvhost_gr3d_t114_prepare_power_off,
.finalize_poweron = nvhost_gr3d_t114_finalize_power_on,
.alloc_hwctx_handler = nvhost_gr3d_t114_ctxhandler_init,