• Linus Torvalds's avatar
    Merge tag 'fbdev-v4.19' of https://github.com/bzolnier/linux · 06e386a1
    Linus Torvalds authored
    Pull fbdev updates from Bartlomiej Zolnierkiewicz:
     "Mostly small fixes and cleanups for fb drivers (the biggest updates
      are for udlfb and pxafb drivers). This also adds deferred console
      takeover support to the console code and efifb driver.
    
      Summary:
    
       - add support for deferred console takeover, when enabled defers
         fbcon taking over the console from the dummy console until the
         first text is displayed on the console - together with the "quiet"
         kernel commandline option this allows fbcon to still be used
         together with a smooth graphical bootup (Hans de Goede)
    
       - improve console locking debugging code (Thomas Zimmermann)
    
       - copy the ACPI BGRT boot graphics to the framebuffer when deferred
         console takeover support is used in efifb driver (Hans de Goede)
    
       - update udlfb driver - fix lost console when the user unplugs a USB
         adapter, fix the screen corruption issue, fix locking and add some
         performance optimizations (Mikulas Patocka)
    
       - update pxafb driver - fix using uninitialized memory, switch to
         devm_* API, handle initialization errors and add support for
         lcd-supply regulator (Daniel Mack)
    
       - add support for boards booted with a DeviceTree in pxa3xx_gcu
         driver (Daniel Mack)
    
       - rename omap2 module to omap2fb.ko to avoid conflicts with omap1
         driver (Arnd Bergmann)
    
       - enable ACPI-based enumeration for goldfishfb driver (Yu Ning)
    
       - fix goldfishfb driver to make user space Android code use 60 fps
         (Christoffer Dall)
    
       - print big fat warning when nomodeset kernel parameter is used in
         vgacon driver (Lyude Paul)
    
       - remove VLA usage from fsl-diu-fb driver (Kees Cook)
    
       - misc fixes (Julia Lawall, Geert Uytterhoeven, Fredrik Noring,
         Yisheng Xie, Dan Carpenter, Daniel Vetter, Anton Vasilyev, Randy
         Dunlap, Gustavo A. R. Silva, Colin Ian King, Fengguang Wu)
    
       - misc cleanups (Roman Kiryanov, Yisheng Xie, Colin Ian King)"
    
    * tag 'fbdev-v4.19' of https://github.com/bzolnier/linux: (54 commits)
      Documentation/fb: corrections for fbcon.txt
      fbcon: Do not takeover the console from atomic context
      dummycon: Stop exporting dummycon_[un]register_output_notifier
      fbcon: Only defer console takeover if the current console driver is the dummycon
      fbcon: Only allow FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER if fbdev is builtin
      fbdev: omap2: omapfb: fix ifnullfree.cocci warnings
      fbdev: omap2: omapfb: fix bugon.cocci warnings
      fbdev: omap2: omapfb: fix boolreturn.cocci warnings
      fb: amifb: fix build warnings when not builtin
      fbdev/core: Disable console-lock warnings when fb.lockless_register_fb is set
      console: Replace #if 0 with atomic var 'ignore_console_lock_warning'
      udlfb: use spin_lock_irq instead of spin_lock_irqsave
      udlfb: avoid prefetch
      udlfb: optimization - test the backing buffer
      udlfb: allow reallocating the framebuffer
      udlfb: set line_length in dlfb_ops_set_par
      udlfb: handle allocation failure
      udlfb: set optimal write delay
      udlfb: make a local copy of fb_ops
      udlfb: don't switch if we are switching to the same videomode
      ...
    06e386a1
efifb.c 18.4 KB