/** @file IPU policy definitions (PreMem) Copyright (c) 2019 Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef _IPU_CONFIG_PREMEM_H_ #define _IPU_CONFIG_PREMEM_H_ #pragma pack(push, 1) #define IPU_PREMEM_CONFIG_REVISION 1 #define SA_IMR_IPU_CAMERA 0 #define SA_IMR_IPU_GEN 1 /** IPU PreMem configuration\n Revision 1: - Initial version. **/ typedef struct { CONFIG_BLOCK_HEADER Header; ///< Offset 0-27 Config Block Header /** Offset 28:0 : (Test) It enables the SA IPU Device if supported and not fused off. If FALSE, all other policies in this config block will be ignored. 1=TRUE; 0=FALSE. **/ UINT32 SaIpuEnable:1; /** Offset 28:1 : (Test) It configure the IPU IMR to IPU Camera or IPU Gen when IPU is enabled. If FALSE, all other policies in this config block will be ignored. 0=IPU Camera; 1=IPU Gen **/ UINT32 SaIpuImrConfiguration:1; UINT32 RsvdBits0:30; /// Offset 28:2 :Reserved for future use. } IPU_PREMEM_CONFIG; #pragma pack(pop) #endif // _IPU_PREMEM_CONFIG_H_