Skip to content
Snippets Groups Projects
Commit 2a1c88f7 authored by Maíra Canal's avatar Maíra Canal Committed by Greg Kroah-Hartman
Browse files

drm/v3d: Ensure job pointer is set to NULL after job completion


[ Upstream commit e4b5ccd3 ]

After a job completes, the corresponding pointer in the device must
be set to NULL. Failing to do so triggers a warning when unloading
the driver, as it appears the job is still active. To prevent this,
assign the job pointer to NULL after completing the job, indicating
the job has finished.

Fixes: 14d1d190 ("drm/v3d: Remove the bad signaled() implementation.")
Signed-off-by: default avatarMaíra Canal <mcanal@igalia.com>
Reviewed-by: default avatarJose Maria Casanova Crespo <jmcasanova@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113154741.67520-1-mcanal@igalia.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent efc92a26
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment