Merge drm/drm-next into drm-intel-gt-next
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 15 Sep 2021 10:23:27 +0000 (13:23 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 15 Sep 2021 10:23:27 +0000 (13:23 +0300)
Close the divergence which has caused patches not to apply and
have a solid baseline for the PXP patches that Rodrigo will send
a topic branch PR for.

Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
1  2 
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_uncore.c
drivers/gpu/drm/ttm/ttm_bo_util.c

Simple merge
Simple merge
Simple merge
Simple merge
@@@ -909,9 -894,10 +894,10 @@@ static const struct intel_device_info r
        .has_snoop = 1, \
        .is_dgfx = 1
  
 -static const struct intel_device_info dg1_info __maybe_unused = {
 +static const struct intel_device_info dg1_info = {
        GEN12_FEATURES,
        DGFX_FEATURES,
+       .graphics_rel = 10,
        PLATFORM(INTEL_DG1),
        .pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C) | BIT(PIPE_D),
        .require_force_probe = 1,
Simple merge
Simple merge
@@@ -166,15 -171,12 +168,14 @@@ int ttm_bo_move_memcpy(struct ttm_buffe
                goto out_src_iter;
        }
  
 -      ttm_move_memcpy(bo, dst_mem->num_pages, dst_iter, src_iter);
 +      clear = src_iter->ops->maps_tt && (!ttm || !ttm_tt_is_populated(ttm));
 +      if (!(clear && ttm && !(ttm->page_flags & TTM_PAGE_FLAG_ZERO_ALLOC)))
 +              ttm_move_memcpy(clear, dst_mem->num_pages, dst_iter, src_iter);
  
-       src_copy = *src_mem;
+       if (!src_iter->ops->maps_tt)
+               ttm_kmap_iter_linear_io_fini(&_src_iter.io, bdev, src_mem);
        ttm_bo_move_sync_cleanup(bo, dst_mem);
  
-       if (!src_iter->ops->maps_tt)
-               ttm_kmap_iter_linear_io_fini(&_src_iter.io, bdev, &src_copy);
  out_src_iter:
        if (!dst_iter->ops->maps_tt)
                ttm_kmap_iter_linear_io_fini(&_dst_iter.io, bdev, dst_mem);