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: 170873 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp9165385ile; Thu, 8 Aug 2019 15:22:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbDYhR9o9Ksq2qzxJf3gd1wXPC2Zzz6H6zbRW3lY2jYSR4ACgmwRDSyul3KrS/N9M2jswq X-Received: by 2002:a63:f816:: with SMTP id n22mr14478875pgh.175.1565302942599; Thu, 08 Aug 2019 15:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565302942; cv=none; d=google.com; s=arc-20160816; b=w6BfFaHnDKo7w92LyrYCq8NUlKuh12RrvqWnixRIpaiYHDoSLSIKAqrPSk7caiwpDv I3TCc4JSClI7sV4ciRsM0IKy1H4HSVE1WoyQom8xt9knq9o6qltAx/WQDnAwFre3nAhe lQFaV6Hs2T3nG/FN68pgju+KbtAW+d0AVhayXCCQsNnVw90aiaDy2H9PQD0cNU4fjVlM S1k7NOZVN73tph3smDHp772lmndoJ8xA8dpFemkBkkY+TdgUjYCF0xYBlUPEW3Vji3s2 bDLQVu1QxYdI6nuJBytniDGuf2OiD5Gi5++vxilvqTaOfNicupGpc8CZtG1U9qwThDs/ Gxfw== 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=0pxflVZX7jDhEXh4kD+UeAWUebSjzvCkM7VU52+G0jk=; b=cCs/SWWLxNPgUmASh/HQsEjS4TxJj/zjH2KPSX4zUQG0hrXBEMT5WlL6W3s0vjH3pc 3zUmQ2CsCyfwqadG6DEGbL4pUfLB8Zoj5R9yJ4tab3HHLz9e5+aChyNLZKzizp+/+HFT Gef/9Vc79rRwtVKKe30yXyKe0pPms5EGaU+NXcgbbCHZE3YymM8/oQSfa17mPRVwRtTx muw7GCTCG9Ln6kCzUpnscbdLTAHkFLrmSXYszve61vDB0upReyEX5oWqPQW5wje9S3+I sbx7ijF9nZFyx3NUX2HpGsN3mgId3BSh3CrNwatwf2A5JmQMfdkiyoemAkgqT00sQpjX hdrg== 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 b5si52517770pfd.273.2019.08.08.15.22.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Aug 2019 15:22:22 -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 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-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" 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,