mirror_ubuntu-kernels/drivers/gpu/drm/i915/gt/uc
John Harrison c784e5249e drm/i915/guc: Update to use firmware v49.0.1
The latest GuC firmware includes a number of interface changes that
require driver updates to match.

* Starting from Gen11, the ID to be provided to GuC needs to contain
  the engine class in bits [0..2] and the instance in bits [3..6].

  NOTE: this patch breaks pointer dereferences in some existing GuC
  functions that use the guc_id to dereference arrays but these functions
  are not used for now as we have GuC submission disabled and we will
  update these functions in follow up patch which requires new IDs.

* The new GuC requires the additional data structure (ADS) and associated
  'private_data' pointer to be setup. This is basically a scratch area
  of memory that the GuC owns. The size is read from the CSS header.

* There is now a physical to logical engine mapping table in the ADS
  which needs to be configured in order for the firmware to load. For
  now, the table is initialised with a 1 to 1 mapping.

* GUC_CTL_CTXINFO has been removed from the initialization params.

* reg_state_buffer is maintained internally by the GuC as part of
  the private data.

* The ADS layout has changed significantly. This patch updates the
  shared structure and also adds better documentation of the layout.

* While i915 does not use GuC doorbells, the firmware now requires
  that some initialisation is done.

* The number of engine classes and instances supported in the ADS has
  been increased.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Tomasz Lis <tomasz.lis@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201028145826.2949180-2-John.C.Harrison@Intel.com
2020-10-29 13:46:26 +02:00
..
intel_guc_ads.c drm/i915/guc: Update to use firmware v49.0.1 2020-10-29 13:46:26 +02:00
intel_guc_ads.h drm/i915/uc: Update copyright and license 2019-08-12 13:01:34 +01:00
intel_guc_ct.c drm/i915/guc: Introduce guc_is_ready 2020-01-31 23:42:59 +00:00
intel_guc_ct.h drm/i915/guc: Make sure to sanitize CT status 2020-02-07 17:12:17 +00:00
intel_guc_debugfs.c drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_guc_debugfs.h drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_guc_fw.c drm/i915/huc: make "support huc" reflect HW capabilities 2020-03-26 21:22:01 +00:00
intel_guc_fw.h drm/i915/huc: make "support huc" reflect HW capabilities 2020-03-26 21:22:01 +00:00
intel_guc_fwif.h drm/i915/guc: Update to use firmware v49.0.1 2020-10-29 13:46:26 +02:00
intel_guc_log_debugfs.c drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_guc_log_debugfs.h drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_guc_log.c drm/i915/params: switch to device specific parameters 2020-06-22 23:26:40 +03:00
intel_guc_log.h drm/i915/debugfs: move uC printers and update debugfs file names 2020-03-26 21:22:43 +00:00
intel_guc_reg.h drm/i915/guc: Update to use firmware v49.0.1 2020-10-29 13:46:26 +02:00
intel_guc_submission.c drm/i915/params: switch to device specific parameters 2020-06-22 23:26:40 +03:00
intel_guc_submission.h drm/i915/guc: Apply new uC status tracking to GuC submission as well 2020-02-20 17:48:06 +00:00
intel_guc.c drm/i915/guc: Update to use firmware v49.0.1 2020-10-29 13:46:26 +02:00
intel_guc.h drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_huc_debugfs.c drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_huc_debugfs.h drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_huc_fw.c drm/i915/huc: make "support huc" reflect HW capabilities 2020-03-26 21:22:01 +00:00
intel_huc_fw.h drm/i915/huc: make "support huc" reflect HW capabilities 2020-03-26 21:22:01 +00:00
intel_huc.c drm/i915/huc: Fix HuC register used in debugfs 2020-03-30 17:56:00 +01:00
intel_huc.h drm/i915/debugfs: move uC printers and update debugfs file names 2020-03-26 21:22:43 +00:00
intel_uc_debugfs.c drm/i915/uc: Extract uc usage details into separate debugfs 2020-07-08 13:02:01 +01:00
intel_uc_debugfs.h drm/i915/uc: Move uC debugfs to its own folder under GT 2020-03-26 21:23:03 +00:00
intel_uc_fw_abi.h drm/i915/guc: Update to use firmware v49.0.1 2020-10-29 13:46:26 +02:00
intel_uc_fw.c drm/i915/guc: Update to use firmware v49.0.1 2020-10-29 13:46:26 +02:00
intel_uc_fw.h drm/i915/guc: Update to use firmware v49.0.1 2020-10-29 13:46:26 +02:00
intel_uc.c drm/i915/uc: tune down GuC communication enabled/disabled messages 2020-09-23 12:07:23 +03:00
intel_uc.h drm/i915/uc: do not free err log on uc_fini 2020-03-26 21:23:22 +00:00