mei: hdcp: bind only with i915 on the same PCH
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 12 Dec 2019 08:41:03 +0000 (10:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Feb 2020 09:34:35 +0000 (09:34 +0000)
commit9272a0797833eec27403eaa2ccfcf3a4c9283607
treeb2be9bcaa5b3bb0953f58834457981c9e7c772a3
parent7d46883724e04494a4a2df539655fecfd546e827
mei: hdcp: bind only with i915 on the same PCH

commit 1e8d19d9b0dfcf11b61bac627203a290577e807a upstream.

The mei device and i915 must reside on the same
PCH in order for HDCP to work. Make the component
matching function enforce this requirement.

                   hdcp
                    |
   i915            mei
    |               |
    +----= PCH =----+

Cc: <stable@vger.kernel.org> v5.0+
Cc: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>
Link: https://lore.kernel.org/r/20191212084103.2893-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hdcp/mei_hdcp.c