linux/drivers/gpu/drm/i915
Maarten Lankhorst 2c8ab3339e drm/i915: Pin timeline map after first timeline pin, v4.
We're starting to require the reservation lock for pinning,
so wait until we have that.

Update the selftests to handle this correctly, and ensure pin is
called in live_hwsp_rollover_user() and mock_hwsp_freelist().

Changes since v1:
- Fix NULL + XX arithmatic, use casts. (kbuild)
Changes since v2:
- Clear entire cacheline when pinning.
Changes since v3:
- CACHELINE_BYTES -> TIMELINE_SEQNO_BYTES. (jekstrand)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210323155059.628690-3-maarten.lankhorst@linux.intel.com
2021-03-24 11:39:46 +01:00
..
display Merge tag 'drm-intel-next-2021-03-16' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-03-18 08:06:34 +10:00
gem drm/i915/gem: Drop relocation support on all new hardware (v6) 2021-03-18 14:26:10 +01:00
gt drm/i915: Pin timeline map after first timeline pin, v4. 2021-03-24 11:39:46 +01:00
gvt Merge tag 'gvt-next-2021-03-16' of https://github.com/intel/gvt-linux into drm-intel-next 2021-03-16 13:42:33 +02:00
selftests Merge drm/drm-next into drm-intel-next 2021-03-11 08:52:53 +02:00
.gitignore
dma_resv_utils.c drm/i915/gem: Optimistically prune dma-resv from the shrinker. 2020-12-23 21:58:00 +00:00
dma_resv_utils.h drm/i915/gem: Optimistically prune dma-resv from the shrinker. 2020-12-23 21:58:00 +00:00
i915_active_types.h
i915_active.c drm pull for 5.12-rc1 2021-02-21 14:44:44 -08:00
i915_active.h
i915_buddy.c
i915_buddy.h
i915_cmd_parser.c drm/i915: Wedge the GPU if command parser setup fails 2021-03-12 11:20:50 +10:00
i915_config.c
i915_debugfs_params.c
i915_debugfs_params.h
i915_debugfs.c Merge drm/drm-next into drm-intel-next 2021-03-11 08:52:53 +02:00
i915_debugfs.h
i915_drv.c drm/i915/gem: Drop legacy execbuffer support (v2) 2021-03-18 14:25:42 +01:00
i915_drv.h Merge tag 'drm-intel-next-2021-03-16' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-03-18 08:06:34 +10:00
i915_fixed.h
i915_gem_evict.c drm/i915/gem: Protect used framebuffers from casual eviction 2021-01-20 21:05:12 +00:00
i915_gem_gtt.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
i915_gem_gtt.h
i915_gem.c drm/i915: Disable pread/pwrite ioctl's for future platforms (v3) 2021-03-18 14:26:25 +01:00
i915_gem.h drm/i915: Make GEM errors non-fatal by default 2021-01-19 11:54:44 +00:00
i915_getparam.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
i915_globals.c
i915_globals.h
i915_gpu_error.c Merge drm/drm-next into drm-intel-next 2021-03-11 08:52:53 +02:00
i915_gpu_error.h drm/i915: Improve record of hung engines in error state 2020-11-09 11:59:43 +00:00
i915_ioc32.c
i915_ioc32.h
i915_irq.c drm/i915: Return zero as the scanline counter for disabled pipes 2021-03-05 16:38:56 +02:00
i915_irq.h drm/i915: Add plane vfuncs to enable/disable flip_done interrupt 2021-01-19 19:14:21 +02:00
i915_memcpy.c
i915_memcpy.h
i915_mitigations.c drm/i915: Allow the sysadmin to override security mitigations 2021-01-12 19:03:40 +02:00
i915_mitigations.h drm/i915: Allow the sysadmin to override security mitigations 2021-01-12 19:03:40 +02:00
i915_mm.c drm/i915: Fix the sgt.pfn sanity check 2021-01-19 20:36:26 +00:00
i915_params.c drm/i915/dp: Allow forcing specific interfaces through enable_dpcd_backlight 2021-01-19 12:35:52 -05:00
i915_params.h Merge drm/drm-next into drm-intel-next 2021-03-11 08:52:53 +02:00
i915_pci.c Merge drm/drm-next into drm-intel-next 2021-03-11 08:52:53 +02:00
i915_perf_types.h i915/perf: Store a mask of valid OA formats for a platform 2021-02-09 13:26:29 +02:00
i915_perf.c i915/perf: Start hrtimer only if sampling the OA buffer 2021-03-15 11:04:15 +02:00
i915_perf.h
i915_pmu.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
i915_pmu.h Merge tag 'drm-intel-gt-next-2021-01-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-01-15 15:03:36 +10:00
i915_priolist_types.h
i915_pvinfo.h
i915_query.c
i915_query.h
i915_reg.h drm/i915: Workaround async flip + VT-d corruption on HSW/BDW 2021-03-12 18:11:11 +02:00
i915_request.c drm/i915: Do not share hwsp across contexts any more, v8. 2021-03-24 11:38:56 +01:00
i915_request.h drm/i915: Do not share hwsp across contexts any more, v8. 2021-03-24 11:38:56 +01:00
i915_scatterlist.c
i915_scatterlist.h Merge tag 'drm-intel-gt-next-2020-11-12-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2020-11-13 15:01:57 +10:00
i915_scheduler_types.h drm/i915: Lift waiter/signaler iterators 2020-11-19 20:34:18 +00:00
i915_scheduler.c drm/i915: Mark up protected uses of 'i915_request_completed' 2021-01-15 08:00:03 +00:00
i915_scheduler.h drm/i915: Show timeline dependencies for debug 2020-11-19 20:34:18 +00:00
i915_selftest.h drm/i915: Pin timeline map after first timeline pin, v4. 2021-03-24 11:39:46 +01:00
i915_suspend.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
i915_suspend.h drm/i915: Rename i915_{save,restore}_state() 2020-10-09 21:12:13 +03:00
i915_sw_fence_work.c
i915_sw_fence_work.h
i915_sw_fence.c drm/i915: Encode fence specific waitqueue behaviour into the wait.flags 2020-12-16 20:59:56 +00:00
i915_sw_fence.h
i915_switcheroo.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
i915_switcheroo.h
i915_syncmap.c
i915_syncmap.h
i915_sysfs.c
i915_sysfs.h
i915_trace_points.c
i915_trace.h
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c drm/i915: Wrap our timer_list.expires checking 2021-01-07 21:37:14 +00:00
i915_utils.h drm/i915: Wrap our timer_list.expires checking 2021-01-07 21:37:14 +00:00
i915_vgpu.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
i915_vgpu.h
i915_vma_types.h drm/i915/gem: Protect used framebuffers from casual eviction 2021-01-20 21:05:12 +00:00
i915_vma.c i915_vma: Rename vma_lookup to i915_vma_lookup 2021-03-24 11:00:55 +01:00
i915_vma.h drm/i915/gem: Protect used framebuffers from casual eviction 2021-01-20 21:05:12 +00:00
intel_device_info.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
intel_device_info.h drm/i915: FPGA_DBG is display-specific 2021-02-12 18:42:43 -08:00
intel_dram.c drm/i915/display: support ddr5 mem types 2021-02-05 05:23:15 -08:00
intel_dram.h
intel_gvt.c drm/i915/gvt: Save/restore HW status to support GVT suspend/resume 2020-11-10 14:37:56 +08:00
intel_gvt.h drm/i915/gvt: Save/restore HW status to support GVT suspend/resume 2020-11-10 14:37:56 +08:00
intel_memory_region.c drm/i915/region: make intel_region_map static 2021-01-12 21:11:42 +00:00
intel_memory_region.h drm/i915/region: convert object_create into object_init 2021-01-15 08:00:03 +00:00
intel_pch.c drm/i915/gen9_bc: Recognize TGP PCH + CML combos 2021-02-11 18:19:29 -05:00
intel_pch.h drm/i915/adl_s: Add PCH support 2021-01-26 07:10:44 -08:00
intel_pm.c drm/i915: s/plane_res_b/blocks/ etc. 2021-03-12 18:19:18 +02:00
intel_pm.h drm/i915: Check tgl+ SAGV watermarks properly 2021-03-03 14:24:20 +02:00
intel_runtime_pm.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
intel_runtime_pm.h
intel_sideband.c drm/i915: remove last traces of I915_READ(), I915_WRITE() and POSTING_READ() 2020-12-02 17:29:46 +02:00
intel_sideband.h drm/i915/dg1: Wait for pcode/uncore handshake at startup 2020-10-05 15:54:45 -07:00
intel_uncore.c drm/i915: Try to detect sudden loss of MMIO access 2021-02-12 18:44:44 -08:00
intel_uncore.h drm/i915: remove last traces of I915_READ(), I915_WRITE() and POSTING_READ() 2020-12-02 17:29:46 +02:00
intel_wakeref.c
intel_wakeref.h
intel_wopcm.c
intel_wopcm.h
Kconfig drm/i915: use vmap in i915_gem_object_map 2020-10-18 09:27:10 -07:00
Kconfig.debug drm/i915: Restrict DRM_I915_DEBUG to developer builds 2021-02-08 16:56:36 -05:00
Kconfig.profile
Kconfig.unstable
Makefile Merge drm/drm-next into drm-intel-next 2021-03-11 08:52:53 +02:00
vlv_suspend.c
vlv_suspend.h