drm/panthor: add DRM fdinfo support
Drawing from the FW-calculated values in a previous commit, we can increase the numbers for an open file by collecting them from finished jobs when updating their group synchronisation objects. Display of fdinfo key-value pairs is governed by a bitmask that is by default unset in the present commit, and supporting manual toggle of it will be the matter of a later commit. Signed-off-by:Adrián Larumbe <adrian.larumbe@collabora.com> Reviewed-by:
Steven Price <steven.price@arm.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240923230912.2207320-4-adrian.larumbe@collabora.com
Showing
- drivers/gpu/drm/panthor/panthor_device.h 8 additions, 0 deletionsdrivers/gpu/drm/panthor/panthor_device.h
- drivers/gpu/drm/panthor/panthor_drv.c 34 additions, 0 deletionsdrivers/gpu/drm/panthor/panthor_drv.c
- drivers/gpu/drm/panthor/panthor_sched.c 53 additions, 0 deletionsdrivers/gpu/drm/panthor/panthor_sched.c
- drivers/gpu/drm/panthor/panthor_sched.h 2 additions, 0 deletionsdrivers/gpu/drm/panthor/panthor_sched.h
Loading