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

Daniel Vetter daniel.vetter at ffwll.ch
Thu Jan 26 10:11:58 UTC 2017

Hi Dave,

Updated pull request because Chris pointed out that I need to cherry-pick
a vma view bugfix from him to avoid unlucky machines no longer booting up
... Besides that one patch exactly the same thing.

Final block of feature work for 4.11:

- gen8 pd cleanup from Matthew Auld
- more cleanups for view/vma (Chris)
- dmc support on glk (Anusha Srivatsa)
- use core crc api (Tomue)
- track wedged requests using fence.error (Chris)
- lots of psr fixes (Nagaraju, Vathsala)
- dp mst support, acked for merging through drm-intel by Takashi
- huc loading support, including uapi for libva to use it (Anusha

Cheers, Daniel

The following changes since commit 282d0a35c8c42c3ac4dd86a7e408ed1b30db4897:

  Merge tag 'drm-misc-next-2017-01-09' of git://anongit.freedesktop.org/git/drm-misc into drm-next (2017-01-10 08:06:56 +1000)

are available in the git repository at:

  git://anongit.freedesktop.org/git/drm-intel drm-intel-next

for you to fetch changes up to 8adabb8928bcf75d6dc3f81b30a82884e70599cf:

  drm/i915: Pevent copying uninitialised garbage into vma->ggtt_view (2017-01-26 11:10:33 +0100)

Ander Conselvan de Oliveira (1):
      drm/i915: Avoid drm_atomic_state_put(NULL) on error paths

Anusha Srivatsa (9):
      drm/i915/DMC/GLK: Load DMC on GLK
      drm/i915/guc: Make the GuC fw loading helper functions general
      drm/i915/huc: Unified css_header struct for GuC and HuC
      drm/i915/huc: Add HuC fw loading support
      drm/i915/huc: Add BXT HuC Loading Support
      drm/i915/HuC: Add KBL huC loading Support
      drm/i915/huc: Add debugfs for HuC loading status check
      drm/i915/huc: Support HuC authentication
      drm/i915/get_params: Add HuC status to getparams

Chris Wilson (60):
      drm/i915: Extract tile_row_size for fencing
      drm/i915: Align GGTT sizes to a fence tile row
      drm/i915: Replace WARNs in fence register writes with extensive asserts
      drm/i915: Store required fence size/alignment for GGTT vma
      drm/i915: Remove the rounding down of the gen4+ fence region
      drm/i915: Move ggtt fence/alignment to i915_gem_tiling.c
      drm/i915: Extract compute_partial_view()
      drm/i915: Clip the partial view against the object not vma
      drm/i915: Include ioctl in set-tiling and get-tiling function names
      drm/i915: Split out i915_gem_object_set_tiling()
      drm/i915: Consolidate reset_request()
      drm/i915: Set guilty-flag on fence after detecting a hang
      drm/i915: Set an error status for a resubmitted request
      drm/i915: Mark all incomplete requests as -EIO when wedged
      drm/i915: Rename i915_gem_engine_cleanup() to engine_set_wedged()
      drm/i915: Replace 4096 with PAGE_SIZE or I915_GTT_PAGE_SIZE
      drm/i915: Use the MRU stack search after evicting
      drm/i915: Extract reserving space in the GTT to a helper
      drm/i915: Prefer random replacement before eviction search
      drm/i915: Add a sanity check that no request is submitted in the middle
      drm/i915: Detect vma reserved for execbuf in evict-for-node
      drm/i915: Invalidate the guc ggtt TLB upon insertion
      drm/i915: Declare i915_gem_object_create_internal() as taking phys_addr_t size
      drm/i915: Expand ggtt_view parameters for debugfs
      drm/i915: Fix up kerneldoc parameters for i915_gem_gtt_*()
      drm/i915: Move i915_ppgtt_close() into i915_gem_gtt.c
      drm/i915: Assert that we have allocated the drm_mm_node upon pinning
      drm/i915: Name the anonymous structs inside i915_ggtt_view
      drm/i915: Mark the ggtt_view structs as packed
      drm/i915: Compact memcmp in i915_vma_compare()
      drm/i915: Stop clearing i915_ggtt_view
      drm/i915: Convert i915_ggtt_view to use an anonymous union
      drm/i915: Eliminate superfluous i915_ggtt_view_rotated
      drm/i915: Eliminate superfluous i915_ggtt_view_normal
      drm/i915: Use __printf markup to silence compiler
      drm/i915/dp: Silence compiler for missing prototype
      drm/i915: Flush the change in debugobject before reallocation
      drm/i915: Catch attempting to use the aliasing_gtt's drm_mm
      drm/i915: Assert we do not attempt to reuse an allocated node
      drm/i915: Construct a request even if the GPU is currently hung
      drm/i915: Skip switch to kernel context if already done
      drm/i915: Assert internal objects are page aligned
      drm/i915: Fix compiler warnings for i915_edp_psr_status()
      drm/i915/psr: Fix compiler warnings for hsw_psr_disable()
      drm/i915: Move engine reset preparation to i915_gem_reset_prepare()
      drm/i915: Detect a failed GPU reset+recovery
      drm/i915: Avoid drm_atomic_state_put(NULL) in intel_display_resume
      drm/i915: Track pinned vma in intel_plane_state
      drm/i915: Rename some warts in the VMA API
      drm/i915: Add a check that the VMA instance we lookup matches the request
      drm/i915: Remove i915_vma_create from VMA API
      drm/i915: Remove i915_gem_object_to_ggtt()
      drm/i915: Release temporary load-detect state upon switching
      drm/i915: Do an unlocked wait before set-cache-level ioctl
      drm/i915: Use common LRU inactive vma bumping for unpin_from_display
      drm/i915: Reject vma creation larger than address space
      drm/i915: Treat an error from i915_vma_instance() as unlikely
      drm/i915: Assert the drm_mm_node is allocated when on the VM lists
      drm/i915: Assert that created vma has a whole number of pages
      drm/i915: Pevent copying uninitialised garbage into vma->ggtt_view

Clint Taylor (1):
      drm/i915: prevent crash with .disable_display parameter

Daniel Vetter (2):
      Merge remote-tracking branch 'airlied/drm-next' into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20170123

Daniele Ceraolo Spurio (1):
      drm/i915: reinstate call to trace_i915_vma_bind

Francisco Jerez (1):
      drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround.

Libin Yang (3):
      ALSA: hda - add DP mst verb support
      ALSA: hda - add DP MST audio support
      ALSA: Documentation about HDA DP MST pin init and connection

Maarten Lankhorst (1):
      drm/i915: Remove useless casts to intel_plane_state

Matthew Auld (3):
      drm/i915: s/gen8_setup_page_directory/gen8_setup_pdpe/
      drm/i915: s/gen8_setup_page_directory_pointer/gen8_setup_pml4e/
      drm/i915: don't open code the pdpe/pml4e clearing

Michal Wajdeczko (1):
      drm/i915/guc: Move GuC log related functions into dedicated file

Michał Winiarski (3):
      drm/i915/guc: Make sure vma containing firmware is GuC mappable
      drm/i915/huc: Avoid attempting to authenticate non-existent fw
      drm/i915/huc: Assert that HuC vma is placed in GuC accessible range

Michel Thierry (3):
      drm/i915/glk: Convert a few more IS_BROXTON() to IS_GEN9_LP()
      drm/i915: Keep i915_handle_error kerneldoc parameters together
      drm/i915: Update i915_reset parameter for kerneldoc

Mika Kuoppala (5):
      drm/i915: Introduce engine_skip_context
      drm/i915: Cleanup request skip decision
      drm/i915: Introduce engine_stalled helper
      drm/i915: Tidy up engine reset logic
      drm/i915: Add comment how we treat hung contexts

Nagaraju, Vathsala (10):
      drm : adds Y-coordinate and Colorimetry Format
      drm/i915/psr: program vsc header for psr2
      drm/i915/psr: disable psr2 for resolution greater than 32X20
      drm/i915/psr: fix blank screen issue for psr2
      drm/i915/psr: disable aux_frame_sync on psr2 exit
      drm/i915/psr: enable ALPM for psr2
      drm/i915/psr: set CHICKEN_TRANS for psr2
      drm/i915/psr: set PSR_MASK bits for deep sleep
      drm/i915/psr: enable psr2 for y cordinate panels
      drm/i915/psr: report live PSR2 State

Rodrigo Vivi (1):
      drm/i915/glk: Add missing bits to allow runtime pm suspend on GLK.

Sagar Arun Kamble (1):
      drm/i915: Set adjustment to zero on Up/Down interrupts if freq is already max/min

Tomeu Vizoso (2):
      drm/i915: Use new CRC debugfs API
      drm/i915: Put "cooked" vlank counters in frame CRC lines

Ville Syrjälä (3):
      drm/i915: Ignore bogus plane coordinates on SKL when the plane is not visible
      drm/i915: Remove crtc->config usage from intel_modeset_readout_hw_state()
      drm/i915: Remove the double handling of 'flags from intel_mode_from_pipe_config()

Zhenyu Wang (2):
      drm/i915: check ppgtt validity when init reg state
      drm/i915: Fix a typo in vgt_balloon_space()

 Documentation/sound/hd-audio/dp-mst.rst      |  17 +
 drivers/gpu/drm/i915/Makefile                |   2 +
 drivers/gpu/drm/i915/gvt/aperture_gm.c       |  33 +-
 drivers/gpu/drm/i915/i915_debugfs.c          | 103 ++++-
 drivers/gpu/drm/i915/i915_drv.c              |  60 ++-
 drivers/gpu/drm/i915/i915_drv.h              |  70 ++-
 drivers/gpu/drm/i915/i915_gem.c              | 335 +++++++-------
 drivers/gpu/drm/i915/i915_gem_context.c      |  55 ++-
 drivers/gpu/drm/i915/i915_gem_evict.c        |  39 +-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c   |   7 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.c    |  64 ++-
 drivers/gpu/drm/i915/i915_gem_fence_reg.h    |   2 +
 drivers/gpu/drm/i915/i915_gem_gtt.c          | 438 ++++++++++++------
 drivers/gpu/drm/i915/i915_gem_gtt.h          |  74 ++-
 drivers/gpu/drm/i915/i915_gem_internal.c     |   8 +-
 drivers/gpu/drm/i915/i915_gem_object.h       |  23 +
 drivers/gpu/drm/i915/i915_gem_render_state.c |   6 +-
 drivers/gpu/drm/i915/i915_gem_request.c      |  35 +-
 drivers/gpu/drm/i915/i915_gem_stolen.c       |  16 +-
 drivers/gpu/drm/i915/i915_gem_tiling.c       | 347 ++++++++------
 drivers/gpu/drm/i915/i915_gpu_error.c        |   1 +
 drivers/gpu/drm/i915/i915_guc_reg.h          |   6 +
 drivers/gpu/drm/i915/i915_guc_submission.c   | 603 +-----------------------
 drivers/gpu/drm/i915/i915_irq.c              |  86 ++--
 drivers/gpu/drm/i915/i915_reg.h              |  20 +-
 drivers/gpu/drm/i915/i915_sw_fence.c         |   1 +
 drivers/gpu/drm/i915/i915_sysfs.c            |   2 +-
 drivers/gpu/drm/i915/i915_trace.h            |  16 +-
 drivers/gpu/drm/i915/i915_vgpu.c             |  33 +-
 drivers/gpu/drm/i915/i915_vma.c              | 223 +++++----
 drivers/gpu/drm/i915/i915_vma.h              |  41 +-
 drivers/gpu/drm/i915/intel_atomic_plane.c    |  20 +
 drivers/gpu/drm/i915/intel_csr.c             |  12 +-
 drivers/gpu/drm/i915/intel_device_info.c     |   2 +-
 drivers/gpu/drm/i915/intel_display.c         | 206 ++++-----
 drivers/gpu/drm/i915/intel_dp.c              |  38 +-
 drivers/gpu/drm/i915/intel_drv.h             |  15 +-
 drivers/gpu/drm/i915/intel_engine_cs.c       |   2 +-
 drivers/gpu/drm/i915/intel_fbc.c             |  54 +--
 drivers/gpu/drm/i915/intel_fbdev.c           |   7 +-
 drivers/gpu/drm/i915/intel_guc_fwif.h        |  24 +-
 drivers/gpu/drm/i915/intel_guc_loader.c      | 214 +++++----
 drivers/gpu/drm/i915/intel_guc_log.c         | 658 +++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_huc.c             | 338 ++++++++++++++
 drivers/gpu/drm/i915/intel_lrc.c             |  34 +-
 drivers/gpu/drm/i915/intel_lrc.h             |   2 +-
 drivers/gpu/drm/i915/intel_overlay.c         |   3 +-
 drivers/gpu/drm/i915/intel_pipe_crc.c        | 104 ++++-
 drivers/gpu/drm/i915/intel_psr.c             | 203 +++++++--
 drivers/gpu/drm/i915/intel_ringbuffer.c      |  24 +-
 drivers/gpu/drm/i915/intel_sprite.c          |   8 +-
 drivers/gpu/drm/i915/intel_uc.c              |  26 --
 drivers/gpu/drm/i915/intel_uc.h              |  73 +--
 include/drm/drm_dp_helper.h                  |  13 +-
 include/uapi/drm/i915_drm.h                  |   1 +
 sound/pci/hda/hda_codec.c                    |  76 +++-
 sound/pci/hda/hda_codec.h                    |   3 +
 sound/pci/hda/patch_hdmi.c                   | 245 +++++++---
 58 files changed, 3261 insertions(+), 1910 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_guc_log.c
 create mode 100644 drivers/gpu/drm/i915/intel_huc.c

Daniel Vetter
Software Engineer, Intel Corporation

More information about the Intel-gfx mailing list