From f6d1c62700ebfd7d123c7aa8d95a892e8f43de80 Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Tue, 5 Dec 2023 18:28:19 +0000
Subject: [PATCH 0762/1085] drm/vc4: Correct HVS muxing setup for the moplet

The moplet registers as VC4_ENCODER_TYPE_TXP1 and can be
fed from mux output 2 of HVS channel 1.

Correct the option which checked for VC4_ENCODER_TYPE_TXP0

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
 drivers/gpu/drm/vc4/vc4_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/vc4/vc4_kms.c
+++ b/drivers/gpu/drm/vc4/vc4_kms.c
@@ -359,7 +359,7 @@ static void vc6_hvs_pv_muxing_commit(str
 			mux = 0;
 			break;
 
-		case VC4_ENCODER_TYPE_TXP0:
+		case VC4_ENCODER_TYPE_TXP1:
 			mux = 2;
 			break;
 
