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>
No related branches found
No related tags found
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- .mailmap 3 additions, 0 deletions.mailmap
- Documentation/PCI/pci-error-recovery.rst 4 additions, 1 deletionDocumentation/PCI/pci-error-recovery.rst
- Documentation/RCU/rculist_nulls.txt 1 addition, 1 deletionDocumentation/RCU/rculist_nulls.txt
- Documentation/admin-guide/conf.py 0 additions, 10 deletionsDocumentation/admin-guide/conf.py
- Documentation/admin-guide/kernel-parameters.txt 1 addition, 1 deletionDocumentation/admin-guide/kernel-parameters.txt
- Documentation/admin-guide/mm/transhuge.rst 1 addition, 1 deletionDocumentation/admin-guide/mm/transhuge.rst
- Documentation/conf.py 29 additions, 1 deletionDocumentation/conf.py
- Documentation/core-api/conf.py 0 additions, 10 deletionsDocumentation/core-api/conf.py
- Documentation/crypto/conf.py 0 additions, 10 deletionsDocumentation/crypto/conf.py
- Documentation/dev-tools/conf.py 0 additions, 10 deletionsDocumentation/dev-tools/conf.py
- Documentation/devicetree/bindings/arm/idle-states.txt 1 addition, 1 deletionDocumentation/devicetree/bindings/arm/idle-states.txt
- Documentation/devicetree/bindings/arm/renesas.yaml 1 addition, 1 deletionDocumentation/devicetree/bindings/arm/renesas.yaml
- Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml 1 addition, 1 deletion...mentation/devicetree/bindings/arm/socionext/milbeaut.yaml
- Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml 1 addition, 1 deletionDocumentation/devicetree/bindings/arm/ti/ti,davinci.yaml
- Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml 1 addition, 1 deletion...on/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml
- Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.txt 0 additions, 119 deletions...ion/devicetree/bindings/display/amlogic,meson-dw-hdmi.txt
- Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml 150 additions, 0 deletions...on/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
- Documentation/devicetree/bindings/display/amlogic,meson-vpu.txt 0 additions, 121 deletions...ntation/devicetree/bindings/display/amlogic,meson-vpu.txt
- Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml 137 additions, 0 deletions...tation/devicetree/bindings/display/amlogic,meson-vpu.yaml
Loading
Please register or sign in to comment