<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/video/via/viafbdev.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-08-17T20:13:13Z</updated>
<entry>
<title>viafb: replace strict_strtoul to kstrto* and check return value</title>
<updated>2011-08-17T20:13:13Z</updated>
<author>
<name>Wang Shaoyan</name>
</author>
<published>2011-08-08T02:18:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ce36bbb0497bdd3d6b8682175e5c58745b7acdd'/>
<id>urn:sha1:4ce36bbb0497bdd3d6b8682175e5c58745b7acdd</id>
<content type='text'>
This commit replace the function strict_strtoul(becasue commit 33ee3b2e), and check the return value to avoid such warning:

  drivers/video/via/viafbdev.c:1992: warning: ignoring return value of 'kstrtoul', declared with attribute warn_unused_result

Signed-off-by: Wang Shaoyan &lt;wangshaoyan.pt@taobao.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>Merge commit 'v3.1-rc2' into HEAD</title>
<updated>2011-08-17T16:14:01Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-08-17T16:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94bd217e2d683719ab21a4ac117d8a1b91cbedc9'/>
<id>urn:sha1:94bd217e2d683719ab21a4ac117d8a1b91cbedc9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>viafb: get rid of the remaining modetable structure assumptions</title>
<updated>2011-08-07T13:34:35Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-08-07T13:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5dd72f12df00cbabc16de770b79b17ced63138be'/>
<id>urn:sha1:5dd72f12df00cbabc16de770b79b17ced63138be</id>
<content type='text'>
This patch removes the remaining places where assumptions about the
structure of the modetable were made. Aside from some places where
assumptions are made that certain modes are in the modetable the
only code dealing with the modetable and not just a single mode is
in viamode. This will allow chaniging the modetable and use other
sources for videomodes like the subsystem or EDID.

Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>viafb: add new funcions to select a single mode</title>
<updated>2011-08-06T23:22:49Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-08-06T23:04:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94715ba97508dd42919a7525e362efb00dde1271'/>
<id>urn:sha1:94715ba97508dd42919a7525e362efb00dde1271</id>
<content type='text'>
This patch introduces 2 new functions for selecting a single mode
based on hres, vres and refresh rate and changes some uses to use
those. The advantage is that it is less error prone than doing the
selection based on refresh rate everywhere and allows replacing the
modetable structure. This includes a little change that users may
notice: If a refresh rate was given as module parameters but does
not exist in the modetable prior to this patch a refresh rate of 60
was assumed and after this patch the closest supported refresh rate
to the one provided by the user is used.

Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>viafb: remove superfluous mode lookup</title>
<updated>2011-08-05T12:47:20Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-06-02T12:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ee3ec49e268c7a01217d7865c53562fae1edf33'/>
<id>urn:sha1:9ee3ec49e268c7a01217d7865c53562fae1edf33</id>
<content type='text'>
As the result is not used anywhere there is no need to perform the
lookup at all.

Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>viafb: improve pitch handling</title>
<updated>2011-07-17T00:11:15Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-06-06T01:27:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=936a3f770b8de7042d793272f008ef1bb08522e9'/>
<id>urn:sha1:936a3f770b8de7042d793272f008ef1bb08522e9</id>
<content type='text'>
This patch adds checks for minimum and maximum pitch size to prevent
invalid settings which could otherwise crash the machine. Also the
alignment is done in a slightly more readable way.

Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Cc: stable@kernel.org
</content>
</entry>
<entry>
<title>viafbdev: fix compilation warning for unused variable</title>
<updated>2011-06-27T14:37:31Z</updated>
<author>
<name>Nikanth Karthikesan</name>
</author>
<published>2011-06-10T08:57:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0acd33d08988cef238619f99ba056be16aab443e'/>
<id>urn:sha1:0acd33d08988cef238619f99ba056be16aab443e</id>
<content type='text'>
viafbdev: Fix compilation warning for unused variable for #ifdef MODULE
Fix compilation warning when #ifdef MODULE

drivers/video/via/viafbdev.c: In function ‘viafb_init’:
drivers/video/via/viafbdev.c:2019: warning: unused variable ‘r’

Signed-off-by: Nikanth Karthikesan &lt;nikanth@google.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>viafb: use display information in info not in var for panning</title>
<updated>2011-05-27T18:51:29Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-05-23T21:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d933990c57b498c092ceef591c7c5d69dbfe9f30'/>
<id>urn:sha1:d933990c57b498c092ceef591c7c5d69dbfe9f30</id>
<content type='text'>
As Laurent pointed out we must not use any information in the passed
var besides xoffset, yoffset and vmode as otherwise applications
might abuse it. Also use the aligned fix.line_length and not the
(possible) unaligned xres_virtual.

Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Reported-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Cc: stable@kernel.org
</content>
</entry>
<entry>
<title>Merge branch 'viafb-next' of git://github.com/schandinat/linux-2.6</title>
<updated>2011-05-22T19:39:58Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2011-05-22T19:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71a8638480eb8fb6cfabe2ee9ca3fbc6e3453a14'/>
<id>urn:sha1:71a8638480eb8fb6cfabe2ee9ca3fbc6e3453a14</id>
<content type='text'>
* 'viafb-next' of git://github.com/schandinat/linux-2.6: (24 commits)
  viafb: Automatic OLPC XO-1.5 configuration
  viafb: remove unused CEA mode
  viafb: try to map less memory in case of failure
  viafb: use write combining for video ram
  viafb: add X server compatibility mode
  viafb: reduce OLPC refresh a bit
  viafb: fix OLPC XO 1.5 device connection
  viafb: fix OLPC DCON refresh rate
  viafb: delete clock and PLL initialization
  viafb: replace custom return values
  viafb: some small cleanup for global variables
  viafb: gather common good, old VGA initialization in one place
  viafb: add engine clock support
  viafb: add VIA slapping capability
  viafb: split clock and PLL code to an extra file
  viafb: add primary/secondary clock on/off switches
  viafb: add clock source selection and PLL power management support
  viafb: prepare for PLL separation
  viafb: call viafb_get_clk_value only in viafb_set_vclock
  viafb: remove unused max_hres/vres
  ...
</content>
</entry>
<entry>
<title>viafb: Automatic OLPC XO-1.5 configuration</title>
<updated>2011-05-11T07:27:37Z</updated>
<author>
<name>Daniel Drake</name>
</author>
<published>2011-05-10T21:34:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8aa4d96fe3e4cda9a6469b22b3f017ed30996b10'/>
<id>urn:sha1:8aa4d96fe3e4cda9a6469b22b3f017ed30996b10</id>
<content type='text'>
Currently, a long set of viafb options are needed to get the XO-1.5
laptop to output video (there is only 1 configuration that works, that
can't really be autodetected).

This patch automatically detects and configures viafb for the XO-1.5
laptop, meaning all that is required for working display is that
viafb is loaded.

Signed-off-by: Daniel Drake &lt;dsd@laptop.org&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
</feed>
