android_kernel_xiaomi_sm8350/Documentation/gpu
Rodrigo Vivi 829e8def7b Merge drm/drm-next into drm-intel-next-queued
We need the rename of reservation_object to dma_resv.

The solution on this merge came from linux-next:
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 14 Aug 2019 12:48:39 +1000
Subject: [PATCH] drm: fix up fallout from "dma-buf: rename reservation_object to dma_resv"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/gpu/drm/i915/gt/intel_engine_pool.c | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_engine_pool.c b/drivers/gpu/drm/i915/gt/intel_engine_pool.c
index 03d90b49584a..4cd54c569911 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_pool.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_pool.c
@@ -43,12 +43,12 @@ static int pool_active(struct i915_active *ref)
 {
        struct intel_engine_pool_node *node =
                container_of(ref, typeof(*node), active);
-       struct reservation_object *resv = node->obj->base.resv;
+       struct dma_resv *resv = node->obj->base.resv;
        int err;

-       if (reservation_object_trylock(resv)) {
-               reservation_object_add_excl_fence(resv, NULL);
-               reservation_object_unlock(resv);
+       if (dma_resv_trylock(resv)) {
+               dma_resv_add_excl_fence(resv, NULL);
+               dma_resv_unlock(resv);
        }

        err = i915_gem_object_pin_pages(node->obj);

which is a simplified version from a previous one which had:
Reviewed-by: Christian König <christian.koenig@amd.com>

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2019-08-22 00:10:36 -07:00
..
bridge
dp-mst
afbc.rst
amdgpu-dc.rst
amdgpu.rst gpu: amdgpu: fix broken amdgpu_dma_buf.c references 2019-06-05 22:17:32 -05:00
drivers.rst drm/tinydrm: Move mipi-dbi 2019-07-25 10:45:07 +02:00
drm-client.rst drm/fb-helper: Remove drm_fb_helper_crtc 2019-06-04 12:13:47 +02:00
drm-internals.rst
drm-kms-helpers.rst drm/tinydrm: Move mipi-dbi 2019-07-25 10:45:07 +02:00
drm-kms.rst
drm-mm.rst drm/prime: Update docs 2019-06-21 11:48:09 +02:00
drm-uapi.rst drm: ADD UAPI structure definition section in kernel doc 2019-06-04 13:00:23 +02:00
i915.rst drm/i915: Extract intel_frontbuffer active tracking 2019-08-16 09:51:11 +01:00
index.rst
introduction.rst drm/doc: Document kapi doc expectations 2019-07-19 15:02:37 +02:00
kms-properties.csv
komeda-kms.rst
mcde.rst drm/mcde: Add new driver for ST-Ericsson MCDE 2019-05-24 17:00:13 +02:00
meson.rst
msm-crash-dump.rst docs: mark orphan documents as such 2019-06-08 13:42:11 -06:00
pl111.rst
tegra.rst
todo.rst drm/prime: Ditch gem_prime_res_obj hook 2019-07-31 10:19:23 +02:00
tve200.rst
v3d.rst
vc4.rst
vga-switcheroo.rst
vgaarbiter.rst
vkms.rst
xen-front.rst