Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMLUtils: support 3.14 "Nougat" kernel fractional rates #13130

Merged
merged 1 commit into from Dec 17, 2017

Conversation

@kszaq
Copy link
Contributor

commented Dec 3, 2017

Previous Amlogic kernels set fractional frame rate automatically depending on video frame rate. 3.14 kernel for Nougat has a special sysfs that has to be set before output frame rate is set.

This patch adds "frac_rate_policy" handling while keeping backwards compatibility with previous kernels.

How Has This Been Tested?

LibreELEC community builds with Kodi v16, v17 and current master.
OSMC for Vero 4K with Kodi v17 and current master.

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the Code guidelines of this project
  • My change requires a change to the documentation, either Doxygen or wiki
  • I have updated the documentation accordingly
  • I have read the CONTRIBUTING document
  • I have added tests to cover my change
  • All new and existing tests passed
Previous Amlogic kernels set fractional frame rate automatically
depending on video frame rate. 3.14 kernel for Nougat has a special
sysfs that has to be set before output frame rate is set.

This patch adds "frac_rate_policy" handling while keeping backwards
compatibility with previous kernels.
@MartijnKaijser MartijnKaijser requested a review from peak3d Dec 17, 2017
@peak3d
peak3d approved these changes Dec 17, 2017
@MartijnKaijser MartijnKaijser added this to the L 18.0-alpha1 milestone Dec 17, 2017
@MartijnKaijser MartijnKaijser merged commit fe2e514 into xbmc:master Dec 17, 2017
1 check failed
1 check failed
default Sorry, building this PR failed. Please check the logs for the errors.
Details
@kszaq kszaq deleted the kszaq:aml_frac_rate_nougat branch Dec 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.