[pull] drm-intel-next

Daniel Vetter
2013-04-15T07:53:28Z

Hi Dave,

Since I expect Linus to open the merge window in about a week I guess this
is the last i915 feature pull for 3.10. Highlights:
Updated testing tree for -next. Highlights:
- Corner case fixes discovered with static analyzers (Damien).
- More fixes to combat unclaimed register errors on Haswell (Paulo).
- Some small fixes to the gpu turbo code (Rodrigo+Ben), Ben has more
fixes for overclocking support pending.
- More prep work for fastboot from Chris.
- VT-switchless suspend/resume from Jesse.
- The prep work of Egbert Eich's hpd irq storm handling. Hopefully we can
squeeze in the actual storm handling code for 3.10 ...
- More convenience helpers for Imre's sg iterator. Core parts acked by
Andrew Morton.
- A bit of backlight code cleanup from Jani.
- Fixed ilk gpu reset (Jesse).
- Reduced color range handling fixes for VLV (Ville).

The big item here is though the introduction of pipe_config to properly
pre-compute the desired modeset state before touching the hw. Together
with some very basic support to read out the current config from the hw
and compare the state with the sw tracking. This is all prep work for more
reliable fastboot, atomic modesets and other cool features. Stuff
converted to the new world includes:
- Most simple pipe attributes (reduce color range, pixel multiplier).
- Pipe bpp/dither handling.
- Some convenience flags like ->has_pch_encoder to simplify the code flow.
- (Almost) DP clock handling, had to be reverted since part of a prep
patch was lost in rebasing ...
Expect a lot of patches for this throughout 3.11, there's tons of work
till we have all state properly tracked for fastbooting to woExpect a lot
of patches for this throughout 3.11, there's tons of work till we have all
state properly tracked for fastbooting to work.

For 3.10 I have a bunch of fixes queued up and I plan to send them all out
at the end of this week. I need to shuffle patches in my -next queue a bit
so that we don't but feature-y stuff in there, too. The main thing I'd
like to sneak in is Egbert's hpd irq storm handling, which should be
pretty low-risk since all the infrastructure work has landed already. I
also have the oops fix pending, but that only mustered review before the
w/e and giving how hairy that part of our modeset code is, I want to give
it some more testing before forwarding.

Note: annarchy.fd.o seems to run out of disk space, so couldn't push the
usual for-airlied branch. Tag should work though.

Note 2: I've had to do a backmerge since conflicts grew too ugly, but the
upstream -rc I've backmerged is already in your drm-next.

Cheers, Daniel

The following changes since commit a937536b868b8369b98967929045f1df54234323:

Linux 3.9-rc3 (2013-03-17 15:59:32 -0700)

are available in the git repository at:

git://people.freedesktop.org/~danvet/drm-intel tags/drm-intel-next-2013-03-23

for you to fetch changes up to e3dff585508636c8d2915cc1595e04f16ccd66ba:

drm/i915: Implement WaSwitchSolVfFArbitrationPriority (2013-03-23 12:18:06 +0100)

----------------------------------------------------------------
Ben Widawsky (9):
drm/i915: Created a sized object error dump
drm/i915: exclude CCID for platforms without it
drm/i915: Capture current context on error
drm/i915: Remove unused file arg from execbuf
drm/i915: Remove unneeded dev argument
drm/i915: Move num_pipes to intel info
drm/i915: Introduce GEN7_FEATURES for device info
drm/i915: Correct sandybrige overclocking
drm/i915: Implement WaSwitchSolVfFArbitrationPriority

Chris Wilson (1):
drm/i915: Resurrect ring kicking for semaphores, selectively

Damien Lespiau (1):
drm/i915: Remove platforms in the preliminary_hw_support description

Daniel Vetter (4):
drm/i915: gen2 has no tv out support
Merge tag 'v3.9-rc3' into drm-intel-next-queued
style nit: Align function parameter continuation properly.
drm/i915: fixup pd vs pt confusion in gen6 ppgtt code

Imre Deak (5):
drm: handle compact dma scatter lists in drm_clflush_sg()
drm/i915: set dummy page for stolen objects
drm/i915: handle walking compact dma scatter lists
drm/i915: create compact dma scatter lists for gem objects
drm/i915: use for_each_sg_page for setting up the gtt ptes

Jani Nikula (2):
drm/i915: add \n to the end of sysfs attributes
drm/i915: reduce power in the ilk rc6 enable error message

Jesse Barnes (18):
PM: make VT switching to the suspend console optional v3
fb: add support for drivers not needing VT switch at suspend/resume time
drm/i915: don't restore LVDS enable state blindly v2
drm/i915: remove disabled memset of framebuffer from intel_fb
drm/i915: don't init LVDS on VLV
drm/i915: VLV has force wake
drm/i915/dp: don't use ILK paths on VLV
drm/i915: use gen6 stolen check on VLV
drm/i915/dp: add pre-PCH eDP checking to DP detect for VLV
drm/i915: allow force wake at init time on VLV v2
drm/i915: don't use plane pipe select on VLV
drm/i915: add media well to VLV force wake routines v2
drm/i915: use VLV DIP routines on VLV v2
drm/i915: add more VLV IDs
drm/i915: fix WaDisablePSDDualDispatchEnable on VLV v2
drm/i915: set conservative clock gating values on VLV v2
drm/i915: DSPFW and BLC regs are in the display offset range
drm/i915: VLV doesn't have HDMI on port C

Kees Cook (2):
drm/i915: use simple attribute in debugfs routines
drm/i915: clarify reasoning for the access_ok call

Mihnea Dobrescu-Balaur (1):
gpu: don't cast kzalloc() return value

Mika Kuoppala (1):
drm/i915: remove obsolete obj assignment in page flip

Paulo Zanoni (19):
drm/i915: use HAS_DDI on intel_hdmi.c and intel_display.c
drm/i915: wait_event_timeout's timeout is in jiffies
drm/i915: add aux_ch_ctl_reg to struct intel_dp
drm/i915: rename sdvox_reg to hdmi_reg on HDMI context
drm/i915: create functions for the "unclaimed register" checks
drm/i915: use FPGA_DBG for the "unclaimed register" checks
drm/i915: clear the FPGA_DBG_RM_NOCLAIM bit at driver init
drm/i915: clarify confusion between SDVO and HDMI registers
drm/i915: unify the definitions of the HDMI/SDVO register
drm/i915: remove duplicated SDVO/HDMI bit definitions
drm/i915: rename some HDMI bit definitions
drm/i915: disable sound first on intel_disable_ddi
drm/i915: capture the correct cursor registers on IVB
drm/i915: there's no DSPSIZE register on gen4+
drm/i915: there's no DSPADDR register on Haswell
drm/i915: add HAS_POWER_WELL
drm/i915: reorganize intel_lvds_supported
drm/i915: don't save/restore PCH_LVDS on LPT
drm/i915: add missing space in error message

Rahul Sharma (1):
drm: modify pages_to_sg prime helper to create optimized SG table

Rodrigo Vivi (1):
drm/i915: Use cpu_transcoder for HSW_TVIDEO_DIP_* instead of pipe

Ville Syrjälä (15):
drm/i915: Really wait for pending flips when panning
drm/i915: Finish page flips and update primary planes after a GPU reset
drm/i915: Eliminate race from gen2/3 page flip interrupt handling
drm/i915: Fix races in gen4 page flip interrupt handling
drm/i915: Refactor gen2 to gen4 vblank interrupt handling
drm/i915: Kill pipestat[] cache
drm/i915: Add to_user_ptr()
drm/i915: Document the find_pll() function
drm/i915: Remove a stale and misplaced comment
drm/i915: Kill a few pointless comments
drm/i915: Use FORCEWAKE_KERNEL instead of hardcoded number in MT forcewake ACK
drm/i915: Use '1' instead of FORCEWAKE_KERNEL for ST force wake
drm/i915: Single thread force wake isn't used on HSW anymore
drm/i915: Kill a strange comment about DPMS functions
drm/i915: Set the VIC in AVI infoframe for SDVO

drivers/gpu/drm/drm_cache.c | 7 +-
drivers/gpu/drm/drm_prime.c | 8 +-
drivers/gpu/drm/i915/i915_debugfs.c | 423 ++++++++--------------------
drivers/gpu/drm/i915/i915_dma.c | 27 +-
drivers/gpu/drm/i915/i915_drv.c | 132 ++++-----
drivers/gpu/drm/i915/i915_drv.h | 30 +-
drivers/gpu/drm/i915/i915_gem.c | 78 ++---
drivers/gpu/drm/i915/i915_gem_dmabuf.c | 13 +-
drivers/gpu/drm/i915/i915_gem_execbuffer.c | 36 +--
drivers/gpu/drm/i915/i915_gem_gtt.c | 79 ++----
drivers/gpu/drm/i915/i915_gem_stolen.c | 4 +-
drivers/gpu/drm/i915/i915_gem_tiling.c | 18 +-
drivers/gpu/drm/i915/i915_irq.c | 249 +++++++++++-----
drivers/gpu/drm/i915/i915_reg.h | 142 +++++-----
drivers/gpu/drm/i915/i915_suspend.c | 15 +-
drivers/gpu/drm/i915/i915_sysfs.c | 16 +-
drivers/gpu/drm/i915/intel_ddi.c | 12 +-
drivers/gpu/drm/i915/intel_display.c | 194 ++++++++-----
drivers/gpu/drm/i915/intel_dp.c | 88 +++---
drivers/gpu/drm/i915/intel_drv.h | 7 +-
drivers/gpu/drm/i915/intel_fb.c | 4 +-
drivers/gpu/drm/i915/intel_hdmi.c | 114 ++++----
drivers/gpu/drm/i915/intel_lvds.c | 7 +-
drivers/gpu/drm/i915/intel_panel.c | 2 +-
drivers/gpu/drm/i915/intel_pm.c | 65 +++--
drivers/gpu/drm/i915/intel_sdvo.c | 50 ++--
drivers/video/fbmem.c | 7 +
include/linux/fb.h | 2 +
include/linux/pm.h | 13 +
kernel/power/console.c | 116 ++++++++
30 files changed, 1037 insertions(+), 921 deletions(-)
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch