mbox series

[v2,0/2] drm/panthor: Fix support for sync-only jobs

Message ID 20240703071640.231278-1-boris.brezillon@collabora.com (mailing list archive)
Headers show
Series drm/panthor: Fix support for sync-only jobs | expand

Message

Boris Brezillon July 3, 2024, 7:16 a.m. UTC
Hello,

Here are two relatively trivial fixes for bugs found while woking
on the Vulkan implementation, where NULL CS are needed to implement
VkQueue synchronization.

Regards,

Boris

v2:
- Fix a UAF bug in the second patch

Boris Brezillon (2):
  drm/panthor: Don't check the array stride on empty uobj arrays
  drm/panthor: Fix sync-only jobs

 drivers/gpu/drm/panthor/panthor_drv.c   |  6 ++--
 drivers/gpu/drm/panthor/panthor_sched.c | 44 ++++++++++++++++++-------
 include/uapi/drm/panthor_drm.h          |  5 +++
 3 files changed, 41 insertions(+), 14 deletions(-)

Comments

Boris Brezillon July 3, 2024, 7:47 a.m. UTC | #1
On Wed,  3 Jul 2024 09:16:38 +0200
Boris Brezillon <boris.brezillon@collabora.com> wrote:

> Hello,
> 
> Here are two relatively trivial fixes for bugs found while woking
> on the Vulkan implementation, where NULL CS are needed to implement
> VkQueue synchronization.
> 
> Regards,
> 
> Boris
> 
> v2:
> - Fix a UAF bug in the second patch
> 
> Boris Brezillon (2):
>   drm/panthor: Don't check the array stride on empty uobj arrays
>   drm/panthor: Fix sync-only jobs

Queued to drm-misc-next.

> 
>  drivers/gpu/drm/panthor/panthor_drv.c   |  6 ++--
>  drivers/gpu/drm/panthor/panthor_sched.c | 44 ++++++++++++++++++-------
>  include/uapi/drm/panthor_drm.h          |  5 +++
>  3 files changed, 41 insertions(+), 14 deletions(-)
>