Re: [PATCH 00/12] v3d: Perfmon cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El mar, 09-07-2024 a las 17:34 +0100, Tvrtko Ursulin escribió:
> From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxx>
> 
> When we had to quickly deal with a tree build issue via merging
> 792d16b5375d ("drm/v3d: Move perfmon init completely into own unit"),
> we
> promised to follow up with a nicer solution.
> 
> As in the process of eliminating the hardcoded defines we have
> discovered a few
> issues in handling of corner cases and userspace input validation,
> the fix has
> turned into a larger series, but hopefully the end result is a
> justifiable
> cleanup.
> 

Thanks for going the extra mile with this :)

Patches 1 and 5-8 are:
Reviewed-by: Iago Toral Quiroga <itoral@xxxxxxxxxx>

Iago

> Tvrtko Ursulin (12):
>   drm/v3d: Prevent out of bounds access in performance query
> extensions
>   drm/v3d: Prefer get_user for scalar types
>   drm/v3d: Add some local variables in queries/extensions
>   drm/v3d: Align data types of internal and uapi counts
>   drm/v3d: Fix potential memory leak in the timestamp extension
>   drm/v3d: Fix potential memory leak in the performance extension
>   drm/v3d: Validate passed in drm syncobj handles in the timestamp
>     extension
>   drm/v3d: Validate passed in drm syncobj handles in the performance
>     extension
>   drm/v3d: Move part of copying of reset/copy performance extension
> to a
>     helper
>   drm/v3d: Size the kperfmon_ids array at runtime
>   drm/v3d: Do not use intermediate storage when copying performance
>     query results
>   drm/v3d: Move perfmon init completely into own unit
> 
>  drivers/gpu/drm/v3d/v3d_drv.c                 |   9 +-
>  drivers/gpu/drm/v3d/v3d_drv.h                 |  16 +-
>  drivers/gpu/drm/v3d/v3d_perfmon.c             |  44 +--
>  .../gpu/drm/v3d/v3d_performance_counters.h    |  16 +-
>  drivers/gpu/drm/v3d/v3d_sched.c               | 106 ++++---
>  drivers/gpu/drm/v3d/v3d_submit.c              | 285 ++++++++++------
> --
>  6 files changed, 281 insertions(+), 195 deletions(-)
> 





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux