1. 04 Mar, 2024 3 commits
  2. 01 Mar, 2024 7 commits
  3. 29 Feb, 2024 3 commits
  4. 28 Feb, 2024 6 commits
  5. 26 Feb, 2024 18 commits
  6. 23 Feb, 2024 3 commits
    • Matthew Brost's avatar
      drm/xe: Don't support execlists in xe_gt_tlb_invalidation layer · a9e483dd
      Matthew Brost authored
      The xe_gt_tlb_invalidation layer implements TLB invalidations for a GuC
      backend. Simply return if in execlists mode. A follow up may properly
      implement the xe_gt_tlb_invalidation layer for both GuC and execlists.
      
      Fixes: a9351846 ("drm/xe: Break of TLB invalidation into its own file")
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
      Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240222232021.3911545-4-matthew.brost@intel.com
      a9e483dd
    • Matthew Brost's avatar
      drm/xe: Cleanup some layering in GGTT · 3121fed0
      Matthew Brost authored
      xe_ggtt.c touched GuC layers which is incorrect. Call into
      xe_gt_tlb_invalidation layer instead.
      
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
      Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240222232021.3911545-3-matthew.brost@intel.com
      3121fed0
    • Matthew Brost's avatar
      drm/xe: Fix execlist splat · ddadc712
      Matthew Brost authored
      Although execlist submission is not supported it should be kept in a
      basic working state as it can be used for very early hardware bring up.
      Fix the below splat.
      
      WARNING: CPU: 3 PID: 11 at drivers/gpu/drm/xe/xe_execlist.c:217 execlist_run_job+0x1c2/0x220 [xe]
      Modules linked in: xe drm_kunit_helpers drm_gpuvm drm_ttm_helper ttm drm_exec drm_suballoc_helper drm_buddy gpu_sched mei_pxp mei_hdcp wmi_bmof x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core video snd_pcm mei_me mei wmi fuse e1000e i2c_i801 ptp i2c_smbus pps_core intel_lpss_pci
      CPU: 3 PID: 11 Comm: kworker/u16:0 Tainted: G     U             6.8.0-rc3-guc+ #1046
      Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.3243.A01.2006102133 06/10/2020
      Workqueue: rcs0 drm_sched_run_job_work [gpu_sched]
      RIP: 0010:execlist_run_job+0x1c2/0x220 [xe]
      Code: 8b f8 03 00 00 4c 89 39 e9 e2 fe ff ff 49 8d 7d 20 be ff ff ff ff e8 ed fd a6 e1 85 c0 0f 85 e1 fe ff ff 0f 0b e9 da fe ff ff <0f> 0b 0f 0b 41 83 fc 03 0f 86 8a fe ff ff 0f 0b e9 83 fe ff ff be
      RSP: 0018:ffffc9000013bdb8 EFLAGS: 00010246
      RAX: ffff888105021a00 RBX: ffff888105078400 RCX: 0000000000000000
      RDX: 0000000000000001 RSI: ffffc9000013bd14 RDI: ffffc90001609090
      RBP: ffff88811e3f0040 R08: 0000000000000088 R09: 00000000ffffff81
      R10: 0000000000000001 R11: ffff88810c10c000 R12: 00000000fffffffe
      R13: ffff888109b72c28 R14: ffff8881050784a0 R15: ffff888105078408
      FS:  0000000000000000(0000) GS:ffff88849f980000(0000) knlGS:0000000000000000
      CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      CR2: 0000563459d130f8 CR3: 000000000563a001 CR4: 0000000000f70ef0
      DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
      PKRU: 55555554
      Call Trace:
       <TASK>
       ? __warn+0x7f/0x170
       ? execlist_run_job+0x1c2/0x220 [xe]
       ? report_bug+0x1c7/0x1d0
       ? handle_bug+0x3c/0x70
       ? exc_invalid_op+0x18/0x70
       ? asm_exc_invalid_op+0x1a/0x20
       ? execlist_run_job+0x1c2/0x220 [xe]
       ? execlist_run_job+0x2c/0x220 [xe]
       drm_sched_run_job_work+0x246/0x3f0 [gpu_sched]
       ? process_one_work+0x18d/0x4e0
       process_one_work+0x1f7/0x4e0
       worker_thread+0x1da/0x3e0
       ? __pfx_worker_thread+0x10/0x10
       kthread+0xfe/0x130
       ? __pfx_kthread+0x10/0x10
       ret_from_fork+0x2c/0x50
       ? __pfx_kthread+0x10/0x10
       ret_from_fork_asm+0x1b/0x30
       </TASK>
      
      Fixes: 9b9529ce ("drm/xe: Rename engine to exec_queue")
      Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
      Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240222232021.3911545-2-matthew.brost@intel.com
      ddadc712