From 78d7e0e5b8e5d662c3e4bdceadbd84c913e69614 Mon Sep 17 00:00:00 2001
From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Date: Mon, 1 Oct 2007 10:46:05 +0900
Subject: [PATCH] video: pvr2fb: Add TV (RGB) support to Dreamcast PVR driver.

Add support for RGB output to the Dreamcast PVR2 frame buffer driver.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 drivers/video/pvr2fb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c
index 13de07f63c2b..06805c9b237b 100644
--- a/drivers/video/pvr2fb.c
+++ b/drivers/video/pvr2fb.c
@@ -667,6 +667,8 @@ static int pvr2_init_cable(void)
 	  related */
 	if (cable_type == CT_COMPOSITE)
 		fb_writel(3 << 8, VOUTC);
+	else if (cable_type == CT_RGB)
+		fb_writel(1 << 9, VOUTC);
 	else
 		fb_writel(0, VOUTC);
 
-- 
GitLab