video: tegra: host: gr3d: Separate EMC parameters
authorArto Merilainen <amerilainen@nvidia.com>
Tue, 24 Sep 2013 06:46:11 +0000 (09:46 +0300)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Tue, 1 Oct 2013 08:10:07 +0000 (13:10 +0530)
commitee1dde86fa7e37cb94c5476451e4d091dd247967
treeed145a8d6afab8834cce7eb4daf15d9dcb9f1a2a
parent395d154ab8828490184428ec6819c51f2f4f61d1
video: tegra: host: gr3d: Separate EMC parameters

EMC parameter calucation and usage was interwoven with gr3d
initialisation and clock scaling, however, we wish to use similar
approach in clock scaling on other devices.

This patch refactors gr3d devfreq device profile so that emc scaling
parameters can be estimated and used without using the actual gr3d
devfreq profile.

Bug 1374521

Change-Id: Ibf9a74556f3cb6734c3c3fb4b1939f6835c6e782
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/278231
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Tested-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 27276d9f8b56be9bc1c01f1980e4f86f9da3184b)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
drivers/video/tegra/host/gr3d/scale3d.c
drivers/video/tegra/host/gr3d/scale3d.h