1. 05 6月, 2010 3 次提交
  2. 03 6月, 2010 3 次提交
  3. 28 5月, 2010 5 次提交
  4. 27 5月, 2010 5 次提交
  5. 26 5月, 2010 10 次提交
  6. 25 5月, 2010 14 次提交
    • D
      nuc900fb: release correct mem region · a42dcb88
      Dan Carpenter 提交于
      We should be releasing "res->start" here.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Acked-by: NWan ZongShun <mcuos.com@gmail.com>
      Cc: Wang Qiang <rurality.linux@gmail.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a42dcb88
    • A
      fb_defio: fix for non-dirty ptes · 49bbd815
      Albert Herranz 提交于
      Fix a problem observed while using fb_defio with a short delay on a
      PowerPC platform.
      
      It is possible that page_mkclean() is invoked in the deferred io work
      function _before_ a PTE has been marked dirty.  In this case, the page is
      removed from the defio pagelist but page_mkclean() does not write-protect
      the page again.  The end result is that defio ignores all subsequent
      writes to the page and the corresponding portions of the framebuffer never
      get updated.
      
      The fix consists in keeping track of the pages with non-dirty PTEs,
      re-checking them again on the next deferred io work iteration.  Note that
      those pages are not passed to the defio callback as they are not written
      by userspace yet.
      Signed-off-by: NAlbert Herranz <albert_herranz@yahoo.es>
      Acked-by: NJaya Kumar <jayakumar.lkml@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      49bbd815
    • H
      sgivwfb: fix sections · 0d5b0264
      Henrik Kretzschmar 提交于
      Since the drivers probe call was changed from .init.text to .devinit.text
      in commit c2e13037 ("platform-drivers:
      move probe to .devinit.text in drivers/video") the fb_fix_screeninfo and
      fb_var_screeninfo structures must be changed from .init.data to
      .devinit.data, too.
      
      Also the drivers remove routine should be moved from .text to .devexit.text
      
      It removes these 7 section mismatch warnings from modpost:
      
      WARNING: vmlinux.o(.devinit.text+0x1e28): Section mismatch in reference from the function sgivwfb_probe() to the variable .init.data:sgivwfb_fix
      The function __devinit sgivwfb_probe() references
      a variable __initdata sgivwfb_fix.
      If sgivwfb_fix is only used by sgivwfb_probe then
      annotate sgivwfb_fix with a matching annotation.
      
      WARNING: vmlinux.o(.devinit.text+0x1e50): Section mismatch in reference from the function sgivwfb_probe() to the (unknown reference) .init.data:(unknown)
      The function __devinit sgivwfb_probe() references
      a (unknown reference) __initdata (unknown).
      If (unknown) is only used by sgivwfb_probe then
      annotate (unknown) with a matching annotation.
      
      WARNING: vmlinux.o(.devinit.text+0x1e59): Section mismatch in reference from the function sgivwfb_probe() to the (unknown reference) .init.data:(unknown)
      The function __devinit sgivwfb_probe() references
      a (unknown reference) __initdata (unknown).
      If (unknown) is only used by sgivwfb_probe then
      annotate (unknown) with a matching annotation.
      
      WARNING: vmlinux.o(.devinit.text+0x1e60): Section mismatch in reference from the function sgivwfb_probe() to the variable .init.data:sgivwfb_fix
      The function __devinit sgivwfb_probe() references
      a variable __initdata sgivwfb_fix.
      If sgivwfb_fix is only used by sgivwfb_probe then
      annotate sgivwfb_fix with a matching annotation.
      
      WARNING: vmlinux.o(.devinit.text+0x1e6a): Section mismatch in reference from the function sgivwfb_probe() to the (unknown reference) .init.data:(unknown)
      The function __devinit sgivwfb_probe() references
      a (unknown reference) __initdata (unknown).
      If (unknown) is only used by sgivwfb_probe then
      annotate (unknown) with a matching annotation.
      
      WARNING: vmlinux.o(.devinit.text+0x1e7f): Section mismatch in reference from the function sgivwfb_probe() to the variable .init.data:sgivwfb_var1600sw
      The function __devinit sgivwfb_probe() references
      a variable __initdata sgivwfb_var1600sw.
      If sgivwfb_var1600sw is only used by sgivwfb_probe then
      annotate sgivwfb_var1600sw with a matching annotation.
      
      WARNING: vmlinux.o(.devinit.text+0x1e91): Section mismatch in reference from the function sgivwfb_probe() to the variable .init.data:sgivwfb_var
      The function __devinit sgivwfb_probe() references
      a variable __initdata sgivwfb_var.
      If sgivwfb_var is only used by sgivwfb_probe then
      annotate sgivwfb_var with a matching annotation.
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0d5b0264
    • H
      s3c2410fb: fix sections · a8ce4be7
      Henrik Kretzschmar 提交于
      Since the drivers probe calls were changed from .init.text to
      .devinit.text in commit c2e13037
      ("platform-drivers: move probe to .devinit.text in drivers/video") all the
      function from .init.text should be moved to .devinit.text, too.
      
      The drivers remove calls can also be move from .text to .devexit.text.
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Cc: Vincent Sanders <support@simtec.co.uk>
      Acked-by: NArnaud Patard <arnaud.patard@rtp-net.org>
      Tested-by: NArnaud Patard <arnaud.patard@rtp-net.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a8ce4be7
    • H
      hitfb: fix sections · e88a0f46
      Henrik Kretzschmar 提交于
      Since the drivers probe call was changed from .init.text to .devinit.text
      in commit c2e13037 ("platform-drivers:
      move probe to .devinit.text in drivers/video") the fb_fix_screeninfo and
      fb_var_screeninfo structures must be changed from .init.data to
      .devinit.data, too.
      
      Also the drivers remove routine should be moved from .exit.text to
      .devexit.text
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e88a0f46
    • G
      fbdev: move FBIO_WAITFORVSYNC to linux/fb.h · 49c39b49
      Grazvydas Ignotas 提交于
      FBIO_WAITFORVSYNC is currently implemented by matroxfb, atyfb, intelfb and
      more.  All of them keep redefining the same FBIO_WAITFORVSYNC macro over
      and over again, so move it to linux/fb.h and clean up those duplicate
      defines.
      Signed-off-by: NGrazvydas Ignotas <notasas@gmail.com>
      Cc: Ville Syrjala <syrjala@sci.fi>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Maik Broemme <mbroemme@plusserver.de>
      Cc: Petr Vandrovec <vandrove@vc.cvut.cz>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
      Cc: "Hiremath, Vaibhav" <hvaibhav@ti.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      49c39b49
    • M
      fbdev: da8xx/omap-l1xx: implement double buffering · 1f9c3e1f
      Martin Ambrose 提交于
      This work includes the following:
      
      - Implement handler for FBIO_WAITFORVSYNC ioctl.
      
      - Allocate the data and palette buffers separately.  A consequence of
        this is that the palette and data loading is now done in different
        phases.  And that the LCD must be disabled temporarily after the palette
        is loaded but this will only happen once after init and each time the
        palette is changed.  I think this is OK.
      
      - Allocate two (ping and pong) framebuffers from memory.
      
      - Add pan_display handler which toggles the LCDC DMA registers between
        the ping and pong buffers.
      Signed-off-by: NMartin Ambrose <martin@ti.com>
      Cc: Chaithrika U S <chaithrika@ti.com>
      Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
      Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1f9c3e1f
    • H
      fbdev: section cleanup in w100fb · fb6cb327
      Henrik Kretzschmar 提交于
      Fix up the section in the w100fb driver, by moving:
      
      *	w100fb_remove() from .text to .devexit.text
      
      *	w100_get_xtal_table() from .text to .devinit.text
      
      *	w100fb_init() from .devinit.text to .init.text
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: <stable@kernel.org>	[if "platform-drivers: move probe to .devinit.text in drivers/video" was merged]
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fb6cb327
    • H
      fbdev: section cleanup in vga16fb · ad145846
      Henrik Kretzschmar 提交于
      Fix up the sections in the vga16fb driver, by moving:
      
      *	the variables vga16_defined and vga16fb
      	from .init.data to .devinit.data
      
      *	vga16fb_setup() from .text to .init.text
      
      *	vga16fb_remove() from .text. to .devexit.text
      
      This fixes the following warnings issued by modpost:
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x1a420): Section mismatch in re
      ference from the function vga16fb_probe() to the (unknown reference) .init.data:
      (unknown)
      The function __devinit vga16fb_probe() references
      a (unknown reference) __initdata (unknown).
      If (unknown) is only used by vga16fb_probe then
      annotate (unknown) with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x1a437): Section mismatch in reference from the function vga16fb_probe() to the variable .init.data:vga16fb_defined
      The function __devinit vga16fb_probe() references
      a variable __initdata vga16fb_defined.
      If vga16fb_defined is only used by vga16fb_probe then
      annotate vga16fb_defined with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x1a457): Section mismatch in reference from the function vga16fb_probe() to the variable .init.data:vga16fb_fix
      The function __devinit vga16fb_probe() references
      a variable __initdata vga16fb_fix.
      If vga16fb_fix is only used by vga16fb_probe then
      annotate vga16fb_fix with a matching annotation.
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: <stable@kernel.org>	[if "platform-drivers: move probe to .devinit.text in drivers/video" was merged]
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ad145846
    • H
      fbdev: section cleanup in vfb · 3cc04971
      Henrik Kretzschmar 提交于
      Fix up the section in the vfb driver, by moving the variables vfb_default
      and vfb_fix from .init.data to .devinit.data
      
      This fixes the following warnings issued by modpost:
      
      WARNING: drivers/video/vfb.o(.devinit.text+0xf8): Section mismatch in reference from the function vfb_probe() to the variable .init.data:vfb_default
      The function __devinit vfb_probe() references
      a variable __initdata vfb_default.
      If vfb_default is only used by vfb_probe then
      annotate vfb_default with a matching annotation.
      
      WARNING: drivers/video/vfb.o(.devinit.text+0x114): Section mismatch in reference from the function vfb_probe() to the variable .init.data:vfb_fix
      The function __devinit vfb_probe() references
      a variable __initdata vfb_fix.
      If vfb_fix is only used by vfb_probe then
      annotate vfb_fix with a matching annotation.
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: <stable@kernel.org>	[if "platform-drivers: move probe to .devinit.text in drivers/video" was merged]
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3cc04971
    • H
      fbdev: section cleanup in hgafb · e217e6e3
      Henrik Kretzschmar 提交于
      Fix up the sections in the hgafb driver, by
      
      * moving hga_default_var and hga_fix from .init.data to .devinit.data
      
      * moving hga_detect() from .init.text to .devinit.text
      
      * moving hga_fb_remove() from .text to .devexit.text
      
      This fixes the following warnings issued by modpost:
      
      WARNING: drivers/video/hgafb.o(.devinit.text+0x18): Section mismatch in referenc
      e from the function hgafb_probe() to the function .init.text:hga_card_detect()
      The function __devinit hgafb_probe() references
      a function __init hga_card_detect().
      If hga_card_detect is only used by hgafb_probe then
      annotate hga_card_detect with a matching annotation.
      
      WARNING: drivers/video/hgafb.o(.devinit.text+0xfe): Section mismatch in referenc
      e from the function hgafb_probe() to the variable .init.data:hga_fix
      The function __devinit hgafb_probe() references
      a variable __initdata hga_fix.
      If hga_fix is only used by hgafb_probe then
      annotate hga_fix with a matching annotation.
      
      WARNING: drivers/video/hgafb.o(.devinit.text+0x105): Section mismatch in reference from the function hgafb_probe() to the variable .init.data:hga_default_var
      The function __devinit hgafb_probe() references
      a variable __initdata hga_default_var.
      If hga_default_var is only used by hgafb_probe then
      annotate hga_default_var with a matching annotation.
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: <stable@kernel.org>	[if "platform-drivers: move probe to .devinit.text in drivers/video" was merged]
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e217e6e3
    • H
      fbdev: section cleanup in arcfb · bd9b5caf
      Henrik Kretzschmar 提交于
      Fix the sections in the arcfb driver, by moving:
      
      *	the variables arcfb_fix and arcfb_var from .init.data to .devinit.data
      
      *	arcfb_remove() from .text to .devexit.text
      
      This fixes the following warnings issued by modpost:
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x543): Section mismatch in reference from the function arcfb_probe() to the variable .init.data:arcfb_var
      The function __devinit arcfb_probe() references
      a variable __initdata arcfb_var.
      If arcfb_var is only used by arcfb_probe then
      annotate arcfb_var with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x558): Section mismatch in reference from the function arcfb_probe() to the variable .init.data:arcfb_fix
      The function __devinit arcfb_probe() references
      a variable __initdata arcfb_fix.
      If arcfb_fix is only used by arcfb_probe then
      annotate arcfb_fix with a matching annotation.
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: <stable@kernel.org>	[if "platform-drivers: move probe to .devinit.text in drivers/video" was merged]
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      bd9b5caf
    • D
      sis: strcpy() => strlcpy() · dbd536bf
      Dan Carpenter 提交于
      These are different size buffers (40 chars vs 16), we may as well be
      cautious.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Cc: Thomas Winischhofer <thomas@winischhofer.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dbd536bf
    • M
      fbdev: bfin-lq035q1-fb: respect new PPI mode platform field · fbd65e0e
      Michael Hennerich 提交于
      This lets us support the new BF527-EZKIT V2.1 via platform resources
      tweaks only.
      Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Cc: Bryan Wu <cooloney@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fbd65e0e