OpenCloudOS-Kernel/drivers/gpu/drm/i915
Daniele Ceraolo Spurio 84bdf4571d drm/i915/guc: Use guc_class instead of engine_class in fw interface
GuC has its own defines for the engine classes. They're currently
mapping 1:1 to the defines used by the driver, but there is no guarantee
this will continue in the future. Given that we've been caught off-guard
in the past by similar divergences, we can prepare for the changes by
introducing helper functions to convert from engine class to GuC class and
back again.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210603051630.2635-21-matthew.brost@intel.com
2021-06-04 10:42:41 +02:00
..
display Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
gem drm/i915/ttm: Embed a ttm buffer object in the i915 gem object 2021-06-02 13:22:04 +01:00
gt drm/i915/guc: Use guc_class instead of engine_class in fw interface 2021-06-04 10:42:41 +02:00
gvt drm/i915/gvt: Move mdev attribute groups into kvmgt module 2021-05-17 16:37:09 +08:00
selftests drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
.gitignore
Kconfig drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
Kconfig.debug drm/i915: Restrict DRM_I915_DEBUG to developer builds 2021-02-08 16:56:36 -05:00
Kconfig.profile drm/i915: Fail too long user submissions by default 2021-03-26 01:01:27 +01:00
Kconfig.unstable
Makefile drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
TODO.txt drm/i915: add gem/gt TODO 2021-03-26 09:24:31 +01:00
dma_resv_utils.c
dma_resv_utils.h
i915_active.c drm/i915: Fix crash in auto_retire 2021-05-12 20:52:48 +03:00
i915_active.h drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
i915_active_types.h drm/i915: drop the __i915_active_call pointer packing 2021-05-05 11:36:23 +01:00
i915_cmd_parser.c drm/i915: Fix docbook descriptions for i915_cmd_parser 2021-04-23 12:42:23 +02:00
i915_config.c
i915_debugfs.c drm/i915: Give C0DRB3/C1DRB3 a _BW suffix 2021-04-26 23:56:41 +03:00
i915_debugfs.h
i915_debugfs_params.c
i915_debugfs_params.h
i915_drv.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_drv.h drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_fixed.h
i915_gem.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_gem.h drm/i915: Use tasklet_unlock_spin_wait() in __tasklet_disable_sync_once() 2021-03-25 18:21:03 +01:00
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: Finally remove obj->mm.lock. 2021-03-24 17:47:20 +01:00
i915_gem_gtt.h
i915_getparam.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
i915_globals.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_globals.h drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_gpu_error.c drm/i915: Nuke display error state 2021-05-07 08:06:49 +03:00
i915_gpu_error.h Merge drm/drm-next into drm-misc-next 2021-05-22 07:17:05 +02:00
i915_ioc32.c
i915_ioc32.h
i915_irq.c Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
i915_irq.h
i915_memcpy.c drm/i915: Move cmd parser pinning to execbuffer 2021-03-24 11:39:59 +01:00
i915_memcpy.h drm/i915: Move cmd parser pinning to execbuffer 2021-03-24 11:39:59 +01:00
i915_mitigations.c
i915_mitigations.h
i915_mm.c Revert "i915: use io_mapping_map_user" 2021-06-02 11:01:32 +01:00
i915_params.c drm/i915: Allow configuring default request expiry via modparam 2021-03-26 01:01:38 +01:00
i915_params.h Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
i915_pci.c Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
i915_perf.c Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
i915_perf.h
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_pmu.c drm/i915: use DEVICE_ATTR_RO macro 2021-06-02 10:21:16 +01:00
i915_pmu.h
i915_priolist_types.h drm/i915: Remove I915_USER_PRIORITY_SHIFT 2021-03-24 19:30:34 +01:00
i915_pvinfo.h
i915_query.c drm/i915/gem: hide new uAPI behind CONFIG_BROKEN 2021-05-04 10:58:56 +01:00
i915_query.h
i915_reg.h Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
i915_request.c drm/i915: Use might_alloc() 2021-04-30 18:43:57 +02:00
i915_request.h Merge tag 'drm-intel-gt-next-2021-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-04-08 12:46:12 +10:00
i915_scatterlist.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_scatterlist.h drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_scheduler.c drm/i915: Remove I915_USER_PRIORITY_SHIFT 2021-03-24 19:30:34 +01:00
i915_scheduler.h drm/i915: Strip out internal priorities 2021-03-24 19:30:34 +01:00
i915_scheduler_types.h
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: skip display initialization when there is no display 2021-04-09 13:30:43 -07:00
i915_suspend.h
i915_sw_fence.c
i915_sw_fence.h
i915_sw_fence_work.c
i915_sw_fence_work.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 drm/i915: use DEVICE_ATTR_RO macro 2021-06-02 10:21:16 +01:00
i915_sysfs.h
i915_trace.h drm/i915: Add frontbuffer tracking tracepoints 2021-04-28 15:55:21 +03:00
i915_trace_points.c
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c
i915_utils.h drm/i915: Promote ptrdiff() to i915_utils.h 2021-06-03 23:35:43 +02: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.c drm/i915: Untangle the vma pages_mutex 2021-06-01 09:31:55 +01:00
i915_vma.h drm/i915: Promote ptrdiff() to i915_utils.h 2021-06-03 23:35:43 +02:00
i915_vma_types.h drm/i915: Remove stray newlines 2021-04-28 15:55:09 +03:00
intel_device_info.c drm/i915/xelpd: Define plane capabilities 2021-05-12 16:56:42 -07:00
intel_device_info.h drm/i915/adl_p: ADL_P device info enabling 2021-05-07 10:51:42 +03: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
intel_gvt.h
intel_memory_region.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
intel_memory_region.h drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
intel_pch.c drm/i915/adl_p: Add PCH support 2021-05-12 16:56:56 -07:00
intel_pch.h drm/i915/adl_p: Add PCH support 2021-05-12 16:56:56 -07:00
intel_pm.c Merge drm/drm-next into drm-intel-next 2021-05-17 17:48:02 -04:00
intel_pm.h drm/i915: Polish for_each_dbuf_slice() 2021-04-21 01:31:04 +03:00
intel_region_ttm.c drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
intel_region_ttm.h drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
intel_runtime_pm.c drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active() 2021-03-31 16:57:33 +03:00
intel_runtime_pm.h drm/i915: Remove reference to struct drm_device.pdev 2021-04-29 21:19:10 +02:00
intel_sideband.c
intel_sideband.h
intel_step.c drm/i915/adl_p: Add IPs stepping mapping 2021-05-14 19:48:38 -07:00
intel_step.h drm/i915: rename i915_rev_steppings->intel_step_info 2021-03-29 14:56:26 +03:00
intel_uncore.c drm/i915/lmem: Fail driver init if LMEM training failed 2021-04-21 12:06:53 +01:00
intel_uncore.h
intel_wakeref.c
intel_wakeref.h
intel_wopcm.c
intel_wopcm.h
vlv_suspend.c
vlv_suspend.h