hc
2024-03-25 edb30157bad0c0001c32b854271ace01d3b9a16a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/** @file
  IPU policy definitions (PreMem)
 
  Copyright (c) 2019 Intel Corporation. All rights reserved. <BR>
 
  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
  <b>Revision 1</b>:
  - Initial version.
**/
typedef struct {
  CONFIG_BLOCK_HEADER  Header;           ///< Offset  0-27 Config Block Header
  /**
  Offset 28:0 :
  <b>(Test)</b> It enables the SA IPU Device if supported and not fused off.
  If FALSE, all other policies in this config block will be ignored.
  <b>1=TRUE</b>;
  0=FALSE.
  **/
  UINT32    SaIpuEnable:1;
  /**
  Offset 28:1 :
  <b>(Test)</b> 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.
  <b>0=IPU Camera</b>;
  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_