[PULL] drm-intel-next

Rodrigo Vivi
2018-06-11T16:27:39Z

Hi Dave,

This is the first round targeting 4.19.

Here goes drm-intel-next-2018-06-06:
- Ice Lake's display enabling patches (Jose, Mahesh, Dhinakaran, Paulo, Manasi, Anusha, Arkadiusz)
- Ice Lake's workarounds (Oscar and Yunwei)
- Ice Lake interrupt registers fixes (Oscar)
- Context switch timeline fixes and improvements (Chris)
- Spelling fixes (Colin)
- GPU reset fixes and improvements (Chris)
- Including fixes on execlist and preemption for a proper GPU reset (Chris)
- Clean-up the port pipe select bits (Ville)
- Other execlist improvements (Chris)
- Remove unused enable_cmd_parser parameter (Chris)
- Fix order of enabling pipe/transcoder/planes on HSW+ to avoid hang on ICL (Paulo)
- Simplification and changes on intel_context (Chris)
- Disable LVDS on Radiant P845 (Ondrej)
- Improve HSW/BDW voltage swing handling (Ville)
- Cleanup and renames on few parts of intel_dp code to make code clear and less confusing (Ville)
- Move acpi lid notification code for fixing LVDS (Chris)
- Speed up GPU idle detection (Chris)
- Make intel_engine_dump irqsafe (Chris)
- Fix GVT crash (Zhenyu)
- Move GEM BO inside drm_framebuffer and use intel_fb_obj everywhere (Chris)
- Revert edp's alternate fixed mode (Jani)
- Protect tainted function pointer lookup (Chris)
- And subsequent unsigned long size fix (Chris)
- Allow page directory allocation to fail (Chris)
- VBT's edp and lvds fix and clean-up (Ville)
- Many other reorganizations and cleanups on DDI and DP code, as well on scaler and planes (Ville)
- Selftest pin the mock kernel context (Chris)
- Many PSR Fixes, clean-up and improvements (Dhinakaran)
- PSR VBT fix (Vathsala)
- Fix i915_scheduler and intel_context declaration (Tvrtko)
- Improve PCH underruns detection on ILK-IVB (Ville)
- Few s/drm_priv/i915 (Chris, Michal)
- Notify opregion of the sanitized encoder state (Maarten)
- Guc's event handling improvements and fixes on initialization failures (Michal)
- Many gtt fixes and improvements (Chris)
- Fixes and improvements for Suspend and Freeze safely (Chris)
- i915_gem init and fini cleanup and fixes (Michal)
- Remove obsolete switch_mm for gen8+ (Chris)
- hw and context id fixes for GuC (Lionel)
- Add new vGPU cap info bit VGT_CAPS_HUGE_GTT (Changbin)
- Make context pin/unpin symmetric (Chris)
- vma: Move the bind_count vs pin_count assertion to a helper (Chris)
- Use available SZ_1M instead of 1 << 20 (Chris)
- Trace and PMU fixes and improvements (Tvrtko)

Thanks,
Rodrigo.

The following changes since commit 01f83786f9ab9c8883ce634cb9a0de51086ad7ea:

drm/i915: Update DRIVER_DATE to 20180514 (2018-05-14 15:28:05 +0300)

are available in the Git repository at:

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

for you to fetch changes up to 14c3f8425080a1ff97df7b81f7c339bf42c427a3:

drm/i915: Update DRIVER_DATE to 20180606 (2018-06-06 15:10:47 -0700)

----------------------------------------------------------------
- Ice Lake's display enabling patches (Jose, Mahesh, Dhinakaran, Paulo, Manasi, Anusha, Arkadiusz)
- Ice Lake's workarounds (Oscar and Yunwei)
- Ice Lake interrupt registers fixes (Oscar)
- Context switch timeline fixes and improvements (Chris)
- Spelling fixes (Colin)
- GPU reset fixes and improvements (Chris)
- Including fixes on execlist and preemption for a proper GPU reset (Chris)
- Clean-up the port pipe select bits (Ville)
- Other execlist improvements (Chris)
- Remove unused enable_cmd_parser parameter (Chris)
- Fix order of enabling pipe/transcoder/planes on HSW+ to avoid hang on ICL (Paulo)
- Simplification and changes on intel_context (Chris)
- Disable LVDS on Radiant P845 (Ondrej)
- Improve HSW/BDW voltage swing handling (Ville)
- Cleanup and renames on few parts of intel_dp code to make code clear and less confusing (Ville)
- Move acpi lid notification code for fixing LVDS (Chris)
- Speed up GPU idle detection (Chris)
- Make intel_engine_dump irqsafe (Chris)
- Fix GVT crash (Zhenyu)
- Move GEM BO inside drm_framebuffer and use intel_fb_obj everywhere (Chris)
- Revert edp's alternate fixed mode (Jani)
- Protect tainted function pointer lookup (Chris)
- And subsequent unsigned long size fix (Chris)
- Allow page directory allocation to fail (Chris)
- VBT's edp and lvds fix and clean-up (Ville)
- Many other reorganizations and cleanups on DDI and DP code, as well on scaler and planes (Ville)
- Selftest pin the mock kernel context (Chris)
- Many PSR Fixes, clean-up and improvements (Dhinakaran)
- PSR VBT fix (Vathsala)
- Fix i915_scheduler and intel_context declaration (Tvrtko)
- Improve PCH underruns detection on ILK-IVB (Ville)
- Few s/drm_priv/i915 (Chris, Michal)
- Notify opregion of the sanitized encoder state (Maarten)
- Guc's event handling improvements and fixes on initialization failures (Michal)
- Many gtt fixes and improvements (Chris)
- Fixes and improvements for Suspend and Freeze safely (Chris)
- i915_gem init and fini cleanup and fixes (Michal)
- Remove obsolete switch_mm for gen8+ (Chris)
- hw and context id fixes for GuC (Lionel)
- Add new vGPU cap info bit VGT_CAPS_HUGE_GTT (Changbin)
- Make context pin/unpin symmetric (Chris)
- vma: Move the bind_count vs pin_count assertion to a helper (Chris)
- Use available SZ_1M instead of 1 << 20 (Chris)
- Trace and PMU fixes and improvements (Tvrtko)

----------------------------------------------------------------
Anusha Srivatsa (1):
drm/i915/icl: Add Icelake PCH detection

Arkadiusz Hiler (1):
drm/i915/icl: Calculate link clock using the new registers

Changbin Du (1):
drm/i915: Add new vGPU cap info bit VGT_CAPS_HUGE_GTT

Chris Wilson (50):
drm/i915: Shrink search list for active timelines
drm/i915: Remove tasklet flush before disable
drm/i915: Only sync tasklets once for recursive reset preparation
drm/i915/execlists: Refactor out complete_preempt_context()
drm/i915: Move engine reset prepare/finish to backends
drm/i915: Split execlists/guc reset preparations
drm/i915/execlists: Split out CSB processing
drm/i915/execlists: Flush pending preemption events during reset
drm/i915: Stop parking the signaler around reset
drm/i915/execlists: HWACK checking superseded checking port[0].count
drm/i915: Nul-terminate legacy debug string
drm/i915: Remove unused enable_cmd_parser modparam
drm/i915: Move request->ctx aside
drm/i915: Move fiddling with engine->last_retired_context
drm/i915: Store a pointer to intel_context in i915_request
drm/i915: Pull the context->pin_count dec into the common intel_context_unpin
drm/i915/lvds: Move acpi lid notification registration to registration phase
drm/i915: Speed up idle detection by kicking the tasklets
drm/i915: Make intel_engine_dump irqsafe
drm/i915/execlists: Handle copying default context state for atomic reset
drm/i915: Allow init_breadcrumbs to be used from irq context
drm/i915/selftests: Wait longer for the old active request
drm/i915/query: Protect tainted function pointer lookup
drm/i915/gtt: Allow pagedirectory allocations to fail
drm/i915/query: nospec expects no more than an unsigned long
drm/i915/selftests: Pin the mock kernel context
drm/i915: Look for an active kernel context before switching
drm/i915: Flush the ring stop bit after clearing RING_HEAD in reset
drm/i915/execlists: Wait for ELSP submission on restart
drm/i915: Prepare GEM for suspend earlier
drm/i915: Remove stale asserts from i915_gem_find_active_request()
drm/i915: Switch to kernel context before idling at runtime
drm/i915: "Race-to-idle" after switching to the kernel context
drm/i915: After reset on sanitization, reset the engine backends
drm/i915: Only sanitize GEM from late suspend
drm/i915: Assert we idle in the kernel context
drm/i915: Check intel_contexts to avoid one extra pointer chase
drm/i915/gtt: Avoid calling non-existent allocate_va_range
drm/i915/gtt: Don't restore the non-existent PDE for GGTT
drm/i915: Flush all writes before suspend
drm/i915: Apply the full CPU domain markup before freezing
drm/i915/gtt: Remove obsolete switch_mm hooks for gen8+
drm/i915/ringbuffer: Make context pin/unpin symmetric
drm/i915/gtt: Teach restore-gtt to walk the ggtt vma list not the object list
drm/i915/vma: Move the bind_count vs pin_count assertion to a helper
drm/i915: Swap magics and use SZ_1M
drm/i915/error: Fixup inactive/active counting
drm/i915/gtt: Rename i915_hw_ppgtt base member
drm/i915: Mark i915.inject_load_failure as being hit
drm/i915/gtt: Fix typo in fill_px() macro

Colin Ian King (1):
drm/i915/dp: fix spelling mistakes: "seqeuncer" and "seqeuencer"

Daniel Stone (2):
drm/i915: Use intel_fb_obj() everywhere
drm/i915: Move GEM BO inside drm_framebuffer

Dhinakaran Pandiyan (8):
drm/i915/psr: Nuke PSR support for VLV and CHV
drm/i915/psr: Avoid DPCD reads when panel does not support PSR
drm/i915/psr: Check for SET_POWER_CAPABLE bit at PSR init time.
drm/i915/psr: Avoid unnecessary DPCD read of DP_PSR_CAPS
drm/i915/psr: Fall back to max. synchronization latency if DPCD read fails
drm/i915/psr: Fix ALPM cap check for PSR2
drm/i915/psr: Set idle frame count based on sink synchronization latency
drm/i915/icl: Extend AUX F interrupts to ICL

Jani Nikula (1):
Revert "drm/i915/edp: Allow alternate fixed mode for eDP if available."

José Roberto de Souza (1):
drm/i915/icl: Disable pipe CSC and gamma in cursor plane

Lionel Landwerlin (2):
drm/i915: drop one bit on the hw_id when using guc
drm/i915/perf: fix ctx_id read with GuC & ICL

Maarten Lankhorst (1):
drm/i915: Call intel_opregion_notify_encoder in intel_sanitize_encoder, v2.

Mahesh Kumar (2):
drm/i915/icl: fix icl_unmap/map_plls_to_ports
drm/i915/icl: Don't update enabled dbuf slices struct until updated in hw

Manasi Navare (2):
drm/i915/icl: Add register definition for DFLEXDPMLE
drm/i915/icl: Get DDI clock for ICL based on PLLs.

Michal Wajdeczko (5):
drm/i915/uc: Trivial s/dev_priv/i915 in intel_uc.c
drm/i915/guc: Don't read SOFT_SCRATCH(15) on MMIO error
drm/i915: Move i915_gem_fini to i915_gem.c
drm/i915: Correctly handle error path in i915_gem_init_hw
drm/i915/guc: Don't leak stage descriptor pool on init failure

Ondrej Zary (1):
drm/i915: Disable LVDS on Radiant P845

Oscar Mateo (6):
drm/i915/icl: Read the correct Gen11 interrupt registers
drm/i915/icl: WaDisableImprovedTdlClkGating
drm/i915/icl: WaEnableStateCacheRedirectToCS
drm/i915/icl: Wa_2006665173
drm/i915/icl: WaEnableFloatBlendOptimization
drm/i915/icl: Wa_1406463099

Paulo Zanoni (2):
drm/i915: enable the pipe/transcoder/planes later on HSW+
drm/i915/icl: introduce tc_port

Radhakrishna Sripada (1):
drm/i915/icl: Map VBT DDC Pin to BSpec DDC Pin

Rodrigo Vivi (2):
drm/i915: Update DRIVER_DATE to 20180530
drm/i915: Update DRIVER_DATE to 20180606

Tvrtko Ursulin (6):
drm/i915: Include i915_scheduler.h from i915_gem_context.h
drm/i915: Forward declare struct intel_context
drm/i915/trace: Describe engines as class:instance pairs
drm/i915/trace: Remove engine out of the context sandwich
drm/i915/trace: Context field needs to be 64-bit wide
drm/i915/pmu: Do not assume fixed hrtimer period

Vathsala Nagaraju (1):
drm/i915/psr: vbt change for psr

Ville Syrjälä (30):
drm/i915: Clean up ADPA pipe select bits
drm/i915: Clean up LVDS pipe select bits
drm/i915: Clean up SDVO pipe select bits
drm/i915: Clean up TV pipe select bits
drm/i915: Clean up DVO pipe select bits
drm/i915: Use intel_ddi_dp_voltage_max() for HSW/BDW too
drm/i915: Use the same vswing->max_preemph mapping on HSW/BDW as on SKL+
drm/i915: Check for IVB instead of gen7 when we think about IVB CPU eDP
drm/i915: Rename SNB/IVB CPU eDP signal level funcs
drm/i915: Rename the remaining gen4 references to g4x in the DP code
drm/i915: Replace vbt edp.support with int_lvds_support
drm/i915: Eliminate the unused dev_priv->vbt.lvds_vbt
drm/i915: Move intel_ddi_get_crtc_new_encoder() out from ddi code
drm/i915: Parametrize TRANS_DP_PORT_SEL
drm/i915: Nuke intel_trans_dp_port_sel()
drm/i915: Clean up DP pipe select bits
drm/i915: Allow eDP on port C in theory
drm/i915: Implement the missing bits of assert_panel_unlocked()
drm/i915: WARN if power sequencer is not connected to the LVDS port on pre-ilk
drm/i915: Initialize panel_pipe to INVALID_PIPE
drm/i915: Try to suppress more spurious PCH underruns on ILK-IVB
drm/i915: Consult VBT "LVDS config" bits to determine whether internal LVDS is present
drm/i915: Simplify ilk-ivb underrun suppression
drm/i915: Have plane->get_hw_state() return the current pipe
drm/i915: Clean up cursor defines
drm/i915: Disable trickle feed for SNB/IVB cursors
drm/i915: s/plane/i9xx_plane/
drm/i915: Fix tabs vs. spaces in sprite code
drm/i915: Remove bogus NV12 PLANE_COLOR_CTL setup
drm/i915: Configure SKL+ scaler initial phase correctly

Yunwei Zhang (3):
drm/i915/cnl: Implement WaProgramMgsrForCorrectSliceSpecificMmioReads
drm/i915/icl: Enable WaProgramMgsrForCorrectSliceSpecificMmioReads
drm/i915: Implement WaProgramMgsrForL3BankSpecificMmioReads

Zhenyu Wang (1):
drm/i915/gvt: Fix crash after request->hw_context change

drivers/gpu/drm/i915/gvt/aperture_gm.c | 2 +-
drivers/gpu/drm/i915/gvt/display.c | 4 +-
drivers/gpu/drm/i915/gvt/fb_decoder.c | 12 +-
drivers/gpu/drm/i915/gvt/gvt.h | 4 +-
drivers/gpu/drm/i915/gvt/mmio_context.c | 6 +-
drivers/gpu/drm/i915/gvt/mmio_context.h | 2 +-
drivers/gpu/drm/i915/gvt/scheduler.c | 179 +++-----
drivers/gpu/drm/i915/gvt/scheduler.h | 1 -
drivers/gpu/drm/i915/i915_debugfs.c | 96 ++---
drivers/gpu/drm/i915/i915_drv.c | 83 ++--
drivers/gpu/drm/i915/i915_drv.h | 21 +-
drivers/gpu/drm/i915/i915_gem.c | 338 +++++++++------
drivers/gpu/drm/i915/i915_gem.h | 16 +
drivers/gpu/drm/i915/i915_gem_context.c | 157 ++++---
drivers/gpu/drm/i915/i915_gem_context.h | 28 +-
drivers/gpu/drm/i915/i915_gem_execbuffer.c | 16 +-
drivers/gpu/drm/i915/i915_gem_gtt.c | 453 ++++++++++----------
drivers/gpu/drm/i915/i915_gem_gtt.h | 8 +-
drivers/gpu/drm/i915/i915_gem_render_state.c | 2 +-
drivers/gpu/drm/i915/i915_gem_shrinker.c | 2 +-
drivers/gpu/drm/i915/i915_gem_stolen.c | 6 +-
drivers/gpu/drm/i915/i915_gpu_error.c | 41 +-
drivers/gpu/drm/i915/i915_gpu_error.h | 2 +-
drivers/gpu/drm/i915/i915_irq.c | 5 +-
drivers/gpu/drm/i915/i915_params.c | 3 -
drivers/gpu/drm/i915/i915_params.h | 1 -
drivers/gpu/drm/i915/i915_pci.c | 2 -
drivers/gpu/drm/i915/i915_perf.c | 136 ++++--
drivers/gpu/drm/i915/i915_pmu.c | 67 ++-
drivers/gpu/drm/i915/i915_pmu.h | 8 +
drivers/gpu/drm/i915/i915_pvinfo.h | 1 +
drivers/gpu/drm/i915/i915_query.c | 15 +-
drivers/gpu/drm/i915/i915_reg.h | 150 ++++---
drivers/gpu/drm/i915/i915_request.c | 45 +-
drivers/gpu/drm/i915/i915_request.h | 4 +-
drivers/gpu/drm/i915/i915_trace.h | 131 +++---
drivers/gpu/drm/i915/i915_vgpu.c | 8 +-
drivers/gpu/drm/i915/i915_vgpu.h | 6 +
drivers/gpu/drm/i915/i915_vma.c | 18 +-
drivers/gpu/drm/i915/intel_bios.c | 121 +++++-
drivers/gpu/drm/i915/intel_breadcrumbs.c | 5 +-
drivers/gpu/drm/i915/intel_crt.c | 40 +-
drivers/gpu/drm/i915/intel_ddi.c | 90 ++--
drivers/gpu/drm/i915/intel_display.c | 455 ++++++++++++---------
drivers/gpu/drm/i915/intel_display.h | 11 +
drivers/gpu/drm/i915/intel_dp.c | 257 ++++++------
drivers/gpu/drm/i915/intel_dpll_mgr.c | 70 ++++
drivers/gpu/drm/i915/intel_dpll_mgr.h | 2 +
drivers/gpu/drm/i915/intel_drv.h | 28 +-
drivers/gpu/drm/i915/intel_dsi.c | 10 +-
drivers/gpu/drm/i915/intel_dvo.c | 15 +-
drivers/gpu/drm/i915/intel_engine_cs.c | 178 ++++++--
drivers/gpu/drm/i915/intel_fbdev.c | 9 +-
drivers/gpu/drm/i915/intel_frontbuffer.c | 2 -
drivers/gpu/drm/i915/intel_guc.c | 8 +-
drivers/gpu/drm/i915/intel_guc_submission.c | 76 +++-
drivers/gpu/drm/i915/intel_hdmi.c | 25 +-
drivers/gpu/drm/i915/intel_lrc.c | 389 ++++++++++++------
drivers/gpu/drm/i915/intel_lrc.h | 7 -
drivers/gpu/drm/i915/intel_lvds.c | 120 ++++--
drivers/gpu/drm/i915/intel_panel.c | 6 -
drivers/gpu/drm/i915/intel_pm.c | 1 -
drivers/gpu/drm/i915/intel_psr.c | 381 ++++-------------
drivers/gpu/drm/i915/intel_ringbuffer.c | 170 +++++---
drivers/gpu/drm/i915/intel_ringbuffer.h | 22 +-
drivers/gpu/drm/i915/intel_sdvo.c | 38 +-
drivers/gpu/drm/i915/intel_sprite.c | 86 ++--
drivers/gpu/drm/i915/intel_tv.c | 20 +-
drivers/gpu/drm/i915/intel_uc.c | 129 +++---
drivers/gpu/drm/i915/intel_uncore.c | 12 +-
drivers/gpu/drm/i915/intel_vbt_defs.h | 8 +-
drivers/gpu/drm/i915/intel_workarounds.c | 94 +++++
drivers/gpu/drm/i915/selftests/huge_pages.c | 50 +--
drivers/gpu/drm/i915/selftests/i915_gem_context.c | 150 ++++++-
drivers/gpu/drm/i915/selftests/i915_gem_evict.c | 34 +-
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 110 ++---
drivers/gpu/drm/i915/selftests/i915_gem_object.c | 6 +-
.../gpu/drm/i915/selftests/i915_mock_selftests.h | 1 +
drivers/gpu/drm/i915/selftests/i915_request.c | 5 +-
drivers/gpu/drm/i915/selftests/i915_vma.c | 31 +-
drivers/gpu/drm/i915/selftests/intel_hangcheck.c | 53 ++-
drivers/gpu/drm/i915/selftests/intel_lrc.c | 2 +-
drivers/gpu/drm/i915/selftests/intel_workarounds.c | 2 +-
drivers/gpu/drm/i915/selftests/mock_context.c | 7 +
drivers/gpu/drm/i915/selftests/mock_engine.c | 47 ++-
drivers/gpu/drm/i915/selftests/mock_gem_device.c | 17 +-
drivers/gpu/drm/i915/selftests/mock_gtt.c | 66 +--
87 files changed, 3238 insertions(+), 2307 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org