]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/uc: Add function to define defaults for GuC/HuC enable
authorJohn Harrison <John.C.Harrison@Intel.com>
Wed, 13 Jan 2021 22:07:24 +0000 (14:07 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Jan 2021 10:30:13 +0000 (10:30 +0000)
commit59c881393926bb0f1228c1c207849b34182dcd93
tree5c6a83de9f5994b7ab41d79ca7bd220465430c0a
parentf081d82216c72e72c7ce45e46cd88fe80858f31c
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
drivers/gpu/drm/i915/gt/uc/intel_uc.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
drivers/gpu/drm/i915/i915_params.h