Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm...
authorDave Airlie <airlied@redhat.com>
Thu, 17 Mar 2016 21:16:25 +0000 (07:16 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Mar 2016 21:16:25 +0000 (07:16 +1000)
A few other misc cleanups and bug fixes for 4.6.  Highlights:
- unify endian handling in powerplay
- powerplay fixes
- fix a regression in 4.5 on boards with no display connectors
- fence cleanups and locking fixes
- whitespace cleanups and code refactoring in radeon

* 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux: (35 commits)
  drm/amdgpu/gfx7: add MTYPE definition
  drm/amdgpu: removing BO_VAs shouldn't be interruptible
  drm/amd/powerplay: show uvd/vce power gate enablement for tonga.
  drm/amd/powerplay: show uvd/vce power gate info for fiji
  drm/amdgpu: use sched fence if possible
  drm/amdgpu: move ib.fence to job.fence
  drm/amdgpu: give a fence param to ib_free
  drm/amdgpu: include the right version of gmc header files for iceland
  drm/radeon: fix indentation.
  drm/amd/powerplay: add uvd/vce dpm enabling flag to fix the performance issue for CZ
  drm/amdgpu: switch back to 32bit hw fences v2
  drm/amdgpu: remove amdgpu_fence_is_signaled
  drm/amdgpu: drop the extra fence range check v2
  drm/amdgpu: signal fences directly in amdgpu_fence_process
  drm/amdgpu: cleanup amdgpu_fence_wait_empty v2
  drm/amdgpu: keep all fences in an RCU protected array v2
  drm/amdgpu: add number of hardware submissions to amdgpu_fence_driver_init_ring
  drm/amdgpu: RCU protected amd_sched_fence_release
  drm/amdgpu: RCU protected amdgpu_fence_release
  drm/amdgpu: merge amdgpu_fence_process and _activity
  ...

12 files changed:
1  2 
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_pm.c

Simple merge
index 2faf03bcda2123984e293c5d950f8dc6c219a940,476a8ce28bed9cda1b07eba63c22a523da43319d..8bf84efafb049cd693e156a8dbf2dff396c70164
@@@ -355,9 -353,9 +353,9 @@@ int amdgpu_sa_bo_new(struct amdgpu_sa_m
                        /* see if we can skip over some allocations */
                } while (amdgpu_sa_bo_next_hole(sa_manager, fences, tries));
  
-               for (i = 0, count = 0; i < AMDGPU_MAX_RINGS; ++i)
+               for (i = 0, count = 0; i < AMDGPU_SA_NUM_FENCE_LISTS; ++i)
                        if (fences[i])
 -                              fences[count++] = fences[i];
 +                              fences[count++] = fence_get(fences[i]);
  
                if (count) {
                        spin_unlock(&sa_manager->wq.lock);
Simple merge
Simple merge
Simple merge
Simple merge
index e29096b2fa6b4817058fb7cf1fd99a678d6a197f,ec6e65965079f662729b7513a251723715a70777..fcc7483d3f7b90e6a2153aba13fddd509fa76173
@@@ -403,11 -403,10 +403,11 @@@ static void radeon_flip_work_func(struc
        struct drm_crtc *crtc = &radeon_crtc->base;
        unsigned long flags;
        int r;
 -      int vpos, hpos, stat, min_udelay;
 +      int vpos, hpos, stat, min_udelay = 0;
 +      unsigned repcnt = 4;
        struct drm_vblank_crtc *vblank = &crtc->dev->vblank[work->crtc_id];
  
-         down_read(&rdev->exclusive_lock);
+       down_read(&rdev->exclusive_lock);
        if (work->fence) {
                struct radeon_fence *fence;
  
Simple merge