summaryrefslogtreecommitdiff
path: root/drivers/misc/tegra-throughput.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/tegra-throughput.c')
-rw-r--r--drivers/misc/tegra-throughput.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/tegra-throughput.c b/drivers/misc/tegra-throughput.c
index c909a81d0882..b2375d2913bf 100644
--- a/drivers/misc/tegra-throughput.c
+++ b/drivers/misc/tegra-throughput.c
@@ -25,6 +25,7 @@
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/throughput_ioctl.h>
+#include <linux/nvhost.h>
#include <mach/dc.h>
#define DEFAULT_SYNC_RATE 60000 /* 60 Hz */
@@ -60,6 +61,7 @@ static int throughput_flip_notifier(struct notifier_block *nb,
((int) target_frame_time * 100)/last_frame_time;
/* notify throughput hint clients here */
+ nvhost_scale3d_set_throughput_hint(throughput_hint);
}
last_flip = now;
}