drm/i915/pxp: add device link between i915 and mei_pxp
authorAlexander Usyskin <alexander.usyskin@intel.com>
Wed, 25 Jan 2023 08:26:33 +0000 (00:26 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 27 Jan 2023 20:21:57 +0000 (15:21 -0500)
commit6e52ced02392c760936159cc53da5669c94dd9a3
treef6e48e17fec8a7057fc42fdff907c4f621a255ad
parent907deab2afc86cf30a53c3a37c2277c984558e84
drm/i915/pxp: add device link between i915 and mei_pxp

Add device link with i915 as consumer and mei_pxp as supplier
to ensure proper ordering of power flows.

V2: condition on absence of heci_pxp to filter out DG

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230125082637.118970-3-alan.previn.teres.alexis@intel.com
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c
drivers/gpu/drm/i915/pxp/intel_pxp_types.h