diff options
author | Dave Stevenson <dave.stevenson@raspberrypi.com> | 2024-06-21 16:20:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:36 +0100 |
commit | c68b874c06249f2b7717f521687c64b1d4968251 (patch) | |
tree | b01332408e425662d0a455530354b03f28b6d383 /drivers/gpu/drm/omapdrm/omap_gem.c | |
parent | e9e836ddad74fe41998d2473b909c675a2357226 (diff) |
drm/vc4: hvs: Correct logic on stopping an HVS channel
[ Upstream commit 7ab6512e7942889c0962588355cb92424a690be6 ]
When factoring out __vc4_hvs_stop_channel, the logic got inverted from
if (condition)
// stop channel
to
if (condition)
goto out
//stop channel
out:
and also changed the exact register writes used to stop the channel.
Correct the logic so that the channel is actually stopped, and revert
to the original register writes.
Fixes: 6d01a106b4c8 ("drm/vc4: crtc: Move HVS init and close to a function")
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240621152055.4180873-32-dave.stevenson@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions