<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/video/pxafb.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-11-02T02:55:06Z</updated>
<entry>
<title>Merge branch 'next/fixes' of git://git.linaro.org/people/arnd/arm-soc</title>
<updated>2011-11-02T02:55:06Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2011-11-02T02:55:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68e24ba70465b82ad24e0774ceab5360180d4627'/>
<id>urn:sha1:68e24ba70465b82ad24e0774ceab5360180d4627</id>
<content type='text'>
* 'next/fixes' of git://git.linaro.org/people/arnd/arm-soc: (28 commits)
  ARM: pxa/cm-x300: properly set bt_reset pin
  ARM: mmp: rename SHEEVAD to GPLUGD
  ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT'
  ARM: i.MX28: shift frac value in _CLK_SET_RATE
  plat-mxc: iomux-v3.h: implicitly enable pull-up/down when that's desired
  ARM: mx5: fix clock usage for suspend
  ARM: pxa: use correct __iomem annotations
  ARM: pxa: sharpsl pm needs SPI
  ARM: pxa: centro and treo680 need palm27x
  ARM: pxa: make pxafb_smart_*() empty when not enabled
  ARM: pxa: select POWER_SUPPLY on raumfeld
  ARM: pxa: pxa95x is incompatible with earlier pxa
  ARM: pxa: CPU_FREQ_TABLE is needed for CPU_FREQ
  ARM: pxa: pxa95x/saarb depends on pxa3xx code
  ARM: pxa: allow selecting just one of TREO680/CENTRO
  ARM: pxa: export symbols from pxa3xx-ulpi
  ARM: pxa: make zylonite_pxa*_init declaration match code
  ARM: pxa/z2: fix building error of pxa27x_cpu_suspend() no longer available
  ARM: at91: add defconfig for at91sam9g45 family
  ARM: at91: remove dependency for Atmel PWM driver selector in Kconfig
  ...
</content>
</entry>
<entry>
<title>ARM: pxa: make pxafb_smart_*() empty when not enabled</title>
<updated>2011-10-08T13:03:04Z</updated>
<author>
<name>Eric Miao</name>
</author>
<published>2011-10-08T10:19:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9d1917c63274e70958a7e2e8c874c1bca15af0a'/>
<id>urn:sha1:c9d1917c63274e70958a7e2e8c874c1bca15af0a</id>
<content type='text'>
Reported-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>video: irq: Remove IRQF_DISABLED</title>
<updated>2011-10-03T15:52:22Z</updated>
<author>
<name>Yong Zhang</name>
</author>
<published>2011-09-22T08:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8798ccbefc0e4ef7438c080b7ba0410738c8cfa'/>
<id>urn:sha1:f8798ccbefc0e4ef7438c080b7ba0410738c8cfa</id>
<content type='text'>
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).

So now this flag is a NOOP and can be removed.

Signed-off-by: Yong Zhang &lt;yong.zhang0@gmail.com&gt;
Acked-by: David Brown &lt;davidb@codeaurora.org&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>ARM: pxafb: Fix access to nonexistent member of pxafb_info</title>
<updated>2011-04-12T15:07:42Z</updated>
<author>
<name>Marek Vasut</name>
</author>
<published>2011-03-22T12:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6d710fefd1b2c209353a452d0f4c831b3af0da0'/>
<id>urn:sha1:a6d710fefd1b2c209353a452d0f4c831b3af0da0</id>
<content type='text'>
In case CONFIG_FB_PXA_OVERLAY is not defined, the pxafb_freq_transition()
function tests nonexistent member of pxafb_info (since the member is not
part of the structure).

Fix this by wraping the test in ifdef, even if I don't really like how the code
looks now. The check doesn't have to happen if overlays are disabled at all as
the check is always true then.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>ARM: pxafb: don't disable controller on cpufreq transition if overlay in use</title>
<updated>2011-03-16T09:44:58Z</updated>
<author>
<name>Vasily Khoruzhick</name>
</author>
<published>2011-03-11T09:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27be9a9e378dad166fc81df310e052e7b67cb667'/>
<id>urn:sha1:27be9a9e378dad166fc81df310e052e7b67cb667</id>
<content type='text'>
It's not safe to disable controller if overlay(s) is enabled (results in
system hang). So we avoid to disable controller in this case. Userspace
should choose proper governor to avoid freq changing when overlay is in
use, otherwise LCD may blink.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>ARM: pxafb: fix typo in ypos assignment</title>
<updated>2011-03-16T09:44:35Z</updated>
<author>
<name>Vasily Khoruzhick</name>
</author>
<published>2011-03-11T09:20:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dcf8eee94f7eb2671e6d5774e81d45ad06b4f980'/>
<id>urn:sha1:dcf8eee94f7eb2671e6d5774e81d45ad06b4f980</id>
<content type='text'>
Sascha Hauer &lt;s.hauer@pengutronix.de&gt; pointed that
ypos takes value of xpos due to typo.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>ARM: pxafb: fix plane Z-ordering problem</title>
<updated>2011-03-16T09:37:27Z</updated>
<author>
<name>Vasily Khoruzhick</name>
</author>
<published>2011-03-11T09:20:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7779cee3f45122d2f81397f55d7a14f654a0b276'/>
<id>urn:sha1:7779cee3f45122d2f81397f55d7a14f654a0b276</id>
<content type='text'>
pxafb_overlay_init is not right place to change Z-ordering,
move it to main plane initialization.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>ARM: pxafb: rework pxafb overlay memory management</title>
<updated>2011-03-16T09:37:03Z</updated>
<author>
<name>Vasily Khoruzhick</name>
</author>
<published>2011-03-11T09:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b98d7c4491e5eaba7c403ec1bc5997e6596e569'/>
<id>urn:sha1:1b98d7c4491e5eaba7c403ec1bc5997e6596e569</id>
<content type='text'>
PXAFB overlay memory management is something messy:
- it allocates memory dynamically on open/release, and it results
  in memory allocation failure after ~1h of uptime (system does not have
  115k of physically contiguous memory)
- in release callback it tries to free memory even if it was not
  allocated.

Also driver touches FDADR1 on main plane reconfiguration, and it can cause
problems if overlay1 is enabled.

This patch attempts to fix those issues.

Patch is based on Russell King's work.

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>[ARM] pxafb: fix building issue of incorrect reference</title>
<updated>2009-12-29T06:11:27Z</updated>
<author>
<name>Eric Miao</name>
</author>
<published>2009-12-26T08:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da2c3f0ead336c04b4d1ad36ff42d8d264f44f65'/>
<id>urn:sha1:da2c3f0ead336c04b4d1ad36ff42d8d264f44f65</id>
<content type='text'>
Commit "d2a34c1 drivers/video: Move dereference after NULL test" introduced
a build error of "fbi-&gt;dev-&gt;platform_data-&gt;smart_update" being unknown type
to the compiler, fix this by removing the unnecessary test of 'fbi'.

Cc: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>drivers/video: Move dereference after NULL test</title>
<updated>2009-12-16T15:20:01Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2009-12-16T00:46:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2a34c13e7ccec5d06eafd60e6f80ea531b34668'/>
<id>urn:sha1:d2a34c13e7ccec5d06eafd60e6f80ea531b34668</id>
<content type='text'>
If the NULL test on fbi is needed, then the dereference should be after the
NULL test.

A simplified version of the semantic match that detects this problem is as
follows (http://coccinelle.lip6.fr/):

// &lt;smpl&gt;
@match exists@
expression x, E;
identifier fld;
@@

* x-&gt;fld
  ... when != \(x = E\|&amp;x\)
* x == NULL
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Cc: Krzysztof Helt &lt;krzysztof.h1@poczta.fm&gt;
Cc: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Daniel Mack &lt;daniel@caiaq.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
