.. | .. |
---|
35 | 35 | #ifndef _GVT_EXECLIST_H_ |
---|
36 | 36 | #define _GVT_EXECLIST_H_ |
---|
37 | 37 | |
---|
| 38 | +#include <linux/types.h> |
---|
| 39 | + |
---|
38 | 40 | struct execlist_ctx_descriptor_format { |
---|
39 | 41 | union { |
---|
40 | 42 | u32 ldw; |
---|
.. | .. |
---|
168 | 170 | struct intel_vgpu_execlist_slot *running_slot; |
---|
169 | 171 | struct intel_vgpu_execlist_slot *pending_slot; |
---|
170 | 172 | struct execlist_ctx_descriptor_format *running_context; |
---|
171 | | - int ring_id; |
---|
172 | 173 | struct intel_vgpu *vgpu; |
---|
173 | 174 | struct intel_vgpu_elsp_dwords elsp_dwords; |
---|
| 175 | + const struct intel_engine_cs *engine; |
---|
174 | 176 | }; |
---|
175 | 177 | |
---|
176 | 178 | void intel_vgpu_clean_execlist(struct intel_vgpu *vgpu); |
---|
177 | 179 | |
---|
178 | 180 | int intel_vgpu_init_execlist(struct intel_vgpu *vgpu); |
---|
179 | 181 | |
---|
180 | | -int intel_vgpu_submit_execlist(struct intel_vgpu *vgpu, int ring_id); |
---|
| 182 | +int intel_vgpu_submit_execlist(struct intel_vgpu *vgpu, |
---|
| 183 | + const struct intel_engine_cs *engine); |
---|
181 | 184 | |
---|
182 | 185 | void intel_vgpu_reset_execlist(struct intel_vgpu *vgpu, |
---|
183 | | - unsigned long engine_mask); |
---|
| 186 | + intel_engine_mask_t engine_mask); |
---|
184 | 187 | |
---|
185 | 188 | #endif /*_GVT_EXECLIST_H_*/ |
---|