]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: Inform EDP in prescale
authorArto Merilainen <amerilainen@nvidia.com>
Sat, 1 Feb 2014 10:14:03 +0000 (12:14 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Tue, 4 Feb 2014 13:45:10 +0000 (05:45 -0800)
commitaa3c1c9dff7a5366fd47f27ce1c99e4672f4bc53
treeb41c20c1656760012af9a5a90eebdbc874e75050
parente7d685d1c0b32c23d7538f6d8606b878da625673
video: tegra: host: Inform EDP in prescale

This far EDP was informed about changed load as part of postscale
callback when we changed the frequency. The theory behind this idea
has been that we need to inform EDP due to changed constraint.

However, we have seen cases where updating load information for EDP
would be beneficial more often. This patch modifies the call sequence
so that we inform EDP each time we submit work to GPU.

Bug 1441874

Change-Id: I07a804e0a07ea7efc6024a273437c33a02a8939d
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/362631
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/gk20a/gk20a_scale.c
drivers/video/tegra/host/gr3d/scale3d.c
drivers/video/tegra/host/nvhost_scale.c