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 X-Patchwork-Id: 157162 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp7870305jaa; Thu, 31 Jan 2019 16:51:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN5RNggR/VvYmw+XmEt1SZrp3Hu+JRizAvWiRpXRXI9vJ+ABaSUN/+qzrPUbIbIf4/1gZZEZ X-Received: by 2002:a17:902:d90d:: with SMTP id c13mr31612619plz.31.1548982263593; Thu, 31 Jan 2019 16:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548982263; cv=none; d=google.com; s=arc-20160816; b=jFc5DRn25vocPMJhLP/32F9/L/QPYxHe1GROv4xE7r07qC57afsrhjL8ssmSXmYiyL tk/8sfBlpRGTrmHSyabD0P/WoA6l9LW+fsB+8jichYz0WDSJwdD1/MM2KDMlYH+ntcmd m6PXrw/EU05jarWLL5DtrTuEvN5b3vEMrX4D98tCWnhp9PlUFskY1oFoBZDKqNq8fjwh AQC9HNd5M/ot38HAWzFQAvi2FGs8jtLV05ncOgsfJitCao2Q17Dc5h4BG9+QHJAzQwH1 CAl9rKDDws5uhE+PF6bAgMSQGjX5MUDeTGeVR/wvtzaCXbE20tGe2FQPP7aoj+WswcaV fHfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=rDEwVvLWJ7WxosrWbOHkeC6GQ0zVqpeAZj+Hd0eTUpw=; b=J+QcroMkYZX2yp38bYAA4z5RKRQxLG2zbkFKqhYcOgHikudUhCAWzvxfp31sOakPlz U70RPxIiB85eJUAxUaN1vDpQtyuSgUzuABdDTiNaMAtmkcEXOJUFJni83mEcuDtwymEF Pmb7dY89g2m08agUC3EPNxmkWyAvbw7Irk2rPXSmm1Hg9dg9W9jPPYQeoc83PSWvXT/+ LEOyCiC9Z9I3FfnYzPkgu+tqJiHTCBJ1NwPitFWAVQJpC+QNFMgJT5sQWALqHiG2lE6u 5Fsc9Se+BiAfQWG4yhVue21yZ0hT0xEU+BYSOUjCSKOC1lu3CGrS/YnjrZAPCDywZXIq F+dA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s5si76944pgl.481.2019.01.31.16.51.01; Thu, 31 Jan 2019 16:51:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727574AbfBAAvA (ORCPT + 15 others); Thu, 31 Jan 2019 19:51:00 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:32842 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726976AbfBAAvA (ORCPT ); Thu, 31 Jan 2019 19:51:00 -0500 Received: by mail-ot1-f65.google.com with SMTP id i20so4639255otl.0 for ; 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=rNU4VKiDRx4kQ1QuZXLhoBQX8Wr4Kcg+oiZwOZ1rEyVMpZmRpGLiyvEh08hxpTMsV8 rawa88dD4fQNbIkN2CEb+NPmGfpwBnXdVDU0h0JlAQIdvA2yNSTqrr8ZzpzloGS6+fHO JnP/+PL/1KSjNzPg8WtxbwrS2wUlFwABjReYsyYXuGufDUwvjL45R3j0/eRa0JngTB90 pg8N1nivwk6WCXO8ieYfo7gBQ5eaM5/3BUI0adQjUuM6TL3VOKumJCC2QGouierrk66Q 8n03gBNUQ3ZuFr1OFPsn6Rw2UGX36BtoBqFvRk/Jc5pyO2RM/UJC5J7kM8Xpupr141w/ gWEg== X-Gm-Message-State: AJcUukezf92qJUx86OCu5ZchZJDOcJV9MIr+Zl/XlhsUt5oQBsUye1L+ W1D+vjo1L1Yz7lCNpuqWpw== 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 Cc: Christian Gmeiner , Daniel Vetter , David Airlie , Eric Anholt , etnaviv@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Lucas Stach , Maarten Lankhorst , Maxime Ripard , Rob Clark , Russell King , Sean Paul 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 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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(-) -- 2.19.1