Re: [PATCH v3 4/4] venus: put dummy vote on video-mem path after last session release
From: Stephen Boyd
Date: Thu Sep 24 2020 - 03:54:50 EST
Quoting Mansur Alisha Shaik (2020-09-23 23:51:06)
> As per current implementation, video driver is unvoting "videom-mem" path
> for last video session during vdec_session_release().
> While video playback when we try to suspend device, we see video clock
> warnings since votes are already removed during vdec_session_release().
>
> corrected this by putting dummy vote on "video-mem" after last video
> session release and unvoting it during suspend.
>
> Fixes: 7482a983d ("media: venus: redesign clocks and pm domains control")
> Signed-off-by: Mansur Alisha Shaik <mansur@xxxxxxxxxxxxxx>
> ---
Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>