Re: [RFC 4/4] accel/ivpu: Use GEM shmem helper for all buffers

2023-09-11 Thread Jeffrey Hugo
On 9/1/2023 10:48 AM, Stanislaw Gruszka wrote: From: Jacek Lawrynowicz Use struct drm_gem_shmem_object as a base for struct ivpu_bo. This cuts by 50% the buffer management code. Signed-off-by: Jacek Lawrynowicz Signed-off-by: Stanislaw Gruszka Reviewed-by: Jeffrey Hugo

[RFC 4/4] accel/ivpu: Use GEM shmem helper for all buffers

2023-09-01 Thread Stanislaw Gruszka
From: Jacek Lawrynowicz Use struct drm_gem_shmem_object as a base for struct ivpu_bo. This cuts by 50% the buffer management code. Signed-off-by: Jacek Lawrynowicz Signed-off-by: Stanislaw Gruszka --- drivers/accel/ivpu/Kconfig| 2 +- drivers/accel/ivpu/TODO | 1 - drivers/accel