video_omap: fix docu markup

This commit is contained in:
Tobias Jakobi 2013-12-21 20:44:43 -06:00
parent cd38bd6159
commit 4ff1c6b1eb

View File

@ -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. 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: First we disable the overlay we want to use and the two displays:
<tt>echo -n 0 > overlay1/enabled
echo -n 0 > display0/enabled echo -n 0 > overlay1/enabled
echo -n 0 > display1/enabled</tt> echo -n 0 > display0/enabled
echo -n 0 > display1/enabled
Check that 'manager1' (name = tv) is connected to HDMI: Check that 'manager1' (name = tv) is connected to HDMI:
<tt>cat manager1/display:
hdmi</tt> cat manager1/display:
hdmi
The free scaling property mentioned above is not available on all overlays. Here 'overlay1' supports zero-cost scaling. The free scaling property mentioned above is not available on all overlays. Here 'overlay1' supports zero-cost scaling.
Now we connect 'overlay1' to 'manager1': Now we connect 'overlay1' to 'manager1':
<tt>echo -n tv > overlay1/manager</tt>
echo -n tv > overlay1/manager
Last but not least enable the overlay and the HDMI display: Last but not least enable the overlay and the HDMI display:
<tt>echo -n 1 > overlay1/enabled
echo -n 1 > display0/enabled</tt> echo -n 1 > overlay1/enabled
echo -n 1 > display0/enabled
## Configuration ## Configuration