Lines Matching defs:etnaviv_gpu
94 struct etnaviv_gpu { struct
95 struct drm_device *drm;
96 struct thermal_cooling_device *cooling;
97 struct device *dev;
98 struct mutex lock;
99 struct etnaviv_chip_identity identity;
100 enum etnaviv_sec_mode sec_mode;
101 struct etnaviv_file_private *lastctx;
102 struct workqueue_struct *wq;
103 struct drm_gpu_scheduler sched;
106 struct etnaviv_cmdbuf buffer;
107 int exec_state;
110 u32 memory_base;
114 struct etnaviv_event event[ETNA_NR_EVENTS];
115 struct completion event_free;
116 spinlock_t event_spinlock;
118 u32 idle_mask;
121 struct mutex fence_lock;
122 struct idr fence_idr;
123 u32 next_fence;
124 u32 active_fence;
125 u32 completed_fence;
126 wait_queue_head_t fence_event;
127 u64 fence_context;
128 spinlock_t fence_spinlock;
154 static inline void gpu_write(struct etnaviv_gpu *gpu, u32 reg, u32 data) in gpu_write() argument