1. 21 Dec, 2017 3 commits
    • Dave Airlie's avatar
      Merge tag 'omapdrm-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next · 991eecc1
      Dave Airlie authored
      omapdrm changes for v4.16
      
      * support memory bandwidth limits
      * DSI command mode panel cleanups for N9
      * DMM error handling
      
      * tag 'omapdrm-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (27 commits)
        drm: omapdrm: Simplify platform registration
        drm: omapdrm: Remove filename from header and fix copyright tag
        drm/omap: DMM: Check for DMM readiness after successful transaction commit
        drm/omap: DMM: Print information if we received an error interrupt
        drm/omap: DMM: In case of error/timeout in wait_status() print the reason
        drm/omap: DMM: Fix DMM_IRQSTAT_ERR_MASK definition
        drm: omapdrm: Deconstruct the omap_drv.h header.
        drm: omapdrm: venc: Return error code on OF parsing failure
        drm: omapdrm: dpi: Remove dpi_data port_initialized field
        drm: omapdrm: dss: Make dss_dump_clocks() function static
        drm: omapdrm: dss: Set the DMA coherent mask
        drm: omapdrm: Remove unused omap_dss_find_device() function
        drm: omapdrm: Pass drm_device to omap_gem_resume()
        drm: omapdrm: dpi: Don't treat GPIO probe deferral as an error
        drm/omap: panel-dsi-cm: switch to gpiod
        drm/omap: panel-dsi-cm: add external backlight support
        drm/omap: panel-dsi-cm: add physical size support
        drm/omap: panel-dsi-cm: add regulator support
        drm/omap: panel-dsi-cm: fix driver
        drm/omap: add support for physical size hints from display drivers
        ...
      991eecc1
    • Dave Airlie's avatar
      Merge tag 'tilcdc-4.16' of https://github.com/jsarha/linux into drm-next · 8932541b
      Dave Airlie authored
      drm/tilcdc changes for 4.16
      
      * tag 'tilcdc-4.16' of https://github.com/jsarha/linux:
        drm/tilcdc: make tilcdc_mode_hvtotal() static
        drm/tilcdc: Remove drm_framebuffer_get() and *_put() calls
        drm/tilcdc: ensure nonatomic iowrite64 is not used
      8932541b
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2017-12-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 6a9991bc
      Dave Airlie authored
      - Fix documentation build issues (Randy, Markus)
      - Fix timestamp frequency calculation for perf on CNL (Lionel)
      - New DMC firmware for Skylake (Anusha)
      - GTT flush fixes and other GGTT write track and refactors (Chris)
      - Taint kernel when GPU reset fails (Chris)
      - Display workarounds organization (Lucas)
      - GuC and HuC initialization clean-up and fixes (Michal)
      - Other fixes around GuC submission (Michal)
      - Execlist clean-ups like caching ELSP reg offset and improving log readability (Chri\
      s)
      - Many other improvements on our logs and dumps (Chris)
      - Restore GT performance in headless mode with DMC loaded (Tvrtko)
      - Stop updating legacy fb parameters since FBC is not using anymore (Daniel)
      - More selftest improvements (Chris)
      - Preemption fixes and improvements (Chris)
      - x86/early-quirks improvements for Intel graphics stolen memory. (Joonas, Matthew)
      - Other improvements on Stolen Memory code to be resource centric. (Matthew)
      - Improvements and fixes on fence allocation/release (Chris).
      
      GVT:
      
      - fixes for two coverity scan errors (Colin)
      - mmio switch code refine (Changbin)
      - more virtual display dmabuf fixes (Tina/Gustavo)
      - misc cleanups (Pei)
      - VFIO mdev display dmabuf interface and gvt support (Tina)
      - VFIO mdev opregion support/fixes (Tina/Xiong/Chris)
      - workload scheduling optimization (Changbin)
      - preemption fix and temporal workaround (Zhenyu)
      - and misc fixes after refactor (Chris)
      
      * tag 'drm-intel-next-2017-12-14' of git://anongit.freedesktop.org/drm/drm-intel: (87 commits)
        drm/i915: Update DRIVER_DATE to 20171214
        drm/i915: properly init lockdep class
        drm/i915: Show engine state when hangcheck detects a stall
        drm/i915: make CS frequency read support missing more obvious
        drm/i915/guc: Extract doorbell verification into a function
        drm/i915/guc: Extract clients allocation to submission_init
        drm/i915/guc: Extract doorbell creation from client allocation
        drm/i915/guc: Call invalidate after changing the vfunc
        drm/i915/guc: Extract guc_init from guc_init_hw
        drm/i915/guc: Move GuC workqueue allocations outside of the mutex
        drm/i915/guc: Move shared data allocation away from submission path
        drm/i915: Unwind i915_gem_init() failure
        drm/i915: Ratelimit request allocation under oom
        drm/i915: Allow fence allocations to fail
        drm/i915: Mark up potential allocation paths within i915_sw_fence as might_sleep
        drm/i915: Don't check #active_requests from i915_gem_wait_for_idle()
        drm/i915/fence: Use rcu to defer freeing of irq_work
        drm/i915: Dump the engine state before declaring wedged from wait_for_engines()
        drm/i915: Bump timeout for wait_for_engines()
        drm/i915: Downgrade misleading "Memory usable" message
        ...
      6a9991bc
  2. 19 Dec, 2017 28 commits
  3. 18 Dec, 2017 5 commits
    • Xiongwei Song's avatar
      drm/tilcdc: make tilcdc_mode_hvtotal() static · 584d4ed8
      Xiongwei Song authored
      The function tilcdc_mode_hvtotal is local to the source and does not need
      to be in global scope, so make it static.
      
      drivers/gpu/drm/tilcdc/tilcdc_crtc.c:297:6: warning: no previous prototype for 'tilcdc_mode_hvtotal' [-Wmissing-prototypes]
       uint tilcdc_mode_hvtotal(const struct drm_display_mode *mode)
      Signed-off-by: default avatarXiongwei Song <sxwjean@gmail.com>
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      584d4ed8
    • Jyri Sarha's avatar
      drm/tilcdc: Remove drm_framebuffer_get() and *_put() calls · 1775ede0
      Jyri Sarha authored
      The drm_framebuffer_get() and drm_framebuffer_put() calls in the
      tilcdc driver are obsolete. The drm atomic modesetting core should
      take care of holding the references while the atomic state object is
      in use. The old state is deleted when a commit of a new one is
      completed after drm_atomic_helper_wait_for_vblanks().
      
      This also fixes an occasional framebuffer leak the old
      drm_framebuffer_get() and drm_framebuffer_put() code had.
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      1775ede0
    • Logan Gunthorpe's avatar
      drm/tilcdc: ensure nonatomic iowrite64 is not used · 4e5ca2d9
      Logan Gunthorpe authored
      Add a check to ensure iowrite64 is only used if it is atomic.
      
      It was decided in [1] that the tilcdc driver should not be using an
      atomic operation (so it was left out of this patchset). However, it turns
      out that through the drm code, a nonatomic header is actually included:
      
      include/linux/io-64-nonatomic-lo-hi.h
      is included from include/drm/drm_os_linux.h:9:0,
                  from include/drm/drmP.h:74,
                  from include/drm/drm_modeset_helper.h:26,
                  from include/drm/drm_atomic_helper.h:33,
                  from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:19:
      
      And thus, without this change, this patchset would inadvertantly
      change the behaviour of the tilcdc driver.
      
      [1] lkml.kernel.org/r/CAK8P3a2HhO_zCnsTzq7hmWSz5La5Thu19FWZpun16iMnyyNreQ@mail.gmail.com
      Signed-off-by: default avatarLogan Gunthorpe <logang@deltatee.com>
      Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: David Airlie <airlied@linux.ie>
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      4e5ca2d9
    • Linus Torvalds's avatar
      Linux 4.15-rc4 · 1291a0d5
      Linus Torvalds authored
      1291a0d5
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2017-12-14' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · a942b3c2
      Dave Airlie authored
      drm-misc-next for 4.16:
      
      Cross-subsystem Changes:
      
       - Documentation for amlogic dt dt-bindings
      
      Core Changes:
      
       - Update edid-derived drm_display_info fields at edid property set
      
      Driver Changes:
      
       - A bunch of clean up from Noralf, including the last patches to reduce
       fbdev emulation footprint.
      
      * tag 'drm-misc-next-2017-12-14' of git://anongit.freedesktop.org/drm/drm-misc: (30 commits)
        drm/atomic-helper: Make zpos property kerneldoc less misleading
        drm: Update edid-derived drm_display_info fields at edid property set [v2]
        MAINTAINERS: Remove Jani as drm-misc co-maintainer
        drm/tinydrm: Use drm_fb_cma_fbdev_init_with_funcs/fini()
        drm/arm/mali: Use drm_fb_cma_fbdev_init/fini()
        drm/zte: Use drm_fb_cma_fbdev_init/fini()
        drm/vc4: Use drm_fb_cma_fbdev_init/fini()
        drm/tve200: Use drm_fb_cma_fbdev_init/fini()
        drm/tilcdc: Use drm_fb_cma_fbdev_init/fini()
        drm/sun4i: Use drm_fb_cma_fbdev_init/fini()
        drm/stm: Use drm_fb_cma_fbdev_init/fini()
        drm/sti: Use drm_fb_cma_fbdev_init/fini()
        drm/pl111: Use drm_fb_cma_fbdev_init/fini()
        drm/imx: Use drm_fb_cma_fbdev_init/fini()
        drm/atmel-hlcdc: Use drm_fb_cma_fbdev_init/fini()
        drm/cma-helper: Add drm_fb_cma_fbdev_init/fini()
        drm/gem-fb-helper: drm_gem_fbdev_fb_create() make funcs optional
        drm/tegra: Use drm_fb_helper_lastclose() and _poll_changed()
        drm/rockchip: Use drm_fb_helper_lastclose() and _poll_changed()
        drm/omap: Use drm_fb_helper_lastclose() and _poll_changed()
        ...
      a942b3c2
  4. 17 Dec, 2017 4 commits