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 X-Patchwork-Id: 11057793 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D54413A0 for ; Thu, 25 Jul 2019 01:10:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EA0C208C2 for ; Thu, 25 Jul 2019 01:10:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 420EF28817; Thu, 25 Jul 2019 01:10:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F333D208C2 for ; Thu, 25 Jul 2019 01:10:32 +0000 (UTC) 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-Google-Smtp-Source: APXvYqxM11K1/pnn7Xhxa2Gl97m6fuk/HXqLySnFm3SA2BIFQKhXpZ8V9yQIjUaf44rJpnmTjsQf/Q== 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" X-Virus-Scanned: ClamAV using ClamSMTP 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,