From 4ff1c6b1eb14bccabba3cdf3623d25dc159d6581 Mon Sep 17 00:00:00 2001 From: Tobias Jakobi Date: Sat, 21 Dec 2013 20:44:43 -0600 Subject: [PATCH] video_omap: fix docu markup --- README-OMAP.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README-OMAP.md b/README-OMAP.md index 1d7fecf681..3f2f291e3e 100644 --- a/README-OMAP.md +++ b/README-OMAP.md @@ -9,22 +9,26 @@ The OMAP display hardware provides free scaling to native screen dimensions, usi The DSS is the underlying layer, which manages the OMAP display hardware. Through DSS we can setup which framebuffer device outputs to which display device. For example there are three framebuffer devices (fb0, fb1 and fb2) on the Pandaboard, each one connected to a 'overlay' device. The DSS controls are exported in '/sys/devices/platform/omapdss'. Here we configure fb1 to connect to our HDMI display connected to the board. First we disable the overlay we want to use and the two displays: -echo -n 0 > overlay1/enabled -echo -n 0 > display0/enabled -echo -n 0 > display1/enabled + + echo -n 0 > overlay1/enabled + echo -n 0 > display0/enabled + echo -n 0 > display1/enabled Check that 'manager1' (name = tv) is connected to HDMI: -cat manager1/display: -hdmi + + cat manager1/display: + hdmi The free scaling property mentioned above is not available on all overlays. Here 'overlay1' supports zero-cost scaling. Now we connect 'overlay1' to 'manager1': -echo -n tv > overlay1/manager + + echo -n tv > overlay1/manager Last but not least enable the overlay and the HDMI display: -echo -n 1 > overlay1/enabled -echo -n 1 > display0/enabled + + echo -n 1 > overlay1/enabled + echo -n 1 > display0/enabled ## Configuration