]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/panthor: Handle errors returned by drm_sched_entity_init()
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 31 Oct 2025 16:03:17 +0000 (17:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:54:53 +0000 (13:54 +0100)
commit82484ee4f02f0f9b13930633ea063a21ca0933f9
tree4f7ec41e6fe521a93df48411691ba02af7b7c131
parente5b181c4ea852a6d3b9248c1a99b96c4d40466bb
drm/panthor: Handle errors returned by drm_sched_entity_init()

[ Upstream commit bb7939e332c64c4ef33974a0eae4f3841acfa8eb ]

In practice it's not going to fail because we're passing the current
sanity checks done by drm_sched_entity_init(), and that's the only
reason it would return an error, but better safe than sorry.

Fixes: de8548813824 ("drm/panthor: Add the scheduler logical block")
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patch.msgid.link/20251031160318.832427-1-boris.brezillon@collabora.com
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/panthor/panthor_sched.c