linux/drivers/gpu/drm/i915/pxp/intel_pxp_session.c

// SPDX-License-Identifier: MIT
/*
 * Copyright(c) 2020, Intel Corporation. All rights reserved.
 */

#include "i915_drv.h"

#include "intel_pxp.h"
#include "intel_pxp_cmd.h"
#include "intel_pxp_gsccs.h"
#include "intel_pxp_session.h"
#include "intel_pxp_tee.h"
#include "intel_pxp_types.h"
#include "intel_pxp_regs.h"

#define ARB_SESSION

static bool intel_pxp_session_is_in_play(struct intel_pxp *pxp, u32 id)
{}

static int pxp_wait_for_session_state(struct intel_pxp *pxp, u32 id, bool in_play)
{}

static int pxp_create_arb_session(struct intel_pxp *pxp)
{}

static int pxp_terminate_arb_session_and_global(struct intel_pxp *pxp)
{}

void intel_pxp_terminate(struct intel_pxp *pxp, bool post_invalidation_needs_restart)
{}

static void pxp_terminate_complete(struct intel_pxp *pxp)
{}

static void pxp_session_work(struct work_struct *work)
{}

void intel_pxp_session_management_init(struct intel_pxp *pxp)
{}