The mei_pxp module is required to send the command to load authenticate the HuC to the GSC even if pxp is not in use for protected content management. Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220928004145.745803-8-daniele.ceraolospurio@intel.com
35 lines
900 B
C
35 lines
900 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright(c) 2020, Intel Corporation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __INTEL_PXP_H__
|
|
#define __INTEL_PXP_H__
|
|
|
|
#include <linux/errno.h>
|
|
#include <linux/types.h>
|
|
|
|
struct intel_pxp;
|
|
struct drm_i915_gem_object;
|
|
|
|
struct intel_gt *pxp_to_gt(const struct intel_pxp *pxp);
|
|
bool intel_pxp_is_enabled(const struct intel_pxp *pxp);
|
|
bool intel_pxp_is_active(const struct intel_pxp *pxp);
|
|
|
|
void intel_pxp_init(struct intel_pxp *pxp);
|
|
void intel_pxp_fini(struct intel_pxp *pxp);
|
|
|
|
void intel_pxp_init_hw(struct intel_pxp *pxp);
|
|
void intel_pxp_fini_hw(struct intel_pxp *pxp);
|
|
|
|
void intel_pxp_mark_termination_in_progress(struct intel_pxp *pxp);
|
|
|
|
int intel_pxp_start(struct intel_pxp *pxp);
|
|
|
|
int intel_pxp_key_check(struct intel_pxp *pxp,
|
|
struct drm_i915_gem_object *obj,
|
|
bool assign);
|
|
|
|
void intel_pxp_invalidate(struct intel_pxp *pxp);
|
|
|
|
#endif /* __INTEL_PXP_H__ */
|