]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mei: pxp: support matching with a gfx discrete card
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 28 Sep 2022 00:41:36 +0000 (17:41 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 3 Oct 2022 18:29:12 +0000 (11:29 -0700)
commitbd58904a328fe53a5b8b8f03127c98b072e0986d
tree19806417aa46740f9f238514dd93ab84944b08ba
parentc72891256a8068a4c6e335f3e6944e53539230bb
mei: pxp: support matching with a gfx discrete card

With on-boards graphics card, both i915 and MEI
are in the same device hierarchy with the same parent,
while for discrete gfx card the MEI is its child device.
Adjust the match function for that scenario
by matching MEI parent device with i915.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Vitaly Lubart <vitaly.lubart@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-7-daniele.ceraolospurio@intel.com
drivers/misc/mei/pxp/mei_pxp.c