FILE
intel_pxp_session.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/i915/pxp/intel_pxp_session.h
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright(c) 2020, Intel Corporation. All rights reserved. 4 */ 5 6#ifndef __INTEL_PXP_SESSION_H__ 7#define __INTEL_PXP_SESSION_H__ 8 9#include <linux/types.h> 10 11struct intel_pxp; 12 13#ifdef CONFIG_DRM_I915_PXP 14void intel_pxp_session_management_init(struct intel_pxp *pxp); 15void intel_pxp_terminate(struct intel_pxp *pxp, bool post_invalidation_needs_restart); 16#else 17static inline void intel_pxp_session_management_init(struct intel_pxp *pxp) 18{ 19} 20 21static inline void intel_pxp_terminate(struct intel_pxp *pxp, bool post_invalidation_needs_restart) 22{ 23} 24#endif 25#endif /* __INTEL_PXP_SESSION_H__ */
~/
Read-only file preview.