mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
gpu: host1x: Support updating actmon watermark
Add support for updating actmon watermark thresholds so that actmon DFS can work properly. Add support for enabling or disabling watermark interrupts. Bug 3788919 Signed-off-by: Johnny Liu <johnliu@nvidia.com> Change-Id: Id1d0b744bc8a0a19fccbb3044d4267ae35cd5feb Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2897816 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d06443deae
commit
18b0b032d4
@@ -531,5 +531,12 @@ void host1x_actmon_update_client_rate(struct host1x_client *client,
|
||||
unsigned long rate,
|
||||
u32 *weight);
|
||||
void host1x_actmon_read_active_norm(struct host1x_client *client, unsigned long *usage);
|
||||
void host1x_actmon_update_active_wmark(struct host1x_client *client,
|
||||
u32 avg_upper_wmark,
|
||||
u32 avg_lower_wmark,
|
||||
u32 consec_upper_wmark,
|
||||
u32 consec_lower_wmark,
|
||||
bool upper_wmark_enabled,
|
||||
bool lower_wmark_enabled);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user