]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/v3d: Remove `v3d->cpu_job`
authorMaíra Canal <mcanal@igalia.com>
Mon, 13 Jan 2025 15:47:41 +0000 (12:47 -0300)
committerMaíra Canal <mcanal@igalia.com>
Tue, 14 Jan 2025 18:23:24 +0000 (15:23 -0300)
commitdc4afc0de9654f88676d77094a38f9451d519011
tree3a7fcf9d3f012e5802e0a919dcaef56583f23b4c
parentc5e3306a424b52e38ad2c28c7f3399fcd03e383d
drm/v3d: Remove `v3d->cpu_job`

CPU jobs, like Cache Clean jobs, execute synchronously once the DRM
scheduler starts running them. Consequently, a global `v3d->cpu_job`
variable is unnecessary, as everything is managed within the
`v3d_cpu_job_run()` function.

This commit removes the `v3d->cpu_job` pointer, as it is not needed.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113154741.67520-2-mcanal@igalia.com
drivers/gpu/drm/v3d/v3d_drv.h
drivers/gpu/drm/v3d/v3d_sched.c