OSDN Git Service

mei: pxp: add command streamer API to the PXP driver
authorVitaly Lubart <vitaly.lubart@intel.com>
Wed, 28 Sep 2022 00:41:35 +0000 (17:41 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 3 Oct 2022 18:29:11 +0000 (11:29 -0700)
commitc72891256a8068a4c6e335f3e6944e53539230bb
treeed30d3edea83cc4f0105859f6ec9ade3ed6bb648
parent2266e58a1c08efacc97a46fd3793a3b1a9323741
mei: pxp: add command streamer API to the PXP driver

The discrete graphics card with GSC firmware
using command streamer API hence it requires to enhance
pxp module with the new gsc_command() handler.

The handler is implemented via mei_pxp_gsc_command() which is
just a thin wrapper around mei_cldev_send_gsc_command()

Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220928004145.745803-6-daniele.ceraolospurio@intel.com
drivers/misc/mei/pxp/mei_pxp.c
include/drm/i915_pxp_tee_interface.h