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

BUG: MaliGPUActiveCy declaration likely incorrect for G715 and G615 #81

Open
reubenscratton opened this issue Sep 3, 2024 · 1 comment
Assignees

Comments

@reubenscratton
Copy link

In the source file all_gpu_counters.cpp, line 11492, the MaliGPUActiveCy counter has been declared with the constant MaliGPUActive2Cy (note the '2').

This results in garbage counter values being returned for MaliGPUActiveCy on a Google Pixel 9 Pro (which has a G715 GPU).

Looks like same error affects G615 in same source file.

What is MaliGPUActive2Cy anyway? I cannot find any documentation for it.

@solidpixel
Copy link
Collaborator

solidpixel commented Nov 29, 2024

Hi Reuben,

There is a hardware errata on Mali-G715 series hardware for the usual MaliGPUActiveCy counter, so the MaliGPUActive2Cy version is a workaround that is used only on this hardware generation (but it doesn't count quite the same thing).

I'll see if we can iron this out in the code generator so that only the workaround counter is exposed, under the original name. It will still count a subtly different metric though.

@solidpixel solidpixel self-assigned this Nov 29, 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

No branches or pull requests

2 participants