From patchwork Thu Aug 8 22:22:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 11084919 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 12C8014DB for ; Thu, 8 Aug 2019 22:22:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02EE728BC4 for ; Thu, 8 Aug 2019 22:22:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EAE8128BD4; Thu, 8 Aug 2019 22:22:22 +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 A270A28BC4 for ; Thu, 8 Aug 2019 22:22:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E6036ECD3; Thu, 8 Aug 2019 22:22:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 82C9F6ECD3 for ; Thu, 8 Aug 2019 22:22:14 +0000 (UTC) Received: by mail-ot1-f65.google.com with SMTP id z17so6636926otk.13 for ; Thu, 08 Aug 2019 15:22:14 -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=xrPog449LK1tekUd7IZ+epi5xcJogpnkPqslbREhU2k=; b=bn6/734U6zxzNFGw+Oqrs5XGQXV1t7e7b3gT8GFsnLRRpH2IqhHKKl9NaV51AtGqKF r98MmQuDOMg4rSWQpI1q1FyLYo9N4ITbn7rWTMih0PyChFm7nLfCWVi6xoz9RqMRZge5 8vfCAYp7ucSvWiMhpL0XtE/fHFQddtzgNM/pemJZNS4Drep7yE6PXN9Y3kWUjyTUx/bH znbPp+77xg0vG7T+5c3K7aBfLgPKfvI2G5RdnAlSNppGmetpXjqdcQ5j4nvJV9LxP6PR eufB8lfqryt7gKUqaBraQnHbUg4uBmplDZZbinDHP6Fy4a2iI3y8AmLnudLkOOjOF7pA Foxw== X-Gm-Message-State: APjAAAXrAkYTuk0uiU4kKyjzSD4obSDqYaDF/b7GLJDGWHWfkZItNUbj BUcZhpUuSIbWfzjWXoPAAT94QXw= X-Google-Smtp-Source: APXvYqysWzUDlQ2XxVQa0VtklqVKcLYNS78Ci1ACUbzNEViFQU4Mih/GMMXjC0n3pBNdHRl79DZVBQ== X-Received: by 2002:a6b:cdcc:: with SMTP id d195mr4794360iog.78.1565302933164; Thu, 08 Aug 2019 15:22:13 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.254]) by smtp.googlemail.com with ESMTPSA id i4sm118528553iog.31.2019.08.08.15.22.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 15:22:12 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org Subject: [PATCH v4 9/9] drm/panfrost: Bump driver version to 1.1 Date: Thu, 8 Aug 2019 16:22:00 -0600 Message-Id: <20190808222200.13176-10-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190808222200.13176-1-robh@kernel.org> References: <20190808222200.13176-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 , Robin Murphy , Steven Price , David Airlie , Boris Brezillon , Alyssa Rosenzweig , Sean Paul 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 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 994dbc37e4d0..a1352750984c 100644 --- a/drivers/gpu/drm/panfrost/panfrost_drv.c +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c @@ -448,6 +448,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, @@ -459,7 +464,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,