diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2025-05-01 15:55:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-27 11:13:17 +0100 |
commit | 6879de7134d1810b053360ec4dcf8d43bb92c249 (patch) | |
tree | eb09fb405ace98e7faad0219daf4461c492a8c32 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
parent | 3e9352af5b920ae937a0c3a278094cba22673696 (diff) |
media: rkvdec: Initialize the m2m context before the controls
[ Upstream commit d43d7db3c8a1868dcbc6cb8de90a3cdf309d6cbb ]
Setting up the control handler calls into .s_ctrl ops. While validating
the controls the ops may need to access some of the context state, which
could lead to a crash if not properly initialized.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions