<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/video/console, branch v3.8</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.8</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-01-03T23:57:01Z</updated>
<entry>
<title>Drivers: video: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:01Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-12-21T21:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=48c68c4f1b542444f175a9e136febcecf3e704d8'/>
<id>urn:sha1:48c68c4f1b542444f175a9e136febcecf3e704d8</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'fbdev-for-3.8' of git://gitorious.org/linux-omap-dss2/linux</title>
<updated>2012-12-15T21:03:48Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-12-15T21:03:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2b8318881ddbcb67c5e8d2178b42284749442222'/>
<id>urn:sha1:2b8318881ddbcb67c5e8d2178b42284749442222</id>
<content type='text'>
Pull fbdev changes from Tomi Valkeinen:
 "OMAPDSS changes, including:
   - use dynanic debug prints
   - OMAP platform dependency removals
   - Creation of compat-layer, helping us to improve omapdrm
   - Misc cleanups, aiming to make omadss more in line with the upcoming
     common display framework

  Exynos DP changes for the 3.8 merge window:
   - Device Tree support for Samsung Exynos DP
   - SW Link training is cleaned up.
   - HPD interrupt is supported.

  Samsung Framebuffer changes for the 3.8 merge window:
   - The bit definitions of header file are updated.
   - Some minor typos are fixed.
   - Some minor bugs of s3c_fb_check_var() are fixed.

  FB related changes for SH Mobile, Freescale DIU

  Add support for the Solomon SSD1307 OLED Controller"

* tag 'fbdev-for-3.8' of git://gitorious.org/linux-omap-dss2/linux: (191 commits)
  OMAPDSS: fix TV-out issue with DSI PLL
  Revert "OMAPFB: simplify locking"
  OMAPFB: remove silly loop in fb2display()
  OMAPFB: fix error handling in omapfb_find_best_mode()
  OMAPFB: use devm_kzalloc to allocate omapfb2_device
  OMAPDSS: DISPC: remove dispc fck uses
  OMAPDSS: DISPC: get dss clock rate from dss driver
  drivers/video/console/softcursor.c: remove redundant NULL check before kfree()
  drivers/video: add support for the Solomon SSD1307 OLED Controller
  OMAPDSS: use omapdss_compat_init() in other drivers
  OMAPDSS: export dispc functions
  OMAPDSS: export dss_feat functions
  OMAPDSS: export dss_mgr_ops functions
  OMAPDSS: separate compat files in the Makefile
  OMAPDSS: move display sysfs init to compat layer
  OMAPDSS: DPI: use dispc's check_timings
  OMAPDSS: DISPC: add dispc_ovl_check()
  OMAPDSS: move irq handling to dispc-compat
  OMAPDSS: move omap_dispc_wait_for_irq_interruptible_timeout to dispc-compat.c
  OMAPDSS: move blocking mgr enable/disable to compat layer
  ...

Conflicts:
	arch/arm/mach-davinci/devices-da8xx.c
	arch/arm/plat-omap/common.c
	drivers/media/platform/omap/omap_vout.c
</content>
</entry>
<entry>
<title>VIDEO: Newport Fix console crashes</title>
<updated>2012-12-13T17:15:29Z</updated>
<author>
<name>Thomas Bogendoerfer</name>
<email>tsbogend@alpha.franken.de</email>
</author>
<published>2012-07-30T10:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fa4dbbc602a1fb020b627ca8d5a265ad7f3d0c48'/>
<id>urn:sha1:fa4dbbc602a1fb020b627ca8d5a265ad7f3d0c48</id>
<content type='text'>
Because of commit e84de0c61905030a0fe66b7210b6f1bb7c3e1eab [MIPS: GIO bus
support for SGI IP22/28] newport con is now taking over console from
dummy con, therefore it's necessary to resize the VC to the correct size
to avoid crashes and garbage on console

Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
Cc: linux-mips@linux-mips.org
Cc: linux-fbdev@vger.kernel.org
Cc: FlorianSchandinat@gmx.de
Patchwork: https://patchwork.linux-mips.org/patch/4138/
Acked-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>drivers/video/console/softcursor.c: remove redundant NULL check before kfree()</title>
<updated>2012-12-10T09:33:53Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2012-12-07T20:30:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a240af2eb24679f4d27d87281b25faee0a25df1a'/>
<id>urn:sha1:a240af2eb24679f4d27d87281b25faee0a25df1a</id>
<content type='text'>
Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Cc: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
</content>
</entry>
<entry>
<title>drivers: console: font_: Change a glyph from "broken bar" to "vertical line"</title>
<updated>2012-09-22T21:14:22Z</updated>
<author>
<name>Bjarni Ingi Gislason</name>
<email>bjarniig@rhi.hi.is</email>
</author>
<published>2012-08-12T15:05:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bcfbeecea11c15e243f076d37d637c2598aff4fe'/>
<id>urn:sha1:bcfbeecea11c15e243f076d37d637c2598aff4fe</id>
<content type='text'>
  The code 124 (0x7C, |) is rendered as a broken line in two
fonts, instead of a continuous line.  Some keyboards show a
"broken bar" on one of theirs keys, other show a (continuous)
"vertical line".

Signed-off-by: Bjarni Ingi Gislason &lt;bjarniig@rhi.hi.is&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>fbcon: Fix bit_putcs() call to kmalloc(s, GFP_KERNEL)</title>
<updated>2012-08-23T12:29:32Z</updated>
<author>
<name>Bruno Prémont</name>
<email>bonbons@linux-vserver.org</email>
</author>
<published>2012-07-30T19:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=72caa5fb948ef818fe1332848e9c61b10687ce7a'/>
<id>urn:sha1:72caa5fb948ef818fe1332848e9c61b10687ce7a</id>
<content type='text'>
Switch to kmalloc(,GFP_ATOMIC) in bit_putcs to fix below trace:

[    9.771812] BUG: sleeping function called from invalid context at /usr/src/linux-git/mm/slub.c:943
[    9.771814] in_atomic(): 1, irqs_disabled(): 1, pid: 1063, name: mount
[    9.771818] Pid: 1063, comm: mount Not tainted 3.5.0-jupiter-00003-g8d858b1-dirty #2
[    9.771819] Call Trace:
[    9.771838]  [&lt;c104f79b&gt;] __might_sleep+0xcb/0xe0
[    9.771844]  [&lt;c10c00d4&gt;] __kmalloc+0xb4/0x1c0
[    9.771851]  [&lt;c1041d4a&gt;] ? queue_work+0x1a/0x30
[    9.771854]  [&lt;c1041dcf&gt;] ? queue_delayed_work+0xf/0x30
[    9.771862]  [&lt;c1205832&gt;] ? bit_putcs+0xf2/0x3e0
[    9.771865]  [&lt;c1041e01&gt;] ? schedule_delayed_work+0x11/0x20
[    9.771868]  [&lt;c1205832&gt;] bit_putcs+0xf2/0x3e0
[    9.771875]  [&lt;c12002b8&gt;] ? get_color.clone.14+0x28/0x100
[    9.771878]  [&lt;c1200d2f&gt;] fbcon_putcs+0x11f/0x130
[    9.771882]  [&lt;c1205740&gt;] ? bit_clear+0xe0/0xe0
[    9.771885]  [&lt;c1200f6d&gt;] fbcon_redraw.clone.21+0x11d/0x160
[    9.771889]  [&lt;c120383d&gt;] fbcon_scroll+0x79d/0xe10
[    9.771892]  [&lt;c12002b8&gt;] ? get_color.clone.14+0x28/0x100
[    9.771897]  [&lt;c124c0b4&gt;] scrup+0x64/0xd0
[    9.771900]  [&lt;c124c22b&gt;] lf+0x2b/0x60
[    9.771903]  [&lt;c124cc95&gt;] vt_console_print+0x1d5/0x2f0
[    9.771907]  [&lt;c124cac0&gt;] ? register_vt_notifier+0x20/0x20
[    9.771913]  [&lt;c102b335&gt;] call_console_drivers.clone.5+0xa5/0xc0
[    9.771916]  [&lt;c102c58e&gt;] console_unlock+0x2fe/0x3c0
[    9.771920]  [&lt;c102ca16&gt;] vprintk_emit+0x2e6/0x300
[    9.771924]  [&lt;c13f01ae&gt;] printk+0x38/0x3a
[    9.771931]  [&lt;c112e8fe&gt;] reiserfs_remount+0x2ae/0x3e0
[    9.771934]  [&lt;c112e650&gt;] ? reiserfs_fill_super+0xb00/0xb00
[    9.771939]  [&lt;c10ca0ab&gt;] do_remount_sb+0xab/0x150
[    9.771943]  [&lt;c1034476&gt;] ? ns_capable+0x46/0x70
[    9.771948]  [&lt;c10e059c&gt;] do_mount+0x20c/0x6b0
[    9.771955]  [&lt;c10a7044&gt;] ? strndup_user+0x34/0x50
[    9.771958]  [&lt;c10e0acc&gt;] sys_mount+0x6c/0xa0
[    9.771964]  [&lt;c13f2557&gt;] sysenter_do_call+0x12/0x26

According to comment in bit_putcs() that kammloc() call only happens
when fbcon is drawing to a monochrome framebuffer (which is my case with
hid-picolcd).

Signed-off-by: Bruno Prémont &lt;bonbons@linux-vserver.org&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>fbcon: prevent possible buffer overflow.</title>
<updated>2012-08-23T12:22:46Z</updated>
<author>
<name>Paul Cercueil</name>
<email>paul@crapouillou.net</email>
</author>
<published>2012-07-24T01:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e432964a3c5ce517fd93101ae3875172ee958b65'/>
<id>urn:sha1:e432964a3c5ce517fd93101ae3875172ee958b65</id>
<content type='text'>
Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>fbcon: fix race condition between console lock and cursor timer (v1.1)</title>
<updated>2012-08-22T04:00:35Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2012-08-21T06:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8636a2717bb3da2a7ce2154bf08de90bb8c87b0'/>
<id>urn:sha1:d8636a2717bb3da2a7ce2154bf08de90bb8c87b0</id>
<content type='text'>
So we've had a fair few reports of fbcon handover breakage between
efi/vesafb and i915 surface recently, so I dedicated a couple of
days to finding the problem.

Essentially the last thing we saw was the conflicting framebuffer
message and that was all.

So after much tracing with direct netconsole writes (printks
under console_lock not so useful), I think I found the race.

Thread A (driver load)    Thread B (timer thread)
  unbind_con_driver -&gt;              |
  bind_con_driver -&gt;                |
  vc-&gt;vc_sw-&gt;con_deinit -&gt;          |
  fbcon_deinit -&gt;                   |
  console_lock()                    |
      |                             |
      |                       fbcon_flashcursor timer fires
      |                       console_lock() &lt;- blocked for A
      |
      |
fbcon_del_cursor_timer -&gt;
  del_timer_sync
  (BOOM)

Of course because all of this is under the console lock,
we never see anything, also since we also just unbound the active
console guess what we never see anything.

Hopefully this fixes the problem for anyone seeing vesafb-&gt;kms
driver handoff.

v1.1: add comment suggestion from Alan.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'fbdev-fixes-for-3.5-1' of git://github.com/schandinat/linux-2.6</title>
<updated>2012-06-16T23:59:05Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-06-16T23:59:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=88c144b12a943d35500dbfc141c9b33955d2a88a'/>
<id>urn:sha1:88c144b12a943d35500dbfc141c9b33955d2a88a</id>
<content type='text'>
Pull fbdev fixes from Florian Tobias Schandinat:

 - two fixes for s3c-fb by Jingoo Han (including a fix for a potential
   division by zero)

 - a couple of randconfig fixes by Arnd Bergmann

 - a cleanup for bfin_adv7393fb by Emil Goode

* tag 'fbdev-fixes-for-3.5-1' of git://github.com/schandinat/linux-2.6:
  video: s3c-fb: fix possible division by zero in s3c_fb_calc_pixclk
  video: s3c-fb: clear SHADOWCON register when clearing hardware window registers
  drivers/tosa: driver needs I2C and SPI to compile
  drivers/savagefb: use mdelay instead of udelay
  video/console: automatically select a font
  video/ili9320: do not mark exported functions __devexit
  drivers/video: use correct __devexit_p annotation
  video: bfin_adv7393fb: Convert to kstrtouint_from_user
</content>
</entry>
<entry>
<title>video/console: automatically select a font</title>
<updated>2012-06-09T12:51:11Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2012-05-15T21:02:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d399099cbba92b247ac323a99ac4c5fa5b0ca68d'/>
<id>urn:sha1:d399099cbba92b247ac323a99ac4c5fa5b0ca68d</id>
<content type='text'>
The frame buffer console needs at least one font to be built into
the kernel, so add the necessary Kconfig magic to guarantee that
one of the available font is always on. If a user accidentally
disables all fonts manually, the 8x16 font will be selected
anyway.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
</feed>
