Re: [PATCH v2 1/2] clk: qcom: videocc: Use HW_CTRL_TRIGGER flag for video GDSC's

From: Renjiang Han
Date: Tue Jan 14 2025 - 00:44:09 EST



On 1/8/2025 12:41 PM, Bjorn Andersson wrote:
On Thu, Jan 02, 2025 at 12:06:14PM +0800, Renjiang Han wrote:
On 12/26/2024 11:54 AM, Bjorn Andersson wrote:
The video driver will be using the newly introduced
dev_pm_genpd_set_hwmode() API to switch the video GDSC to HW and SW
control modes at runtime.
"Will be using", does that imply then that if this patch is merged
before (or without the venus patch) something unexpected will happen?

Please clarify how you expect this to be merged, or clarify in the
commit message that ordering is not of any concern.

Regards,
Bjorn
 Thanks for your comment. This patch series is to make the video driver
 to use dev_pm_genpd_set_hwmode() to switch GDSC mode. This patch and
 the venus driver patch need to be merged at the same time. Otherwise,
 the video will not work properly on these platforms.

The two patches are handled by different maintainers, of different
subsystems and as such would not be expected to be merged together ever.

If you have such requirements, it need to be made very clear to the
maintainers that they will have to synchronize the effort.


You're expected to always keep the tree "bisectable", i.e. the tree
should function after each commit in the git history. Please clarify
the best possible order here, and if the changes truly need to be merged
in some specific order let's see if we can get Maruo's Acked-by and I
could merge the pair through the clock tree.

Regards,
Bjorn
 Thank you for your reminder. As we synced offline, this patch series
 needs to be merged into the same release. If only the clock patch or
 the venus driver patch is merged, it will cause the venus driver to
 not work properly, but will not affect other functions of the system.

--
Best Regards,
Renjiang