huangcm
2025-09-01 53d8e046ac1bf2ebe94f671983e3d3be059df91a
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef _GOOGLE_VP9_H_
#define _GOOGLE_VP9_H_
 
enum IOCTL_CMD {
   VP9_IOCTL_UNKNOWN = 0x100,
   VP9_IOCTL_GET_ENV_INFO,
   VP9_IOCTL_WAIT_INTERRUPT,
   VP9_IOCTL_RESET,
   VP9_IOCTL_SET_FREQ,
   VP9_IOCTL_SET_HIGH_PERF_MSG,
 
   VP9_IOCTL_ENGINE_REQ,
   VP9_IOCTL_ENGINE_REL,
 
   /*for iommu*/
   IOCTL_GET_IOMMU_ADDR,
   IOCTL_FREE_IOMMU_ADDR,
};
 
struct vp9_env_information {
   unsigned int phymem_start;
   int  phymem_total_size;
   unsigned long  address_macc;
};
 
struct __vp9_task {
   int task_prio;
   int ID;
   unsigned long timeout;
   unsigned int frametime;
   unsigned int block_mode;
};
 
struct vp9_engine_task {
   struct __vp9_task t;
   struct list_head list;
   struct task_struct *task_handle;
   unsigned int status;
   unsigned int running;
   unsigned int is_first_task;
};
 
struct vp9_regop {
   unsigned long addr;
   unsigned int value;
};
 
struct vp9_env_information_compat {
   unsigned int phymem_start;
   int  phymem_total_size;
   u32  address_macc;
};
 
struct vp9_regop_compat {
   u32 addr;
   unsigned int value;
};
 
/*--------------------------------------------------------------*/
 
 
#endif