Thanks for your comment. dev_pm_genpd_set_hwmode() has a check function.If only the clock patch or the venus driver patch is merged, the venusNO! This will not work, as both -media and arm-soc branches will be
driver will not work properly. Although it does not affect other system
functions, it is still recommended to wait until both the clock patch
and the venus driver patch are reviewed and passed, and then merge them
into the same release by their respective maintainers.
broken. Please read about the git-bisect before making such suggestions.
A proper plan would be:
- implement a function which allows one to check that hwmode is
supported by the genpd driver
- Change Venus to use hwmode for those platforms if it is enabled
- Enable HWMODE support in the clock driver. Clearly identify that this
patch should be merged together and after Venus changes if all
maintainers agree with that
- Clean up now-dead code.
Doing it in any other way would result in the broken kernels.