[Intel-gfx] [PULL] drm-intel-next

Hi Dave, Final feature pull for 4.6, with this it's Jani's turn again. drm-intel-next-2016-02-29: - fbc by default on hsw&bdw, thanks to great work by Paulo! - psr by default hsw,bdw,vlv&chv, thanks to great work by Rodrigo! - fixes to hw state readout vs. rpm issues (Imre) - dc3 fixes&improvements (Mika), this and above already cherr-pick to -fixes - first part of locking fixes from Tvrtko - proper atomic code for load detect (Maarten) - more rpm fixes from Ville - more atomic work from Maarten Cheers, Daniel The following changes since commit 59bbf84d8958a6e6cf579c8ddcca88e3f3924dbd: drm/i915: Update DRIVER_DATE to 20160214 (2016-02-14 22:40:52 +0100) are available in the git repository at: git://anongit.freedesktop.org/drm-intel tags/drm-intel-next-2016-02-29 for you to fetch changes up to 5790ff742b1feee62f60a95f4caf78827f656f58: drm/i915: Update DRIVER_DATE to 20160229 (2016-02-29 09:59:07 +0100) ---------------------------------------------------------------- - fbc by default on hsw&bdw, thanks to great work by Paulo! - psr by default hsw,bdw,vlv&chv, thanks to great work by Rodrigo! - fixes to hw state readout vs. rpm issues (Imre) - dc3 fixes&improvements (Mika), this and above already cherr-pick to -fixes - first part of locking fixes from Tvrtko - proper atomic code for load detect (Maarten) - more rpm fixes from Ville - more atomic work from Maarten ---------------------------------------------------------------- Alan (1): i915: cast before shifting in i915_pte_count Ben Widawsky (1): drm/i915: Check for get_pages instead of shmem (filp) Chris Wilson (7): drm/i915: Don't ERROR for an expected intel_rcs_ctx_init() interruption drm/i915: Reject invalid-pad for context-destroy and -create ioctls drm/i915: Add an optional selection from i915 of CONFIG_MMU_NOTIFIER drm/i915: Balance assert_rpm_wakelock_held() for !IS_ENABLED(CONFIG_PM) drm/i915: Rename vma->*_list to *_link for consistency drm/i915: Reduce the pointer dance of i915_is_ggtt() drm/i915: Execlists cannot pin a context without the object Daniel Vetter (2): Revert "drm/i915: fix context/engine cleanup order" drm/i915: Update DRIVER_DATE to 20160229 Deepak M (1): drm/i915/dsi: Using the bpp value wrt the pixel format Imre Deak (13): drm/i915: Add helper to get a display power ref if it was already enabled drm/i915: Ensure the HW is powered during display pipe HW readout drm/i915/ibx: Ensure the HW is powered during PLL HW readout drm/i915: Ensure the HW is powered when disabling VGA drm/i915: Ensure the HW is powered during HW access in assert_pipe drm/i915/crt: Ensure the HW is powered during HW state readout drm/i915/ddi: Ensure the HW is powered during HW state readout drm/i915: Ensure the HW is powered when accessing the CRC HW block drm/i915/dp: Ensure the HW is powered during HW state readout drm/i915/dsi: Ensure the HW is powered during HW state readout drm/i915/hdmi: Ensure the HW is powered during HW state readout drm/i915/lvds: Ensure the HW is powered during HW state readout drm/i915/skl: Ensure HW is powered during DDB HW state readout Jani Nikula (2): drm/i915: drop write perm from module params which don't support changing drm/i915: drop unused i915.disable_vtd_wa module parameter Maarten Lankhorst (13): drm/i915: Clear shared dpll based on old state, v2. drm/i915: Use atomic helpers for suspend, v2. drm/i915: Fix some minor issues with atomic cdclk. drm/i915: Lock mode_config.mutex in intel_display_resume. drm/i915: Use atomic state to obtain load detection crtc, v3. drm/i915: Use atomic state for load detect in crt. drm/i915: Use atomic state in tv load detection. drm/i915: Use correct dpms for intel_enable_crt. drm/i915: Use atomic state in intel_fb_initial_config. drm/i915: Pass crtc state to modeset_get_crtc_power_domains. drm/i915: Unify power domain handling. drm/i915: Kill off intel_crtc->atomic.wait_vblank, v6. drm/i915: Remove update_sprite_watermarks. Michel Thierry (2): drm/i915/gen9: Set value of Indirect Context Offset based on gen version drm/i915/lrc: Only set RS ctx enable in ctx control reg if there is a RS Mika Kuoppala (3): drm/i915/gen9: Verify and enforce dc6 state writes drm/i915/gen9: Extend dmc debug mask to include cores drm/i915/gen9: Write dc state debugmask bits only once Patrik Jakobsson (1): drm/i915/gen9: Check for DC state mismatch Paulo Zanoni (1): drm/i915/fbc: enable FBC by default on HSW and BDW Rodrigo Vivi (3): drm/i915: Change i915.enable_psr parameter to use per platform default. drm/i915: Enable PSR by default on Valleyview and Cherryview. drm/i915: Enable PSR by default on Haswell and Broadwell. Tvrtko Ursulin (5): drm/i915: Use appropriate spinlock flavour drm/i915: GEM operations need to be done under the big lock drm/i915: Fix struct mutex vs. RPS lock inversion drm/i915/guc: Do not wait for firmware load atomically drm/i915/ilk: Move register read under spinlock Uma Shankar (1): drm/i915/bxt: Remove DSP CLK_GATE programming for BXT Ville Syrjälä (7): drm/i915: Fix hpd live status bits for g4x drm/i915: Add missing 'else' to intel_digital_port_connected() drm/i915: Extract intel_encoder_has_connectors() drm/i915: Skip PIPESTAT reads from irq handler on VLV/CHV when power well is down drm/i915: synchronize_irq() before turning off disp2d power well on VLV/CHV drm/i915: Make sure pipe interrupts are processed before turning off power well on BDW+ drm/i915: Add for_each_pipe_masked() drivers/gpu/drm/i915/Kconfig | 11 + drivers/gpu/drm/i915/i915_debugfs.c | 56 ++- drivers/gpu/drm/i915/i915_dma.c | 4 +- drivers/gpu/drm/i915/i915_drv.c | 8 - drivers/gpu/drm/i915/i915_drv.h | 16 +- drivers/gpu/drm/i915/i915_gem.c | 99 +++-- drivers/gpu/drm/i915/i915_gem_context.c | 8 +- drivers/gpu/drm/i915/i915_gem_evict.c | 6 +- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 5 +- drivers/gpu/drm/i915/i915_gem_gtt.c | 22 +- drivers/gpu/drm/i915/i915_gem_gtt.h | 11 +- drivers/gpu/drm/i915/i915_gem_shrinker.c | 4 +- drivers/gpu/drm/i915/i915_gem_stolen.c | 4 +- drivers/gpu/drm/i915/i915_gem_userptr.c | 2 +- drivers/gpu/drm/i915/i915_gpu_error.c | 8 +- drivers/gpu/drm/i915/i915_irq.c | 37 +- drivers/gpu/drm/i915/i915_params.c | 17 +- drivers/gpu/drm/i915/i915_params.h | 1 - drivers/gpu/drm/i915/i915_reg.h | 16 +- drivers/gpu/drm/i915/i915_trace.h | 27 +- drivers/gpu/drm/i915/intel_atomic.c | 1 + drivers/gpu/drm/i915/intel_crt.c | 23 +- drivers/gpu/drm/i915/intel_csr.c | 10 +- drivers/gpu/drm/i915/intel_ddi.c | 112 ++++-- drivers/gpu/drm/i915/intel_display.c | 622 +++++++++++++++-------------- drivers/gpu/drm/i915/intel_dp.c | 34 +- drivers/gpu/drm/i915/intel_drv.h | 14 +- drivers/gpu/drm/i915/intel_dsi.c | 29 +- drivers/gpu/drm/i915/intel_dsi.h | 2 + drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 5 +- drivers/gpu/drm/i915/intel_dsi_pll.c | 2 +- drivers/gpu/drm/i915/intel_fbc.c | 4 +- drivers/gpu/drm/i915/intel_fbdev.c | 17 +- drivers/gpu/drm/i915/intel_guc_loader.c | 6 +- drivers/gpu/drm/i915/intel_hdmi.c | 14 +- drivers/gpu/drm/i915/intel_lrc.c | 33 +- drivers/gpu/drm/i915/intel_lvds.c | 14 +- drivers/gpu/drm/i915/intel_pm.c | 22 +- drivers/gpu/drm/i915/intel_psr.c | 9 + drivers/gpu/drm/i915/intel_ringbuffer.c | 4 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 190 ++++++++- drivers/gpu/drm/i915/intel_tv.c | 11 +- 42 files changed, 930 insertions(+), 610 deletions(-) -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch