From patchwork Wed Jul 17 18:33:52 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: 169156 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1320483ilk; Wed, 17 Jul 2019 11:34:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEJxmv9xHxKyyE5BZ/lQGrMcSBmotA08rEHIufKMyw5uc4cZKeJeuRI022DnvGQlI1i8wL X-Received: by 2002:a17:90a:d998:: with SMTP id d24mr18985591pjv.89.1563388445826; Wed, 17 Jul 2019 11:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563388445; cv=none; d=google.com; s=arc-20160816; b=kgvF/pqHgdB60fOvs73COvXe/ZmjPNgm9dRR1onCzjF1A5Encf/0vFuib0DdyJ/gYP /ZEo1pcGXw+iuMfZLMRQFfmGYPF1R7c4Kov/qpPmtmw7vQVkvuWxvEQx6Uns137HIsqt Z9Jaq4UcWhvtDaIxOhzwa5wp76/t9N/4pIhq4GT2rmpTap/3OdBinil/w4el2xEHUv5Z FxVDzP70n8dvmdkJFXxkvmGqzEnqUl1vHzIzwcTRFQqkQ0u37+9dU6XVzI4cpGyTnRsU kx+S6dibtNR2oJ3p/nBH0ZMAqxKsIcbvvquKtSorky72tX1xm9HE24B/K9QJdraVHEMs gCSg== 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=zBGTHl1ilYLHGhk33WcdD1PCbaTHdVy7+DNhZc19Tus=; b=WDtYiWzDYUCHL+qsLGNQ5VGwEHtP9PhtahxdAqsTymSvz26O1Aetavpg11kXUWcaOT u+WY1hsn+uf8OEMPgu0RYYecSAZguYyUuu/zZXsVajHSTCMkQaWnpni6kJwU1C4rrTCz lfRMuCUdHIeXAhs4dY7mGJ/vSMTyc2aq+7aFubYDSIW89iB5n5TVi0uqJp1GUOX33NrY cwRXuh0odntAaF1tFmlpW5ZRRyw49xbiLo/eQpu4YGL0jLq4HOLt4JbDtC8lNDLNepDt Mk/6Z2Jgc5DkCBGHCtIuHGmIVXKhEeNYztnozWrU5Kr2TRHOUrE2P5h3DJ2rZEQ8slt+ /zLA== 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 t6si17762363pgu.154.2019.07.17.11.34.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jul 2019 11:34:05 -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 A8BE76E29C; Wed, 17 Jul 2019 18:34:02 +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 CE04F6E29B for ; Wed, 17 Jul 2019 18:34:00 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id e20so17002132iob.9 for ; Wed, 17 Jul 2019 11:34:00 -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=Lxi8VrEXHAw02lMNDyDN1wweYxqL0VSfL7Rn2+gyP24=; b=Q82iXNqVGEUv4mnZ9wmHicm1iieUA4LpAHm1sH2J0bsSYy7tOMRVPyEHiIPwofv98u uY/rG2FHNshFvjixlHp1ATrssEkpgbo+af7AY2FJVMDL61vkbMdCiZC+rXGEdtV+Bk45 17EqFU8mdplZ/6CY0GElDA3YHPyAKD/wsdVUCeC7DNMb877X7rXCeCFRsGevr1Q5p3tm EPXdSXafHPh3GxJQN0thhlEOD0kgZLUeEBRocrBDEpQovftbuuCKbHpXj/UaFrPl6Aab eydPryeFAvyjoxPKHaRn4XntJDmTSaMV/ZqQf6901GKwLmd+TxyrGihtG/hCzZmn9xEd Eo+g== X-Gm-Message-State: APjAAAWqjpHn04IkTIsuMFKRkbK9P1V78mBRcV8D2opECfJCzYGSgqwV n8LgPQ+slIIalHiXLTp9spjo87E= X-Received: by 2002:a02:77d4:: with SMTP id g203mr28298238jac.144.1563388439830; Wed, 17 Jul 2019 11:33:59 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.255]) by smtp.googlemail.com with ESMTPSA id v10sm22109472iob.43.2019.07.17.11.33.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 11:33:59 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org Subject: [PATCH 5/5] drm/panfrost: Bump driver version to 1.1 Date: Wed, 17 Jul 2019 12:33:52 -0600 Message-Id: <20190717183352.22519-5-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190717183352.22519-1-robh@kernel.org> References: <20190717183352.22519-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: Boris Brezillon , Robin Murphy , Alyssa Rosenzweig , Tomeu Vizoso , Steven Price 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 Cc: 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 9e87d0060202..615bd15fc106 100644 --- a/drivers/gpu/drm/panfrost/panfrost_drv.c +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c @@ -348,6 +348,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, @@ -359,7 +364,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,