OSDN Git Service

mei: add support for graphics system controller (gsc) devices
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 19 Apr 2022 19:33:09 +0000 (12:33 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 21 Apr 2022 18:34:09 +0000 (11:34 -0700)
commita98c30fdc00e146daed013598f10708d6b0ef11e
tree66d26c5bc1e41c74d55f5c8f7d59fcb29f4951a4
parent1e3dc1d8622b2699e6cf1cc06885105b13c9c514
mei: add support for graphics system controller (gsc) devices

GSC is a graphics system controller, based on CSE, it provides
a chassis controller for graphics discrete cards, as well as it
supports media protection on selected devices.

mei_gsc binds to a auxiliary devices exposed by Intel discrete
driver i915.

v2: fix error check in mei_gsc_probe
v3: update MODULE_LICENSE ("GPL" is preferred over "GPL v2" and they
    both map to GPL version 2)

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> #v3
Link: https://patchwork.freedesktop.org/patch/msgid/20220419193314.526966-3-daniele.ceraolospurio@intel.com
drivers/misc/mei/Kconfig
drivers/misc/mei/Makefile
drivers/misc/mei/gsc-me.c [new file with mode: 0644]
drivers/misc/mei/hw-me.c
drivers/misc/mei/hw-me.h