From patchwork Thu Jul 25 01:10:03 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: 169664 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp10935270ilk; Wed, 24 Jul 2019 18:10:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+q9hwlEF3uyYZSgo3ScihLKzZKv1ng+wXTtO6fdksXmXZj/Zi7TPsPs87ET4or/5zMW/z X-Received: by 2002:a63:607:: with SMTP id 7mr6864316pgg.240.1564017033101; Wed, 24 Jul 2019 18:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564017033; cv=none; d=google.com; s=arc-20160816; b=AHICHNjauSVPJ8vdVWQDvgsWW8C/W8D+iKVYRKoaCymPxV67BTPD7AWnBU+Zcr803s 6sXFmZcS2GwOgnWR5IsR+F5L8WifBxrVVMBpGMVTcORNqEt6iRlpKQ4OfCdKPoGy8va7 UYu70zpqZi4qCWMqeFqGMWW9Cy6ReE4m7QC7Y0nco8CPydLZu2vc6NB9moQU6xj35KyB YSMUp/dT0IJd7MyN9j3mNGqvscxGukUpFmnwge5yL5D6z342igA6onorePzLB557akTG le+EHJuuVp25QQdPwRulSA35USevZNYFq7XFescjWpNDdRVqdkSdQ8Xc4dXob4equReX kbEQ== 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=3Rz8dAQxbUtJoPHymPGLRElA+A1B3DgvtdXkPpHI7dM=; b=o71eI+fH86/enmQOALywtXwuv+ri1/aOa75VOnWzgqnj/EvnbJFmb7jSqDqUh+i3oI XPJ/EUCnbx2aCczUhSBFLh/H5laplZuw8os/eT1BuWRgz6JhDwHeWmOcJRkZ51c5kEkJ UjnemvgDh6DcBBtD1OQhMdRV5QNmOx7HCFq0JMnSLxYMq5JYuOGzUKOIJOUYjsw6+z+Z XNPPojWvJnRDO8f9XQ1jZKAO9vEqyZN14QKb72bZE/mTEVAGXXYKTlW/I6ekPn0dS6DD gXzw98qRj95yqpodzzAP6aDQxJxZI2L3LNHfQXbpeLKjzoFAnAtSslQ6JtRBotpgLNx/ OnRA== 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 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id be3si15590894plb.383.2019.07.24.18.10.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jul 2019 18:10:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 F30FB6E4CF; Thu, 25 Jul 2019 01:10:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by gabe.freedesktop.org (Postfix) with ESMTPS id B67A16E386 for ; Thu, 25 Jul 2019 01:10:15 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id e20so63261766iob.9 for ; Wed, 24 Jul 2019 18:10:15 -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=2CdEvm+oRnTE1ZhDZPZZ4V4OiU5E9Xkf4wlrzQfNBQM=; b=GhchDEItgGnWWguDhNMs7VwWSNStQi91veWoX8tq3S6062kuLa6DSTu7xCzc1tZoLi /XX61dGgnM4x8HmL+Mx6EW2Dx8lTC02tl1NxQlPpQt5rZKIhukAz0b/HC6LyDblCY/S7 c18ieuh1l9y9uMxHbLHTS5NDUGBJ1VhcrPRTY5RT1woVPpxwluRFr5lkNPWkZcoPkA3W U3KdrfxHJ8e95z0aoB9WzTwoIlr3lSuiGMEpEjawADjhab2EQHOzqjms7KB7tzhQgLew qoXazuGUWODVp3fr31f4cSc8hSwgyCqyUOqiYMR9jq48OdrI8OxXaCwMZ4JjMt/W6Y4c +6tg== X-Gm-Message-State: APjAAAWCvtmcHsqS3DU1Id+CHIGjZLxJyBtBz7e6S7BlmstmJDAAAWr+ d8A6ZHIrjg/8NVRlgu2xUu6p5/k= X-Received: by 2002:a5d:8416:: with SMTP id i22mr54434529ion.248.1564017014746; Wed, 24 Jul 2019 18:10:14 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.254]) by smtp.googlemail.com with ESMTPSA id o7sm40675924ioo.81.2019.07.24.18.10.13 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 18:10:14 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 7/7] drm/panfrost: Bump driver version to 1.1 Date: Wed, 24 Jul 2019 19:10:03 -0600 Message-Id: <20190725011003.30837-8-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190725011003.30837-1-robh@kernel.org> References: <20190725011003.30837-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 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 46a6bec7a0f2..a6bef3b6da59 100644 --- a/drivers/gpu/drm/panfrost/panfrost_drv.c +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c @@ -353,6 +353,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, @@ -364,7 +369,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,