video: tegra: host: Support linear EMC scaling
authorArto Merilainen <amerilainen@nvidia.com>
Wed, 25 Sep 2013 11:05:47 +0000 (14:05 +0300)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:33 +0000 (18:47 +0530)
commit904d3efc992e52d6d68b00ee4e73c92a3289fba2
tree81356f746f0439213890d6121c8e94228aa69161
parent805bab77ce64abeff2c93be0c62fdaae927b6f50
video: tegra: host: Support linear EMC scaling

Some units have strict linear relationship between unit clock and
required memory bandwidth, however, currently automatic EMC
relationship computation expects a non-linear relationship. This
patch adds a flag to nvhost device data to indicate if the
EMC should be scaled based using linear relationship.

Bug 1364804

Change-Id: I68fbb06de33fdeeb1c0e3c6b1db1f69c99e0e14e
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
(cherry picked from commit 9897a5854b24a48d0acace8e4371cdefa44253a4)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
drivers/video/tegra/host/gk20a/gk20a_scale.c
drivers/video/tegra/host/gr3d/scale3d.c
drivers/video/tegra/host/gr3d/scale3d.h
include/linux/nvhost.h