An error occurred fetching the project authors.
  1. 09 Sep, 2019 1 commit
  2. 29 Aug, 2019 2 commits
  3. 24 Aug, 2019 1 commit
  4. 23 Aug, 2019 2 commits
    • Chris Wilson's avatar
      drm/i915: Keep drm_i915_file_private around under RCU · 77715906
      Chris Wilson authored
      Ensure that the drm_i915_file_private continues to exist as we attempt
      to remove a request from its list, which may race with the destruction
      of the file.
      
      <6> [38.380714] [IGT] gem_ctx_create: starting subtest basic-files
      <0> [42.201329] BUG: spinlock bad magic on CPU#0, kworker/u16:0/7
      <4> [42.201356] general protection fault: 0000 [#1] PREEMPT SMP PTI
      <4> [42.201371] CPU: 0 PID: 7 Comm: kworker/u16:0 Tainted: G     U            5.3.0-rc5-CI-Patchwork_14169+ #1
      <4> [42.201391] Hardware name: Dell Inc.                 OptiPlex 745                 /0GW726, BIOS 2.3.1  05/21/2007
      <4> [42.201594] Workqueue: i915 retire_work_handler [i915]
      <4> [42.201614] RIP: 0010:spin_dump+0x5a/0x90
      <4> [42.201625] Code: 00 48 8d 88 c0 06 00 00 48 c7 c7 00 71 09 82 e8 35 ef 00 00 48 85 db 44 8b 4d 08 41 b8 ff ff ff ff 48 c7 c1 0b cd 0f 82 74 0e <44> 8b 83 e0 04 00 00 48 8d 8b c0 06 00 00 8b 55 04 48 89 ee 48 c7
      <4> [42.201660] RSP: 0018:ffffc9000004bd80 EFLAGS: 00010202
      <4> [42.201673] RAX: 0000000000000031 RBX: 6b6b6b6b6b6b6b6b RCX: ffffffff820fcd0b
      <4> [42.201688] RDX: 0000000000000000 RSI: ffff88803de266f8 RDI: 00000000ffffffff
      <4> [42.201703] RBP: ffff888038381ff8 R08: 00000000ffffffff R09: 000000006b6b6b6b
      <4> [42.201718] R10: 0000000041cb0b89 R11: 646162206b636f6c R12: ffff88802a618500
      <4> [42.201733] R13: ffff88802b32c288 R14: ffff888038381ff8 R15: ffff88802b32c250
      <4> [42.201748] FS:  0000000000000000(0000) GS:ffff88803de00000(0000) knlGS:0000000000000000
      <4> [42.201765] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      <4> [42.201778] CR2: 00007f2cefc6d180 CR3: 00000000381ee000 CR4: 00000000000006f0
      <4> [42.201793] Call Trace:
      <4> [42.201805]  do_raw_spin_lock+0x66/0xb0
      <4> [42.201898]  i915_request_retire+0x548/0x7c0 [i915]
      <4> [42.201989]  retire_requests+0x4d/0x60 [i915]
      <4> [42.202078]  i915_retire_requests+0x144/0x2e0 [i915]
      <4> [42.202169]  retire_work_handler+0x10/0x40 [i915]
      
      Recently, in commit 44c22f3f ("drm/i915: Serialize insertion into the
      file->mm.request_list"), we fixed a race on insertion. Now, it appears
      we also have a race with destruction!
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Matthew Auld <matthew.auld@intel.com>
      Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190823181455.31910-1-chris@chris-wilson.co.uk
      77715906
    • Ville Syrjälä's avatar
      drm/i915: Use enum pipe instead of crtc index to track active pipes · d06a79d3
      Ville Syrjälä authored
      We may need to eliminate the crtc->index == pipe assumptions from
      the code to support arbitrary pipes being fused off. Start that by
      switching some bitmasks over to using pipe instead of the crtc index.
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190821173033.24123-1-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      d06a79d3
  5. 22 Aug, 2019 2 commits
    • José Roberto de Souza's avatar
      drm/i915/psr: Make PSR registers relative to transcoders · 4ab4fa10
      José Roberto de Souza authored
      PSR registers are a mess, some have the full address while others just
      have the additional offset from psr_mmio_base.
      
      For BDW+ psr_mmio_base is nothing more than TRANSCODER_EDP_OFFSET +
      0x800 and using it makes more difficult for people with an PSR
      register address or PSR register name from from BSpec as i915 also
      don't match the BSpec names.
      For HSW psr_mmio_base is _DDI_BUF_CTL_A + 0x800 and PSR registers are
      only available in DDIA.
      
      Other reason to make relative to transcoder is that since BDW every
      transcoder have PSR registers, so in theory it should be possible to
      have PSR enabled in a non-eDP transcoder.
      
      So for BDW+ we can use _TRANS2() to get the register offset of any
      PSR register in any transcoder while for HSW we have _HSW_PSR_ADJ
      that will calculate the register offset for the single PSR instance,
      noting that we are already guarded about trying to enable PSR in other
      port than DDIA on HSW by the 'if (dig_port->base.port != PORT_A)' in
      intel_psr_compute_config(), this check should only be valid for HSW
      and will be changed in future.
      PSR2 registers and PSR_EVENT was added after Haswell so that is why
      _PSR_ADJ() is not used in some macros.
      
      The only registers that can not be relative to transcoder are
      PSR_IMR and PSR_IIR that are not relative to anything, so keeping it
      hardcoded. That changed for TGL but it will be handled in another
      patch.
      
      Also removing BDW_EDP_PSR_BASE from GVT because it is not used as it
      is the only PSR register that GVT have.
      
      v5:
      - Macros changed to be more explicit about HSW (Dhinakaran)
      - Squashed with the patch that added the tran parameter to the
      macros (Dhinakaran)
      
      v6:
      - Checking for interruption errors after module reload in the
      transcoder that will be used (Dhinakaran)
      - Using lowercase to the registers offsets
      
      v7:
      - Removing IS_HASWELL() from registers macros(Jani)
      
      Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Zhi Wang <zhi.a.wang@intel.com>
      Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      Signed-off-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190820223325.27490-1-jose.souza@intel.com
      4ab4fa10
    • Rodrigo Vivi's avatar
      be91233b
  6. 20 Aug, 2019 3 commits
  7. 19 Aug, 2019 1 commit
  8. 16 Aug, 2019 4 commits
  9. 14 Aug, 2019 1 commit
  10. 13 Aug, 2019 1 commit
  11. 12 Aug, 2019 1 commit
  12. 09 Aug, 2019 12 commits
  13. 08 Aug, 2019 1 commit
  14. 07 Aug, 2019 6 commits
  15. 06 Aug, 2019 2 commits