1. 04 Jan, 2018 4 commits
    • Dave Airlie's avatar
      Merge branch 'drm-armada-devel-4.15' of git://git.armlinux.org.uk/~rmk/linux-arm into drm-next · bcd21a47
      Dave Airlie authored
      This series builds upon the set of fixes previously submitted to move
      Armada DRM closer to atomic modeset.  We're nowhere near yet, but this
      series helps to get us closer by unifying some of the differences
      between the primary and overlay planes.
      
      New features added allows userspace to disable the primary plane if
      overlay is full screen and there's nothing obscuring the colorkey -
      this saves having to fetch an entire buffer containing nothing but
      colorkey when displaying full screen video.
      
      [airlied: fixup for atomic plane helper rename:
      a01cb8ba
      Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Date:   Wed Nov 1 22:16:19 2017 +0200
      
          drm: Move drm_plane_helper_check_state() into drm_atomic_helper.c
      ]
      
      * 'drm-armada-devel-4.15' of git://git.armlinux.org.uk/~rmk/linux-arm: (29 commits)
        drm/armada: expand overlay trace entry
        drm/armada: implement primary plane update
        drm/armada: extract register generation from armada_drm_primary_set()
        drm/armada: wait for previous work when moving overlay window
        drm/armada: move overlay plane register update generation
        drm/armada: re-organise overlay register update generation
        drm/armada: disable planes at next blanking period
        drm/armada: avoid work allocation
        drm/armada: allow armada_drm_plane_work_queue() to silently fail
        drm/armada: use drm_plane_helper_check_state()
        drm/armada: only enable HSMOOTH if scaling horizontally
        drm/armada: move writes of LCD_SPU_SRAM_PARA1 under lock
        drm/armada: move regs into armada_plane_work
        drm/armada: move event sending into armada_plane_work
        drm/armada: move fb retirement into armada_plane_work
        drm/armada: move overlay plane work out from under spinlock
        drm/armada: clear plane enable bit when disabling
        drm/armada: clean up armada_drm_crtc_plane_disable()
        drm/armada: allow the primary plane to be disabled
        drm/armada: wait and cancel any pending frame work at disable
        ...
      bcd21a47
    • Dave Airlie's avatar
      Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next · 066f9eb4
      Dave Airlie authored
      Highlights this time:
      1. Fix for a nasty Kconfig dependency chain issue from Philipp.
      2. Occlusion query buffer address added to the cmdstream validator by
      Christian.
      3. Fixes and cleanups to the job handling from me. This allows us to
      turn on the GPU performance profiling added in the last cycle.
      It is also prep work for hooking in the DRM GPU scheduler, which I hope
      to land for the next cycle.
      
      * 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux: (32 commits)
        drm/etnaviv: use memset32 to init pagetable
        drm/etnaviv: move submit free out of critical section
        drm/etnaviv: re-enable perfmon support
        drm/etnaviv: couple runtime PM management to submit object lifetime
        drm/etnaviv: move GPU active handling to bo pin/unpin
        drm/etnaviv: move cmdbuf into submit object
        drm/etnaviv: use submit exec_state for perfmon sampling
        drm/etnaviv: move exec_state to submit object
        drm/etnaviv: move PMRs to submit object
        drm/etnaviv: refcount the submit object
        drm/etnaviv: move ww_acquire_ctx out of submit object
        drm/etnaviv: move object unpinning to submit cleanup
        drm/etnaviv: attach in fence to submit and move fence wait to fence_sync
        drm/etnaviv: rename submit fence to out_fence
        drm/etnaviv: move object fence attachment to gem_submit path
        drm/etnaviv: simplify submit_create
        drm/etnaviv: add lockdep annotations to buffer manipulation functions
        drm/etnaviv: hold GPU lock while inserting END command
        drm/etnaviv: move workqueue to be per GPU
        drm/etnaviv: remove switch_context member from etnaviv_gpu
        ...
      066f9eb4
    • Dave Airlie's avatar
      Merge tag 'exynos-drm-next-for-v4.16' of... · 4ef0bef2
      Dave Airlie authored
      Merge tag 'exynos-drm-next-for-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      Remove lagacy IPP driver
      - This driver isn't used anymore so remove it. Marek is preparing new one
        which includes completely rewritten API so this driver will be replaced
        with the new version[1] later.
      And cleanups.
      
      [1] https://patches.linaro.org/cover/118386/
      
      * tag 'exynos-drm-next-for-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
        drm/exynos: ipp: Remove Exynos DRM IPP subsystem
        drm/exynos/decon: Add include guard to the Exynos7 header
        drm/exynos/decon: Move headers from global to local place
        drm/exynos: decon5433: Remove unnecessary platform_get_resource() error check
      4ef0bef2
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-2017-12-24' of git://people.freedesktop.org/~gabbayo/linux into drm-next · a9742b79
      Dave Airlie authored
      - Add CWSR (compute wave save restore) support for GFX8 (Carrizo)
      - Fix SDMA user-mode queues support for GFX7 (Kaveri)
      - Add SDMA user-mode queues support for GFX8 (Carrizo)
      - Allow HWS (hardware scheduling) to schedule multiple processes concurrently
      - Add debugfs support
      - Simplify process locking and lock dependencies
      - Refactoring topology code to prepare for dGPU support + fixes to that code
        - Add option to generate dummy/virtual CRAT table when its missing or deformed
        - Recognize CPUs other then APUs as compute entities
      - Various clean ups and bug fixes
      
      I have not yet sent the dGPU topology code because it depends on a patch
      for the PCI subsystem that adds PCIe atomics support. Once that patch is
      upstreamed we can continue with the rest of the dGPU code.
      
      * tag 'drm-amdkfd-next-2017-12-24' of git://people.freedesktop.org/~gabbayo/linux: (53 commits)
        drm/amdgpu: Add support for reporting VRAM usage
        drm/amdkfd: Ignore ACPI CRAT for non-APU systems
        drm/amdkfd: Module option to disable CRAT table
        drm/amdkfd: Add AQL Queue Memory flag on topology
        drm/amdkfd: Fixup incorrect info in the CZ CRAT table
        drm/amdkfd: Add perf counters to topology
        drm/amdkfd: Add topology support for dGPUs
        drm/amdkfd: Add topology support for CPUs
        drm/amdkfd: Fix sibling_map[] size
        drm/amdkfd: Simplify counting of memory banks
        drm/amdkfd: Turn verbose topology messages into pr_debug
        drm/amdkfd: sync IOLINK defines to thunk spec
        drm/amdkfd: Support enumerating non-GPU devices
        drm/amdkfd: Decouple CRAT parsing from device list update
        drm/amdkfd: Reorganize CRAT fetching from ACPI
        drm/amdkfd: Group up CRAT related functions
        drm/amdkfd: Fix memory leaks in kfd topology
        drm/amdkfd: Topology: Fix location_id
        drm/amdkfd: Update number of compute unit from KGD
        drm/amd: Remove get_vmem_size from KGD-KFD interface
        ...
      a9742b79
  2. 02 Jan, 2018 29 commits
  3. 01 Jan, 2018 4 commits
  4. 27 Dec, 2017 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2017-12-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 35087762
      Dave Airlie authored
      - Allow internal page allocation to fail (Chris)
      - More improvements on logs, dumps, and trace (Chris, Michal)
      - Coffee Lake important fix for stolen memory (Lucas)
      - Continue to make GPU reset more robust as well
         improving selftest coverage for it (Chris)
      - Unifying debugfs return codes (Michal)
      - Using existing helper for testing obj pages (Matthew)
      - Organize and improve gem_request tracepoints (Lionel)
      - Protect DDI port to DPLL map from theoretical race (Rodrigo)
      - ... and consequently fixing the indentation on this DDI clk selection function (Chris)
      - ... and consequently properly serializing non-blocking modesets (Ville)
      - Add support for horizontal plane flipping on Cannonlake (Joonas)
      - Two Cannonlake Workarounds for better stability (Rafael)
      - Fix mess around PSR registers (DK)
      - More Coffee Lake PCI IDs (Rodrigo)
      - Remove CSS modifiers on pipe C of Geminilake (Krisman)
      - Disable all planes for load detection (Ville)
      - Reorg on i915 display headers (Michal)
      - Avoid enabling movntdqa optimization on hypervisor guest (Changbin)
      
      GVT:
      - more mmio switch optimization (Weinan)
      - cleanup i915_reg_t vs. offset usage (Zhenyu)
      - move write protect handler out of mmio handler (Zhenyu)
      
      * tag 'drm-intel-next-2017-12-22' of git://anongit.freedesktop.org/drm/drm-intel: (55 commits)
        drm/i915: Update DRIVER_DATE to 20171222
        drm/i915: Show HWSP in intel_engine_dump()
        drm/i915: Assert that the request is on the execution queue before being removed
        drm/i915/execlists: Show preemption progress in GEM_TRACE
        drm/i915: Put all non-blocking modesets onto an ordered wq
        drm/i915: Disable GMBUS clock gating around GMBUS transfers on gen9+
        drm/i915: Clean up the PNV bit banging vs. GMBUS clock gating w/a
        drm/i915: No need to power up PG2 for GMBUS on BXT
        drm/i915: Disable DC states around GMBUS on GLK
        drm/i915: Do not enable movntdqa optimization in hypervisor guest
        drm/i915: Dump device info at once
        drm/i915: Add pretty printer for runtime part of intel_device_info
        drm/i915: Update intel_device_info_runtime_init() parameter
        drm/i915: Move intel_device_info definitions to its own header
        drm/i915: Move opregion definitions to dedicated intel_opregion.h
        drm/i915: Move display related definitions to dedicated header
        drm/i915: Move some utility functions to i915_util.h
        drm/i915/gvt: move write protect handler out of mmio emulation function
        drm/i915/gvt: cleanup usage for typed mmio reg vs. offset
        drm/i915/gvt: Fix pipe A enable as default for vgpu
        ...
      35087762
  5. 22 Dec, 2017 2 commits
    • Rodrigo Vivi's avatar
      cfe4982c
    • Chris Wilson's avatar
      drm/i915: Show HWSP in intel_engine_dump() · c1bf2728
      Chris Wilson authored
      Looking at a CI failure with an ominous line of
      [  362.550715] hangcheck current seqno ffffff6b, last ffffff8c, hangcheck ffffff6b [6016 ms], inflight 118
      with no apparent cause for the seqno to be negative, left me wondering
      if someone had scribbled over the HWSP. So include the HWSP in the
      engine dump to see if there are more signs of random scribbling.
      
      v2: Fix row pointer, i is now incremented by 8 so doesn't need scaling
      by 8, and we don't need to keep volatile here as the status_page isn't
      marked up as volatile itself.
      v3: Use hexdump, with suppression of identical lines. (Tvrtko)
          Which results in
      
      HWSP:
      00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      *
      00000040 00000001 00000000 00000018 00000002 00000001 00000000 00000018 00000000
      00000060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000003
      00000080 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      *
      000000c0 00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      *
      
          instead of 128 lines of mostly 0s.
      v4: Tidy up the locals
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171222182521.18106-1-chris@chris-wilson.co.ukReviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      c1bf2728