From patchwork Tue Jun 30 12:24:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Weinehall X-Patchwork-Id: 6695491 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2A3D9C05AC for ; Tue, 30 Jun 2015 12:25:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A3A320617 for ; Tue, 30 Jun 2015 12:25:37 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 7C5F42054D for ; Tue, 30 Jun 2015 12:25:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D53F6E97C; Tue, 30 Jun 2015 05:25:35 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 08C256E485 for ; Tue, 30 Jun 2015 05:25:33 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 30 Jun 2015 05:25:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,377,1432623600"; d="scan'208";a="720273143" Received: from dweineha-mobl3.fi.intel.com ([10.237.72.77]) by orsmga001.jf.intel.com with ESMTP; 30 Jun 2015 05:25:33 -0700 From: David Weinehall To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] Add the I915_CONTEXT_PARAM_NO_ZEROMAP parameter Date: Tue, 30 Jun 2015 15:24:53 +0300 Message-Id: <1435667093-14563-3-git-send-email-david.weinehall@linux.intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1435667093-14563-1-git-send-email-david.weinehall@linux.intel.com> References: <1435667093-14563-1-git-send-email-david.weinehall@linux.intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A new parameter was recently added to the i915 GEM contexts. Add its define to i915_drm.h. Signed-off-by: David Weinehall --- include/drm/i915_drm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index ded43b1cb117..a658d1cc367a 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -1101,6 +1101,7 @@ struct drm_i915_gem_context_param { __u32 size; __u64 param; #define I915_CONTEXT_PARAM_BAN_PERIOD 0x1 +#define I915_CONTEXT_PARAM_NO_ZEROMAP 0x2 __u64 value; };