1. 23 May, 2014 2 commits
  2. 19 May, 2014 1 commit
  3. 16 May, 2014 2 commits
  4. 15 May, 2014 1 commit
  5. 09 May, 2014 11 commits
    • Fabian Frederick's avatar
      fbdev: fbmem: remove positive test on unsigned values · 34bdb666
      Fabian Frederick authored
      fb_image.dx, fb_image.dy and fbconf2bmap.framebuffer are __u32
      
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      34bdb666
    • Masami Ichikawa's avatar
      fbcon: Fix memory leak in con2fb_release_oldinfo() · 7a966fbd
      Masami Ichikawa authored
      kmemleak reported a memory leak as below.
      
      unreferenced object 0xffff8800dab6d8d8 (size 96):
        comm "swapper/0", pid 1, jiffies 4294877598 (age 38.483s)
        hex dump (first 32 bytes):
          00 00 00 00 00 01 00 00 08 00 00 00 10 00 00 00  ................
          07 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff814e8f2e>] kmemleak_alloc+0x4e/0xb0
          [<ffffffff811a0600>] __kmalloc+0x280/0x320
          [<ffffffff81309b61>] soft_cursor+0x231/0x290
          [<ffffffff81309393>] bit_cursor+0x613/0x650
          [<ffffffff8130556b>] fbcon_cursor+0x13b/0x1c0
          [<ffffffff813755f8>] hide_cursor+0x28/0xa0
          [<ffffffff81376e98>] redraw_screen+0x168/0x240
          [<ffffffff81303891>] fbcon_prepare_logo+0x381/0x420
          [<ffffffff81303c7e>] fbcon_init+0x34e/0x590
          [<ffffffff81375828>] visual_init+0xb8/0x120
          [<ffffffff81377c93>] do_bind_con_driver+0x163/0x380
          [<ffffffff81378494>] do_take_over_console+0x114/0x1c0
          [<ffffffff81303f23>] do_fbcon_takeover+0x63/0xd0
          [<ffffffff813086dd>] fbcon_event_notify+0x68d/0x7e0
          [<ffffffff814ff7ac>] notifier_call_chain+0x4c/0x70
          [<ffffffff8108c85d>] __blocking_notifier_call_chain+0x4d/0x70
      
      This memory leak cause is, fbcon_ops's cursor_src is allocated in
      soft_cursor() but not released in con2fb_release_oldinfo().
      so, cursor_src is needed to be released when oldinfo is going to be
      released.
      Signed-off-by: default avatarMasami Ichikawa <masami256@gmail.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      7a966fbd
    • Jean Delvare's avatar
      video: Kconfig: Add a dependency to the Goldfish framebuffer driver · 632de707
      Jean Delvare authored
      All other Goldfish drivers depend on GOLDFISH, I see no reason why the
      framebuffer driver would be an exception.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      632de707
    • Jean Delvare's avatar
      video: exynos: Add a dependency to the menu · 5fb7652b
      Jean Delvare authored
      All drivers under menu EXYNOS_VIDEO depend on either ARCH_S5PV210 or
      ARCH_EXYNOS, so add these as dependencies to the menu itself. This
      avoids presenting an empty and useless menu on other architectures.
      
      Then drivers under the menu only need a dependency if they depend on
      one of the supported architectures specifically.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      5fb7652b
    • Denis Carikli's avatar
      video: mx3fb: Use devm_kzalloc · c58f6616
      Denis Carikli authored
      Replace kzalloc by devm_kzalloc and remove the kfree() calls.
      Signed-off-by: default avatarDenis Carikli <denis@eukrea.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      c58f6616
    • Arnd Bergmann's avatar
      video/nuc900: allow modular build · e3e11f51
      Arnd Bergmann authored
      The frame buffer core may be a loadable module, and in this
      case, the nuc900 driver cannot be built-in. Turning it into
      a tristate option lets Kconfig work out the dependency and
      avoid broken builds.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      e3e11f51
    • Arnd Bergmann's avatar
      video: atmel needs FB_BACKLIGHT · 3cdd1537
      Arnd Bergmann authored
      The atmel frame buffer driver doesn't build if FB_BACKLIGHT
      is disabled, so select it here as we do for lots of other
      drivers.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      3cdd1537
    • Arnd Bergmann's avatar
      video: export fb_prepare_logo · 23e51f87
      Arnd Bergmann authored
      Some drivers that may be loadable modules use the fb_prepare_logo
      function, so we have to export it. Found during randconfig
      builds with mmpfb.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      23e51f87
    • Arnd Bergmann's avatar
      video/mbx: fix building debugfs support · fabd3152
      Arnd Bergmann authored
      The mbx framebuffer debugfs support apparently hasn't been able
      to build for a long time, at least since 2006 when the u.generic_ip
      field in the inode was removed. This fixes the obvious bug, and
      also makes it possible to build the driver as a module when
      debugfs support is enabled, by simply including the C file.
      It's ugly, but it won't make the driver any worse than it
      already is, and doesn't require a more invasive change that
      might break it further.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Raphael Assenat <raph@8d.com>
      Cc: Mike Rapoport <mike@compulab.co.il>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      fabd3152
    • Arnd Bergmann's avatar
      video/omap: fix modular build · 81c44c2b
      Arnd Bergmann authored
      The framebuffer layer can be a loadable module, which forces
      omapfb to be a module as well. However, this breaks the lcd
      drivers, which are linked into the omapfb driver but each
      have their own module_init() function. To solve this,
      we split out the lcd drivers into separate modules and
      export omapfb_register_panel, which is the only interface
      required between the main omapfb driver and the lcd panel
      drivers.
      
      We also have to introduce a new Kconfig symbol for H3, since
      that lcd driver has a dependency on TPS65010, which we can
      express better in Kconfig than Makefile syntax.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: linux-omap@vger.kernel.org
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      81c44c2b
    • Arnd Bergmann's avatar
      video: clarify I2C dependencies · f7200b68
      Arnd Bergmann authored
      We can only use I2C support in frame buffer drivers if
      Either I2C is built-in, or both I2C and the driver itself
      are loadable modules.
      
      Fix this dependency for MB862XX and CyberPro frame buffers.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Anatolij Gustschin <agust@denx.de>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      f7200b68
  6. 07 May, 2014 1 commit
    • Arnd Bergmann's avatar
      video: sh_mobile_lcdcfb depends on meram · 423431a3
      Arnd Bergmann authored
      The sh_mobile_lcdcfb driver calls interfaces provided
      by the corresponding "meram" helper. This fails if meram
      is a module but lcdcfb is built-in.
      
      To work around it, this uses special Kconfig magic to
      only allow lcdcfb to be built if
      a) both are modules,
      b) meram is built-in, or
      c) meram is disabled and the helpers stubbed out
      
      Changing meram from 'y' to 'm' now forces clcd to
      be a module as well, which seems to be the desired
      behavior.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Cc: Simon Horman <horms+renesas@verge.net.au>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: linux-sh@vger.kernel.org
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      423431a3
  7. 02 May, 2014 1 commit
  8. 30 Apr, 2014 7 commits
  9. 22 Apr, 2014 2 commits
  10. 20 Apr, 2014 5 commits
  11. 19 Apr, 2014 7 commits