<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/video/sh_mobile_meram.c, branch v3.2.37</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>sh_mobile_meram: Reset ICBs at unregistration time</title>
<updated>2011-09-05T16:37:13+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2011-08-31T11:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=da6cf5125f66ed1810616937777884cea021e66a'/>
<id>da6cf5125f66ed1810616937777884cea021e66a</id>
<content type='text'>
When ICBs are unregistered and later reused they need to be reset to
avoid data corruption. Set the WBF, WF and RF bits to make sure ICBs get
reset properly.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When ICBs are unregistered and later reused they need to be reset to
avoid data corruption. Set the WBF, WF and RF bits to make sure ICBs get
reset properly.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Remove unneeded sh_mobile_meram.h</title>
<updated>2011-08-19T06:22:45+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2011-07-13T10:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8a20974f0370fe1b924704399e7ba327d894ef72'/>
<id>8a20974f0370fe1b924704399e7ba327d894ef72</id>
<content type='text'>
The drivers/video/sh_mobile_meram.h header contains unused definitions
and declarations. Move the only used macro to sh_mobile_meram.c, and
remove the header.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The drivers/video/sh_mobile_meram.h header contains unused definitions
and declarations. Move the only used macro to sh_mobile_meram.c, and
remove the header.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Fix MExxCTL register save on runtime PM suspend</title>
<updated>2011-08-19T06:22:44+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2011-07-13T10:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d86d29df57adf9258f56939e59cdd70932845885'/>
<id>d86d29df57adf9258f56939e59cdd70932845885</id>
<content type='text'>
To reset the ICB on resume the MExxCTL register needs to be OR'ed with
MExxCTL_WBF | MExxCTL_WF | MExxCTL_RF, no set to that value. Fix this.

This fixes corruption at the bottom of the display when resuming from
runtime PM.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To reset the ICB on resume the MExxCTL register needs to be OR'ed with
MExxCTL_WBF | MExxCTL_WF | MExxCTL_RF, no set to that value. Fix this.

This fixes corruption at the bottom of the display when resuming from
runtime PM.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Validate ICB configuration outside mutex</title>
<updated>2011-08-19T06:22:43+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2011-07-13T10:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7963e21e50c8e712553347f900f0d0afaf5be2aa'/>
<id>7963e21e50c8e712553347f900f0d0afaf5be2aa</id>
<content type='text'>
Validate as much of the requested ICB configuration as possible outside
of the mutex-protected region when registering ICBs.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Validate as much of the requested ICB configuration as possible outside
of the mutex-protected region when registering ICBs.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Replace hardcoded register values with macros</title>
<updated>2011-08-19T06:22:42+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2011-07-13T10:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f0a260fef6943c60bae65ae52fc4fa52e7f078b1'/>
<id>f0a260fef6943c60bae65ae52fc4fa52e7f078b1</id>
<content type='text'>
Instead of hardcoding register values through the driver, define macros
for individual register bits using the register name and the bit name,
and use the macros.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of hardcoding register values through the driver, define macros
for individual register bits using the register name and the bit name,
and use the macros.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Backup/restore device registers on shutdown/resume</title>
<updated>2011-08-19T06:11:18+00:00</updated>
<author>
<name>Damian Hobson-Garcia</name>
<email>dhobsong@igel.co.jp</email>
</author>
<published>2011-06-22T05:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0b3bb77c3a07a94d878fd3219302c46209f7d71c'/>
<id>0b3bb77c3a07a94d878fd3219302c46209f7d71c</id>
<content type='text'>
Save and reconfigure the MERAM registers when the MERAM is powered down
and restored

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Save and reconfigure the MERAM registers when the MERAM is powered down
and restored

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Move private data from .h to .c</title>
<updated>2011-08-19T06:11:16+00:00</updated>
<author>
<name>Damian Hobson-Garcia</name>
<email>dhobsong@igel.co.jp</email>
</author>
<published>2011-06-22T05:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0aa492be88b10b7b7621101df5fbf79f9236aecb'/>
<id>0aa492be88b10b7b7621101df5fbf79f9236aecb</id>
<content type='text'>
There is no reason for sh_mobile_meram_priv to be in the .h file
since it should be private to sh_mobile_meram.c

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no reason for sh_mobile_meram_priv to be in the .h file
since it should be private to sh_mobile_meram.c

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Enable runtime PM</title>
<updated>2011-08-19T06:11:11+00:00</updated>
<author>
<name>Damian Hobson-Garcia</name>
<email>dhobsong@igel.co.jp</email>
</author>
<published>2011-07-04T06:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=176737782e8360f1e577264c7aaeb691a7cbbfdd'/>
<id>176737782e8360f1e577264c7aaeb691a7cbbfdd</id>
<content type='text'>
Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fbdev: sh_mobile_meram: Correct pointer check for YCbCr chroma plane</title>
<updated>2011-06-24T07:40:28+00:00</updated>
<author>
<name>Damian Hobson-Garcia</name>
<email>dhobsong@igel.co.jp</email>
</author>
<published>2011-06-22T07:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=06c8a6a3e40265ff580428bbf51991617477f65b'/>
<id>06c8a6a3e40265ff580428bbf51991617477f65b</id>
<content type='text'>
The check was intended to test if we have a valid pointer to write into,
but it mistakenly checks the pointer contents instead.

Since a valid pointer is mandatory for the chroma data if a YCbCr format
is used, the pointer check has been removed.

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The check was intended to test if we have a valid pointer to write into,
but it mistakenly checks the pointer contents instead.

Since a valid pointer is mandatory for the chroma data if a YCbCr format
is used, the pointer check has been removed.

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sh_mobile_meram: Add support for NV24 framebuffers</title>
<updated>2011-05-23T07:06:26+00:00</updated>
<author>
<name>Damian</name>
<email>dhobsong@igel.co.jp</email>
</author>
<published>2011-05-18T11:10:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3fedd2ac7662a10ab2973d3b6f11cdce87b7171a'/>
<id>3fedd2ac7662a10ab2973d3b6f11cdce87b7171a</id>
<content type='text'>
Since the NV24 framebuffer has a CbCr plane that is twice as wide
as the Y plane, it needs to be handled as a special case.

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the NV24 framebuffer has a CbCr plane that is twice as wide
as the Y plane, it needs to be handled as a special case.

Signed-off-by: Damian Hobson-Garcia &lt;dhobsong@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
