Backmerge tag 'v4.9-rc4' into drm-next
authorDave Airlie <airlied@redhat.com>
Sun, 6 Nov 2016 23:37:09 +0000 (09:37 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Nov 2016 23:37:09 +0000 (09:37 +1000)
Linux 4.9-rc4

This is needed for nouveau development.

36 files changed:
1  2 
MAINTAINERS
drivers/base/Kconfig
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
drivers/gpu/drm/amd/amdgpu/si_dpm.c
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
drivers/gpu/drm/amd/amdgpu/vi.c
drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/sched_fence.c
drivers/gpu/drm/ast/ast_ttm.c
drivers/gpu/drm/cirrus/cirrus_ttm.c
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_fbc.c
drivers/gpu/drm/mgag200/mgag200_ttm.c
drivers/gpu/drm/rcar-du/rcar_du_kms.c
drivers/gpu/drm/sti/sti_drv.c
include/drm/drm_plane.h

diff --cc MAINTAINERS
Simple merge
Simple merge
index 6958d4af017f18b4c119a188be0d09ac4546b9ef,7ca07e7b25c10c4e20536ba039c1e8d9a80c12bf..9e16e975f31ad7f5021dd2d38ec0d08af96add58
@@@ -1975,12 -1956,10 +1975,13 @@@ int amdgpu_device_suspend(struct drm_de
  
        r = amdgpu_suspend(adev);
  
 -      /* evict remaining vram memory */
 +      /* evict remaining vram memory
 +       * This second call to evict vram is to evict the gart page table
 +       * using the CPU.
 +       */
        amdgpu_bo_evict_vram(adev);
  
+       amdgpu_atombios_scratch_regs_save(adev);
        pci_save_state(dev->pdev);
        if (suspend) {
                /* Shut down the device */
index e480263387e15ee354bdc97a77a6c413cf8d378a,968c4260d7a7e0ccfa94f4a3f069acc9f73e1830..337c5b31d18d6f3c1b085c06b08f58e2830723bb
@@@ -1772,8 -1755,9 +1772,9 @@@ void amdgpu_vm_manager_fini(struct amdg
        for (i = 0; i < AMDGPU_NUM_VM; ++i) {
                struct amdgpu_vm_id *id = &adev->vm_manager.ids[i];
  
 -              fence_put(adev->vm_manager.ids[i].first);
 +              dma_fence_put(adev->vm_manager.ids[i].first);
                amdgpu_sync_free(&adev->vm_manager.ids[i].active);
 -              fence_put(id->flushed_updates);
 -              fence_put(id->last_flush);
 +              dma_fence_put(id->flushed_updates);
++              dma_fence_put(id->last_flush);
        }
  }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 6f8f6ec5b27a34a7c28d1b9f46719cd79c9c0706,0ad1879bfd9d3b5dc9780ee1d2f160051cbe494c..895b3dc50e3f6e4eb6ee0c3f218a29491dfe8063
@@@ -2983,9 -2976,10 +2983,10 @@@ int skl_check_plane_surface(struct inte
        int ret;
  
        /* Rotate src coordinates to match rotated GTT view */
 -      if (intel_rotation_90_or_270(rotation))
 +      if (drm_rotation_90_or_270(rotation))
                drm_rect_rotate(&plane_state->base.src,
-                               fb->width, fb->height, DRM_ROTATE_270);
+                               fb->width << 16, fb->height << 16,
+                               DRM_ROTATE_270);
  
        /*
         * Handle the AUX surface first since
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge