misc: tegra-throughput: Use notifiers
authorArto Merilainen <amerilainen@nvidia.com>
Wed, 25 Sep 2013 12:39:34 +0000 (15:39 +0300)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:35 +0000 (18:47 +0530)
commitd76811dd1154b52a89d01eb05db79104ad6b75b3
tree5b8afab610aa06faf978842ec77886635260c4e5
parent78839ff969e81487689f66256da910793c1ee437
misc: tegra-throughput: Use notifiers

We used to deliver this information by calling directly a function
inside nvhost_pod. This is not suitable for our needs as we want
to be able to use the same governor with several different (graphics)
devices in the same system.

This patch modifies tegra-throughput to use notifier chain for
delivering information about changed throughput hint.

Bug 1364804

Change-Id: Ic71fbb684d8c5562d20ba76a5911fae2442d9c1f
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/279737
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
(cherry picked from commit acc9be5e07406ac90a9d05eb5682a2702f083aff)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
drivers/video/tegra/host/gr3d/pod_scaling.c