diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2013-02-11 22:47:04 +0200 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2013-05-08 23:36:50 -0700 |
commit | 66f7e2e8f0336b9aef6daf82742071ca89e58d9a (patch) | |
tree | aaff021ae14c50d4118468dbcaa7e4456da4049a /include | |
parent | 411c7d962b5cfc99e7c1e701e5f5cfca6c9d2334 (diff) |
video: tegra: host: host1x clock scaling for vi
Implement host1x clock scaling for vi driver. As actmon relies on
host1x clocks, we need to readjust the actmon history when host1x
clock is changed.
Bug 1278248
Change-Id: Ibcd3104c5fb674268d5bd54684874c2bd534a4b1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/223066
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvhost.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index c1b60ac3dbcc..c07445edd3ea 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -3,7 +3,7 @@ * * Tegra graphics host driver * - * Copyright (c) 2009-2012, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2009-2013, NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -166,6 +166,9 @@ struct nvhost_device_data { struct nvhost_hwctx *hwctx, u32 offset, u32 *value); + + /* Callback when a clock is changed */ + void (*update_clk)(struct platform_device *dev); }; struct nvhost_devfreq_ext_stat { |