drm/i915/gsc: Create GSC request submission mechanism
authorSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 16 Mar 2023 09:29:22 +0000 (14:59 +0530)
committerUma Shankar <uma.shankar@intel.com>
Thu, 23 Mar 2023 06:42:54 +0000 (12:12 +0530)
commit459b26061a67e63e5aa24c6f2ad0546943357e43
treed324b04690aaa013f09fcaceb5be112971909460
parent10d29bdceef79602af4136c14a6ec391ec3a2e7f
drm/i915/gsc: Create GSC request submission mechanism

HDCP and PXP will require a common function to allow it to
submit commands to the gsc cs. Also adding the gsc mtl header
that needs to be added on to the existing payloads of HDCP
and PXP.

--v4
-Seprate gsc load and heci cmd submission into different
functions in different files for better scalability [Alan]
-Rename gsc address field [Alan]

--v5
-remove extra line is intel_gsc_fw.h [Uma]

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Signed-off-by: Suraj Kandpal<suraj.kandpal@intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316092927.668980-2-suraj.kandpal@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/intel_gpu_commands.h
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h [new file with mode: 0644]