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 07:44:57 +0000 (09:44 +0200)
commit293e520d2043533647700c3240554b1fbf77ee59
treea29bf96ffe92474ffdeca77b03d621cffe2ae57e
parent0d50d93d05d6571347f3ab9d28d0b80e5d142d81
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