From: Daniel Vetter Subject: [PATCH 2/6] lib: remove hw context #defines Date: Thu, 13 Mar 2014 19:02:47 +0100 Message-ID: <1394733771-25098-2-git-send-email-daniel.vetter@ffwll.ch> References: <1394733771-25098-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f181.google.com (mail-ea0-f181.google.com [209.85.215.181]) by gabe.freedesktop.org (Postfix) with ESMTP id BE15DFA9D5 for ; Thu, 13 Mar 2014 11:02:59 -0700 (PDT) Received: by mail-ea0-f181.google.com with SMTP id k10so630044eaj.26 for ; Thu, 13 Mar 2014 11:02:59 -0700 (PDT) In-Reply-To: <1394733771-25098-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org The libdrm we require nowadays has them already. Signed-off-by: Daniel Vetter --- lib/intel_batchbuffer.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 441f567e5b31..7dbb57562e9b 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -142,11 +142,4 @@ void intel_copy_bo(struct intel_batchbuffer *batch, drm_intel_bo *dst_bo, drm_intel_bo *src_bo, 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 -- 1.8.5.2