24 Aug, 2018

1 commit

  • 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
    ...

    Linus Torvalds
     

25 Jul, 2018

6 commits

  • This patch changes udlfb so that it may reallocate the framebuffer when
    setting higher-resolution mode. If we boot the system without monitor
    attached, udlfb creates a framebuffer with the size 800x600. This patch
    makes it possible to select higher videomode with the fbset command when
    a monitor is attached.

    Note that there is no reliable way to prevent the system from touching the
    old framebuffer, so we must not free it. We add it to the list
    dlfb->deferred_free and free it when the driver is unloaded.

    Signed-off-by: Mikulas Patocka
    [b.zolnierkie: sparse fixes]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Mikulas Patocka
     
  • The default delay 5 jiffies is too much when the kernel is compiled with
    HZ=100 - it results in jumpy cursor in Xwindow.

    In order to find out the optimal delay, I benchmarked the driver on
    1280x720x30fps video. I found out that with HZ=1000, 10ms is acceptable,
    but with HZ=250 or HZ=300, we need 4ms, so that the video is played
    without any frame skips.

    This patch changes the delay to this value.

    Signed-off-by: Mikulas Patocka
    Cc: stable@vger.kernel.org
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Mikulas Patocka
     
  • The defio subsystem overwrites the method fb_osp->mmap. That method is
    stored in module's static data - and that means that if we have multiple
    diplaylink adapters, they will over write each other's method.

    In order to avoid interference between multiple adapters, we copy the
    fb_ops structure to a device-local memory.

    Signed-off-by: Mikulas Patocka
    Cc: stable@vger.kernel.org
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Mikulas Patocka
     
  • The udlfb driver reprograms the hardware everytime the user switches the
    console, that makes quite unusable when working on the console.

    This patch makes the driver remember the videomode we are in and avoid
    reprogramming the hardware if we switch to the same videomode.

    We mask the "activate" field and the "FB_VMODE_SMOOTH_XPAN" flag when
    comparing the videomode, because they cause spurious switches when
    switching to and from the Xserver.

    Signed-off-by: Mikulas Patocka
    Cc: stable@vger.kernel.org
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Mikulas Patocka
     
  • I observed that the performance of the udl fb driver degrades over time.
    On a freshly booted machine, it takes 6 seconds to do "ls -la /usr/bin";
    after some time of use, the same operation takes 14 seconds.

    The reason is that the value of "limit_sem" decays over time.

    The udl driver uses a semaphore "limit_set" to specify how many free urbs
    are there on dlfb->urbs.list. If the count is zero, the "down" operation
    will sleep until some urbs are added to the freelist.

    In order to avoid some hypothetical deadlock, the driver will not call
    "up" immediately, but it will offload it to a workqueue. The problem is
    that if we call "schedule_delayed_work" on the same work item multiple
    times, the work item may only be executed once.

    This is happening:
    * some urb completes
    * dlfb_urb_completion adds it to the free list
    * dlfb_urb_completion calls schedule_delayed_work to schedule the function
    dlfb_release_urb_work to increase the semaphore count
    * as the urb is on the free list, some other task grabs it and submits it
    * the submitted urb completes, dlfb_urb_completion is called again
    * dlfb_urb_completion calls schedule_delayed_work, but the work is already
    scheduled, so it does nothing
    * finally, dlfb_release_urb_work is called, it increases the semaphore
    count by 1, although it should increase it by 2

    So, the semaphore count is decreasing over time, and this causes gradual
    performance degradation.

    Note that in the current kernel, the "up" function may be called from
    interrupt and it may race with the "down" function called by another
    thread, so we don't have to offload the call of "up" to a workqueue at
    all. This patch removes the workqueue code. The patch also changes
    "down_interruptible" to "down" in dlfb_free_urb_list, so that we will
    clean up the driver properly even if a signal arrives.

    With this patch, the performance of udlfb no longer degrades.

    Signed-off-by: Mikulas Patocka
    Cc: stable@vger.kernel.org
    [b.zolnierkie: fix immediatelly -> immediately typo]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Mikulas Patocka
     
  • After enabling DSC we need to send compression mode command packet
    and pps data packet, for which 2 new data types are added
    07h Compression Mode Data Type Write , short write, 2 parameters
    0Ah PPS Long Write (word count determines number of bytes)
    This patch adds support to send these packets.

    Cc: David Airlie
    Cc: Jean-Christophe Plagniol-Villard
    Cc: Tomi Valkeinen
    Cc: dri-devel@lists.freedesktop.org
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-fbdev@vger.kernel.org

    Changes in v3:
    - None

    Signed-off-by: vkorjani
    [seanpaul removed pps_write_buffer fn, added types to packet_format helpers]
    Signed-off-by: Sean Paul
    Signed-off-by: Rob Clark

    vkorjani
     

17 Jun, 2018

1 commit

  • Pull fbdev updates from Bartlomiej Zolnierkiewicz:
    "There is nothing really major here, few small fixes, some cleanups and
    dead drivers removal:

    - mark omapfb drivers as orphans in MAINTAINERS file (Tomi Valkeinen)

    - add missing module license tags to omap/omapfb driver (Arnd
    Bergmann)

    - add missing GPIOLIB dependendy to omap2/omapfb driver (Arnd
    Bergmann)

    - convert savagefb, aty128fb & radeonfb drivers to use msleep & co.
    (Jia-Ju Bai)

    - allow COMPILE_TEST build for viafb driver (media part was reviewed
    by media subsystem Maintainer)

    - remove unused MERAM support from sh_mobile_lcdcfb and shmob-drm
    drivers (drm parts were acked by shmob-drm driver Maintainer)

    - remove unused auo_k190xfb drivers

    - misc cleanups (Souptick Joarder, Wolfram Sang, Markus Elfring, Andy
    Shevchenko, Colin Ian King)"

    * tag 'fbdev-v4.18' of git://github.com/bzolnier/linux: (26 commits)
    fb_omap2: add gpiolib dependency
    video/omap: add module license tags
    MAINTAINERS: make omapfb orphan
    video: fbdev: pxafb: match_string() conversion fixup
    video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"
    video: fbdev: fix spelling mistake: "frambuffer" -> "framebuffer"
    video: fbdev: pxafb: Convert to use match_string() helper
    video: fbdev: via: allow COMPILE_TEST build
    video: fbdev: remove unused sh_mobile_meram driver
    drm: shmobile: remove unused MERAM support
    video: fbdev: sh_mobile_lcdcfb: remove unused MERAM support
    video: fbdev: remove unused auo_k190xfb drivers
    video: omap: Improve a size determination in omapfb_do_probe()
    video: sm501fb: Improve a size determination in sm501fb_probe()
    video: fbdev-MMP: Improve a size determination in path_init()
    video: fbdev-MMP: Delete an error message for a failed memory allocation in two functions
    video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_probe()
    video: sh_mobile_lcdcfb: Delete an error message for a failed memory allocation in two functions
    video: sh_mobile_meram: Delete an error message for a failed memory allocation in sh_mobile_meram_probe()
    video: fbdev: sh_mobile_meram: Drop SUPERH platform dependency
    ...

    Linus Torvalds
     

14 May, 2018

3 commits

  • Since commit a521422ea4ae ("ARM: shmobile: mackerel: Remove Legacy C
    board code") MERAM functionality is unused. Remove it.

    Reviewed-by: Simon Horman
    Reviewed-by: Geert Uytterhoeven
    Acked-by: Laurent Pinchart
    Acked-by: Daniel Vetter
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Since commit a521422ea4ae ("ARM: shmobile: mackerel: Remove Legacy C
    board code") MERAM functionality is unused. Remove it.

    Reviewed-by: Simon Horman
    Reviewed-by: Geert Uytterhoeven
    Acked-by: Laurent Pinchart
    Acked-by: Daniel Vetter
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • auo_k1900fb and auo_k1901fb drivers have been introduced six
    years ago by following commits:

    commit 2c8304d3125b ("video: auo_k190x: add code shared by controller drivers")
    commit 96b1d500e028 ("video: auo_k190x: add driver for AUO-K1900 variant")
    commit 53027cdf2a67 ("video: auo_k190x: add driver for AUO-K1901 variant")

    They never had any in-kernel user so just remove them (since
    they are platform drivers they need corresponding platform
    devices to be registered by kernel and it has never happened).

    Reviewed-by: Heiko Stuebner
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

05 May, 2018

1 commit

  • Just checking for ifdefs cause build issues as reported by
    kernel test:

    config: openrisc-allmodconfig (attached as .config)
    compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental)

    All errors (new ones prefixed by >>):

    drivers/video/fbdev/omap2/omapfb/omapfb-main.c: In function 'omapfb_init_connections':
    >> drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2396:8: error: implicit declaration of function 'omapdss_find_mgr_from_display' [-Werror=implicit-function-declaration]
    mgr = omapdss_find_mgr_from_display(def_dssdev);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2396:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    mgr = omapdss_find_mgr_from_display(def_dssdev);
    ^
    drivers/video/fbdev/omap2/omapfb/omapfb-main.c: In function 'omapfb_find_default_display':
    >> drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2430:13: error: implicit declaration of function 'omapdss_get_default_display_name' [-Werror=implicit-function-declaration]
    def_name = omapdss_get_default_display_name();
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    drivers/video/fbdev/omap2/omapfb/omapfb-main.c:2430:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    def_name = omapdss_get_default_display_name();
    ^

    So, use IS_ENABLED() instead.

    Fixes: 771f7be87ff9 ("media: omapfb: omapfb_dss.h: add stubs to build with COMPILE_TEST && DRM_OMAP")

    Cc: Bartlomiej Zolnierkiewicz
    Cc: Randy Dunlap
    Cc: tomi.valkeinen@ti.com
    Cc: linux-omap@vger.kernel.org
    Cc: linux-fbdev@vger.kernel.org
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

04 May, 2018

1 commit


13 Mar, 2018

1 commit

  • Since introduction of of_display_timings_exist() function in commit
    cc3f414cf2e40 ("video: add of helper for display timings/videomode") it
    didn't attract any users, and the function has no potential, because
    of_get_display_timings() covers its functionality and does more.

    Drop the unused exported function from the kernel.

    Signed-off-by: Vladimir Zapolskiy
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Vladimir Zapolskiy
     

08 Feb, 2018

1 commit

  • Pull fbdev updates from Bartlomiej Zolnierkiewicz:
    "There is nothing really major here:

    - fix display-timings lookup in the Device Tree in atmel_lcdfb driver
    (Johan Hovold)

    - fix video mode and line_length to be set correctly in vfb driver
    (Pieter "PoroCYon" Sluys)

    - fix returning nonsensical values to the user-space on GIO_FONTX
    ioctl when using dummy console (Nicolas Pitre)

    - add missing license tag to mmpfb driver (Arnd Bergmann)

    - convert radeonfb and pxa3xx_gcu drivers to use ktime_get[_ts64]()
    instead of the deprecated do_gettimeofday() (Arnd Bergmann)

    - switch udlfb driver from using the pr_*() logging functions to the
    dev_*() ones + related cleanups (Ladislav Michl)

    - use __raw I/O accessors also on arm64 (Ji Zhang)

    - fix Kconfig help text for intelfb driver (Randy Dunlap)

    - do not duplicate features data in omapfb driver (Ladislav Michl)

    - misc cleanups (Colin Ian King, Markus Elfring, Rasmus Villemoes,
    Vasyl Gomonovych, Himanshu Jha, Michael Trimarchi)"

    * tag 'fbdev-v4.16' of git://github.com/bzolnier/linux: (25 commits)
    video: udlfb: Switch from the pr_*() to the dev_*() logging functions
    video: udlfb: Constify read only data
    video: fbdev/mmp: add MODULE_LICENSE
    console/dummy: leave .con_font_get set to NULL
    fbdev: mxsfb: use framebuffer_alloc in the correct way
    video: udlfb: Do not name private data 'dev'
    video: udlfb: Remove noisy warnings
    video: udlfb: Remove redundant gdev variable
    video: udlfb: Remove unnecessary local variable
    fbdev: auo_k190x: Use zeroing memory allocator instead of allocator/memset
    vfb: fix video mode and line_length being set when loaded
    fbdev: arm64 use __raw I/O memory api
    omapfb: dss: Do not duplicate features data
    video: fbdev: omap2: Use PTR_ERR_OR_ZERO()
    fbdev: au1200fb: delete duplicate header contents
    fbdev: pxa3xx: use ktime_get_ts64 for time stamps
    fbdev: radeon: use ktime_get() for HZ calibration
    video: smscufx: Improve a size determination in two functions
    video: udlfb: Delete an unnecessary return statement in two functions
    video: udlfb: Improve a size determination in dlfb_alloc_urb_list()
    ...

    Linus Torvalds
     

16 Jan, 2018

2 commits


05 Jan, 2018

1 commit

  • drm/imx: format modifier support

    - Add tiled prefetch support to PRE
    - Add format modifier support to PRG and imx-drm-core
    - Use runtime PM to control PRG clock
    - Allow building ipu-v3 under COMPILE_TEST

    * tag 'imx-drm-next-2018-01-02' of git://git.pengutronix.de/git/pza/linux:
    gpu: ipu-v3: allow to build with COMPILE_TEST
    drm/imx: advertise supported plane format modifiers
    drm/imx: add FB modifier support
    gpu: ipu-v3: prg: add modifier support
    gpu: ipu-v3: pre: add tiled prefetch support
    gpu: ipu-v3: prg: switch to runtime PM

    Dave Airlie
     

02 Jan, 2018

1 commit


19 Dec, 2017

1 commit


21 Nov, 2017

1 commit

  • Pull fbdev updates from Bartlomiej Zolnierkiewicz:
    "There is nothing really major here (though removal of the dead igafb
    driver stands out in diffstat).

    Summary:

    - convert timers to use timer_setup() (Kees Cook, Thierry Reding)

    - fix panels support on iMX boards in mxsfb driver (Stefan Agner)

    - fix timeout on EDID read in udlfb driver (Ladislav Michl)

    - add missing modes to fix out of bounds access in controlfb driver
    (Geert Uytterhoeven)

    - update initialisation paths in sa1100fb driver to be more robust
    (Russell King)

    - fix error handling path of ->probe method in au1200fb driver
    (Christophe JAILLET)

    - fix handling of cases when either panel or crt is defined in
    sm501fb driver (Sudip Mukherjee, Colin Ian King)

    - add ability to the Goldfish FB driver to be recognized by OS via DT
    (Aleksandar Markovic)

    - structures constifications (Bhumika Goyal)

    - misc fixes (Allen Pais, Gustavo A. R. Silva, Dan Carpenter)

    - misc cleanups (Colin Ian King, Himanshu Jha, Markus Elfring)

    - remove dead igafb driver"

    * tag 'fbdev-v4.15' of git://github.com/bzolnier/linux: (42 commits)
    OMAPFB: prevent buffer underflow in omapfb_parse_vram_param()
    video: fbdev: sm501fb: fix potential null pointer dereference on fbi
    fbcon: Initialize ops->info early
    video: fbdev: Convert timers to use timer_setup()
    video: fbdev: pxa3xx_gcu: Convert timers to use timer_setup()
    fbdev: controlfb: Add missing modes to fix out of bounds access
    video: fbdev: sis_main: mark expected switch fall-throughs
    video: fbdev: cirrusfb: mark expected switch fall-throughs
    video: fbdev: aty: radeon_pm: mark expected switch fall-throughs
    video: fbdev: sm501fb: mark expected switch fall-through in sm501fb_blank_crt
    video: fbdev: intelfb: remove redundant variables
    video/fbdev/dnfb: Use common error handling code in dnfb_probe()
    sm501fb: suspend and resume fb if it exists
    sm501fb: unregister framebuffer only if registered
    sm501fb: deallocate colormap only if allocated
    video: goldfishfb: Add support for device tree bindings
    Documentation: Add device tree binding for Goldfish FB driver
    video: udlfb: Fix read EDID timeout
    video: fbdev: remove dead igafb driver
    video: fbdev: mxsfb: fix pixelclock polarity
    ...

    Linus Torvalds
     

10 Nov, 2017

1 commit


02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

16 Jun, 2017

1 commit

  • imx-drm: cleanups and YUV 4:2:0 memory read/write reduction support

    - Remove counter load enable form PRE, which has no effect.
    - Add support for setting the double read/write reduction flag in channel
    parameter memory. This can be used to save some memory bandwidth when
    capturing in YUV 4:2:0 chroma subsampled formats.
    - Allocate DMA channel structures as needed, most of the 64 channels are
    unused or even reserved.
    - Remove unused interrupt busy waiting routine.
    - Set VDIC field order for both AUTO and MAN inputs simultaneously as
    both can't be active at the same time.

    * tag 'imx-drm-next-2017-06-08' of git://git.pengutronix.de/git/pza/linux:
    gpu: ipu-v3: vdic: include AUTO field order bit in ipu_vdi_set_field_order
    gpu: ipu-v3: remove interrupt busy waiting routine
    gpu: ipu-v3: allocate ipuv3_channels as needed
    gpu: ipu-v3: Add support for double read/write reduction
    gpu: ipu-v3: prg: remove counter load enable

    Dave Airlie
     

08 Jun, 2017

1 commit


01 Jun, 2017

1 commit


10 May, 2017

1 commit

  • Regularly, when a new header is created in include/uapi/, the developer
    forgets to add it in the corresponding Kbuild file. This error is usually
    detected after the release is out.

    In fact, all headers under uapi directories should be exported, thus it's
    useless to have an exhaustive list.

    After this patch, the following files, which were not exported, are now
    exported (with make headers_install_all):
    asm-arc/kvm_para.h
    asm-arc/ucontext.h
    asm-blackfin/shmparam.h
    asm-blackfin/ucontext.h
    asm-c6x/shmparam.h
    asm-c6x/ucontext.h
    asm-cris/kvm_para.h
    asm-h8300/shmparam.h
    asm-h8300/ucontext.h
    asm-hexagon/shmparam.h
    asm-m32r/kvm_para.h
    asm-m68k/kvm_para.h
    asm-m68k/shmparam.h
    asm-metag/kvm_para.h
    asm-metag/shmparam.h
    asm-metag/ucontext.h
    asm-mips/hwcap.h
    asm-mips/reg.h
    asm-mips/ucontext.h
    asm-nios2/kvm_para.h
    asm-nios2/ucontext.h
    asm-openrisc/shmparam.h
    asm-parisc/kvm_para.h
    asm-powerpc/perf_regs.h
    asm-sh/kvm_para.h
    asm-sh/ucontext.h
    asm-tile/shmparam.h
    asm-unicore32/shmparam.h
    asm-unicore32/ucontext.h
    asm-x86/hwcap2.h
    asm-xtensa/kvm_para.h
    drm/armada_drm.h
    drm/etnaviv_drm.h
    drm/vgem_drm.h
    linux/aspeed-lpc-ctrl.h
    linux/auto_dev-ioctl.h
    linux/bcache.h
    linux/btrfs_tree.h
    linux/can/vxcan.h
    linux/cifs/cifs_mount.h
    linux/coresight-stm.h
    linux/cryptouser.h
    linux/fsmap.h
    linux/genwqe/genwqe_card.h
    linux/hash_info.h
    linux/kcm.h
    linux/kcov.h
    linux/kfd_ioctl.h
    linux/lightnvm.h
    linux/module.h
    linux/nbd-netlink.h
    linux/nilfs2_api.h
    linux/nilfs2_ondisk.h
    linux/nsfs.h
    linux/pr.h
    linux/qrtr.h
    linux/rpmsg.h
    linux/sched/types.h
    linux/sed-opal.h
    linux/smc.h
    linux/smc_diag.h
    linux/stm.h
    linux/switchtec_ioctl.h
    linux/vfio_ccw.h
    linux/wil6210_uapi.h
    rdma/bnxt_re-abi.h

    Note that I have removed from this list the files which are generated in every
    exported directories (like .install or .install.cmd).

    Thanks to Julien Floret for the tip to get all
    subdirs with a pure makefile command.

    For the record, note that exported files for asm directories are a mix of
    files listed by:
    - include/uapi/asm-generic/Kbuild.asm;
    - arch//include/uapi/asm/Kbuild;
    - arch//include/asm/Kbuild.

    Signed-off-by: Nicolas Dichtel
    Acked-by: Daniel Vetter
    Acked-by: Russell King
    Acked-by: Mark Salter
    Acked-by: Michael Ellerman (powerpc)
    Signed-off-by: Masahiro Yamada

    Nicolas Dichtel
     

04 May, 2017

1 commit

  • Pull drm u pdates from Dave Airlie:
    "This is the main drm pull request for v4.12. Apart from two fixes
    pulls, everything should have been in drm-next for at least 2 weeks.

    The biggest thing in here is AMD released the public headers for their
    upcoming VEGA GPUs. These as always are quite a sizeable chunk of
    header files. They've also added initial non-display support for those
    GPUs, though they aren't available in production yet.

    Otherwise it's pretty much normal.

    New bridge drivers:
    - megachips-stdpxxxx-ge-b850v3-fw LVDS->DP++
    - generic LVDS bridge support.

    Core:
    - Displayport link train failure reporting to userspace
    - debugfs interface cleaned up
    - subsystem TODO in kerneldoc now
    - Extended fbdev support (flipping and vblank wait)
    - drm_platform removed
    - EDP CRC support in helper
    - HF-VSDB SCDC support in EDID parser
    - Lots of code cleanups and header extraction
    - Thunderbolt external GPU awareness
    - Atomic helper improvements
    - Documentation improvements

    panel:
    - Sitronix and Samsung new panel support

    amdgpu:
    - Preliminary vega10 support
    - Multi-level page table support
    - GPU sensor support for userspace
    - PRT support for sparse buffers
    - SR-IOV improvements
    - Non-contig VRAM CPU mapping

    i915:
    - Atomic modesetting enabled by default on Gen5+
    - LSPCON improvements
    - Atomic state handling for cdclk
    - GPU reset improvements
    - In-kernel unit tests
    - Geminilake improvements and color manager support
    - Designware i2c fixes
    - vblank evasion improvements
    - Hotplug safe connector iterators
    - GVT scheduler QoS support
    - GVT Kabylake support

    nouveau:
    - Acceleration support for Pascal (GP10x).
    - Rearchitecture of code handling proprietary signed firmware
    - Fix GTX 970 with odd MMU configuration
    - GP10B support
    - GP107 acceleration support

    vmwgfx:
    - Atomic modesetting support for vmwgfx

    omapdrm:
    - Support for render nodes
    - Refactor omapdss code
    - Fix some probe ordering issues
    - Fix too dark RGB565 rendering

    sunxi:
    - prelim rework for multiple pipes.

    mali-dp:
    - Color management support
    - Plane scaling
    - Power management improvements

    imx-drm:
    - Prefetch Resolve Engine/Gasket on i.MX6QP
    - Deferred plane disabling
    - Separate alpha support

    mediatek:
    - Mediatek SoC MT2701 support

    rcar-du:
    - Gen3 HDMI support

    msm:
    - 4k support for newer chips
    - OPP bindings for gpu
    - prep work for per-process pagetables

    vc4:
    - HDMI audio support
    - fixes

    qxl:
    - minor fixes.

    dw-hdmi:
    - PHY improvements
    - CSC fixes
    - Amlogic GX SoC support"

    * tag 'drm-for-v4.12' of git://people.freedesktop.org/~airlied/linux: (1778 commits)
    drm/nouveau/fb/gf100-: Fix 32 bit wraparound in new ram detection
    drm/nouveau/secboot/gm20b: fix the error return code in gm20b_secboot_tegra_read_wpr()
    drm/nouveau/kms: Increase max retries in scanout position queries.
    drm/nouveau/bios/bitP: check that table is long enough for optional pointers
    drm/nouveau/fifo/nv40: no ctxsw for pre-nv44 mpeg engine
    drm: mali-dp: use div_u64 for expensive 64-bit divisions
    drm/i915: Confirm the request is still active before adding it to the await
    drm/i915: Avoid busy-spinning on VLV_GLTC_PW_STATUS mmio
    drm/i915/selftests: Allocate inode/file dynamically
    drm/i915: Fix system hang with EI UP masked on Haswell
    drm/i915: checking for NULL instead of IS_ERR() in mock selftests
    drm/i915: Perform link quality check unconditionally during long pulse
    drm/i915: Fix use after free in lpe_audio_platdev_destroy()
    drm/i915: Use the right mapping_gfp_mask for final shmem allocation
    drm/i915: Make legacy cursor updates more unsynced
    drm/i915: Apply a cond_resched() to the saturated signaler
    drm/i915: Park the signaler before sleeping
    drm: mali-dp: Check the mclk rate and allow up/down scaling
    drm: mali-dp: Enable image enhancement when scaling
    drm: mali-dp: Add plane upscaling support
    ...

    Linus Torvalds
     

03 May, 2017

1 commit

  • Pull crypto updates from Herbert Xu:
    "Here is the crypto update for 4.12:

    API:
    - Add batch registration for acomp/scomp
    - Change acomp testing to non-unique compressed result
    - Extend algorithm name limit to 128 bytes
    - Require setkey before accept(2) in algif_aead

    Algorithms:
    - Add support for deflate rfc1950 (zlib)

    Drivers:
    - Add accelerated crct10dif for powerpc
    - Add crc32 in stm32
    - Add sha384/sha512 in ccp
    - Add 3des/gcm(aes) for v5 devices in ccp
    - Add Queue Interface (QI) backend support in caam
    - Add new Exynos RNG driver
    - Add ThunderX ZIP driver
    - Add driver for hardware random generator on MT7623 SoC"

    * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (101 commits)
    crypto: stm32 - Fix OF module alias information
    crypto: algif_aead - Require setkey before accept(2)
    crypto: scomp - add support for deflate rfc1950 (zlib)
    crypto: scomp - allow registration of multiple scomps
    crypto: ccp - Change ISR handler method for a v5 CCP
    crypto: ccp - Change ISR handler method for a v3 CCP
    crypto: crypto4xx - rename ce_ring_contol to ce_ring_control
    crypto: testmgr - Allow ecb(cipher_null) in FIPS mode
    Revert "crypto: arm64/sha - Add constant operand modifier to ASM_EXPORT"
    crypto: ccp - Disable interrupts early on unload
    crypto: ccp - Use only the relevant interrupt bits
    hwrng: mtk - Add driver for hardware random generator on MT7623 SoC
    dt-bindings: hwrng: Add Mediatek hardware random generator bindings
    crypto: crct10dif-vpmsum - Fix missing preempt_disable()
    crypto: testmgr - replace compression known answer test
    crypto: acomp - allow registration of multiple acomps
    hwrng: n2 - Use devm_kcalloc() in n2rng_probe()
    crypto: chcr - Fix error handling related to 'chcr_alloc_shash'
    padata: get_next is never NULL
    crypto: exynos - Add new Exynos RNG driver
    ...

    Linus Torvalds
     

21 Apr, 2017

1 commit

  • Few parts of kernel define their own macro for aligning down so provide
    a common define for this, with the same usage and assumptions as existing
    ALIGN.

    Convert also three existing implementations to this one.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Herbert Xu

    Krzysztof Kozlowski
     

28 Mar, 2017

1 commit


21 Mar, 2017

2 commits


16 Mar, 2017

1 commit


15 Mar, 2017

2 commits

  • The IPUv3 can read 8-bit alpha values from a separate IDMAC channel driven
    by the Alpha Transparency Controller (ATC) for the graphics IDMAC channels.
    This allows to reduce memory bandwidth via a conditional read mechanism or
    to support planar YUV formats with alpha transparency.

    Signed-off-by: Philipp Zabel

    Philipp Zabel
     
  • When disabling the foreground DP channel during a modeset, the DC is
    already disabled without waiting for end of frame. There is no reason
    to wait for a frame boundary before updating the DP registers in that
    case.
    Add support to apply updates immediately. No functional changes, yet.

    Signed-off-by: Philipp Zabel
    Reviewed-by: Lucas Stach

    Philipp Zabel
     

07 Feb, 2017

2 commits


16 Nov, 2016

1 commit

  • rcar-du -next branch.

    * 'drm/next/du' of git://linuxtv.org/pinchartl/media:
    drm: rcar-du: Fix LVDS start sequence on Gen3
    drm: rcar-du: Fix H/V sync signal polarity configuration
    drm: rcar-du: Fix display timing controller parameter
    drm: rcar-du: Fix dot clock routing configuration
    drm: rcar-du: Add R8A7796 support
    drm: rcar-du: Add R8A7792 support
    drm: rcar-du: Simplify and fix probe error handling
    drm: rcar-du: Fix crash in encoder failure error path
    drm: rcar-du: Remove memory allocation error message
    drm: rcar-du: Remove test for impossible error condition
    drm: rcar-du: Bring HDMI encoder comments in line with the driver
    drm: rcar-du: Constify node argument to rcar_du_lvds_connector_init()
    video: of: Constify node argument to display timing functions

    Dave Airlie
     

14 Nov, 2016

1 commit