[git pull] drm fixes for Xmas (4.15-rc5)

From: Dave Airlie
Date: Thu Dec 21 2017 - 23:22:26 EST


Hi Linus,

I've got most of two weeks worth of fixes here due to being on
holidays last week.

The main things are:
Core:
Syncobj fd reference count fix
Leasing ioctl misuse fix

nouveau regression fixes
further amdgpu DC fixes
sun4i regression fixes

I'm not sure I'll see many fixes over next couple of weeks, we'll see how we go.

I'm around between Xmas and NY, but off for a week after that mostly.

Dave.


The following changes since commit 1291a0d5049dbc06baaaf66a9ff3f53db493b19b:

Linux 4.15-rc4 (2017-12-17 18:59:59 -0800)

are available in the git repository at:

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

for you to fetch changes up to e7cdf5c82f1773c3386b93bbcf13b9bfff29fa31:

drm/syncobj: Stop reusing the same struct file for all syncobj -> fd
(2017-12-22 14:14:39 +1000)

----------------------------------------------------------------
i915, nouveau, sun4i, amd, ttm and core drm fixes

----------------------------------------------------------------
Ben Skeggs (6):
drm/nouveau/bios/dp: support DP Info Table 2.0
drm/nouveau/imem/nv50: fix refcount_t warning
drm/nouveau/mmu/gp10b: use correct implementation
drm/nouveau: avoid GPU page sizes > PAGE_SIZE for buffer objects
in host memory
drm/nouveau: use alternate memory type for system-memory buffers
with kind != 0
drm/nouveau: fix obvious memory leak

Bhawanpreet Lakha (1):
drm/amd/display: add pipe locking before front end programing

Chris Wilson (6):
drm/i915: Flush pending GTT writes before unbinding
drm/i915: Drop fb reference on load_detect_pipe failure path
drm/i915: Stop listening to request resubmission from the signaler kthread
drm/i915/fence: Use rcu to defer freeing of irq_work
drm/i915/lpe: Remove double-encapsulation of info string
drm/syncobj: Stop reusing the same struct file for all syncobj -> fd

Dave Airlie (6):
Merge branch 'drm-fixes-4.15' of
git://people.freedesktop.org/~agd5f/linux into drm-fixes
Merge tag 'drm-intel-fixes-2017-12-14' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes
Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes
Merge tag 'drm-intel-fixes-2017-12-20' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge tag 'drm-misc-fixes-2017-12-21' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes

Dmytro Laktyushkin (1):
drm/amd/display: set chroma taps to 1 when not scaling

Eric Yang (1):
drm/amd/display: fix missing pixel clock adjustment for dongle

Hans Verkuil (1):
drm/sun4i: validate modes for HDMI

Jerry (Fangzhi) Zuo (1):
drm/amd/display: Fix rehook MST display not light back on

Karol Herbst (2):
drm/nouveau/fbcon: fix NULL pointer access in nouveau_fbcon_destroy
drm/nouveau/pci: do a msi rearm on init

Keith Packard (1):
drm: move lease init after validation in drm_lease_create

Maarten Lankhorst (1):
drm/plane: Make framebuffer refcounting the responsibility of
setplane_internal callers

Maxime Ripard (2):
drm/sun4i: Fix error path handling
drm/sun4i: hdmi: Move the mode_valid callback to the encoder

Monk Liu (3):
drm/ttm: fix incorrect calculate on shrink_pages
drm/ttm: max_cpages is in unit of native page
drm/amdgpu: fix MAP_QUEUES paramter

Rodrigo Vivi (1):
drm/i915: Protect DDI port to DPLL map from theoretical race.

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 13 ++--
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 51 ++++++++++++++
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | 1 +
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 9 +++
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 +-
.../amd/display/dc/dce110/dce110_hw_sequencer.c | 26 ++++++--
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c | 9 ++-
drivers/gpu/drm/drm_lease.c | 22 +++----
drivers/gpu/drm/drm_plane.c | 42 ++++++------
drivers/gpu/drm/drm_syncobj.c | 77 ++++++++--------------
drivers/gpu/drm/i915/i915_gem.c | 9 +--
drivers/gpu/drm/i915/i915_sw_fence.c | 3 +-
drivers/gpu/drm/i915/intel_breadcrumbs.c | 22 +++----
drivers/gpu/drm/i915/intel_ddi.c | 4 ++
drivers/gpu/drm/i915/intel_display.c | 3 +-
drivers/gpu/drm/i915/intel_lpe_audio.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_bo.c | 5 +-
drivers/gpu/drm/nouveau/nouveau_drv.h | 11 +++-
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_mem.c | 6 +-
drivers/gpu/drm/nouveau/nouveau_ttm.c | 39 ++++++++---
drivers/gpu/drm/nouveau/nouveau_vmm.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c | 9 ++-
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c | 7 ++
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 20 ++++++
drivers/gpu/drm/sun4i/sun4i_tcon.c | 4 +-
drivers/gpu/drm/ttm/ttm_page_alloc.c | 3 +-
31 files changed, 267 insertions(+), 146 deletions(-)