summaryrefslogtreecommitdiff
path: root/drivers/video/pvr2fb.c
diff options
context:
space:
mode:
authorAdrian McMenamin <adrian@mcmen.demon.co.uk>2007-10-01 10:46:05 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-10-01 10:46:05 +0900
commit78d7e0e5b8e5d662c3e4bdceadbd84c913e69614 (patch)
treebb61ceebae04116c2fd0126e7d3d1c9c1685fd91 /drivers/video/pvr2fb.c
parent836624619b98535079053920a29a7e474ac17cbc (diff)
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>
Diffstat (limited to 'drivers/video/pvr2fb.c')
-rw-r--r--drivers/video/pvr2fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c
index 13de07f63c2..06805c9b237 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);