#include <linux/workqueue.h>
#include "gem/i915_gem_context.h"
#include "gt/intel_context.h"
#include "gt/intel_gt.h"
#include "i915_drv.h"
#include "intel_pxp.h"
#include "intel_pxp_gsccs.h"
#include "intel_pxp_irq.h"
#include "intel_pxp_regs.h"
#include "intel_pxp_session.h"
#include "intel_pxp_tee.h"
#include "intel_pxp_types.h"
bool intel_pxp_is_supported(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)
{ … }
static void kcr_pxp_set_status(const struct intel_pxp *pxp, bool enable)
{ … }
static void kcr_pxp_enable(const struct intel_pxp *pxp)
{ … }
static void kcr_pxp_disable(const struct intel_pxp *pxp)
{ … }
static int create_vcs_context(struct intel_pxp *pxp)
{ … }
static void destroy_vcs_context(struct intel_pxp *pxp)
{ … }
static void pxp_init_full(struct intel_pxp *pxp)
{ … }
static struct intel_gt *find_gt_for_required_teelink(struct drm_i915_private *i915)
{ … }
static struct intel_gt *find_gt_for_required_protected_content(struct drm_i915_private *i915)
{ … }
int intel_pxp_init(struct drm_i915_private *i915)
{ … }
void intel_pxp_fini(struct drm_i915_private *i915)
{ … }
void intel_pxp_mark_termination_in_progress(struct intel_pxp *pxp)
{ … }
static void pxp_queue_termination(struct intel_pxp *pxp)
{ … }
static bool pxp_component_bound(struct intel_pxp *pxp)
{ … }
int intel_pxp_get_backend_timeout_ms(struct intel_pxp *pxp)
{ … }
static int __pxp_global_teardown_final(struct intel_pxp *pxp)
{ … }
static int __pxp_global_teardown_restart(struct intel_pxp *pxp)
{ … }
void intel_pxp_end(struct intel_pxp *pxp)
{ … }
static bool pxp_required_fw_failed(struct intel_pxp *pxp)
{ … }
static bool pxp_fw_dependencies_completed(struct intel_pxp *pxp)
{ … }
int intel_pxp_get_readiness_status(struct intel_pxp *pxp, int timeout_ms)
{ … }
#define PXP_READINESS_TIMEOUT …
int intel_pxp_start(struct intel_pxp *pxp)
{ … }
void intel_pxp_init_hw(struct intel_pxp *pxp)
{ … }
void intel_pxp_fini_hw(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)
{ … }