1. 05 1月, 2018 1 次提交
    • D
      Merge tag 'drm-amdkfd-next-2017-12-24' of git://people.freedesktop.org/~gabbayo/linux into drm-next · a9742b79
      Dave Airlie 提交于
      - 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. 28 12月, 2017 1 次提交
    • D
      Merge tag 'drm-intel-next-2017-12-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 35087762
      Dave Airlie 提交于
      - 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
  3. 23 12月, 2017 5 次提交
    • R
      drm/i915: Update DRIVER_DATE to 20171222 · cfe4982c
      Rodrigo Vivi 提交于
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      cfe4982c
    • C
      drm/i915: Show HWSP in intel_engine_dump() · c1bf2728
      Chris Wilson 提交于
      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: NChris 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: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      c1bf2728
    • C
      drm/i915: Assert that the request is on the execution queue before being removed · 2d453c78
      Chris Wilson 提交于
      We should only attempt to remove requests from the execution queue that
      are on the execution queue. These are the requests that have been
      assigned a global_seqno, so we can assert that we only attempt to remove
      requests with a nonzero global_seqno. Afterwards we assert that we
      remove them in order, i.e. the global_seqno matches the engine's seqno,
      but that leaves a small loophole for an unattached request on an unused
      engine.
      
      We can then make the same assertion on queuing the request to the
      execution engine, it must have a zero global_seqno or else we are queuing
      the same request twice.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Michał Winiarski <michal.winiarski@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171222141959.3006-1-chris@chris-wilson.co.ukReviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      2d453c78
    • C
      drm/i915/execlists: Show preemption progress in GEM_TRACE · 193a98dc
      Chris Wilson 提交于
      We already emit a GEM_TRACE for when we start preemption, but we lack
      one to show when the preemption is completed and we return to the regular
      queue. This is to continue the investigation into the mysterious
      
      <0>[  197.854177]   <idle>-0       1..s1 197837017us : execlists_submission_tasklet: rcs0 cs-irq head=0 [0], tail=0 [0]
      <0>[  197.854209] drv_self-6008    2.... 197837390us : reset_common_ring: rcs0 seqno=15515
      <0>[  197.854240] drv_self-6008    2.... 197837415us : reset_common_ring: bcs0 seqno=0
      <0>[  197.854270] drv_self-6008    2.... 197837443us : reset_common_ring: vcs0 seqno=0
      <0>[  197.854300] drv_self-6008    2.... 197837463us : reset_common_ring: vcs1 seqno=0
      <0>[  197.854330] drv_self-6008    2.... 197837482us : reset_common_ring: vecs0 seqno=0
      <0>[  197.854360] ksoftirq-23      2..s. 197838341us : execlists_submission_tasklet: bcs0 in[0]:  ctx=0.1, seqno=1dce7
      <0>[  197.854392]   <idle>-0       1..s1 197838347us : execlists_submission_tasklet: bcs0 cs-irq head=0 [0], tail=0 [0]
      <0>[  197.854423] ksoftirq-23      2..s. 197838354us : execlists_submission_tasklet: vcs0 in[0]:  ctx=0.1, seqno=1d027
      <0>[  197.854456] ksoftirq-23      2.Ns. 197838361us : execlists_submission_tasklet: vcs1 in[0]:  ctx=0.1, seqno=1e738
      <0>[  197.854488] ksoftirq-23      2.Ns. 197838366us : execlists_submission_tasklet: vecs0 in[0]:  ctx=0.1, seqno=235aa
      <0>[  197.854520] ksoftirq-23      2.Ns. 197838376us : execlists_submission_tasklet: rcs0 in[0]:  ctx=0.1, seqno=15518
      <0>[  197.854552]   <idle>-0       1..s1 197853285us : execlists_submission_tasklet: rcs0 cs-irq head=0 [0], tail=7 [7]
      <0>[  197.854584]   <idle>-0       1..s1 197853285us : execlists_submission_tasklet: rcs0 csb[1]: status=0x00000018:0x00000000
      <0>[  197.854616]   <idle>-0       1..s1 197853286us : execlists_submission_tasklet: rcs0 out[0]: ctx=0.0, seqno=0
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171222132742.4272-1-chris@chris-wilson.co.ukReviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      193a98dc
    • R
      Merge tag 'gvt-next-2017-12-22' of https://github.com/intel/gvt-linux into drm-intel-next-queued · e329ef67
      Rodrigo Vivi 提交于
      gvt-next-2017-12-22:
      
      - more mmio switch optimization (Weinan)
      - cleanup i915_reg_t vs. offset usage (Zhenyu)
      - move write protect handler out of mmio handler (Zhenyu)
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171222085141.vgewlvvni37dljdt@zhen-hp.sh.intel.com
      e329ef67
  4. 22 12月, 2017 19 次提交
  5. 21 12月, 2017 14 次提交