<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/video/omap2, branch v2.6.37</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>OMAP: DSS: VRAM: Align start &amp; size of vram to 2M</title>
<updated>2010-12-15T09:16:08+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@nokia.com</email>
</author>
<published>2010-12-14T12:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4422c04bbb09f1864e2ce27296457f86d4167fe2'/>
<id>4422c04bbb09f1864e2ce27296457f86d4167fe2</id>
<content type='text'>
Align the start address and size of VRAM area to 2M as per comments from
Russell King:

&gt; &gt; So, why SZ_2M?
&gt;
&gt; Firstly, that's the granularity which we allocate page tables - one
&gt; Linux page table covers 2MB of memory.  We want to avoid creating page
&gt; tables for the main memory mapping as that increases TLB pressure through
&gt; the use of additional TLB entries, and more page table walks.
&gt;
&gt; Plus, we never used to allow the kernel's direct memory mapping to be
&gt; mapped at anything less than section size - this restriction has since
&gt; been lifted due to OMAP SRAM problems, but I'd rather we stuck with it
&gt; to ensure that we have proper behaviour from all parts of the system.
&gt;
&gt; Secondly, we don't want to end up with lots of fragmentation at the end
&gt; of the memory mapping as that'll reduce performance, not only by making
&gt; the pfn_valid() search more expensive.
&gt;
&gt; Emsuring a minimum allocation size and alignment makes sure that the
&gt; regions can be coalesced together into one block, and minimises run-time
&gt; expenses.
&gt;
&gt; So please, 2MB, or if you object, at the _very_ _least_ 1MB.  But
&gt; definitely not PAGE_SIZE.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Align the start address and size of VRAM area to 2M as per comments from
Russell King:

&gt; &gt; So, why SZ_2M?
&gt;
&gt; Firstly, that's the granularity which we allocate page tables - one
&gt; Linux page table covers 2MB of memory.  We want to avoid creating page
&gt; tables for the main memory mapping as that increases TLB pressure through
&gt; the use of additional TLB entries, and more page table walks.
&gt;
&gt; Plus, we never used to allow the kernel's direct memory mapping to be
&gt; mapped at anything less than section size - this restriction has since
&gt; been lifted due to OMAP SRAM problems, but I'd rather we stuck with it
&gt; to ensure that we have proper behaviour from all parts of the system.
&gt;
&gt; Secondly, we don't want to end up with lots of fragmentation at the end
&gt; of the memory mapping as that'll reduce performance, not only by making
&gt; the pfn_valid() search more expensive.
&gt;
&gt; Emsuring a minimum allocation size and alignment makes sure that the
&gt; regions can be coalesced together into one block, and minimises run-time
&gt; expenses.
&gt;
&gt; So please, 2MB, or if you object, at the _very_ _least_ 1MB.  But
&gt; definitely not PAGE_SIZE.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: VRAM: Fix boot-time memory allocation</title>
<updated>2010-11-10T11:51:13+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@nokia.com</email>
</author>
<published>2010-11-10T09:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=88abf44d3d8d4fefcbf3d57584d471e38cb51627'/>
<id>88abf44d3d8d4fefcbf3d57584d471e38cb51627</id>
<content type='text'>
Use memblock_free() and memblock_remove() to remove the allocated or
reserved VRAM area from normal kernel memory.

This is a slightly modified version of patches from Felipe Contreras and
Namhyung Kim.

Reported-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Reported-by: Namhyung Kim &lt;namhyung@gmail.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&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>
Use memblock_free() and memblock_remove() to remove the allocated or
reserved VRAM area from normal kernel memory.

This is a slightly modified version of patches from Felipe Contreras and
Namhyung Kim.

Reported-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Reported-by: Namhyung Kim &lt;namhyung@gmail.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: VRAM: improve VRAM error prints</title>
<updated>2010-11-10T11:51:13+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@nokia.com</email>
</author>
<published>2010-11-10T09:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=108409a8a4e325db38f27258da68d7207a0ad433'/>
<id>108409a8a4e325db38f27258da68d7207a0ad433</id>
<content type='text'>
Improve the error prints to give more information about the offending
address &amp; size.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&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>
Improve the error prints to give more information about the offending
address &amp; size.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux</title>
<updated>2010-10-26T17:02:39+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-10-26T17:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2c518959f082c549d6c6dd9b5380aec40c3eb07f'/>
<id>2c518959f082c549d6c6dd9b5380aec40c3eb07f</id>
<content type='text'>
* 'for-linus' of git://gitorious.org/linux-omap-dss2/linux:
  OMAP: DSS2: don't power off a panel twice
  OMAP: DSS2: OMAPFB: Allow usage of def_vrfb only for omap2,3
  OMAP: DSS2: OMAPFB: make VRFB depends on OMAP2,3
  OMAP: DSS2: OMAPFB: Allow FB_OMAP2 to build without VRFB
  arm/omap: simplify conditional
  OMAP: DSS2: DSI: Remove extra iounmap in error path
  OMAP: DSS2: Use dss_features framework on DSS2 code
  OMAP: DSS2: Introduce dss_features files
  video/omap: remove mux.h include
  ARM: omap/fb: move get_fbmem_region() to .init.text
  ARM: omap/fb: move omapfb_reserve_sram to .init.text
  ARM: omap/fb: move omap_init_fb to .init.text
  OMAP: DSS2: OMAPFB: swap front and back porches for both hsync and vsync
  OMAP: DSS2: make filter coefficient tables human readable
  OMAP: DSS2: Add SPI dependency to Kconfig of ACX565AKM panel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'for-linus' of git://gitorious.org/linux-omap-dss2/linux:
  OMAP: DSS2: don't power off a panel twice
  OMAP: DSS2: OMAPFB: Allow usage of def_vrfb only for omap2,3
  OMAP: DSS2: OMAPFB: make VRFB depends on OMAP2,3
  OMAP: DSS2: OMAPFB: Allow FB_OMAP2 to build without VRFB
  arm/omap: simplify conditional
  OMAP: DSS2: DSI: Remove extra iounmap in error path
  OMAP: DSS2: Use dss_features framework on DSS2 code
  OMAP: DSS2: Introduce dss_features files
  video/omap: remove mux.h include
  ARM: omap/fb: move get_fbmem_region() to .init.text
  ARM: omap/fb: move omapfb_reserve_sram to .init.text
  ARM: omap/fb: move omap_init_fb to .init.text
  OMAP: DSS2: OMAPFB: swap front and back porches for both hsync and vsync
  OMAP: DSS2: make filter coefficient tables human readable
  OMAP: DSS2: Add SPI dependency to Kconfig of ACX565AKM panel
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: DSS2: don't power off a panel twice</title>
<updated>2010-10-22T20:21:14+00:00</updated>
<author>
<name>Stanley.Miao</name>
<email>stanley.miao@windriver.com</email>
</author>
<published>2010-09-03T03:03:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=18016e35d448d35739f8640b51476709c07e95db'/>
<id>18016e35d448d35739f8640b51476709c07e95db</id>
<content type='text'>
If we blank the panel by
echo 1 &gt; /sys/devices/platform/omapfb/graphics/fb0/blank

Then, we reboot the sytem, the kernel will crash at
drivers/video/omap2/dss/core.c:323

This is because the panel is closed twice. Now check the state of a dssdev
to forbid a panel is power on or power off twice.

Signed-off-by: Stanley.Miao &lt;stanley.miao@windriver.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we blank the panel by
echo 1 &gt; /sys/devices/platform/omapfb/graphics/fb0/blank

Then, we reboot the sytem, the kernel will crash at
drivers/video/omap2/dss/core.c:323

This is because the panel is closed twice. Now check the state of a dssdev
to forbid a panel is power on or power off twice.

Signed-off-by: Stanley.Miao &lt;stanley.miao@windriver.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: DSS2: OMAPFB: Allow usage of def_vrfb only for omap2,3</title>
<updated>2010-10-22T20:21:07+00:00</updated>
<author>
<name>Senthilvadivu Guruswamy</name>
<email>svadivu@ti.com</email>
</author>
<published>2010-10-08T06:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=41814cfc01b059df33011d929837558c22f3c0e0'/>
<id>41814cfc01b059df33011d929837558c22f3c0e0</id>
<content type='text'>
VRFB is supported only on OMAP2 and OMAP3 platforms. If VRFB rotation is
not supported by the hardware and the user requests VRFB rotation,
print a warning and ignore the request from the user.

Signed-off-by: Senthilvadivu Guruswamy &lt;svadivu@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VRFB is supported only on OMAP2 and OMAP3 platforms. If VRFB rotation is
not supported by the hardware and the user requests VRFB rotation,
print a warning and ignore the request from the user.

Signed-off-by: Senthilvadivu Guruswamy &lt;svadivu@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: DSS2: OMAPFB: make VRFB depends on OMAP2,3</title>
<updated>2010-10-22T20:21:07+00:00</updated>
<author>
<name>Senthilvadivu Guruswamy</name>
<email>svadivu@ti.com</email>
</author>
<published>2010-10-08T06:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=908482fd833016a365e20c26ea28ceeb00743e64'/>
<id>908482fd833016a365e20c26ea28ceeb00743e64</id>
<content type='text'>
config VRFB should depend on ARCH_OMAP2 or ARCH_OMAP3.

Signed-off-by: Senthilvadivu Guruswamy &lt;svadivu@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
config VRFB should depend on ARCH_OMAP2 or ARCH_OMAP3.

Signed-off-by: Senthilvadivu Guruswamy &lt;svadivu@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: DSS2: DSI: Remove extra iounmap in error path</title>
<updated>2010-10-22T20:21:05+00:00</updated>
<author>
<name>Senthilvadivu Guruswamy</name>
<email>svadivu@ti.com</email>
</author>
<published>2010-10-07T11:28:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e66345297d9ab3566eff0503d79eedda3c652428'/>
<id>e66345297d9ab3566eff0503d79eedda3c652428</id>
<content type='text'>
iounmap is already done in label err2: so extra iounmap in
the error handling path could be removed.

Signed-off-by: Senthilvadivu Guruswamy &lt;svadivu@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
iounmap is already done in label err2: so extra iounmap in
the error handling path could be removed.

Signed-off-by: Senthilvadivu Guruswamy &lt;svadivu@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: DSS2: Use dss_features framework on DSS2 code</title>
<updated>2010-10-22T20:21:04+00:00</updated>
<author>
<name>Archit Taneja</name>
<email>archit@ti.com</email>
</author>
<published>2010-09-15T13:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a0acb5574b01f1a82dc5d863b4d89d84397aeafa'/>
<id>a0acb5574b01f1a82dc5d863b4d89d84397aeafa</id>
<content type='text'>
Calls init functions of dss_features during dss_probe, and the following
features are made omapxxxx independent:
  - number of managers, overlays
  - supported color modes for each overlay
  - supported displays for each manager
  - global aplha, and restriction of global alpha for video1 pipeline
  - The register field ranges : FIRHINC, FIRVINC, FIFOHIGHTHRESHOLD
    FIFOLOWTHRESHOLD and FIFOSIZE

Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calls init functions of dss_features during dss_probe, and the following
features are made omapxxxx independent:
  - number of managers, overlays
  - supported color modes for each overlay
  - supported displays for each manager
  - global aplha, and restriction of global alpha for video1 pipeline
  - The register field ranges : FIRHINC, FIRVINC, FIFOHIGHTHRESHOLD
    FIFOLOWTHRESHOLD and FIFOSIZE

Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP: DSS2: Introduce dss_features files</title>
<updated>2010-10-22T20:21:03+00:00</updated>
<author>
<name>Archit Taneja</name>
<email>archit@ti.com</email>
</author>
<published>2010-09-15T13:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e1ef4d236f11ef0cb674deead822d029f1bb2745'/>
<id>e1ef4d236f11ef0cb674deead822d029f1bb2745</id>
<content type='text'>
Add dss_features.c and dss_features.h for the dss_features framework.
This framework will be used to move all cpu_is_xxx() and similar calls
to a single place.

Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add dss_features.c and dss_features.h for the dss_features framework.
This framework will be used to move all cpu_is_xxx() and similar calls
to a single place.

Signed-off-by: Archit Taneja &lt;archit@ti.com&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@nokia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
