diff options
author | Adrián Larumbe <[email protected]> | 2023-11-25 20:52:03 +0000 |
---|---|---|
committer | Steven Price <[email protected]> | 2023-11-30 10:53:42 +0000 |
commit | 64111a0e22a9d4e0de7a5d04e7d5c21d0af4b900 (patch) | |
tree | 0be157fea5b84c929867e64d9564dbc7404d0a4e /scripts/generate_rust_analyzer.py | |
parent | 7701ce26c747322de1f1a87f8e32792582f33249 (diff) |
drm/panfrost: Fix incorrect updating of current device frequency
It was noticed when setting the Panfrost's DVFS device to the performant
governor, GPU frequency as reported by fdinfo had dropped to 0 permamently.
There are two separate issues causing this behaviour:
- Not initialising the device's current_frequency variable to its original
value during device probe().
- Updating said variable in Panfrost devfreq's get_dev_status() rather
than after the new OPP's frequency had been retrieved in target(), which
meant the old frequency would be assigned instead.
Signed-off-by: Adrián Larumbe <[email protected]>
Fixes: f11b0417eec2 ("drm/panfrost: Add fdinfo support GPU load metrics")
Reviewed-by: Steven Price <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions