mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 10:26:12 +00:00
lib: remove hw context #defines
The libdrm we require nowadays has them already. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
3f284f7967
commit
675c91974e
@ -142,11 +142,4 @@ void intel_copy_bo(struct intel_batchbuffer *batch,
|
|||||||
drm_intel_bo *dst_bo, drm_intel_bo *src_bo,
|
drm_intel_bo *dst_bo, drm_intel_bo *src_bo,
|
||||||
int width, int height);
|
int width, int height);
|
||||||
|
|
||||||
#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff)
|
|
||||||
#define i915_execbuffer2_set_context_id(eb2, context) \
|
|
||||||
(eb2).rsvd1 = context & I915_EXEC_CONTEXT_ID_MASK
|
|
||||||
#define i915_execbuffer2_get_context_id(eb2) \
|
|
||||||
((eb2).rsvd1 & I915_EXEC_CONTEXT_ID_MASK)
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user