forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'timers/posix-cpu-timers-for-tglx' of
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks into timers/core Frederic sayed: "Most of these patches have been hanging around for several month now, in -mmotm for a significant chunk. They already missed a few releases." Signed-off-by: Thomas Gleixner <[email protected]>
- Loading branch information
Showing
1,549 changed files
with
23,077 additions
and
10,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,27 @@ | ||
<title>Codec Interface</title> | ||
|
||
<note> | ||
<title>Suspended</title> | ||
<para>A V4L2 codec can compress, decompress, transform, or otherwise | ||
convert video data from one format into another format, in memory. Typically | ||
such devices are memory-to-memory devices (i.e. devices with the | ||
<constant>V4L2_CAP_VIDEO_M2M</constant> or <constant>V4L2_CAP_VIDEO_M2M_MPLANE</constant> | ||
capability set). | ||
</para> | ||
|
||
<para>This interface has been be suspended from the V4L2 API | ||
implemented in Linux 2.6 until we have more experience with codec | ||
device interfaces.</para> | ||
</note> | ||
<para>A memory-to-memory video node acts just like a normal video node, but it | ||
supports both output (sending frames from memory to the codec hardware) and | ||
capture (receiving the processed frames from the codec hardware into memory) | ||
stream I/O. An application will have to setup the stream | ||
I/O for both sides and finally call &VIDIOC-STREAMON; for both capture and output | ||
to start the codec.</para> | ||
|
||
<para>A V4L2 codec can compress, decompress, transform, or otherwise | ||
convert video data from one format into another format, in memory. | ||
Applications send data to be converted to the driver through a | ||
&func-write; call, and receive the converted data through a | ||
&func-read; call. For efficiency a driver may also support streaming | ||
I/O.</para> | ||
<para>Video compression codecs use the MPEG controls to setup their codec parameters | ||
(note that the MPEG controls actually support many more codecs than just MPEG). | ||
See <xref linkend="mpeg-controls"></xref>.</para> | ||
|
||
<para>[to do]</para> | ||
<para>Memory-to-memory devices can often be used as a shared resource: you can | ||
open the video node multiple times, each application setting up their own codec properties | ||
that are local to the file handle, and each can use it independently from the others. | ||
The driver will arbitrate access to the codec and reprogram it whenever another file | ||
handler gets access. This is different from the usual video node behavior where the video properties | ||
are global to the device (i.e. changing something through one file handle is visible | ||
through another file handle).</para> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/video/simple-framebuffer.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Simple Framebuffer | ||
|
||
A simple frame-buffer describes a raw memory region that may be rendered to, | ||
with the assumption that the display hardware has already been set up to scan | ||
out from that buffer. | ||
|
||
Required properties: | ||
- compatible: "simple-framebuffer" | ||
- reg: Should contain the location and size of the framebuffer memory. | ||
- width: The width of the framebuffer in pixels. | ||
- height: The height of the framebuffer in pixels. | ||
- stride: The number of bytes in each line of the framebuffer. | ||
- format: The format of the framebuffer surface. Valid values are: | ||
- r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b). | ||
|
||
Example: | ||
|
||
framebuffer { | ||
compatible = "simple-framebuffer"; | ||
reg = <0x1d385000 (1600 * 1200 * 2)>; | ||
width = <1600>; | ||
height = <1200>; | ||
stride = <(1600 * 2)>; | ||
format = "r5g6b5"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.