[PULL] drm-intel-next

Joonas Lahtinen
2018-02-28T09:52:14Z

Hi Dave,

Cannonlake driver support is fine for the hardware we've had at our disposal
to test on, so we've removed the alpha_support protection for it. That'll be
the biggest visible change.

Other than there's fixes for Dell Venue 8 Pro display issues, audio only HDMI
and out-fences from execbuf.

Many of the Icelake patches are still being reviewed, so expect more in the
last pull request.

Regards, Joonas

The following changes since commit 2f2f2db86d63605b1f57780ead21d4968e9d0bf3:

drm/i915: Update DRIVER_DATE to 20180207 (2018-02-07 09:26:04 +0200)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2018-02-21

for you to fetch changes up to fed8165851e262575585b22055ff5dba7d91b0e5:

drm/i915: Update DRIVER_DATE to 20180221 (2018-02-21 15:21:30 +0200)

----------------------------------------------------------------
Driver Changes:

- Lift alpha_support protection from Cannonlake (Rodrigo)
* Meaning the driver should mostly work for the hardware we had
at our disposal when testing
* Used to be preliminary_hw_support
- Add missing Cannonlake PCI device ID of 0x5A4C (Rodrigo)
- Cannonlake port register fix (Mahesh)

- Fix Dell Venue 8 Pro black screen after modeset (Hans)
- Fix for always returning zero out-fence from execbuf (Daniele)
- Fix HDMI audio when no no relevant video output is active (Jani)
- Fix memleak of VBT data on driver_unload (Hans)

- Fix for KASAN found locking issue (Maarten)
- RCU barrier consolidation to improve igt/gem_sync/idle (Chris)
- Optimizations to IRQ handlers (Chris)
- vblank tracking improvements (64-bit resolution, PM) (Dhinakaran)
- Pipe select bit corrections (Ville)
- Reduce runtime computed device_info fields (Chris)
- Tune down some WARN_ONs to GEM_BUG_ON now that CI has good coverage (Chris)
- A bunch of kerneldoc warning fixes (Chris)

----------------------------------------------------------------
Chris Wilson (63):
drm/i915/breadcrumbs: Ignore unsubmitted signalers
drm/i915: Skip request serialisation if the timeline is already complete
drm/i915: Trim the retired request queue after submitting
drm/i915: Tidy up some error messages around reset failure
drm/i915/pmu: Fix building without CONFIG_PM
drm/i915/guc: Allow preempt-client to be NULL
drm/i915: Move the scheduler feature bits into the purview of the engines
drm/i915: Only allocate preempt context when required
drm/i915/perf: Fix compiler warning for string truncation
drm/i915/perf: Fix compiler warning for string truncation
drm/i915: Remove superfluous worker wakeups when RPS is already boosted
drm/i915: Avoid truncation before clamping userspace's priority value
drm/i915: Mark the device as wedged from the beginning of set-wedged
drm/i915: Be paranoid and post the writes to stop the rings
drm/i915: Wait for gen3 reset status to be asserted
drm/i915: Fix kerneldoc warnings for i915_gpu_error
drm/i915: Fix kerneldoc warnings for intel_ringbuffer
drm/i915: Fix kerneldoc warnings for i915_gem_userptr
drm/i915: Fix kerneldoc warnings for i915_gem_request
drm/i915: Remove lost comment from i915_gem_context
drm/i915: Add missing kerneldoc for 'ent' in i915_driver_init_early
drm/i915: Fix kerneldoc parameter markup
drm/i915: Fix kerneldoc warnings in i915_gem_execbuffer
drm/i915: Fix kerneldoc warnings for i915_gem_internal
drm/i915: Disable unused-but-set compiler warning
drm/i915: Avoid leaking lpe audio platdev.data
drm/i915/crt: Silence compiler warning for uninitialised status
drm/i915: Remove redundant check on execlists interrupt
drm/i915: Move the final intel_gpu_reset() to after declaring wedged
drm/i915: Don't wake the device up to check if the engine is asleep
drm/i915: Hold rpm wakeref for printing the engine's register state
drm/i915: Replace open-coded memset_p()
drm/i915/selftests: Report setup errors for igt_partial_tiling
drm/i915/tv: Cleanup up obsolete comments
drm/i915/sdvo: Tidy up commentary
drm/i915/panel: Add missing parameters to kerneldoc
drm/i915/panel: Split range scaling calculation for readiblity
drm/i915/crt: Remove obsolete kerneldoc-esque comment
drm/i915/dvo: Remove incorrect kerneldoc markups
drm/i915/dvo: Fixup commentary
drm/i915/lvds: Fixup commentary
drm/i915: Add missing kerneldoc parameters for huc_ucode_xfer
drm/i915: Fixup kerneldoc for intel_uc_fw_upload()
drm/i915/atomic: Fixup kerneldoc
drm/i915: Fixup kerneldoc
drm/i915: Fixup kerneldoc for intel_pm.c
drm/i915: Clean up ancient doc comments for i915_ioc32.c
drm/i915/gtt: Convert WARN_ON to GEM debugging
drm/i915: Store gen_mask inside the static device info
drm/i915: Always define GEN as part of GENx_FEATURES
drm/i915: Store platform_mask inside the static device info
drm/i915: Assert that we always complete a submission to guc/execlists
drm/i915/execlists: Remove too early assert
drm/i915: Remove WARN_ONCE for failing to pm_runtime_if_in_use
drm/i915: Track GT interrupt handling using the master iir
drm/i915: Prune gen8_gt_irq_handler
drm/i915: Clear the in-use marker on execbuf failure
drm/i915/: Initialise trans_min for skl_compute_transition_wm()
drm/i915: Track number of pending freed objects
drm/i915: Also check view->type for a normal GGTT view
drm/i915: Move the policy for placement of the GGTT vma into the caller
drm/i915/fbdev: Use the PLANE_HAS_FENCE flags from the time of pinning
drm/i915/fbc: Use PLANE_HAS_FENCE to determine if the plane is fenced

Christian König (1):
drm: move read_domains and write_domain into i915

Daniele Ceraolo Spurio (2):
drm/i915: do not stop engines on sanitize if i915.reset=0
drm/i915: Fix rsvd2 mask when out-fence is returned

David Weinehall (1):
drm/i915: Fix incorrect comment

Dhinakaran Pandiyan (10):
drm/vblank: Data type fixes for 64-bit vblank sequences.
drm/i915/vblank: Make the vblank counter u64 -> u32 typecast explicit
drm/i915: Handle 64-bit return from drm_crtc_vblank_count()
drm/amdgpu: Handle 64-bit return from drm_crtc_vblank_count()
drm/radeon: Handle 64-bit return from drm_crtc_vblank_count()
drm/tegra: Handle 64-bit return from drm_crtc_vblank_count()
drm/atomic: Handle 64-bit return from drm_crtc_vblank_count()
drm/vblank: Do not update vblank count if interrupts are already disabled.
drm/vblank: Restoring vblank counts after device PM events.
drm/i915: Estimate and update missed vblanks.

Gustavo A. R. Silva (1):
drm/i915/selftests: fix inconsistent IS_ERR and PTR_ERR

Hans de Goede (3):
drm/i915: Add intel_bios_cleanup() function
drm/i915: Free memdup-ed DSI VBT data structures on driver_unload
drm/i915: Fix DSI panels with v1 MIPI sequences without a DEASSERT sequence v3

Imre Deak (2):
drm/i915/snb+: Remove incorrect forcewake check in debugfs/i915_drpc_info
drm/i915: Don't query PCODE RC6VIDS on platforms not supporting it

Jani Nikula (5):
drm/i915: abstract PCH type detection from PCH id
drm/i915: abstract virtual PCH id detection
drm/i915: have virtual PCH detection return a PCH id
drm/i915: introduce INTEL_PCH_ID() and use it
drm/i915/audio: fix check for av_enc_map overflow

Joonas Lahtinen (2):
drm/i915: Update DRIVER_DATE to 20180214
drm/i915: Update DRIVER_DATE to 20180221

Maarten Lankhorst (2):
drm/i915: Ignore minimum lines for level 0 in skl_compute_plane_wm, v2.
drm/i915: Release connector iterator on a digital port conflict.

Mahesh Kumar (4):
drm/i915/icl: Enable both DBuf slices during init
drm/i915/icl: initialize MBus during display init
drm/i915/icl: program mbus during pipe enable
drm/i915/cnl: Fix PORT_TX_DW5/7 register address

Mauro Carvalho Chehab (1):
drm: intel_dpio_phy: fix kernel-doc comments at nested struct

Paulo Zanoni (3):
drm/i915/icl: add ICL support to cnl_set_procmon_ref_values
drm/i915/icl: add the main CDCLK functions
drm/i915/icl: implement the display init/uninit sequences

Rodrigo Vivi (2):
drm/i915/cnl: Sync PCI ID with Spec.
drm/i915/cnl: Remove alpha_support protection

Tvrtko Ursulin (5):
drm/i915/pmu: Fix sleep under atomic in RC6 readout
drm/i915: Use INTEL_GEN everywhere
drm/i915: Replace some negative Gen checks
drm/i915: Fix i915_gem_context.h header
drm/i915: Handle RC6 counter wrap

Ville Syrjälä (6):
drm/i915: Reject undefined colorkey flags
drm/i915: Give all ioctl functions an _ioctl suffix
drm/i915: Assert that we don't overflow frontbuffer tracking bits
drm/i915: Don't set cursor pipe select bits on g4x+
drm/i915: Set the primary plane pipe select bits on gen4
drm/i915: Drop WaDoubleCursorLP3Latency:ivb

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 +-
drivers/gpu/drm/drm_plane.c | 2 +-
drivers/gpu/drm/drm_vblank.c | 85 ++++++-
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/dvo_ivch.c | 28 +--
drivers/gpu/drm/i915/gvt/dmabuf.c | 4 +-
drivers/gpu/drm/i915/i915_debugfs.c | 56 ++---
drivers/gpu/drm/i915/i915_drv.c | 280 +++++++++++-----------
drivers/gpu/drm/i915/i915_drv.h | 58 +++--
drivers/gpu/drm/i915/i915_gem.c | 127 +++++-----
drivers/gpu/drm/i915/i915_gem_clflush.c | 2 +-
drivers/gpu/drm/i915/i915_gem_context.c | 40 ++--
drivers/gpu/drm/i915/i915_gem_context.h | 3 +
drivers/gpu/drm/i915/i915_gem_dmabuf.c | 4 +-
drivers/gpu/drm/i915/i915_gem_execbuffer.c | 24 +-
drivers/gpu/drm/i915/i915_gem_fence_reg.c | 2 +-
drivers/gpu/drm/i915/i915_gem_gtt.c | 38 ++-
drivers/gpu/drm/i915/i915_gem_internal.c | 8 +-
drivers/gpu/drm/i915/i915_gem_object.h | 15 ++
drivers/gpu/drm/i915/i915_gem_request.c | 42 +++-
drivers/gpu/drm/i915/i915_gem_stolen.c | 4 +-
drivers/gpu/drm/i915/i915_gem_userptr.c | 10 +-
drivers/gpu/drm/i915/i915_gpu_error.c | 33 +--
drivers/gpu/drm/i915/i915_ioc32.c | 27 +--
drivers/gpu/drm/i915/i915_irq.c | 113 +++++----
drivers/gpu/drm/i915/i915_oa_cflgt3.c | 4 +-
drivers/gpu/drm/i915/i915_oa_cnl.c | 4 +-
drivers/gpu/drm/i915/i915_pci.c | 110 +++++----
drivers/gpu/drm/i915/i915_pmu.c | 106 ++++++--
drivers/gpu/drm/i915/i915_pmu.h | 6 +
drivers/gpu/drm/i915/i915_reg.h | 79 ++++--
drivers/gpu/drm/i915/i915_syncmap.c | 16 +-
drivers/gpu/drm/i915/intel_atomic.c | 5 +-
drivers/gpu/drm/i915/intel_atomic_plane.c | 1 +
drivers/gpu/drm/i915/intel_audio.c | 8 +-
drivers/gpu/drm/i915/intel_bios.c | 107 ++++++++-
drivers/gpu/drm/i915/intel_breadcrumbs.c | 20 +-
drivers/gpu/drm/i915/intel_cdclk.c | 239 +++++++++++++++++-
drivers/gpu/drm/i915/intel_crt.c | 13 +-
drivers/gpu/drm/i915/intel_ddi.c | 2 +-
drivers/gpu/drm/i915/intel_device_info.c | 6 +
drivers/gpu/drm/i915/intel_device_info.h | 7 +
drivers/gpu/drm/i915/intel_display.c | 102 +++++---
drivers/gpu/drm/i915/intel_dp.c | 6 +-
drivers/gpu/drm/i915/intel_dpio_phy.c | 2 +-
drivers/gpu/drm/i915/intel_drv.h | 19 +-
drivers/gpu/drm/i915/intel_dvo.c | 28 ++-
drivers/gpu/drm/i915/intel_engine_cs.c | 176 ++++++++------
drivers/gpu/drm/i915/intel_fbc.c | 13 +-
drivers/gpu/drm/i915/intel_fbdev.c | 13 +-
drivers/gpu/drm/i915/intel_guc_submission.c | 57 +++--
drivers/gpu/drm/i915/intel_huc.c | 3 +-
drivers/gpu/drm/i915/intel_lpe_audio.c | 14 +-
drivers/gpu/drm/i915/intel_lrc.c | 28 ++-
drivers/gpu/drm/i915/intel_lvds.c | 44 ++--
drivers/gpu/drm/i915/intel_mocs.c | 2 +-
drivers/gpu/drm/i915/intel_overlay.c | 3 +-
drivers/gpu/drm/i915/intel_panel.c | 12 +-
drivers/gpu/drm/i915/intel_pm.c | 94 ++++++--
drivers/gpu/drm/i915/intel_psr.c | 4 +-
drivers/gpu/drm/i915/intel_ringbuffer.c | 30 +--
drivers/gpu/drm/i915/intel_ringbuffer.h | 11 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 161 +++++++++++--
drivers/gpu/drm/i915/intel_sdvo.c | 82 ++++---
drivers/gpu/drm/i915/intel_sprite.c | 7 +-
drivers/gpu/drm/i915/intel_tv.c | 28 +--
drivers/gpu/drm/i915/intel_uc_fw.c | 5 +-
drivers/gpu/drm/i915/intel_uncore.c | 23 +-
drivers/gpu/drm/i915/intel_uncore.h | 5 +
drivers/gpu/drm/i915/selftests/huge_gem_object.c | 4 +-
drivers/gpu/drm/i915/selftests/huge_pages.c | 8 +-
drivers/gpu/drm/i915/selftests/i915_gem_context.c | 4 +-
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 6 +-
drivers/gpu/drm/i915/selftests/i915_gem_object.c | 18 +-
drivers/gpu/drm/i915/selftests/intel_guc.c | 20 +-
drivers/gpu/drm/i915/selftests/mock_gem_device.c | 6 -
drivers/gpu/drm/radeon/radeon_display.c | 2 +-
drivers/gpu/drm/tegra/dc.c | 2 +-
include/drm/drm_atomic.h | 2 +-
include/drm/drm_gem.h | 15 --
include/drm/drm_vblank.h | 4 +-
include/drm/i915_pciids.h | 15 +-
83 files changed, 1867 insertions(+), 956 deletions(-)

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org