[PATCH] media: venus: Update to bitrate based clock scaling

From: Aniket Masule
Date: Wed Jun 26 2019 - 04:23:49 EST


This patch introduces bitrate based clock scaling. Also, clock scaling is now
triggered before buffer being queued to the device. This checks for frequency
requirement throughout the session and updates clock with correct frequency only
if requirement is changed.

Aniket Masule (1):
media: venus: Update to bitrate based clock scaling

drivers/media/platform/qcom/venus/core.c | 16 +++++------
drivers/media/platform/qcom/venus/core.h | 1 +
drivers/media/platform/qcom/venus/helpers.c | 43 +++++++++++++++++++++++++----
3 files changed, 47 insertions(+), 13 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project