linux-next: manual merge of the drm tree with the drm-intel-fixes tree
Subsystems (3)
Hi all,
Today's linux-next merge of the drm tree got a conflict in:
drivers/gpu/drm/i915/i915_gem_gtt.c
between commit:
ecc4d2a52df6 ("drm/i915/userptr: fix size calculation")
from the drm-intel-fixes tree and commit:
2c86e55d2ab5 ("drm/i915/gtt: split up i915_gem_gtt")
from the drm tree.
I fixed it up (I used the latter version of the file and applied teh following merge fix patch) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
From: Stephen Rothwell <[email protected]>
Date: Wed, 22 Jan 2020 11:33:32 +1100
Subject: [PATCH] fix up for "drm/i915/userptr: fix size calculation"
--- drivers/gpu/drm/i915/gt/gen6_ppgtt.c | 1 + drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 1 + 2 files changed, 2 insertions(+)
drivers/gpu/drm/i915/gt/gen6_ppgtt.c +1 -0
@@ -131,6 +131,7 @@ static void gen6_ppgtt_insert_entries(struct i915_address_space *vm, vaddr =kmap_atomic_px (i915_pt_entry (pd, act_pt)); do { + GEM_BUG_ON(iter.sg->length < I915_GTT_PAGE_SIZE); vaddr[act_pte] = pte_encode | GEN6_PTE_ADDR_ENCODE(iter.dma); iter.dma += I915_GTT_PAGE_SIZE;
drivers/gpu/drm/i915/gt/gen8_ppgtt.c +1 -0
@@ -379,6 +379,7 @@ gen8_ppgtt_insert_pte(struct i915_ppgtt *ppgtt, pd =i915_pd_entry (pdp,gen8_pd_index (idx,2 )); vaddr =kmap_atomic_px (i915_pt_entry (pd,gen8_pd_index (idx,1 ))); do { + GEM_BUG_ON(iter->sg->length < I915_GTT_PAGE_SIZE); vaddr[gen8_pd_index(idx, 0)] = pte_encode | iter->dma; iter->dma += I915_GTT_PAGE_SIZE;
Signature · 5 lines
2.24.0 -- Cheers, Stephen Rothwell
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for linux-next: manual merge of the drm tree with the drm-intel-fixes tree (rev2)
== Series Details ==
== Series Details ==
Series: linux-next: manual merge of the drm tree with the drm-intel-fixes tree (rev2)
URL : https://patchwork.freedesktop.org/series/71725/
State : failure
== Summary ==
Applying: linux-next: manual merge of the drm tree with the drm-intel-fixes tree Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/gt/gen6_ppgtt.c
M drivers/gpu/drm/i915/gt/gen8_ppgtt.c
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx