1. 06 Nov, 2014 1 commit
  2. 09 Sep, 2014 1 commit
    • Arnd Bergmann's avatar
      video: mx3fb: always enable BACKLIGHT_LCD_SUPPORT · 9c8ee3c7
      Arnd Bergmann authored
      Commit 7edaa761
      
       ("video: mx3fb: Add backlight control support")
      changed the mx3fb driver so it always selects the BACKLIGHT_CLASS_DEVICE
      symbol, but that is hidden behind BACKLIGHT_LCD_SUPPORT in Kconfig, so
      we get a Kconfig warning for multi_v5_defconfig, which doesn't have that:
      
      Warning: (DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 &&
      DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY
      && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI &&
      EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE
      which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
      
      This makes sure we always enable both symbols together for mx3fb, like
      we do for the other drivers that can't be built without backlight
      support. Note that a better solution would be to ensure the driver can
      work with or without backlight support.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Alexander Stein <alexander.stein@systec-electronic.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      9c8ee3c7
  3. 06 Aug, 2014 1 commit
    • Daniel Vetter's avatar
      video/fbdev: Always built-in video= cmdline parsing · ea6763c1
      Daniel Vetter authored
      
      In drm/i915 we want to get at the video= cmdline modes even when we
      don't have fbdev support enabled, so that users can always override
      the kernel's initial mode selection.
      
      But that gives us a direct depency upon the parsing code in the fbdev
      subsystem. Since it's so little code just extract these 2 functions
      and always build them in.
      
      Whiel at it fix the checkpatch fail in this code.
      
      v2: Also move fb_mode_option. Spotted by the kbuild.
      
      v3: Review from Geert:
      - Keep the old copyright notice from fb_mem.c, although I have no
      idea what exactly applies.
      - Only compile this when needed.
      
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      
      --
      
      I prefer if we can merge this through drm-next since we'll use it
      there in follow-up patches.
      -Daniel
      ea6763c1
  4. 04 Aug, 2014 1 commit
  5. 29 Jul, 2014 1 commit
  6. 28 Jul, 2014 1 commit
    • Mark Brown's avatar
      video: clcd-versatile: Depend on ARM · 94f30477
      Mark Brown authored
      
      The Versatile CLCD helpers call dma_alloc_writecombine() which is only
      available on ARM and AVR32, meaning they won't build on other platforms
      including arm64. Unfortunately the current Kconfig enables the symbol
      by default if ARCH_VEXPRESS is defined which means that it is enabled on
      arm64 when building for the ARM reference platforms and models for ARMv8
      since they have many hardware similarities with their pre-ARMv8 systems.
      
      Since all the systems that need the helpers are ARM systems fix this by
      adding a dependency on ARM.
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      94f30477
  7. 23 Jul, 2014 1 commit
    • Arnd Bergmann's avatar
      video: fix up versatile CLCD helper move · ec4c4d87
      Arnd Bergmann authored
      commit 11c32d7b
      
       ("video: move Versatile CLCD helpers")
      moved files out of the plat-versatile directory but in the process
      got a few of the dependencies wrong:
      
      - If CONFIG_FB is not set, the file no longer gets built, resulting
        in a link error
      - If CONFIG_FB or CONFIG_FB_ARMCLCD are disabled, we also get a
        Kconfig warning for incorrect dependencies due to the symbol
        being 'select'ed from the platform Kconfig.
      - When the file is not built, we also get a link error for missing
        symbols.
      
      This patch should fix all three, by removing the 'select' statements,
      changing the Kconfig description of the symbol to be enabled in
      exactly the right configurations, and adding inline stub functions
      for the case when the framebuffer driver is disabled.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      ec4c4d87
  8. 12 Jul, 2014 2 commits
  9. 04 Jul, 2014 1 commit
  10. 27 Jun, 2014 1 commit
    • Linus Walleij's avatar
      video: move Versatile CLCD helpers · 11c32d7b
      Linus Walleij authored
      
      This moves the Versatile-specific helper code and panel database
      down into the drivers/video folder next to the CLCD driver
      itself, preserving the config symbol but also moving the header
      to platform data.
      
      This is necessary to rid the Integrator of this final <plat/*>
      inclusion dependency and get us one less user of the
      plat-versatile folder.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Russell King <linux@arm.linux.org.uk>
      Acked-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      11c32d7b
  11. 24 Jun, 2014 1 commit
  12. 16 May, 2014 1 commit
  13. 09 May, 2014 4 commits
  14. 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
  15. 30 Apr, 2014 1 commit
  16. 17 Apr, 2014 1 commit
  17. 14 Apr, 2014 1 commit
  18. 20 Mar, 2014 1 commit
  19. 05 Mar, 2014 1 commit
  20. 27 Feb, 2014 1 commit
  21. 14 Feb, 2014 1 commit
  22. 17 Jan, 2014 2 commits
  23. 31 Oct, 2013 1 commit
  24. 27 Sep, 2013 1 commit
  25. 09 Aug, 2013 1 commit
  26. 02 Aug, 2013 1 commit
  27. 26 Jul, 2013 1 commit
  28. 08 Jul, 2013 1 commit
  29. 26 Jun, 2013 1 commit
  30. 24 May, 2013 2 commits
    • Geert Uytterhoeven's avatar
      fbdev: FB_GOLDFISH should depend on HAS_DMA · e5ee7305
      Geert Uytterhoeven authored
      
      If NO_DMA=y:
      
        drivers/built-in.o: In function `goldfish_fb_remove':
        drivers/video/goldfishfb.c:301: undefined reference to `dma_free_coherent'
        drivers/built-in.o: In function `goldfish_fb_probe':
        drivers/video/goldfishfb.c:247: undefined reference to `dma_alloc_coherent'
        drivers/video/goldfishfb.c:280: undefined reference to `dma_free_coherent'
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e5ee7305
    • Stephen Warren's avatar
      drivers/video: implement a simple framebuffer driver · 26549c8d
      Stephen Warren authored
      
      A simple frame-buffer describes a raw memory region that may be rendered
      to, with the assumption that the display hardware has already been set
      up to scan out from that buffer.
      
      This is useful in cases where a bootloader exists and has set up the
      display hardware, but a Linux driver doesn't yet exist for the display
      hardware.
      
      Examples use-cases include:
      
      * The built-in LCD panels on the Samsung ARM chromebook, and Tegra
        devices, and likely many other ARM or embedded systems.  These cannot
        yet be supported using a full graphics driver, since the panel control
        should be provided by the CDF (Common Display Framework), which has been
        stuck in design/review for quite some time.  One could support these
        panels using custom SoC-specific code, but there is a desire to use
        common infra-structure rather than having each SoC vendor invent their
        own code, hence the desire to wait for CDF.
      
      * Hardware for which a full graphics driver is not yet available, and
        the path to obtain one upstream isn't yet clear.  For example, the
        Raspberry Pi.
      
      * Any hardware in early stages of upstreaming, before a full graphics
        driver has been tackled.  This driver can provide a graphical boot
        console (even full X support) much earlier in the upstreaming process,
        thus making new SoC or board support more generally useful earlier.
      
      [akpm@linux-foundation.org: make simplefb_formats[] static]
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarOlof Johansson <olof@lixom.net>
      Cc: Rob Clark <robclark@gmail.com>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Tomasz Figa <tomasz.figa@gmail.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      26549c8d
  31. 09 May, 2013 1 commit
    • Fabio Estevam's avatar
      video: mxsfb: Adapt to new videomode API · d7321df3
      Fabio Estevam authored
      commit 6cd2c7db (videomode: videomode_from_timing work) changed the name of
      the function from videomode_from_timing() to videomode_from_timings().
      
      commit 32ed6ef1
      
       (videomode: create enum for videomode's display flags) changed
      the 'data_flags' field in videomode structure to 'flags'
      
      Adapt to these changes in order to fix the following errors:
      
      drivers/video/mxsfb.c:761:3: error: too many arguments to function 'videomode_from_timing'
      drivers/video/mxsfb.c:761:7: error: void value not ignored as it ought to be
      drivers/video/mxsfb.c:768:9: error: 'struct videomode' has no member named 'data_flags'
      drivers/video/mxsfb.c:770:9: error: 'struct videomode' has no member named 'data_flags'
      
      Also, select VIDEOMODE_HELPER instead of OF_VIDEOMODE, as this one is
      deprecated.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      d7321df3
  32. 29 Apr, 2013 1 commit
  33. 22 Apr, 2013 1 commit
  34. 16 Apr, 2013 1 commit