linux/drivers/gpu/drm/i915
John Harrison 1e58215f06 drm/i915/uc: Add function to define defaults for GuC/HuC enable
There is a module parameter for controlling what GuC/HuC features are
enabled. Setting to -1 means 'use the default'. However, the default
was not well defined, out of date and needs to be different across
platforms.

The default is now to disable both GuC and HuC on legacy platforms
where legacy means TGL/RKL and anything prior to Gen12. For new
platforms, the default is to load HuC but not enable GuC submission
as that has not landed yet.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210113220724.2484897-1-John.C.Harrison@Intel.com
2021-01-20 10:30:13 +00:00
..
display drm/i915/display: Apply interactive priority to explicit flip fences 2021-01-19 23:22:33 +00:00
gem drm/i915/display: Apply interactive priority to explicit flip fences 2021-01-19 23:22:33 +00:00
gt drm/i915/uc: Add function to define defaults for GuC/HuC enable 2021-01-20 10:30:13 +00:00
gvt 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
selftests drm/i915/region: convert object_create into object_init 2021-01-15 08:00:03 +00: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/i915: Use cmpxchg64 for 32b compatilibity 2020-12-23 10:07:41 +00:00
i915_active.h drm/i915: Provide a fastpath for waiting on vma bindings 2020-09-07 13:29:19 +03:00
i915_buddy.c
i915_buddy.h
i915_cmd_parser.c drm/i915/pool: constrain pool objects by mapping type 2021-01-19 20:36:28 +00:00
i915_config.c
i915_debugfs_params.c
i915_debugfs_params.h
i915_debugfs.c drm/i915/gem: Remove per-client stats from debugfs/i915_gem_objects 2021-01-19 13:20:46 +00:00
i915_debugfs.h
i915_drv.c 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_drv.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_fixed.h
i915_gem_evict.c drm: fix some kernel-doc markups 2020-11-16 20:48:20 +01:00
i915_gem_gtt.c drm/i915: Remove livelock from "do_idle_maps" vtd w/a 2020-12-09 19:32:51 +00:00
i915_gem_gtt.h
i915_gem.c drm/i915/gem: split gem_create into own file 2021-01-15 08:00:03 +00: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/gt: Consolidate the CS timestamp clocks 2020-12-23 21:10:41 +00:00
i915_globals.c
i915_globals.h
i915_gpu_error.c drm/i915/error: Fix object page offset within a region 2021-01-19 20:36:27 +00: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 - Display hotplug fix for gen2/gen3 (Chris) 2021-01-07 12:20:29 +01:00
i915_irq.h drm/i915: Add enable/disable flip done and flip done handler 2020-09-28 14:12:48 +03:00
i915_memcpy.c
i915_memcpy.h
i915_mitigations.c drm/i915: Allow the sysadmin to override security mitigations 2021-01-12 09:17:06 +00:00
i915_mitigations.h drm/i915: Allow the sysadmin to override security mitigations 2021-01-12 09:17:06 +00: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: Initial implementation of PSR2 selective fetch 2020-08-17 16:17:15 -04:00
i915_params.h drm/i915/uc: Add function to define defaults for GuC/HuC enable 2021-01-20 10:30:13 +00:00
i915_pci.c drm/i915: Mark per-engine-reset as supported on gen7 2021-01-19 11:55:14 +00:00
i915_perf_types.h
i915_perf.c 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_perf.h
i915_pmu.c 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_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 drm/i915/sseu: Move sseu_info under gt_info 2020-07-08 21:13:09 +01:00
i915_query.h
i915_reg.h drm/i915: Fix HTI port checking 2021-01-11 05:46:43 -08:00
i915_request.c drm/i915: Reduce test_and_set_bit to set_bit in i915_request_submit() 2021-01-15 08:00:03 +00:00
i915_request.h drm/i915: Refactor marking a request as EIO 2021-01-09 18:29:07 +00: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
i915_suspend.c drm/i915/suspend: replace I915_READ()/WRITE() with intel_de_read()/write() 2020-12-01 17:56:36 +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
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
i915_vgpu.h
i915_vma_types.h
i915_vma.c drm/i915: Hold onto an explicit ref to i915_vma_work.pinned 2020-11-03 19:22:42 -05:00
i915_vma.h drm/i915: Make sure execbuffer always passes ww state to i915_vma_pin. 2020-09-07 14:31:13 +03:00
intel_device_info.c 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
intel_device_info.h drm/i915/gt: Only disable preemption on gen8 render engines 2021-01-08 21:35:56 +00:00
intel_dram.c drm/i915: Read DIMM size in Gb rather than GB 2020-09-30 13:32:05 -07: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/jsl: Split EHL/JSL platform info and PCI ids 2020-10-14 09:31:34 +02:00
intel_pch.h drm/i915/dg1: Add fake PCH 2020-07-14 02:47:21 -07:00
intel_pm.c - Display hotplug fix for gen2/gen3 (Chris) 2021-01-07 12:20:29 +01:00
intel_pm.h drm/i915: Make intel_{enable,disable}_sagv() static 2020-09-28 14:12:50 +03:00
intel_runtime_pm.c
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: remove last traces of I915_READ(), I915_WRITE() and POSTING_READ() 2020-12-02 17:29:46 +02: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: Make GEM errors non-fatal by default 2021-01-19 11:54:44 +00:00
Kconfig.profile
Kconfig.unstable
Makefile drm/i915/gem: split gem_create into own file 2021-01-15 08:00:03 +00:00
vlv_suspend.c
vlv_suspend.h