<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/video, branch tegra-12r8-early</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>video: tegra: Implement EDID query</title>
<updated>2011-08-30T11:31:37+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-08-24T23:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=51ecd26878686729f01fc0feb04f1ceadab63613'/>
<id>51ecd26878686729f01fc0feb04f1ceadab63613</id>
<content type='text'>
This change implements the TEGRA_DC_EXT_CONTROL_GET_OUTPUT_EDID ioctl in
the dc_ext interface.

It first adds a way for the tegra dc EDID module to export EDID data
safely, without the risk of reading an incomplete or corrupted EDID in
the presence of hotplug, by moving the actual data to a substructure
with a lifetime maintained by a kref.  Then, that support is plumbed
through the hdmi block (which is currently the only way to get at the
EDID) and out to userspace.

Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;

Bug 817119

Change-Id: I78cd170e15322011b428cb71ffad2c0c3ea058ac
Reviewed-on: http://git-master/r/49127
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change implements the TEGRA_DC_EXT_CONTROL_GET_OUTPUT_EDID ioctl in
the dc_ext interface.

It first adds a way for the tegra dc EDID module to export EDID data
safely, without the risk of reading an incomplete or corrupted EDID in
the presence of hotplug, by moving the actual data to a substructure
with a lifetime maintained by a kref.  Then, that support is plumbed
through the hdmi block (which is currently the only way to get at the
EDID) and out to userspace.

Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;

Bug 817119

Change-Id: I78cd170e15322011b428cb71ffad2c0c3ea058ac
Reviewed-on: http://git-master/r/49127
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: dc: Separate allocations for U and V</title>
<updated>2011-08-30T00:49:50+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-07-16T01:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d4f30a049a1d97b350c415c3f40d5fa57724c8d4'/>
<id>d4f30a049a1d97b350c415c3f40d5fa57724c8d4</id>
<content type='text'>
Currently, dc_ext only takes a single nvmap memory ID per overlay, even
in the YUV case (the U and V planes are expected to be differentiated
using an offset from the beginning of the nvmap allocation).

This is problematic for some software flows, such as certain video
interlacing algorithms that will vary the luma plane while keeping the
chrome plane constant.

This change allows dc_ext clients to specify a different nvmap
allocation for each of the Y, U, and V planes.  If a YUV surface is
used and no U or V plane allocation is specified, the old behavior is
preserved: the U and V offsets are assumed to be within the same
allocation as Y.

Note: this changes the behavior of the offset parameter: the old code
added offset to offset_u and offset_v when using it.  The new code
treats all three offsets as relative to the beginning of the allocation.
It also fixes a bug in the code where offset was applied twice to the Y
plane.  I believe this is safe because the presence of this bug means
that no existing clients are using offset != 0 (or if they are, they're
already broken).

Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;

Bug 850882

Change-Id: I230e03db25baaae73a3bdc0d45a2aec162b87fa4
Reviewed-on: http://git-master/r/41471
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, dc_ext only takes a single nvmap memory ID per overlay, even
in the YUV case (the U and V planes are expected to be differentiated
using an offset from the beginning of the nvmap allocation).

This is problematic for some software flows, such as certain video
interlacing algorithms that will vary the luma plane while keeping the
chrome plane constant.

This change allows dc_ext clients to specify a different nvmap
allocation for each of the Y, U, and V planes.  If a YUV surface is
used and no U or V plane allocation is specified, the old behavior is
preserved: the U and V offsets are assumed to be within the same
allocation as Y.

Note: this changes the behavior of the offset parameter: the old code
added offset to offset_u and offset_v when using it.  The new code
treats all three offsets as relative to the beginning of the allocation.
It also fixes a bug in the code where offset was applied twice to the Y
plane.  I believe this is safe because the presence of this bug means
that no existing clients are using offset != 0 (or if they are, they're
already broken).

Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;

Bug 850882

Change-Id: I230e03db25baaae73a3bdc0d45a2aec162b87fa4
Reviewed-on: http://git-master/r/41471
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: dc_ext: Add head status ioctl</title>
<updated>2011-08-11T18:54:23+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-05-25T02:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=83243f1a020005c990f9613e80bc570152946811'/>
<id>83243f1a020005c990f9613e80bc570152946811</id>
<content type='text'>
This change adds a new tegra_dc_ext ioctl to allow userspace to query
whether a head is currently enabled or not.  This is necessary for the X
server to be able to restore the outputs that were enabled before it was
started.

bug 818525

Change-Id: I6d209894081312621f623a722cdd3fcb53553c61
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-by: Aaron Plattner &lt;aplattner@nvidia.com&gt;
Reviewed-by: Olof Johansson &lt;olofj@chromium.org&gt;
Reviewed-on: http://git-master/r/40530
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds a new tegra_dc_ext ioctl to allow userspace to query
whether a head is currently enabled or not.  This is necessary for the X
server to be able to restore the outputs that were enabled before it was
started.

bug 818525

Change-Id: I6d209894081312621f623a722cdd3fcb53553c61
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-by: Aaron Plattner &lt;aplattner@nvidia.com&gt;
Reviewed-by: Olof Johansson &lt;olofj@chromium.org&gt;
Reviewed-on: http://git-master/r/40530
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: Expose vblank syncpoint</title>
<updated>2011-08-11T18:54:15+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-03-21T21:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff8196ae3958f2be1a15e2572bb5f8c6bb37d28a'/>
<id>ff8196ae3958f2be1a15e2572bb5f8c6bb37d28a</id>
<content type='text'>
This change adds support for userspace to query the syncpoint that
display autoincrements every vblank.  This can be useful for
applications to time buffer submissions to throttle rendering and
prevent excessive host stalls.

bug 818525

Change-Id: I050e4dcd08609da802f10eeec5b70da181b21717
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40529
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds support for userspace to query the syncpoint that
display autoincrements every vblank.  This can be useful for
applications to time buffer submissions to throttle rendering and
prevent excessive host stalls.

bug 818525

Change-Id: I050e4dcd08609da802f10eeec5b70da181b21717
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40529
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: Expose possible bound head mask</title>
<updated>2011-08-11T18:54:05+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-03-21T21:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2cd1c94506b47ee57bc0ee261ebe624b35c6b51a'/>
<id>2cd1c94506b47ee57bc0ee261ebe624b35c6b51a</id>
<content type='text'>
This change adds support for userspace to query which heads an output
may be bound to.  Since our implementation currently hardcodes the head
to output mapping, we currently always fill in a single bit.  However,
for future implementations we will be able to dynamically bind outputs
to heads.

bug 818525

Change-Id: Ib0dead7748620a538c8f8d6ef548ca8b13a9c2b2
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40528
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds support for userspace to query which heads an output
may be bound to.  Since our implementation currently hardcodes the head
to output mapping, we currently always fill in a single bit.  However,
for future implementations we will be able to dynamically bind outputs
to heads.

bug 818525

Change-Id: Ib0dead7748620a538c8f8d6ef548ca8b13a9c2b2
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40528
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: Add userspace CSC control</title>
<updated>2011-08-11T18:53:55+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-03-21T21:32:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ac745fa558eba59a6b18333d098188f65202b22d'/>
<id>ac745fa558eba59a6b18333d098188f65202b22d</id>
<content type='text'>
This adds configurability of the per-window color space conversion
support in the Tegra display controller through the dc extension
interface.  The CSC matrix defaults to its previously-hardcoded values,
but can be overridden by userspace.

bug 818525

Change-Id: I00d8e48dd38a40e5b8c36d4624d31c834e5cd9de
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40527
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds configurability of the per-window color space conversion
support in the Tegra display controller through the dc extension
interface.  The CSC matrix defaults to its previously-hardcoded values,
but can be overridden by userspace.

bug 818525

Change-Id: I00d8e48dd38a40e5b8c36d4624d31c834e5cd9de
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40527
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: Allow fractional input rects</title>
<updated>2011-08-11T18:53:47+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-03-18T00:56:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d8dc0aa6548723d8b0637ab131e0732e2e7e7296'/>
<id>d8dc0aa6548723d8b0637ab131e0732e2e7e7296</id>
<content type='text'>
This change makes the input rect for Tegra windows be a 20.12
fixed-point number instead of an integer.  This allows software to
specify sub-pixel precision.

bug 818525

Change-Id: I130f63b68159ed896d1113ea537307997875ca40
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40526
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change makes the input rect for Tegra windows be a 20.12
fixed-point number instead of an integer.  This allows software to
specify sub-pixel precision.

bug 818525

Change-Id: I130f63b68159ed896d1113ea537307997875ca40
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40526
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: Add control device to dc extension driver</title>
<updated>2011-08-11T18:52:39+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-03-03T23:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7995af83a9c18c83a885ddd4eba53ab6ae3424a0'/>
<id>7995af83a9c18c83a885ddd4eba53ab6ae3424a0</id>
<content type='text'>
This device exposes control over everything that's not specific to one
of T20's two display controllers.  It supports:
- output devices
- event delivery
- hotplug events

bug 818525

Change-Id: I3a46f1dddc483b08ed3ee91a4f9c64111c1fd7eb
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40520
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This device exposes control over everything that's not specific to one
of T20's two display controllers.  It supports:
- output devices
- event delivery
- hotplug events

bug 818525

Change-Id: I3a46f1dddc483b08ed3ee91a4f9c64111c1fd7eb
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40520
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: Add cursor support to dc extensions</title>
<updated>2011-08-11T18:52:12+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-02-18T23:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b8ddd1da9311ba55893f97326937cc4c8ffff004'/>
<id>b8ddd1da9311ba55893f97326937cc4c8ffff004</id>
<content type='text'>
This change adds full support for specify the cursor image and
manipulating its position.

bug 818525

Change-Id: I101a951aff358b0ac0998afc6fe5f6c5c4d37c64
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40518
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds full support for specify the cursor image and
manipulating its position.

bug 818525

Change-Id: I101a951aff358b0ac0998afc6fe5f6c5c4d37c64
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40518
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video: tegra: Remove fbdev SET_NVMAP and FLIP ioctls</title>
<updated>2011-08-11T18:35:40+00:00</updated>
<author>
<name>Robert Morell</name>
<email>rmorell@nvidia.com</email>
</author>
<published>2011-03-03T22:24:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ec418628e7b69c09b9af87c4bf8f228e847c2c13'/>
<id>ec418628e7b69c09b9af87c4bf8f228e847c2c13</id>
<content type='text'>
This is necessary so that multiple clients can open /dev/fb* at the same
time.  The functionaly has been moved to the dc extension device nodes.

bug 818525

Change-Id: I299e060fce3bb9e3cbf976f3d94dbabc4b3f1654
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40515
Reviewed-by: Jonathan Mayo &lt;jmayo@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is necessary so that multiple clients can open /dev/fb* at the same
time.  The functionaly has been moved to the dc extension device nodes.

bug 818525

Change-Id: I299e060fce3bb9e3cbf976f3d94dbabc4b3f1654
Signed-off-by: Robert Morell &lt;rmorell@nvidia.com&gt;
Reviewed-on: http://git-master/r/40515
Reviewed-by: Jonathan Mayo &lt;jmayo@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
