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

drm/v3d: Correct clock settng calls to new APIs #6525

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

popcornmix
Copy link
Collaborator

There was a report that 6.12 kernel has lower benchmark scores than 6.6.

I can confirm, and found it started with 6.8 kernel which moved some code into a new file (v3d_submit.c) and in two places the change to the clock api were missed.

The effect of the bug is the v3d clock sometimes
unwantedly drops to a lower rate.

With this patch the benchmark scores are good again.

Fixes: 8696303

There was a report that 6.12 kernel has lower benchmark
scores than 6.6.

I can confirm, and found it started with 6.8 kernel
which moved some code into a new file (v3d_submit.c)
and in two places the change to the clock api were missed.

The effect of the bug is the v3d clock sometimes
unwantedly drops to a lower rate.

With this patch the benchmark scores are good again.

Fixes: 8696303

Signed-off-by: Dom Cobley <[email protected]>
@popcornmix
Copy link
Collaborator Author

This was original bug report.

@6by9
Copy link
Contributor

6by9 commented Dec 9, 2024

Is this only a downstream patch? I'm not sure why this hasn't been upstreamed as all the clock APIs have been.

@popcornmix
Copy link
Collaborator Author

Yes, downstream only. Upstream doesn't reduce clock when idle.

@pelwell pelwell merged commit 1348250 into raspberrypi:rpi-6.12.y Dec 9, 2024
11 of 12 checks passed
@popcornmix popcornmix deleted the v3d_clk_min branch December 10, 2024 10:05
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Dec 10, 2024
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants