From patchwork Fri Feb 1 00:50: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: 10791603 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 6772B14E1 for ; Fri, 1 Feb 2019 00:51:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CD7031C40 for ; Fri, 1 Feb 2019 00:51:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43AF331C83; Fri, 1 Feb 2019 00:51:06 +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 F09AE31C43 for ; Fri, 1 Feb 2019 00:51:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C9B3A6E231; Fri, 1 Feb 2019 00:51:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id B68AD6E22F; Fri, 1 Feb 2019 00:51:00 +0000 (UTC) Received: by mail-ot1-f68.google.com with SMTP id w25so4551536otm.13; Thu, 31 Jan 2019 16:51:00 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=rDEwVvLWJ7WxosrWbOHkeC6GQ0zVqpeAZj+Hd0eTUpw=; b=Xbgz1ctZMxsCVewPl+1AYc0XyNHiDe6srP3i/qdjTIpIlp1PKHQwt6lomDZS9eoXfl OBoTajhtYO7Fm3QKRzPyg+2NFm0+j0rQmNdWpf4xT4r8ctsRxj7FS4Fe46AptaO+w1CN AjenTKpODkfA7gtPl2I2pmX9UgjXbWoS7JVyF5NOFOg10GrmP35Wl/zzHHZjPTTC1iR0 uch0fXKKr6Ccv6elq0maCGm5iVt+LDtDeHCrZaVIUnnyhl4dEn5GsVn/g+5kD+EjURu3 5Q3CoqqJOgivQWIzriA5eEW81AmIU5SUhsOjIMtGwA5s21+BcHTlBeejKunuF4ILrXM/ TfOg== X-Gm-Message-State: AJcUukejqu7NqHMMYZat8m0aJQfTC0PE+HRW/RUoR12e60Swp0/6Amq4 3tMtdjcmtpiTiXCFN1ivQLrcQiI= X-Google-Smtp-Source: ALg8bN4f8UuneZNW3UmeqqX6xPnryqDHRoTeU4jjwQDDJ2OxyZzru2RzZ69dP9FUup7lIsa/Q7ZdHA== X-Received: by 2002:a9d:3b83:: with SMTP id k3mr28303426otc.318.1548982259558; Thu, 31 Jan 2019 16:50:59 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id 31sm3137699otw.55.2019.01.31.16.50.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 16:50:58 -0800 (PST) From: Rob Herring To: dri-devel@lists.freedesktop.org Subject: [PATCH 0/5] Add reservation_object to drm_gem_object Date: Thu, 31 Jan 2019 18:50:52 -0600 Message-Id: <20190201005057.13648-1-robh@kernel.org> X-Mailer: git-send-email 2.19.1 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: Sean Paul , Maxime Ripard , David Airlie , linux-arm-msm@vger.kernel.org, etnaviv@lists.freedesktop.org, Russell King , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This series implements the todo to add reservation_object to drm_gem_object. I converted the easy drivers, but not Intel or AMD. The series is build tested only. Rob Rob Herring (5): drm: Add reservation_object to drm_gem_object drm: etnaviv: Switch to use drm_gem_object reservation_object drm: msm: Switch to use drm_gem_object reservation_object drm: v3d: Switch to use drm_gem_object reservation_object drm: vc4: Switch to use drm_gem_object reservation_object Documentation/gpu/todo.rst | 9 ----- drivers/gpu/drm/drm_gem.c | 39 ++++++++++++++++++++ drivers/gpu/drm/drm_prime.c | 1 + drivers/gpu/drm/etnaviv/etnaviv_drv.c | 1 - drivers/gpu/drm/etnaviv/etnaviv_drv.h | 1 - drivers/gpu/drm/etnaviv/etnaviv_gem.c | 16 +++----- drivers/gpu/drm/etnaviv/etnaviv_gem.h | 4 -- drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 7 ---- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 22 +++++------ drivers/gpu/drm/msm/msm_drv.c | 1 - drivers/gpu/drm/msm/msm_drv.h | 1 - drivers/gpu/drm/msm/msm_gem.c | 27 +++++--------- drivers/gpu/drm/msm/msm_gem_prime.c | 7 ---- drivers/gpu/drm/msm/msm_gem_submit.c | 8 ++-- drivers/gpu/drm/v3d/v3d_bo.c | 14 +------ drivers/gpu/drm/v3d/v3d_drv.c | 1 - drivers/gpu/drm/v3d/v3d_drv.h | 5 --- drivers/gpu/drm/v3d/v3d_gem.c | 35 +++++------------- drivers/gpu/drm/vc4/vc4_bo.c | 15 +------- drivers/gpu/drm/vc4/vc4_drv.c | 1 - drivers/gpu/drm/vc4/vc4_drv.h | 7 +--- drivers/gpu/drm/vc4/vc4_gem.c | 18 ++++----- drivers/gpu/drm/vc4/vc4_plane.c | 2 +- include/drm/drm_gem.h | 7 ++++ 24 files changed, 98 insertions(+), 151 deletions(-)