[PULL] drm-intel-next

Jani Nikula jani.nikula at intel.com
Wed Oct 11 17:59:27 UTC 2017

Hi Dave, more v4.15 features.

Our tooling now supports signed tags, this one is probably the
first. Maybe we can make them mandatory in the long run.

2nd batch of v4.15 features:

- lib/scatterlist updates, use for userptr allocations (Tvrtko)
- Fixed point wrapper cleanup (Mahesh)
- Gen9+ transition watermarks, watermark optimization and fixes (Mahesh)
- Display IPC (Isochronous Priority Control) support (Mahesh)
- GEM workaround fixes (Oscar)
- GVT: PCI config sanitize series (Changbin)
- GVT: Workload submission error handling series (Fred)
- PSR fixes and refactoring (Rodrigo)
- HWSP based optimizations (Chris)
- Private PAT management (Zhi)
- IRQ handling fixes and refactoring (Ville)
- Module parameter refactoring and variable name clash fix (Michal)
- Execlist refactoring, incomplete request unwinding on reset (Chris)
- GuC scheduling improvements (Michal)
- OA updates (Lionel)
- Coffeelake out of alpha support (Rodrigo)
- seqno fixes (Chris)
- Execlist refactoring (Mika)
- DP and DP MST cleanups (Dhinakaran)
- Cannonlake slice/sublice config (Ben)
- Numerous fixes all around (Everyone)


The following changes since commit 754270c7c56292e97d0eff924a5d5d83f92add07:

  Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next (2017-09-28 08:37:02 +1000)

are available in the git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2017-09-29

for you to fetch changes up to e18063e88bd579c479a2b45820be6c4625f841c3:

  drm/i915: Update DRIVER_DATE to 20170929 (2017-09-29 13:50:38 +0300)

2nd batch of v4.15 features:

- lib/scatterlist updates, use for userptr allocations (Tvrtko)
- Fixed point wrapper cleanup (Mahesh)
- Gen9+ transition watermarks, watermark optimization and fixes (Mahesh)
- Display IPC (Isochronous Priority Control) support (Mahesh)
- GEM workaround fixes (Oscar)
- GVT: PCI config sanitize series (Changbin)
- GVT: Workload submission error handling series (Fred)
- PSR fixes and refactoring (Rodrigo)
- HWSP based optimizations (Chris)
- Private PAT management (Zhi)
- IRQ handling fixes and refactoring (Ville)
- Module parameter refactoring and variable name clash fix (Michal)
- Execlist refactoring, incomplete request unwinding on reset (Chris)
- GuC scheduling improvements (Michal)
- OA updates (Lionel)
- Coffeelake out of alpha support (Rodrigo)
- seqno fixes (Chris)
- Execlist refactoring (Mika)
- DP and DP MST cleanups (Dhinakaran)
- Cannonlake slice/sublice config (Ben)
- Numerous fixes all around (Everyone)

Anuj Phogat (1):
      drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5

Ben Widawsky (1):
      drm/i915/cnl: Add support slice/subslice/eu configs

Changbin Du (4):
      drm/i915/kvmgt: Sanitize PCI bar emulation
      drm/i915/gvt: Add emulation for BAR2 (aperture) with normal file RW approach
      drm/i915/gvt: Fix incorrect PCI BARs reporting
      drm/i915/gvt: Add support for PCIe extended configuration space

Chris Wilson (33):
      drm/i915: Disable snooping (userptr, set-cache-level) on gen4
      drm/i915: Disable mmio debugging during user access
      drm/i915: Apply the GTT write flush for all !llc machines
      drm/i915: Only initialize partially filled pagetables
      drm/i915: Cleanup error paths through eb_lookup_vma()
      drm/i915: Move the context descriptor to an inline helper
      drm/i915: Squelch smatch warning for statement with no effect
      drm/i915: Use mul_u32_u32() for 32b x 32b -> 64b result
      drm/i915/selftests: Use mul_u32_u32() for 32b x 32b -> 64b result
      drm/i915: Allow HW status page to be bound high
      drm/i915/execlists: Read the context-status buffer from the HWSP
      drm/i915/execlists: Read the context-status HEAD from the HWSP
      drm/i915: Remove unused 'in_vbl' from i915_get_crtc_scanoutpos()
      drm/i915: Mark the userptr invalidate workqueue as WQ_MEM_RECLAIM
      drm/i915: Cancel all ready but queued requests when wedging
      drm/i915/execlists: Kick start request processing after a reset
      drm/i915/execlists: Move insert_request()
      drm/i915/execlists: Split insert_request()
      drm/i915/execlists: Unwind incomplete requests on resets
      drm/i915/selftests: Disable iommu for the mock device
      drm/i915/selftests: Only touch archdata.iommu when it exists
      drm/i915/fence: Avoid del_timer_sync() from inside a timer
      drm/i915: Document the split in internal and public execbuf flags
      drm/i915: Only wake the waiter from the interrupt if passed
      drm/i915: Check waiter->seqno carefully in case of preemption
      drm/i915: Confirm request->global_seqno after spin completion
      drm/i915: Make i915_spin_request() static
      drm/i915/lrc: Only enable per-context and per-bb buffers if set
      drm/i915/lrc: Skip no-op per-bb buffer on gen9
      drm/i915/execlists: Microoptimise execlists_cancel_port_request()
      drm/i915/selftests: Try to recover from a wedged GPU during reset tests
      drm/i915/execlists: Notify context-out for lost requests
      drm/i915: Use memset64() to prefill the GTT page

Christophe JAILLET (1):
      drm/i915: Fix an error handling in 'intel_framebuffer_init()'

Colin Ian King (1):
      drm/i915: remove redundant variable hw_check

Daniele Ceraolo Spurio (1):
      drm/i915/lrc: allocate separate page for HWSP

David Weinehall (1):
      drm/i915: Speed up DMC firmware loading

Dhinakaran Pandiyan (2):
      drm/i915/spt+: Don't reset invalid AUX channel interrupt bits in SDEIMR
      drm/i915/dp: Remove useless debug about TPS3 support

Helge Deller (1):
      i915: Use %pS printk format for direct addresses

Jani Nikula (5):
      Merge tag 'gvt-next-2017-09-08' of https://github.com/01org/gvt-linux into drm-intel-next-queued
      drm/i915: always update ELD connector type after get modes
      drm/i915/bios: ignore HDMI on port A
      Merge drm-upstream/drm-next into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20170929

Joonas Lahtinen (2):
      drm/i915: Introduce INTEL_GEN_MASK
      drm/i915: Simplify i915_reg_read_ioctl

Kumar, Mahesh (7):
      drm/i915: Fixed point fixed16 wrapper cleanup
      drm/i915/skl+: Optimize WM calculation
      drm/i915/gen10: Calculate and enable transition WM
      drm/i915/glk: IPC linetime watermark workaround for GLK
      drm/i915/cnl: Extend WM workaround with IPC for CNL
      drm/i915/bxt+: Enable IPC support
      drm/i915/skl+: debugfs entry to control IPC

Lee, Shawn C (2):
      drm/i915/bxt: set min brightness from VBT
      drm/i915/cnp: set min brightness from VBT

Lionel Landwerlin (3):
      uapi/drm/i915: document field usage of drm_i915_perf_oa_config
      drm/i915/perf: disable clk ratio reports on gen9
      drm/i915/perf: add support for Coffeelake GT2

Mahesh Kumar (1):
      drm/i915/gen9+: Add has_ipc flag in device info structure

Manasi Navare (1):
      drm/i915/cnl: Change the macro name to DPLL_CFGCR0_DCO_FRACTION_SHIFT

Marta Lofstedt (1):
      drm/i915: Increase poll time for BDW FCLK_DONE

Michal Wajdeczko (8):
      drm/i915: Make PAT macros more robust
      drm/i915: Rename lvds_use_ssc modparam to panel_use_ssc
      drm/i915: Introduce custom variant of module_param_named macro
      drm/i915: Extend private i915_param_named macro with description
      drm/i915: Rename global i915 to i915_modparams
      drm/i915: Make I915_PARAMS_FOR_EACH macro more flexible
      drm/i915: Extend I915_PARAMS_FOR_EACH with default member value
      drm/i915: Fix default values of some modparams

Michał Winiarski (4):
      drm/i915/guc: Remove obsolete comments and remove unused variable
      drm/i915/guc: Submit GuC workitems containing coalesced requests
      drm/i915/guc: Simplify GuC doorbell logic
      drm/i915/guc: Cleanup adding GuC work items

Michel Thierry (3):
      drm/i915: Add a default case in gen7 hwsp switch-case
      drm/i915/lrc: Clarify the format of the context image
      drm/i915/guc: Don't make assumptions while getting the lrca offset

Mika Kahola (1):
      drm/i915/dsi: Replace MIPI command error message with debug message

Mika Kuoppala (6):
      drm/i915: Stop engines before reset
      drm/i915: Make own struct for execlist items
      drm/i915: Move execlist initialization into intel_engine_cs.c
      drm/i915: Wrap port cancellation into a function
      drm/i915: Add execlist_port_complete
      drm/i915: Make execlist port count variable

Oscar Mateo (10):
      drm/i915: Transform WaInPlaceDecompressionHang into a simple reg write
      drm/i915: Transform WaDisableI2mCycleOnWRPort into a simple reg write
      drm/i915: WaPushConstantDereferenceHoldDisable needs to modify a masked register
      drm/i915: Transform WaDisableGafsUnitClkGating into a simple reg write
      drm/i915: Transform WaDisableDynamicCreditSharing into a simple register write
      drm/i915: Transform WaDisablePooledEuLoadBalancingFix into a simple register write
      drm/i915/guc: Name the default GuC scheduling policy
      drm/i915/guc: Remove WQ_WORKLOAD_SHIFT define
      drm/i915/guc: Small improvements to guc_wq_item_append
      drm/i915/cnl: Add Gen10 LRC size

Pandiyan, Dhinakaran (3):
      drm/i915/mst: Debug log connector name in destroy_connector()
      drm/i915/mst: Print active mst links after update
      drm/i915/dp: Fix buffer size for sink_irq_esi read

Radhakrishna Sripada (1):
      drm/i915: Do not enable DRRS when PSR is enabled

Rodrigo Vivi (17):
      drm/i915/psr: Avoid any PSR stuff on platforms without support.
      drm/i915/psr: vfunc for disabling source.
      drm/i915/psr: hsw_psr_activate.
      drm/i915/psr: Add activate vfunc.
      drm/i915/psr: Unify VSC setup functions.
      drm/i915/psr: Re-create a hsw_psr_enable_source.
      drm/i915/psr: Move hsw_enable_source after enabling sink.
      drm/i915/psr: Re-org Activate after enable
      drm/i915/psr: Add setup VSC vfunc.
      drm/i915/psr: Add enable_sink vfunc.
      drm/i915/psr: Add enable_source vfunc.
      drm/i915: Refresh VLV/CHV PSR comments on HW PSR_state machine.
      drm/i915/cnp: Don't touch other PCH clock gating bits.
      drm/i915/cnp: Display Wa #1179: WaHardHangonHotPlug
      drm/i915/cfl: Remove alpha support protection.
      drm/i915: Avoid using dev_priv->info.gen directly.
      drm/i915: Also discard second CRC on gen8+ platforms.

Sagar Arun Kamble (1):
      drm/i915/huc: Reorganize HuC authentication

Tvrtko Ursulin (8):
      lib/scatterlist: Fix offset type in sg_alloc_table_from_pages
      lib/scatterlist: Avoid potential scatterlist entry overflow
      lib/scatterlist: Introduce and export __sg_alloc_table_from_pages
      drm/i915: Use __sg_alloc_table_from_pages for userptr allocations
      tools/testing/scatterlist: Test new __sg_alloc_table_from_pages
      drm/i915: Add IS_PLATFORM macro
      drm/i915: Compact device info access by a small re-ordering
      drm/i915: Allow optimized platform checks

Uma Shankar (2):
      Revert "drm/i915/bxt: Disable device ready before shutdown command"
      drm/i915: Enable scanline read based on frame timestamps

Ville Syrjälä (26):
      i915: Fix obj size vs. alignment for drm_pci_alloc()
      drm/i915: Nuke some bogus tabs from the pcode defines
      drm/i915: Name the IPS_PCODE_CONTROL bit
      drm/i915: Switch over to the LLC/eLLC hotspot avoidance hash mode for CCS
      drm/i915: Don't enable/unmask flip interrupts
      drm/i915: Clear pipestat consistently
      drm/i915: s/GEN5/GEN3/
      drm/i915: Use GEN3_IRQ_RESET/INIT on gen3/4
      drm/i915: Introduce GEN2_IRQ_RESET/INIT
      drm/i915: Setup EMR first on all gen2-4
      drm/i915: Eliminate PORT_HOTPLUG_EN setup from gen3/4 irq_postinstall
      drm/i915: Unify the appearance of gen3/4 irq_postistall hooks
      drm/i915: Remove NULL dev_priv checks from irq_uninstall
      drm/i915: Extract PIPESTAT irq handling into separate functions
      drm/i915: Rewrite GMCH irq handlers to avoid loops
      drm/i915: Gen3 HWSTAM is actually 32 bits
      drm/i915: Mask everything in ring HWSTAM on gen6+ in ringbuffer mode
      drm/i915: Clean up the HWSTAM mess
      drm/i915: Remove duplicated irq_preinstall/uninstall hooks
      drm/i915: Reinstate GMBUS and AUX interrupts on gen4/g4x
      drm/i915: Replace some spaces with tabs
      drm/i915: Shrink bxt_ddi_buf_trans
      drm/i915: Shrink cnl_ddi_buf_trans
      drm/i915: Drop useless HAS_PSR() check
      drm/i915: Reorganize .disable hooks for pre-DDI DP
      drm/i915: Don't rmw PIPESTAT enable bits

Zhi Wang (4):
      drm/i915: Factor out setup_private_pat()
      drm/i915: Introduce private PAT management
      drm/i915: Remove the "INDEX" suffix from PPAT marcos
      drm/i915: Return the correct score in i915_ppat_get()

fred gao (6):
      drm/i915/gvt: Separate cmd scan from request allocation
      drm/i915/gvt: Add error handling for intel_gvt_scan_and_shadow_workload
      drm/i915/gvt: Refine error handling for prepare_execlist_workload
      drm/i915/gvt: Refine error handling for intel_vgpu_pin_mm
      drm/i915/gvt: Refine error handling in dispatch_workload
      drm/i915/gvt: Refine error handling for perform_bb_shadow

vathsala nagaraju (2):
      drm/dp: Add defines for latency in sink
      drm/i915/psr: Set frames before SU entry for psr2

 drivers/gpu/drm/i915/Kconfig                       |   1 +
 drivers/gpu/drm/i915/Makefile                      |   3 +-
 drivers/gpu/drm/i915/gvt/cfg_space.c               |  30 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |  37 +-
 drivers/gpu/drm/i915/gvt/execlist.c                | 127 ++-
 drivers/gpu/drm/i915/gvt/gtt.c                     |   5 +-
 drivers/gpu/drm/i915/gvt/gvt.c                     |   2 +-
 drivers/gpu/drm/i915/gvt/gvt.h                     |  14 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c                   |  44 +-
 drivers/gpu/drm/i915/gvt/mmio.c                    |  47 +-
 drivers/gpu/drm/i915/gvt/render.c                  |   2 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               | 114 ++-
 drivers/gpu/drm/i915/gvt/scheduler.h               |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c                | 116 ++-
 drivers/gpu/drm/i915/i915_drv.c                    |  42 +-
 drivers/gpu/drm/i915/i915_drv.h                    | 198 +++--
 drivers/gpu/drm/i915/i915_gem.c                    |  60 +-
 drivers/gpu/drm/i915/i915_gem_context.c            |  12 +-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c         |  15 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                | 326 +++++--
 drivers/gpu/drm/i915/i915_gem_gtt.h                |  46 +-
 drivers/gpu/drm/i915/i915_gem_request.c            |  32 +-
 drivers/gpu/drm/i915/i915_gem_request.h            |  35 -
 drivers/gpu/drm/i915/i915_gem_userptr.c            |  83 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |  29 +-
 drivers/gpu/drm/i915/i915_guc_submission.c         | 358 +++-----
 drivers/gpu/drm/i915/i915_irq.c                    | 961 +++++++++------------
 drivers/gpu/drm/i915/i915_oa_cflgt2.c              | 109 +++
 drivers/gpu/drm/i915/i915_oa_cflgt2.h              |  34 +
 drivers/gpu/drm/i915/i915_params.c                 | 208 ++---
 drivers/gpu/drm/i915/i915_params.h                 |  86 +-
 drivers/gpu/drm/i915/i915_pci.c                    |  19 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  14 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  42 +-
 drivers/gpu/drm/i915/i915_sw_fence.c               |  27 +-
 drivers/gpu/drm/i915/intel_audio.c                 |   5 -
 drivers/gpu/drm/i915/intel_bios.c                  |  14 +-
 drivers/gpu/drm/i915/intel_breadcrumbs.c           |   2 +-
 drivers/gpu/drm/i915/intel_cdclk.c                 |   6 +-
 drivers/gpu/drm/i915/intel_crt.c                   |   4 +-
 drivers/gpu/drm/i915/intel_csr.c                   |   8 +-
 drivers/gpu/drm/i915/intel_ddi.c                   |  26 +-
 drivers/gpu/drm/i915/intel_device_info.c           |  41 +-
 drivers/gpu/drm/i915/intel_display.c               |  26 +-
 drivers/gpu/drm/i915/intel_dp.c                    |  78 +-
 drivers/gpu/drm/i915/intel_dp_aux_backlight.c      |   2 +-
 drivers/gpu/drm/i915/intel_dp_mst.c                |  11 +-
 drivers/gpu/drm/i915/intel_drv.h                   |   6 +-
 drivers/gpu/drm/i915/intel_dsi.c                   |  10 +-
 drivers/gpu/drm/i915/intel_engine_cs.c             | 241 +++++-
 drivers/gpu/drm/i915/intel_fbc.c                   |  11 +-
 drivers/gpu/drm/i915/intel_fifo_underrun.c         |  14 +-
 drivers/gpu/drm/i915/intel_guc_fwif.h              |  10 +-
 drivers/gpu/drm/i915/intel_guc_loader.c            |  13 +-
 drivers/gpu/drm/i915/intel_guc_log.c               |  26 +-
 drivers/gpu/drm/i915/intel_gvt.c                   |  12 +-
 drivers/gpu/drm/i915/intel_hangcheck.c             |   2 +-
 drivers/gpu/drm/i915/intel_huc.c                   |  42 +-
 drivers/gpu/drm/i915/intel_lrc.c                   | 459 +++++-----
 drivers/gpu/drm/i915/intel_lrc.h                   |  36 +-
 drivers/gpu/drm/i915/intel_lvds.c                  |   4 +-
 drivers/gpu/drm/i915/intel_modes.c                 |  17 +
 drivers/gpu/drm/i915/intel_opregion.c              |   2 +-
 drivers/gpu/drm/i915/intel_panel.c                 |   8 +-
 drivers/gpu/drm/i915/intel_pm.c                    | 310 ++++---
 drivers/gpu/drm/i915/intel_psr.c                   | 286 +++---
 drivers/gpu/drm/i915/intel_ringbuffer.c            | 167 +---
 drivers/gpu/drm/i915/intel_ringbuffer.h            | 135 ++-
 drivers/gpu/drm/i915/intel_runtime_pm.c            |  17 +-
 drivers/gpu/drm/i915/intel_tv.c                    |   2 +-
 drivers/gpu/drm/i915/intel_uc.c                    |  74 +-
 drivers/gpu/drm/i915/intel_uc.h                    |  23 +-
 drivers/gpu/drm/i915/intel_uncore.c                | 237 +++--
 drivers/gpu/drm/i915/intel_uncore.h                |  10 +
 drivers/gpu/drm/i915/selftests/i915_gem_timeline.c |   2 +-
 drivers/gpu/drm/i915/selftests/i915_random.c       |   5 -
 drivers/gpu/drm/i915/selftests/i915_random.h       |   5 +
 drivers/gpu/drm/i915/selftests/intel_hangcheck.c   |  24 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   5 +
 drivers/media/v4l2-core/videobuf2-dma-contig.c     |   4 +-
 drivers/rapidio/devices/rio_mport_cdev.c           |   4 +-
 include/drm/drm_dp_helper.h                        |   6 +
 include/drm/i915_pciids.h                          |   2 +-
 include/linux/scatterlist.h                        |  17 +-
 include/uapi/drm/i915_drm.h                        |  11 +-
 lib/scatterlist.c                                  |  95 +-
 tools/testing/scatterlist/Makefile                 |  30 +
 tools/testing/scatterlist/linux/mm.h               | 125 +++
 tools/testing/scatterlist/main.c                   |  79 ++
 89 files changed, 3665 insertions(+), 2425 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_oa_cflgt2.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_cflgt2.h
 create mode 100644 tools/testing/scatterlist/Makefile
 create mode 100644 tools/testing/scatterlist/linux/mm.h
 create mode 100644 tools/testing/scatterlist/main.c

Jani Nikula, Intel Open Source Technology Center

More information about the dri-devel mailing list