[0/2] Panfrost devfreq and GEM status fixes

Message ID 20231125205438.375407-1-adrian.larumbe@collabora.com
Headers
Series Panfrost devfreq and GEM status fixes |

Message

Adrián Larumbe Nov. 25, 2023, 8:52 p.m. UTC
  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
  

Comments

Steven Price Nov. 30, 2023, 11:29 a.m. UTC | #1
On 25/11/2023 20:52, Adrián Larumbe wrote:
> 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

Pushed to drm-misc-fixes

Thanks,

Steve