[git pull] drm fixes for v4.7-rc3

From: Dave Airlie
Date: Fri Jun 10 2016 - 01:33:39 EST



Hi Linus,

This weeks instalment of fixes:

amdgpu: Lots of memory leak and firmware leak fixes.
nouveau: Collection of display fixes, KASAN fixes.
vc4: vblank/pageflipping fixes
fsl-dcu: Regmap cache fix
omap: Unused variable warning fix.

Nothing too surprising so far.

Dave.

The following changes since commit af8c34ce6ae32addda3788d54a7e340cad22516b:

Linux 4.7-rc2 (2016-06-05 14:31:26 -0700)

are available in the git repository at:

git://people.freedesktop.org/~airlied/linux tags/drm-fixes-for-v4.7-rc3

for you to fetch changes up to 7ff6977be8e3c7e6f5ae1ee56bc1535c5ca653b1:

Merge branch 'fixes-for-v4.7-rc3' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-fixes (2016-06-10 12:17:46 +1000)

----------------------------------------------------------------
Alex Deucher (1):
drm/amdgpu: fix fw leak in non-powerplay dpm code

Ben Skeggs (7):
drm/nouveau/bios/disp: fix handling of "match any protocol" entries
drm/nouveau/ltc/gm107-: fix typo in the address of NV_PLTCG_LTC0_LTS0_INTR
drm/nouveau/gr/gf100-: update sm error decoding from gk20a nvgpu headers
drm/nouveau/fbcon: fix out-of-bounds memory accesses
drm/nouveau/core: swap the order of imem/fb
drm/nouveau/disp/sor/gf119: both links use the same training register
drm/nouveau/disp/sor/gm107: training pattern registers are like gm200

Chunming Zhou (1):
drm/amdgpu: add pipeline sync while vmid switch in same ctx

Dave Airlie (6):
Merge branch 'linux-4.7' of git://github.com/skeggsb/linux into drm-fixes
Merge tag 'drm-vc4-fixes-2016-06-06' of github.com:anholt/linux into drm-fixes
Merge branch 'msm-fixes-4.7-rc3' of git://people.freedesktop.org/~robclark/linux into drm-fixes
Merge branch 'drm-fixes-4.7' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
drm/amdgpu: fix warning with powerplay disabled.
Merge branch 'fixes-for-v4.7-rc3' of http://git.agner.ch/git/linux-drm-fsl-dcu into drm-fixes

Herve Jourdain (1):
drm/vc4: Fix ioctl permissions for render nodes.

Ken Wang (1):
drm/amdgpu/iceland: Set SC_PA_RASTER_CONFIG according to different RB enabled

Mario Kleiner (3):
drm/vc4: Fix get_vblank_counter with proper no-op for Linux 4.4+
drm/vc4: Fix drm_vblank_put/get imbalance in page flip path.
drm/vc4: Make pageflip completion handling more robust.

Monk Liu (22):
drm/amdgpu: add late_fini for ip_funcs
drm/amdgpu: impl late_fini for amdgpu_pp_ip
drm/amdgpu: fix pplib finish bug
drm/amdgpu: clear SA bo when created
drm/amdgpu: init more register for sdma
drm/amdgpu: modify sdma start sequence
drm/amdgpu: vBIOS post only call when mem_size zero
drm/amdgpu: fix mem leak in smumgr
drm/amdgpu: fix mem leak in pplib/hwmgr
drm/amdgpu: fix mem leak in atombios
drm/amdgpu: fix memleak in pptable_init
drm/amdgpu: fix missing free wb for cond_exec
drm/amdgpu: fix gfx8 ucode mem leak
drm/amdgpu: fix gfx 7 ucode mem leak
drm/amdgpu: fix uvd fini mem leak
drm/amdgpu: fix sdma3 ucode mem leak
drm/amdgpu: fix sdma24 ucode mem leak
drm/amdgpu: fix cik sdma ucode memleak
drm/amdgpu: fix fiji smu fini mem leak
drm/amdgpu: fix tonga smu_fini mem leak
drm/amdgpu: add release firmware for cgs
drm/amdgpu: fix smu ucode memleak (v2)

Rex Zhu (3):
drm/admgpu/powerplay/polaris: fix powertune table upload
drm/amd/powerplay: fix bug visit array out of bounds
drm/amd/powerplay: delete useless code as pptable changed in vbios.

Rob Clark (3):
drm/msm: deal with exhausted vmap space better
drm/msm: fix some crashes in submit fail path
drm/msm: fix potential submit error path issue

Robert Foss (1):
drm/vc4: Return -EBUSY if there's already a pending flip event.

Stefan Agner (1):
drm/fsl-dcu: use flat regmap cache

Tomi Valkeinen (1):
drm/omap: fix unused variable warning in dsi & hdmi

drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 12 +++++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 12 +++--
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 9 +++-
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 24 +++++++---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 19 ++++----
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +--
drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 3 ++
drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 22 ++++++++-
drivers/gpu/drm/amd/amdgpu/fiji_dpm.c | 5 ++
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 17 +++++++
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 28 ++++++++++-
drivers/gpu/drm/amd/amdgpu/iceland_dpm.c | 5 ++
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 20 +++++++-
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 27 +++++++++--
drivers/gpu/drm/amd/amdgpu/tonga_dpm.c | 5 ++
drivers/gpu/drm/amd/include/amd_shared.h | 1 +
drivers/gpu/drm/amd/include/cgs_common.h | 6 +++
drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 8 +++-
drivers/gpu/drm/amd/powerplay/eventmgr/eventmgr.c | 3 --
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c | 2 +-
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 9 +++-
.../drm/amd/powerplay/hwmgr/polaris10_powertune.c | 2 +-
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 21 ---------
.../amd/powerplay/hwmgr/tonga_processpptables.c | 54 ++++++++++------------
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c | 6 +++
.../drm/amd/powerplay/smumgr/polaris10_smumgr.c | 1 +
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 1 +
.../gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c | 7 +++
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 3 +-
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 2 +-
drivers/gpu/drm/msm/msm_fbdev.c | 4 ++
drivers/gpu/drm/msm/msm_gem.c | 2 +
drivers/gpu/drm/msm/msm_gem_submit.c | 7 +++
drivers/gpu/drm/msm/msm_rd.c | 3 ++
drivers/gpu/drm/msm/msm_ringbuffer.c | 4 ++
drivers/gpu/drm/nouveau/include/nvkm/core/device.h | 2 +-
.../drm/nouveau/include/nvkm/subdev/bios/disp.h | 5 +-
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 1 +
drivers/gpu/drm/nouveau/nv04_fbcon.c | 7 +--
drivers/gpu/drm/nouveau/nv50_fbcon.c | 6 +--
drivers/gpu/drm/nouveau/nvc0_fbcon.c | 6 +--
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c | 13 ++----
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c | 12 ++---
drivers/gpu/drm/nouveau/nvkm/engine/disp/outpdp.h | 9 +++-
.../gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c | 5 +-
.../gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c | 53 +++++++++++++++++++++
.../gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c | 15 +-----
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 37 +++++++++++----
drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c | 8 ++--
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c | 6 +--
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm200.c | 2 +-
drivers/gpu/drm/omapdrm/dss/dsi.c | 1 -
drivers/gpu/drm/omapdrm/dss/hdmi5.c | 1 -
drivers/gpu/drm/vc4/vc4_crtc.c | 32 +++++++++----
drivers/gpu/drm/vc4/vc4_drv.c | 14 +++---
drivers/gpu/drm/vc4/vc4_kms.c | 16 +++++--
drivers/gpu/drm/vc4/vc4_regs.h | 4 ++
62 files changed, 439 insertions(+), 185 deletions(-)
create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c