[PATCH 0/2] Panfrost devfreq and GEM status fixes

From: Adrián Larumbe
Date: Sat Nov 25 2023 - 15:55:45 EST


During recent development of the Mali CSF GPU Panthor driver, a user
noticed that GPU frequency values as reported by fdinfo were
incorrect. This was traced back to incorrect handling of frequency value
updates. The same problem was seen in Panfrost.

Also one should consider GEM objects from a dma-buf import as being
resident in system memory, so that this can be reflected on fdinfo.

Adrián Larumbe (2):
drm/panfrost: Consider dma-buf imported objects as resident
drm/panfrost: Fix incorrect updating of current device frequency

drivers/gpu/drm/panfrost/panfrost_devfreq.c | 17 +++++++++++++++--
drivers/gpu/drm/panfrost/panfrost_gem.c | 2 +-
2 files changed, 16 insertions(+), 3 deletions(-)


base-commit: 38f922a563aac3148ac73e73689805917f034cb5
--
2.42.0