]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vc4: txp: Properly set the possible_crtcs mask
authorMaxime Ripard <maxime@cerno.tech>
Fri, 7 May 2021 15:05:04 +0000 (17:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 08:01:15 +0000 (10:01 +0200)
commitd6bd53dc18562d74a1266319e3242f23cbc8f92a
tree67804167f92736f416351f78406dd34fc8077ea6
parent4557db52b5032c4a92a9fb9e221f907c70019d56
drm/vc4: txp: Properly set the possible_crtcs mask

commit bf6de8e61509f3c957d7f75f017b18d40a18a950 upstream.

The current code does a binary OR on the possible_crtcs variable of the
TXP encoder, while we want to set it to that value instead.

Cc: <stable@vger.kernel.org> # v5.9+
Fixes: 39fcb2808376 ("drm/vc4: txp: Turn the TXP into a CRTC of its own")
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210507150515.257424-2-maxime@cerno.tech
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vc4/vc4_txp.c