From patchwork Fri Aug 2 19:51:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 170452 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp1223248ile; Fri, 2 Aug 2019 12:52:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEfPR/cM0PU5K9IExH2sHgASCRxCBQ7qDJAtl3bGgUdiMZ4N1YWNCpfIVWl4Vy9NDyGNgq X-Received: by 2002:a17:902:2aa9:: with SMTP id j38mr126683894plb.206.1564775531735; Fri, 02 Aug 2019 12:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564775531; cv=none; d=google.com; s=arc-20160816; b=tnXflKHODQgjxcSc3YQxFRHEy+KgF7IJ+MSFGryFY5qnAIUOJkPcdQK98zfWKD0c3S 1snovKh8q/8aQ3m0DIy5y1txd+xeTx6VN9hCgRQTwOdUxcUjeW4P7UOlLAO/6K78bhl5 J0zlfMT7LuhpPy3TAq39vCtxQUCtHfzdLE+SVcpF2YFf2176v7wZfN4yGq8j1Kr8dyp3 7f2YlfKbsRqU9TEaT4b8A9tKaKvGxcgq4wVCYGlIPjvlcLsZ1DI0m01iz1iFLbxBNXq7 ICCh0Jlb63ejA50MKODJBg+DPWSNtkAqUrSd6YwK0wCUEJ45En9y6hDn4Ts4opq6zIV4 t7Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=7HLW8bLPX6epf1rkFzhzx/ybAo1dldziG1nGpgDsAO4=; b=jbLvPVLnP/xrL1kfTP3D8S/KhvS4//cv7yimVUHr6v/GzcFz2n9i0JKwOtb+UEMjF0 3DqB6mMWtihKk1NHkQLhgATFjSGsf2Ye2Y8RxKuOyNscW4c3OCDLyxCiSfkpX4+lcwtx ZfAoSqny8ITDGN5Z5EAyMReF6GBz2AhKmSOodHHyqjlS1bHmVRMgfxKizxvm4Rkmh6a6 XPOqAOgPrtxOmO6WljDyGLfTMcST2BWrjmM/Qtdh6Q1GWkRNCmi89MbiTVSARMTZON7o +N3oKe3x3kBVqdiCyEZwdSg7pcitjTXUoA0LS7om2GdyOkCcI2vQiDByhTBYNRx0cbcC cmIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id i3si34901957plb.205.2019.08.02.12.52.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Aug 2019 12:52:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 730C26EE97; Fri, 2 Aug 2019 19:52:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id D65906EDD3 for ; Fri, 2 Aug 2019 19:52:03 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id s7so154531306iob.11 for ; Fri, 02 Aug 2019 12:52:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=53jqDknmz3cAFGkT4uctiKFipCfEAS9AmkKGScMrxFc=; b=WJB6onx6f+6LKXJl467Gq7qIF7z2c6OYLjQfAGCZ3EqshSj1IKeby4ZgAbMCxWxthG ojEUu/ZB29ipo4Wh2RH7RO9uqnYWmPxnxpZC28QhReusEP77tAfZo71SYr0sKYkf6aYt 87Xveq9ULbtwINFD81XTtZva+vcc6uS65KXdfwAAfjbUT4ZGoSFkTMmJ73fIF4ec19CA m/CwVBA5xRclQZTA385JF8NKr1dwg7HbQUy5Ol6+0ze3mDiXuuosWvoJhB9Li3YtgjEz FQmx6h0ePlC/ke4kBFVG9fFNXpriq9rCPvW6YejfdaHnbi1dVpaHHULQVV2qXjgeFj3Z B7tA== X-Gm-Message-State: APjAAAWvO/rJyDKUTKtFrpLlD/7JvTDFzx+TRCtI+x+kp8YCz/FcfSOd w1ut9wxREMJbZdW/pFzPhsowJ6A= X-Received: by 2002:a02:3f0a:: with SMTP id d10mr67375634jaa.23.1564775522554; Fri, 02 Aug 2019 12:52:02 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.254]) by smtp.googlemail.com with ESMTPSA id s4sm98419934iop.25.2019.08.02.12.52.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 12:52:02 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 8/8] drm/panfrost: Bump driver version to 1.1 Date: Fri, 2 Aug 2019 13:51:50 -0600 Message-Id: <20190802195150.23207-9-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190802195150.23207-1-robh@kernel.org> References: <20190802195150.23207-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomeu Vizoso , Maxime Ripard , Sean Paul , Steven Price , David Airlie , Boris Brezillon , Alyssa Rosenzweig , Robin Murphy Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Increment the driver version to expose the new BO allocation flags. Cc: Tomeu Vizoso Cc: Boris Brezillon Cc: Robin Murphy Cc: Steven Price Acked-by: Alyssa Rosenzweig Signed-off-by: Rob Herring --- drivers/gpu/drm/panfrost/panfrost_drv.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c index a7126b5f8e5d..ecdbe2c9fd67 100644 --- a/drivers/gpu/drm/panfrost/panfrost_drv.c +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c @@ -357,6 +357,11 @@ static const struct drm_ioctl_desc panfrost_drm_driver_ioctls[] = { DEFINE_DRM_GEM_SHMEM_FOPS(panfrost_drm_driver_fops); +/* + * Panfrost driver version: + * - 1.0 - initial interface + * - 1.1 - adds HEAP and NOEXEC flags for CREATE_BO + */ static struct drm_driver panfrost_drm_driver = { .driver_features = DRIVER_RENDER | DRIVER_GEM | DRIVER_SYNCOBJ, .open = panfrost_open, @@ -368,7 +373,7 @@ static struct drm_driver panfrost_drm_driver = { .desc = "panfrost DRM", .date = "20180908", .major = 1, - .minor = 0, + .minor = 1, .gem_create_object = panfrost_gem_create_object, .prime_handle_to_fd = drm_gem_prime_handle_to_fd,