Re: [PATCH v2 2/2] drm/panthor: Fix outdated function documentation
From: Steven Price
Date: Thu Apr 09 2026 - 05:28:00 EST
On 08/04/2026 20:12, Adrián Larumbe wrote:
> 'vm' is no longer allowed to be NULL.
>
> Signed-off-by: Adrián Larumbe <adrian.larumbe@xxxxxxxxxxxxx>
> Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
Reviewed-by: Steven Price <steven.price@xxxxxxx>
And for completeness:
Fixes: 8a1cc07578bf ("drm/panthor: Add GEM logical block")
Thanks,
Steve
> ---
> drivers/gpu/drm/panthor/panthor_gem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panthor/panthor_gem.c b/drivers/gpu/drm/panthor/panthor_gem.c
> index 69cef05b6ef7..13295d7a593d 100644
> --- a/drivers/gpu/drm/panthor/panthor_gem.c
> +++ b/drivers/gpu/drm/panthor/panthor_gem.c
> @@ -1264,7 +1264,7 @@ void panthor_kernel_bo_destroy(struct panthor_kernel_bo *bo)
> /**
> * panthor_kernel_bo_create() - Create and map a GEM object to a VM
> * @ptdev: Device.
> - * @vm: VM to map the GEM to. If NULL, the kernel object is not GPU mapped.
> + * @vm: VM to map the GEM to.
> * @size: Size of the buffer object.
> * @bo_flags: Combination of drm_panthor_bo_flags flags.
> * @vm_map_flags: Combination of drm_panthor_vm_bind_op_flags (only those