All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL] drm-intel-next
@ 2021-05-19 19:10 ` Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2021-05-19 19:10 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

Here goes the first pull request targeting 5.14.

Main highlight goes to the ADL-P platform and display XeLPD IP
enabling patches. Also with a refactor on how we handle the graphics
and display IP versions.

drm-intel-next-2021-05-19-1:
Core Changes:

- drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec (Jose).

Driver Changes:

- Display plane clock rates fixes and improvements (Ville).
- Uninint DMC FW loader state during shutdown (Imre).
- Convert snprintf to sysfs_emit (Xuezhi).
- Fix invalid access to ACPI _DSM objects (Takashi).
- A big refactor around how i915 addresses the graphics
  and display IP versions. (Matt, Lucas).
- Backlight fix (Lyude).
- Display watermark and DBUF fixes (Ville).
- HDCP fix (Anshuman).
- Improve cases where display is not available (Jose).
- Defeature PSR2 for RKL and ALD-S (Jose).
- VLV DSI panel power fixes and improvements (Hans).
- display-12 workaround (Jose).
- Fix modesetting (Imre).
- Drop redundant address-of op before lttpr_common_caps array (Imre).
- Fix compiler checks (Jose, Jason).
- GLK display fixes (Ville).
- Fix error code returns (Dan).
- eDP novel: back again to slow and wide link training everywhere (Kai-Heng).
- Abstract DMC FW path (Rodrigo).
- Preparation and changes for upcoming
  XeLPD display IP (Jose, Matt, Ville, Juha-Pekka, Animesh).
- Fix comment typo in DSI code (zuoqilin).
- Simplify CCS and UV plane alignment handling (Imre).
- PSR Fixes on TGL (Gwan-gyeong, Jose).
- Add intel_dp_hdcp.h and rename init (Jani).
- Move crtc and dpll declarations around (Jani).
- Fix pre-skl DP AUX precharge length (Ville).
- Remove stray newlines from random files (Ville).
- crtc->index and intel_crtc+drm_crtc pointer clean-up (Ville).
- Add frontbuffer tracking tracepoints (Ville).
- ADL-S PCI ID updates (Anand).
- Use unique backlight device names (Jani).
- A few clean-ups on i915/audio (Jani).
- Use intel_framebuffer instead of drm one on intel_fb functions (Imre).
- Add the missing MC CCS/XYUV8888 format support on display >= 12 (Imre).
- Nuke display error state (Ville).
- ADL-P initial enablement patches
  starting to land (Clint, Imre, Jose, Umesh, Vandita, Mika).
- Display clean-up around VBT and the strap bits (Lucas).
- Try YCbCr420 color when RGB fails (Werner).
- More PSR fixes and improvements (Jose).
- Other generic display code clean-up (Jose, Ville).
- Use correct downstream caps for check Src-Ctl mode for PCON (Ankit).
- Disable HiZ Raw Stall Optimization on broken gen7 (Simon).

Thanks,
Rodrigo.

The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:

  Linux 5.13-rc1 (2021-05-09 14:17:44 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-05-19-1

for you to fetch changes up to ec279384c6a02cf04a96054e82b1294a7aad6577:

  drm/i915: Initialize err in remap_io_sg() (2021-05-18 11:00:07 -0700)

----------------------------------------------------------------
Core Changes:

- drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec (Jose).

Driver Changes:

- Display plane clock rates fixes and improvements (Ville).
- Uninint DMC FW loader state during shutdown (Imre).
- Convert snprintf to sysfs_emit (Xuezhi).
- Fix invalid access to ACPI _DSM objects (Takashi).
- A big refactor around how i915 addresses the graphics
  and display IP versions. (Matt, Lucas).
- Backlight fix (Lyude).
- Display watermark and DBUF fixes (Ville).
- HDCP fix (Anshuman).
- Improve cases where display is not available (Jose).
- Defeature PSR2 for RKL and ALD-S (Jose).
- VLV DSI panel power fixes and improvements (Hans).
- display-12 workaround (Jose).
- Fix modesetting (Imre).
- Drop redundant address-of op before lttpr_common_caps array (Imre).
- Fix compiler checks (Jose, Jason).
- GLK display fixes (Ville).
- Fix error code returns (Dan).
- eDP novel: back again to slow and wide link training everywhere (Kai-Heng).
- Abstract DMC FW path (Rodrigo).
- Preparation and changes for upcoming
  XeLPD display IP (Jose, Matt, Ville, Juha-Pekka, Animesh).
- Fix comment typo in DSI code (zuoqilin).
- Simplify CCS and UV plane alignment handling (Imre).
- PSR Fixes on TGL (Gwan-gyeong, Jose).
- Add intel_dp_hdcp.h and rename init (Jani).
- Move crtc and dpll declarations around (Jani).
- Fix pre-skl DP AUX precharge length (Ville).
- Remove stray newlines from random files (Ville).
- crtc->index and intel_crtc+drm_crtc pointer clean-up (Ville).
- Add frontbuffer tracking tracepoints (Ville).
- ADL-S PCI ID updates (Anand).
- Use unique backlight device names (Jani).
- A few clean-ups on i915/audio (Jani).
- Use intel_framebuffer instead of drm one on intel_fb functions (Imre).
- Add the missing MC CCS/XYUV8888 format support on display >= 12 (Imre).
- Nuke display error state (Ville).
- ADL-P initial enablement patches
  starting to land (Clint, Imre, Jose, Umesh, Vandita, Mika).
- Display clean-up around VBT and the strap bits (Lucas).
- Try YCbCr420 color when RGB fails (Werner).
- More PSR fixes and improvements (Jose).
- Other generic display code clean-up (Jose, Ville).
- Use correct downstream caps for check Src-Ctl mode for PCON (Ankit).
- Disable HiZ Raw Stall Optimization on broken gen7 (Simon).

----------------------------------------------------------------
Anand Moon (1):
      drm/i915/adl_s: ADL-S platform Update PCI ids for Mobile BGA

Animesh Manna (3):
      drm/i915/bigjoiner: Mode validation with uncompressed pipe joiner
      drm/i915/bigjoiner: Avoid dsc_compute_config for uncompressed bigjoiner
      drm/i915/bigjoiner: atomic commit changes for uncompressed joiner

Ankit Nautiyal (1):
      drm/i915: Use correct downstream caps for check Src-Ctl mode for PCON

Anshuman Gupta (1):
      drm/i915/hdcp: Fix uninitialized symbol 'msg_end'

Anusha Srivatsa (1):
      drm/i915/adl_p: Add cdclk support for ADL-P

Clinton Taylor (3):
      drm/i915/adl_p: Add PCI Devices IDs
      drm/i915/adl_p: ADL_P device info enabling
      drm/i915/adl_p: Add PCH support

Dan Carpenter (1):
      drm/i915: fix an error code in intel_overlay_do_put_image()

Gwan-gyeong Mun (2):
      drm/i915/display/psr: Disable DC3CO when the PSR2 is used
      drm/i915/display: Disable PSR2 if TGL Display stepping is B1 from A0

Hans de Goede (2):
      drm/i915/display/vlv_dsi: Do not skip panel_pwr_cycle_delay when disabling the panel
      drm/i915/display/vlv_dsi: Move panel_pwr_cycle_delay to next panel-on

Imre Deak (9):
      drm/i915: Uninit the DMC FW loader state during shutdown
      drm/i915: Fix modesetting in case of unexpected AUX timeouts
      drm/i915: Drop redundant address-of op before lttpr_common_caps array
      drm/i915: Simplify CCS and UV plane alignment handling
      drm/i915: Pass intel_framebuffer instad of drm_framebuffer to intel_fill_fb_info()
      drm/i915/tgl+: Add the missing MC CCS/XYUV8888 format support
      drm/i915/adl_p: Disable support for 90/270 FB rotation
      drm/i915/adl_p: Require a minimum of 8 tiles stride for DPT FBs
      drm/i915/adl_p: Enable remapping to pad DPT FB strides to POT

Jani Nikula (7):
      Merge drm/drm-next into drm-intel-next
      drm/i915/hdcp: add intel_dp_hdcp.h and rename init accordingly
      drm/i915/display: move crtc and dpll declarations where they belong
      drm/i915/backlight: clean up backlight device register
      drm/i915/backlight: use unique backlight device names
      drm/i915/audio: simplify, don't mask out in all branches
      drm/i915/audio: fix indentation, remove extra braces

Jason Ekstrand (1):
      drm/i915/pm: Make the wm parameter of print_wm_latency a pointer

José Roberto de Souza (25):
      drm/i915: Skip display interruption setup when display is not available
      drm/i915: Do not set any power wells when there is no display
      drm/i915: skip display initialization when there is no display
      drm/i915/display: Defeature PSR2 for RKL and ADL-S
      drm/i915/display: Implement Wa_14013723622
      Revert "drm/i915/tgl/psr: Fix glitches when doing frontbuffer modifications"
      drm/i915/display/psr: Fix cppcheck warnings
      drm/i915/display/xelpd: Do not program EDP_Y_COORDINATE_ENABLE
      drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec
      drm/i915/display: Disable PSR2 sel fetch in TGL pre-production
      drm/i915/xelpd: Fallback to plane stride limitations when using DPT
      drm/i915/adl_p: Add stride restriction when using DPT
      drm/i915/display: Fill PSR state during hardware configuration read out
      drm/i915/display: Replace intel_psr_enabled() calls by intel_crtc_state check
      drm/i915/display: Drop duplicated code in intel_dp_set_infoframes()
      drm/i915/display: Drop dead code from hsw_read_infoframe()
      drm/i915/display/xelpd: Implement Wa_14013475917
      drm/i915/xelpd: Provide port/phy mapping for vbt
      drm/i915/display/tc: Rename safe_mode functions ownership
      drm/i915/adl_p: Enable modular fia
      drm/i915/adl_p: Add IPs stepping mapping
      drm/i915/adl_p: Implement Wa_22011091694
      drm/i915/display/adl_p: Implement Wa_22011320316
      drm/i915/adl_p: Disable CCS on a-step (Wa_22011186057)
      drm/i915: Initialize err in remap_io_sg()

Juha-Pekka Heikkilä (1):
      drm/i915/xelpd: Support 128k plane stride

Kai-Heng Feng (1):
      drm/i915/dp: Use slow and wide link training for everything

Lucas De Marchi (16):
      drm/i915/display: use DISPLAY_VER() on remaining users
      drm/i915: rename display.version to display.ver
      drm/i915/display: rename display version macros
      drm/i915: add macros for graphics and media versions
      drm/i915/gt: replace gen use in intel_engine_cs
      drm/i915/selftests: replace unused mask with simple version
      drm/i915/selftests: eliminate use of gen_mask
      drm/i915: finish removal of gen_mask
      drm/i915: eliminate remaining uses of intel_device_info->gen
      drm/i915: finish removal of gen from intel_device_info
      drm/i915: add media and display versions to device_info print
      drm/i915: split dgfx features from gen 12
      drm/i915/display: move vbt check to intel_ddi_init()
      drm/i915/display: remove FIXME comment for intended feature
      drm/i915/display: remove strap checks from gen 9
      drm/i915/display: hide workaround for broken vbt in intel_bios.c

Lyude Paul (1):
      drm/i915/dpcd_bl: Don't try vesa interface unless specified by VBT

Matt Roper (11):
      drm/i915/display: Eliminate IS_GEN9_{BC,LP}
      drm/i915/display: Eliminate IS_GEN9_{BC,LP}
      drm/i915/xelpd: add XE_LPD display characteristics
      drm/i915/xelpd: Handle proper AUX interrupt bits
      drm/i915/xelpd: Define plane capabilities
      drm/i915/xelpd: Add XE_LPD power wells
      drm/i915/xelpd: Required bandwidth increases when VT-d is active
      drm/i915/xelpd: Add Wa_14011503030
      drm/i915/xelpd: Handle new location of outputs D and E
      drm/i915/xelpd: Increase maximum watermark lines to 255
      drm/i915/adl_p: Extend PLANE_WM bits for blocks & lines

Mika Kahola (1):
      drm/i915/adl_p: Enable/disable loadgen sharing

Rodrigo Vivi (3):
      Merge tag 'topic/intel-gen-to-ver-2021-04-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next
      drm/i915/dmc: Let's abstract the dmc path.
      Merge drm/drm-next into drm-intel-next

Simon Rettberg (1):
      drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7

Takashi Iwai (1):
      drm/i915: Fix invalid access to ACPI _DSM objects

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Enable OA formats for ADL_P

Vandita Kulkarni (3):
      drm/i915/display/dsc: Refactor intel_dp_dsc_compute_bpp
      drm/i915/xelpd: Support DP1.4 compression BPPs
      drm/i915: Get slice height before computing rc params

Ville Syrjälä (33):
      drm/i915: Split out glk_plane_min_cdclk()
      drm/i915: Update plane ratio for icl+
      drm/i915: Don't zero out the Y plane's watermarks
      drm/i915: Restore lost glk FBC 16bpp w/a
      drm/i915: Restore lost glk ccs w/a
      drm/i915: Disable LTTPR detection on GLK once again
      drm/i915: Don't use {skl, cnl}_hpd_pin() for bxt/glk
      drm/i915: Remove a few redundant glk checks
      drm/i915: Extract intel_adjusted_rate()
      drm/i915: Reuse intel_adjusted_rate() for pfit pixel rate adjustment
      drm/i915: Collect dbuf device info into a sub-struct
      drm/i915: Handle dbuf bypass path allocation earlier
      drm/i915: Store dbuf slice mask in device info
      drm/i915: Use intel_dbuf_slice_size()
      drm/i915: Use intel_de_rmw() for DBUF_POWER_REQUEST
      drm/i915: Polish for_each_dbuf_slice()
      drm/i915: Add enabledisable()
      drm/i915: Say "enable foo" instead of "set foo to enabled"
      drm/i915: Fix pre-skl DP AUX precharge length
      drm/i915: Remove stray newlines
      drm/i915: Stop using crtc->index as the pipe
      drm/i915: Add frontbuffer tracking tracepoints
      drm/i915: Don't include intel_de.h from intel_display_types.h
      drm/i915: Include intel_de_{read,write}_fw() in i915_reg_rw traces
      drm/i915: Extract some helpers to compute cdclk register values
      drm/i915: Use intel_de_rmw() in bdw cdclk programming
      drm/i915: Use intel_de_rmw() in skl cdclk programming
      drm/i915: Use intel_de_rmw() in bxt/glk/cnl+ cdclk programming
      drm/i915: Use intel_de_wait_for_*() in cnl+ cdclk programming
      drm/i915: Nuke display error state
      drm/i915: Reorder skl+ scaler vs. plane updates
      drm/i915/xelpd: First stab at DPT support
      drm/i915: Move intel_modeset_all_pipes()

Werner Sembach (3):
      drm/i915/display: New function to avoid duplicate code in upcomming commits
      drm/i915/display: Restructure output format computation for better expandability
      drm/i915/display: Use YCbCr420 as fallback when RGB fails

Xuezhi Zhang (1):
      drm/i915/sysfs: convert snprintf to sysfs_emit

zuoqilin (1):
      drm/i915/dsi: Fix comment typo

 arch/x86/kernel/early-quirks.c                     |   1 +
 drivers/gpu/drm/i915/display/g4x_dp.c              |   1 +
 drivers/gpu/drm/i915/display/g4x_hdmi.c            |   1 +
 drivers/gpu/drm/i915/display/i9xx_plane.c          |   4 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   6 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |  43 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |   4 +
 drivers/gpu/drm/i915/display/intel_audio.c         |  32 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  77 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |  22 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         | 367 ++++-----
 drivers/gpu/drm/i915/display/intel_color.c         |   7 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |   1 +
 drivers/gpu/drm/i915/display/intel_crt.c           |   8 +-
 drivers/gpu/drm/i915/display/intel_crtc.c          |   4 +-
 drivers/gpu/drm/i915/display/intel_crtc.h          |   3 +
 drivers/gpu/drm/i915/display/intel_csr.c           |  30 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |   1 +
 drivers/gpu/drm/i915/display/intel_ddi.c           | 109 ++-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |  11 +-
 drivers/gpu/drm/i915/display/intel_de.h            |  41 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 885 +++++++++++++--------
 drivers/gpu/drm/i915/display/intel_display.h       |  31 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   9 +-
 drivers/gpu/drm/i915/display/intel_display_power.c | 551 ++++++++++++-
 drivers/gpu/drm/i915/display/intel_display_power.h |  11 +
 drivers/gpu/drm/i915/display/intel_display_types.h |  26 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 194 ++---
 drivers/gpu/drm/i915/display/intel_dp.h            |   3 -
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |  23 +-
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |   8 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.h       |  15 +
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   9 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |   1 +
 drivers/gpu/drm/i915/display/intel_dpll.c          |   9 +-
 drivers/gpu/drm/i915/display/intel_dpll.h          |   5 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   8 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           |   1 +
 drivers/gpu/drm/i915/display/intel_dsi.h           |   1 +
 drivers/gpu/drm/i915/display/intel_dvo.c           |   1 +
 drivers/gpu/drm/i915/display/intel_fb.c            | 102 +--
 drivers/gpu/drm/i915/display/intel_fb.h            |   6 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  28 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |   1 +
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |   5 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |   5 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |  16 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |  10 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          | 150 ++--
 drivers/gpu/drm/i915/display/intel_hotplug.c       |  12 +
 drivers/gpu/drm/i915/display/intel_lspcon.c        |   1 +
 drivers/gpu/drm/i915/display/intel_lvds.c          |   3 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |  11 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  67 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c      |  56 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |  20 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  95 ++-
 drivers/gpu/drm/i915/display/intel_psr.h           |   3 +
 drivers/gpu/drm/i915/display/intel_sdvo.c          |   2 +
 drivers/gpu/drm/i915/display/intel_sprite.c        |   1 +
 drivers/gpu/drm/i915/display/intel_tc.c            |  45 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |   7 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |  45 +-
 drivers/gpu/drm/i915/display/intel_vdsc.h          |   2 +
 drivers/gpu/drm/i915/display/intel_vrr.c           |   1 +
 drivers/gpu/drm/i915/display/skl_scaler.c          |   1 +
 drivers/gpu/drm/i915/display/skl_universal_plane.c | 184 +++--
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  79 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |  22 +-
 drivers/gpu/drm/i915/gt/gen7_renderclear.c         |   5 +-
 drivers/gpu/drm/i915/gt/gen8_ppgtt.h               |   7 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  40 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   7 +-
 drivers/gpu/drm/i915/gt/intel_gtt.h                |   5 +
 drivers/gpu/drm/i915/gt/selftest_engine_cs.c       |  18 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |  10 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c |   1 -
 drivers/gpu/drm/i915/i915_drv.c                    |  42 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  51 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   6 -
 drivers/gpu/drm/i915/i915_gpu_error.h              |   2 -
 drivers/gpu/drm/i915/i915_irq.c                    |  77 +-
 drivers/gpu/drm/i915/i915_mm.c                     |   2 +-
 drivers/gpu/drm/i915/i915_params.h                 |   1 -
 drivers/gpu/drm/i915/i915_pci.c                    |  52 +-
 drivers/gpu/drm/i915/i915_perf.c                   |   1 +
 drivers/gpu/drm/i915/i915_reg.h                    |  51 +-
 drivers/gpu/drm/i915/i915_suspend.c                |   6 +
 drivers/gpu/drm/i915/i915_sysfs.c                  |  30 +-
 drivers/gpu/drm/i915/i915_trace.h                  |  39 +
 drivers/gpu/drm/i915/i915_utils.h                  |   5 +
 drivers/gpu/drm/i915/i915_vma_types.h              |   1 -
 drivers/gpu/drm/i915/intel_device_info.c           |   7 +-
 drivers/gpu/drm/i915/intel_device_info.h           |  13 +-
 drivers/gpu/drm/i915/intel_pch.c                   |   6 +-
 drivers/gpu/drm/i915/intel_pch.h                   |   1 +
 drivers/gpu/drm/i915/intel_pm.c                    | 128 +--
 drivers/gpu/drm/i915/intel_step.c                  |  12 +-
 drivers/gpu/drm/i915/intel_uncore.c                |   8 +-
 drivers/gpu/drm/i915/selftests/intel_uncore.c      |   8 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   2 +-
 include/drm/drm_dp_helper.h                        |  16 +-
 include/drm/i915_pciids.h                          |  23 +
 107 files changed, 2805 insertions(+), 1429 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_hdcp.h

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [Intel-gfx] [PULL] drm-intel-next
@ 2021-05-19 19:10 ` Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2021-05-19 19:10 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter; +Cc: dim-tools, dri-devel, Maxime Ripard, intel-gfx

Hi Dave and Daniel,

Here goes the first pull request targeting 5.14.

Main highlight goes to the ADL-P platform and display XeLPD IP
enabling patches. Also with a refactor on how we handle the graphics
and display IP versions.

drm-intel-next-2021-05-19-1:
Core Changes:

- drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec (Jose).

Driver Changes:

- Display plane clock rates fixes and improvements (Ville).
- Uninint DMC FW loader state during shutdown (Imre).
- Convert snprintf to sysfs_emit (Xuezhi).
- Fix invalid access to ACPI _DSM objects (Takashi).
- A big refactor around how i915 addresses the graphics
  and display IP versions. (Matt, Lucas).
- Backlight fix (Lyude).
- Display watermark and DBUF fixes (Ville).
- HDCP fix (Anshuman).
- Improve cases where display is not available (Jose).
- Defeature PSR2 for RKL and ALD-S (Jose).
- VLV DSI panel power fixes and improvements (Hans).
- display-12 workaround (Jose).
- Fix modesetting (Imre).
- Drop redundant address-of op before lttpr_common_caps array (Imre).
- Fix compiler checks (Jose, Jason).
- GLK display fixes (Ville).
- Fix error code returns (Dan).
- eDP novel: back again to slow and wide link training everywhere (Kai-Heng).
- Abstract DMC FW path (Rodrigo).
- Preparation and changes for upcoming
  XeLPD display IP (Jose, Matt, Ville, Juha-Pekka, Animesh).
- Fix comment typo in DSI code (zuoqilin).
- Simplify CCS and UV plane alignment handling (Imre).
- PSR Fixes on TGL (Gwan-gyeong, Jose).
- Add intel_dp_hdcp.h and rename init (Jani).
- Move crtc and dpll declarations around (Jani).
- Fix pre-skl DP AUX precharge length (Ville).
- Remove stray newlines from random files (Ville).
- crtc->index and intel_crtc+drm_crtc pointer clean-up (Ville).
- Add frontbuffer tracking tracepoints (Ville).
- ADL-S PCI ID updates (Anand).
- Use unique backlight device names (Jani).
- A few clean-ups on i915/audio (Jani).
- Use intel_framebuffer instead of drm one on intel_fb functions (Imre).
- Add the missing MC CCS/XYUV8888 format support on display >= 12 (Imre).
- Nuke display error state (Ville).
- ADL-P initial enablement patches
  starting to land (Clint, Imre, Jose, Umesh, Vandita, Mika).
- Display clean-up around VBT and the strap bits (Lucas).
- Try YCbCr420 color when RGB fails (Werner).
- More PSR fixes and improvements (Jose).
- Other generic display code clean-up (Jose, Ville).
- Use correct downstream caps for check Src-Ctl mode for PCON (Ankit).
- Disable HiZ Raw Stall Optimization on broken gen7 (Simon).

Thanks,
Rodrigo.

The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:

  Linux 5.13-rc1 (2021-05-09 14:17:44 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-05-19-1

for you to fetch changes up to ec279384c6a02cf04a96054e82b1294a7aad6577:

  drm/i915: Initialize err in remap_io_sg() (2021-05-18 11:00:07 -0700)

----------------------------------------------------------------
Core Changes:

- drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec (Jose).

Driver Changes:

- Display plane clock rates fixes and improvements (Ville).
- Uninint DMC FW loader state during shutdown (Imre).
- Convert snprintf to sysfs_emit (Xuezhi).
- Fix invalid access to ACPI _DSM objects (Takashi).
- A big refactor around how i915 addresses the graphics
  and display IP versions. (Matt, Lucas).
- Backlight fix (Lyude).
- Display watermark and DBUF fixes (Ville).
- HDCP fix (Anshuman).
- Improve cases where display is not available (Jose).
- Defeature PSR2 for RKL and ALD-S (Jose).
- VLV DSI panel power fixes and improvements (Hans).
- display-12 workaround (Jose).
- Fix modesetting (Imre).
- Drop redundant address-of op before lttpr_common_caps array (Imre).
- Fix compiler checks (Jose, Jason).
- GLK display fixes (Ville).
- Fix error code returns (Dan).
- eDP novel: back again to slow and wide link training everywhere (Kai-Heng).
- Abstract DMC FW path (Rodrigo).
- Preparation and changes for upcoming
  XeLPD display IP (Jose, Matt, Ville, Juha-Pekka, Animesh).
- Fix comment typo in DSI code (zuoqilin).
- Simplify CCS and UV plane alignment handling (Imre).
- PSR Fixes on TGL (Gwan-gyeong, Jose).
- Add intel_dp_hdcp.h and rename init (Jani).
- Move crtc and dpll declarations around (Jani).
- Fix pre-skl DP AUX precharge length (Ville).
- Remove stray newlines from random files (Ville).
- crtc->index and intel_crtc+drm_crtc pointer clean-up (Ville).
- Add frontbuffer tracking tracepoints (Ville).
- ADL-S PCI ID updates (Anand).
- Use unique backlight device names (Jani).
- A few clean-ups on i915/audio (Jani).
- Use intel_framebuffer instead of drm one on intel_fb functions (Imre).
- Add the missing MC CCS/XYUV8888 format support on display >= 12 (Imre).
- Nuke display error state (Ville).
- ADL-P initial enablement patches
  starting to land (Clint, Imre, Jose, Umesh, Vandita, Mika).
- Display clean-up around VBT and the strap bits (Lucas).
- Try YCbCr420 color when RGB fails (Werner).
- More PSR fixes and improvements (Jose).
- Other generic display code clean-up (Jose, Ville).
- Use correct downstream caps for check Src-Ctl mode for PCON (Ankit).
- Disable HiZ Raw Stall Optimization on broken gen7 (Simon).

----------------------------------------------------------------
Anand Moon (1):
      drm/i915/adl_s: ADL-S platform Update PCI ids for Mobile BGA

Animesh Manna (3):
      drm/i915/bigjoiner: Mode validation with uncompressed pipe joiner
      drm/i915/bigjoiner: Avoid dsc_compute_config for uncompressed bigjoiner
      drm/i915/bigjoiner: atomic commit changes for uncompressed joiner

Ankit Nautiyal (1):
      drm/i915: Use correct downstream caps for check Src-Ctl mode for PCON

Anshuman Gupta (1):
      drm/i915/hdcp: Fix uninitialized symbol 'msg_end'

Anusha Srivatsa (1):
      drm/i915/adl_p: Add cdclk support for ADL-P

Clinton Taylor (3):
      drm/i915/adl_p: Add PCI Devices IDs
      drm/i915/adl_p: ADL_P device info enabling
      drm/i915/adl_p: Add PCH support

Dan Carpenter (1):
      drm/i915: fix an error code in intel_overlay_do_put_image()

Gwan-gyeong Mun (2):
      drm/i915/display/psr: Disable DC3CO when the PSR2 is used
      drm/i915/display: Disable PSR2 if TGL Display stepping is B1 from A0

Hans de Goede (2):
      drm/i915/display/vlv_dsi: Do not skip panel_pwr_cycle_delay when disabling the panel
      drm/i915/display/vlv_dsi: Move panel_pwr_cycle_delay to next panel-on

Imre Deak (9):
      drm/i915: Uninit the DMC FW loader state during shutdown
      drm/i915: Fix modesetting in case of unexpected AUX timeouts
      drm/i915: Drop redundant address-of op before lttpr_common_caps array
      drm/i915: Simplify CCS and UV plane alignment handling
      drm/i915: Pass intel_framebuffer instad of drm_framebuffer to intel_fill_fb_info()
      drm/i915/tgl+: Add the missing MC CCS/XYUV8888 format support
      drm/i915/adl_p: Disable support for 90/270 FB rotation
      drm/i915/adl_p: Require a minimum of 8 tiles stride for DPT FBs
      drm/i915/adl_p: Enable remapping to pad DPT FB strides to POT

Jani Nikula (7):
      Merge drm/drm-next into drm-intel-next
      drm/i915/hdcp: add intel_dp_hdcp.h and rename init accordingly
      drm/i915/display: move crtc and dpll declarations where they belong
      drm/i915/backlight: clean up backlight device register
      drm/i915/backlight: use unique backlight device names
      drm/i915/audio: simplify, don't mask out in all branches
      drm/i915/audio: fix indentation, remove extra braces

Jason Ekstrand (1):
      drm/i915/pm: Make the wm parameter of print_wm_latency a pointer

José Roberto de Souza (25):
      drm/i915: Skip display interruption setup when display is not available
      drm/i915: Do not set any power wells when there is no display
      drm/i915: skip display initialization when there is no display
      drm/i915/display: Defeature PSR2 for RKL and ADL-S
      drm/i915/display: Implement Wa_14013723622
      Revert "drm/i915/tgl/psr: Fix glitches when doing frontbuffer modifications"
      drm/i915/display/psr: Fix cppcheck warnings
      drm/i915/display/xelpd: Do not program EDP_Y_COORDINATE_ENABLE
      drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec
      drm/i915/display: Disable PSR2 sel fetch in TGL pre-production
      drm/i915/xelpd: Fallback to plane stride limitations when using DPT
      drm/i915/adl_p: Add stride restriction when using DPT
      drm/i915/display: Fill PSR state during hardware configuration read out
      drm/i915/display: Replace intel_psr_enabled() calls by intel_crtc_state check
      drm/i915/display: Drop duplicated code in intel_dp_set_infoframes()
      drm/i915/display: Drop dead code from hsw_read_infoframe()
      drm/i915/display/xelpd: Implement Wa_14013475917
      drm/i915/xelpd: Provide port/phy mapping for vbt
      drm/i915/display/tc: Rename safe_mode functions ownership
      drm/i915/adl_p: Enable modular fia
      drm/i915/adl_p: Add IPs stepping mapping
      drm/i915/adl_p: Implement Wa_22011091694
      drm/i915/display/adl_p: Implement Wa_22011320316
      drm/i915/adl_p: Disable CCS on a-step (Wa_22011186057)
      drm/i915: Initialize err in remap_io_sg()

Juha-Pekka Heikkilä (1):
      drm/i915/xelpd: Support 128k plane stride

Kai-Heng Feng (1):
      drm/i915/dp: Use slow and wide link training for everything

Lucas De Marchi (16):
      drm/i915/display: use DISPLAY_VER() on remaining users
      drm/i915: rename display.version to display.ver
      drm/i915/display: rename display version macros
      drm/i915: add macros for graphics and media versions
      drm/i915/gt: replace gen use in intel_engine_cs
      drm/i915/selftests: replace unused mask with simple version
      drm/i915/selftests: eliminate use of gen_mask
      drm/i915: finish removal of gen_mask
      drm/i915: eliminate remaining uses of intel_device_info->gen
      drm/i915: finish removal of gen from intel_device_info
      drm/i915: add media and display versions to device_info print
      drm/i915: split dgfx features from gen 12
      drm/i915/display: move vbt check to intel_ddi_init()
      drm/i915/display: remove FIXME comment for intended feature
      drm/i915/display: remove strap checks from gen 9
      drm/i915/display: hide workaround for broken vbt in intel_bios.c

Lyude Paul (1):
      drm/i915/dpcd_bl: Don't try vesa interface unless specified by VBT

Matt Roper (11):
      drm/i915/display: Eliminate IS_GEN9_{BC,LP}
      drm/i915/display: Eliminate IS_GEN9_{BC,LP}
      drm/i915/xelpd: add XE_LPD display characteristics
      drm/i915/xelpd: Handle proper AUX interrupt bits
      drm/i915/xelpd: Define plane capabilities
      drm/i915/xelpd: Add XE_LPD power wells
      drm/i915/xelpd: Required bandwidth increases when VT-d is active
      drm/i915/xelpd: Add Wa_14011503030
      drm/i915/xelpd: Handle new location of outputs D and E
      drm/i915/xelpd: Increase maximum watermark lines to 255
      drm/i915/adl_p: Extend PLANE_WM bits for blocks & lines

Mika Kahola (1):
      drm/i915/adl_p: Enable/disable loadgen sharing

Rodrigo Vivi (3):
      Merge tag 'topic/intel-gen-to-ver-2021-04-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next
      drm/i915/dmc: Let's abstract the dmc path.
      Merge drm/drm-next into drm-intel-next

Simon Rettberg (1):
      drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7

Takashi Iwai (1):
      drm/i915: Fix invalid access to ACPI _DSM objects

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Enable OA formats for ADL_P

Vandita Kulkarni (3):
      drm/i915/display/dsc: Refactor intel_dp_dsc_compute_bpp
      drm/i915/xelpd: Support DP1.4 compression BPPs
      drm/i915: Get slice height before computing rc params

Ville Syrjälä (33):
      drm/i915: Split out glk_plane_min_cdclk()
      drm/i915: Update plane ratio for icl+
      drm/i915: Don't zero out the Y plane's watermarks
      drm/i915: Restore lost glk FBC 16bpp w/a
      drm/i915: Restore lost glk ccs w/a
      drm/i915: Disable LTTPR detection on GLK once again
      drm/i915: Don't use {skl, cnl}_hpd_pin() for bxt/glk
      drm/i915: Remove a few redundant glk checks
      drm/i915: Extract intel_adjusted_rate()
      drm/i915: Reuse intel_adjusted_rate() for pfit pixel rate adjustment
      drm/i915: Collect dbuf device info into a sub-struct
      drm/i915: Handle dbuf bypass path allocation earlier
      drm/i915: Store dbuf slice mask in device info
      drm/i915: Use intel_dbuf_slice_size()
      drm/i915: Use intel_de_rmw() for DBUF_POWER_REQUEST
      drm/i915: Polish for_each_dbuf_slice()
      drm/i915: Add enabledisable()
      drm/i915: Say "enable foo" instead of "set foo to enabled"
      drm/i915: Fix pre-skl DP AUX precharge length
      drm/i915: Remove stray newlines
      drm/i915: Stop using crtc->index as the pipe
      drm/i915: Add frontbuffer tracking tracepoints
      drm/i915: Don't include intel_de.h from intel_display_types.h
      drm/i915: Include intel_de_{read,write}_fw() in i915_reg_rw traces
      drm/i915: Extract some helpers to compute cdclk register values
      drm/i915: Use intel_de_rmw() in bdw cdclk programming
      drm/i915: Use intel_de_rmw() in skl cdclk programming
      drm/i915: Use intel_de_rmw() in bxt/glk/cnl+ cdclk programming
      drm/i915: Use intel_de_wait_for_*() in cnl+ cdclk programming
      drm/i915: Nuke display error state
      drm/i915: Reorder skl+ scaler vs. plane updates
      drm/i915/xelpd: First stab at DPT support
      drm/i915: Move intel_modeset_all_pipes()

Werner Sembach (3):
      drm/i915/display: New function to avoid duplicate code in upcomming commits
      drm/i915/display: Restructure output format computation for better expandability
      drm/i915/display: Use YCbCr420 as fallback when RGB fails

Xuezhi Zhang (1):
      drm/i915/sysfs: convert snprintf to sysfs_emit

zuoqilin (1):
      drm/i915/dsi: Fix comment typo

 arch/x86/kernel/early-quirks.c                     |   1 +
 drivers/gpu/drm/i915/display/g4x_dp.c              |   1 +
 drivers/gpu/drm/i915/display/g4x_hdmi.c            |   1 +
 drivers/gpu/drm/i915/display/i9xx_plane.c          |   4 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   6 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |  43 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |   4 +
 drivers/gpu/drm/i915/display/intel_audio.c         |  32 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  77 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |  22 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         | 367 ++++-----
 drivers/gpu/drm/i915/display/intel_color.c         |   7 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |   1 +
 drivers/gpu/drm/i915/display/intel_crt.c           |   8 +-
 drivers/gpu/drm/i915/display/intel_crtc.c          |   4 +-
 drivers/gpu/drm/i915/display/intel_crtc.h          |   3 +
 drivers/gpu/drm/i915/display/intel_csr.c           |  30 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |   1 +
 drivers/gpu/drm/i915/display/intel_ddi.c           | 109 ++-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |  11 +-
 drivers/gpu/drm/i915/display/intel_de.h            |  41 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 885 +++++++++++++--------
 drivers/gpu/drm/i915/display/intel_display.h       |  31 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   9 +-
 drivers/gpu/drm/i915/display/intel_display_power.c | 551 ++++++++++++-
 drivers/gpu/drm/i915/display/intel_display_power.h |  11 +
 drivers/gpu/drm/i915/display/intel_display_types.h |  26 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 194 ++---
 drivers/gpu/drm/i915/display/intel_dp.h            |   3 -
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |  23 +-
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |   8 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.h       |  15 +
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   9 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |   1 +
 drivers/gpu/drm/i915/display/intel_dpll.c          |   9 +-
 drivers/gpu/drm/i915/display/intel_dpll.h          |   5 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   8 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           |   1 +
 drivers/gpu/drm/i915/display/intel_dsi.h           |   1 +
 drivers/gpu/drm/i915/display/intel_dvo.c           |   1 +
 drivers/gpu/drm/i915/display/intel_fb.c            | 102 +--
 drivers/gpu/drm/i915/display/intel_fb.h            |   6 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  28 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |   1 +
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |   5 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |   5 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |  16 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |  10 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          | 150 ++--
 drivers/gpu/drm/i915/display/intel_hotplug.c       |  12 +
 drivers/gpu/drm/i915/display/intel_lspcon.c        |   1 +
 drivers/gpu/drm/i915/display/intel_lvds.c          |   3 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |  11 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  67 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c      |  56 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |  20 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  95 ++-
 drivers/gpu/drm/i915/display/intel_psr.h           |   3 +
 drivers/gpu/drm/i915/display/intel_sdvo.c          |   2 +
 drivers/gpu/drm/i915/display/intel_sprite.c        |   1 +
 drivers/gpu/drm/i915/display/intel_tc.c            |  45 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |   7 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |  45 +-
 drivers/gpu/drm/i915/display/intel_vdsc.h          |   2 +
 drivers/gpu/drm/i915/display/intel_vrr.c           |   1 +
 drivers/gpu/drm/i915/display/skl_scaler.c          |   1 +
 drivers/gpu/drm/i915/display/skl_universal_plane.c | 184 +++--
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  79 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |  22 +-
 drivers/gpu/drm/i915/gt/gen7_renderclear.c         |   5 +-
 drivers/gpu/drm/i915/gt/gen8_ppgtt.h               |   7 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  40 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   7 +-
 drivers/gpu/drm/i915/gt/intel_gtt.h                |   5 +
 drivers/gpu/drm/i915/gt/selftest_engine_cs.c       |  18 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |  10 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c |   1 -
 drivers/gpu/drm/i915/i915_drv.c                    |  42 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  51 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   6 -
 drivers/gpu/drm/i915/i915_gpu_error.h              |   2 -
 drivers/gpu/drm/i915/i915_irq.c                    |  77 +-
 drivers/gpu/drm/i915/i915_mm.c                     |   2 +-
 drivers/gpu/drm/i915/i915_params.h                 |   1 -
 drivers/gpu/drm/i915/i915_pci.c                    |  52 +-
 drivers/gpu/drm/i915/i915_perf.c                   |   1 +
 drivers/gpu/drm/i915/i915_reg.h                    |  51 +-
 drivers/gpu/drm/i915/i915_suspend.c                |   6 +
 drivers/gpu/drm/i915/i915_sysfs.c                  |  30 +-
 drivers/gpu/drm/i915/i915_trace.h                  |  39 +
 drivers/gpu/drm/i915/i915_utils.h                  |   5 +
 drivers/gpu/drm/i915/i915_vma_types.h              |   1 -
 drivers/gpu/drm/i915/intel_device_info.c           |   7 +-
 drivers/gpu/drm/i915/intel_device_info.h           |  13 +-
 drivers/gpu/drm/i915/intel_pch.c                   |   6 +-
 drivers/gpu/drm/i915/intel_pch.h                   |   1 +
 drivers/gpu/drm/i915/intel_pm.c                    | 128 +--
 drivers/gpu/drm/i915/intel_step.c                  |  12 +-
 drivers/gpu/drm/i915/intel_uncore.c                |   8 +-
 drivers/gpu/drm/i915/selftests/intel_uncore.c      |   8 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   2 +-
 include/drm/drm_dp_helper.h                        |  16 +-
 include/drm/i915_pciids.h                          |  23 +
 107 files changed, 2805 insertions(+), 1429 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_hdcp.h
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-09-16 12:09 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2022-09-16 12:09 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Thomas Zimmermann,
	Rodrigo Vivi, intel-gfx


Hi Dave & Daniel -

The final feature pull for v6.1.

drm-intel-next-2022-09-16-1:
drm/i915 feature pull #2 for v6.1:

Features and functionality:
- More Meteorlake platform enabling (Radhakrishna, Imre, Madhumitha)
- Allow seamless M/N changes on eDP panels that support it (Ville)
- Switch DSC debugfs from output bpp to input bpc (Swati)

Refactoring and cleanups:
- Clocking and DPLL refactoring and cleanups to support seamless M/N (Ville)
- Plenty of VBT definition and parsing updates and cleanups (Ville)
- Extract SKL watermark code to a separate file, and clean up (Ville)
- Clean up IPC interfaces and debugfs (Jani)
- Continue moving display data under drm_i915_private display sub-struct (Jani)
- Display quirk handling refactoring and abstractions (Jani)
- Stop using implicit dev_priv in gmbus registers (Jani)
- BUG_ON() removals and conversions to drm_WARN_ON() and BUILD_BUG_ON() (Jani)
- Use drm_dp_phy_name() for logging (Jani)
- Use REG_BIT() macros for CDCLK registers (Stan)
- Move display and media IP versions to runtime info (Radhakrishna)

Fixes:
- Fix DP MST suspend to avoid use-after-free (Andrzej)
- Fix HPD suspend to avoid use-after-free for fbdev (Andrzej)
- Fix various PSR issues regarding selective update and damage clips (Jouni)
- Fix runtime pm wakerefs for driver remove and release (Mitul Golani)
- Fix conditions for filtering fixed modes for panels (Ville)
- Fix TV encoder clock computation (Ville)
- Fix dvo mode_valid hook return type (Nathan Huckleberry)

Merges:
- Backmerge drm-next to sync the DP MST atomic changes (Jani)

BR,
Jani.

The following changes since commit 89b03aeaef16f8ab48c10c399f97c836bdbae838:

  drm/vkms: fix 32bit compilation error by replacing macros (2022-09-11 22:28:56 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2022-09-16-1

for you to fetch changes up to 21f0b7dabf9c358e75a539b5554c0375bf1abe0a:

  drm/i915: Fix return type of mode_valid function hook (2022-09-15 10:28:55 +0300)

----------------------------------------------------------------
drm/i915 feature pull #2 for v6.1:

Features and functionality:
- More Meteorlake platform enabling (Radhakrishna, Imre, Madhumitha)
- Allow seamless M/N changes on eDP panels that support it (Ville)
- Switch DSC debugfs from output bpp to input bpc (Swati)

Refactoring and cleanups:
- Clocking and DPLL refactoring and cleanups to support seamless M/N (Ville)
- Plenty of VBT definition and parsing updates and cleanups (Ville)
- Extract SKL watermark code to a separate file, and clean up (Ville)
- Clean up IPC interfaces and debugfs (Jani)
- Continue moving display data under drm_i915_private display sub-struct (Jani)
- Display quirk handling refactoring and abstractions (Jani)
- Stop using implicit dev_priv in gmbus registers (Jani)
- BUG_ON() removals and conversions to drm_WARN_ON() and BUILD_BUG_ON() (Jani)
- Use drm_dp_phy_name() for logging (Jani)
- Use REG_BIT() macros for CDCLK registers (Stan)
- Move display and media IP versions to runtime info (Radhakrishna)

Fixes:
- Fix DP MST suspend to avoid use-after-free (Andrzej)
- Fix HPD suspend to avoid use-after-free for fbdev (Andrzej)
- Fix various PSR issues regarding selective update and damage clips (Jouni)
- Fix runtime pm wakerefs for driver remove and release (Mitul Golani)
- Fix conditions for filtering fixed modes for panels (Ville)
- Fix TV encoder clock computation (Ville)
- Fix dvo mode_valid hook return type (Nathan Huckleberry)

Merges:
- Backmerge drm-next to sync the DP MST atomic changes (Jani)

----------------------------------------------------------------
Andrzej Hajda (3):
      drm/i915/hpd: suspend MST at the end of intel_modeset_driver_remove
      drm/i915/fbdev: suspend HPD before fbdev unregistration
      drm/i915/fbdev: do not create fbdev if HPD is suspended

Ankit Nautiyal (1):
      drm/i915/vdsc: Set VDSC PIC_HEIGHT before using for DP DSC

Imre Deak (2):
      drm/i915/mtl: Add display power wells
      drm/i915/mtl: Add DP AUX support on TypeC ports

Jani Nikula (46):
      drm/i915: move and group hdcp under display.hdcp
      drm/i915: move and group max_bw and bw_obj under display.bw
      drm/i915: move opregion to display.opregion
      drm/i915: move and group cdclk under display.cdclk
      drm/i915: move backlight to display.backlight
      drm/i915: move mipi_mmio_base to display.dsi
      drm/i915: move vbt to display.vbt
      drm/i915: move fbc to display.fbc
      drm/i915: move and group power related members under display.power
      drm/i915: move and group fdi members under display.fdi
      drm/i915: move fb_tracking under display sub-struct
      drm/i915: move dbuf under display sub-struct
      drm/i915: move and group modeset_wq and flip_wq under display.wq
      drm/i915/quirks: abstract checking for display quirks
      drm/i915/quirks: abstract quirks further by making quirk ids an enum
      drm/i915: move quirks under display sub-struct
      drm/i915: move atomic_helper under display sub-struct
      drm/i915: move and group properties under display.properties
      drm/i915/gmbus: split out gmbus regs in a separate file
      drm/i915/gmbus: whitespace cleanup in reg definitions
      drm/i915/gmbus: add wrapper for gmbus mmio base
      drm/i915/gmbus: stop using implicit dev_priv in register definitions
      drm/i915/reg: stop using implicit dev_priv in DSPCLK_GATE_D
      drm/i915/gmbus: mass dev_priv -> i915 rename
      drm/i915/crt: remove BUG_ON()
      drm/i915/dpll: replace BUG_ON() with drm_WARN_ON()
      drm/i915/pch: replace BUG_ON() with drm_WARN_ON()
      drm/i915/perf: replace BUG_ON() with WARN_ON()
      drm/i915/fence: replace BUG_ON() with BUILD_BUG_ON()
      drm/i915: remove unused macro I915_GTT_OFFSET_NONE
      drm/i915: remove unused i915_gem_set_global_seqno() declaration
      drm/i915: un-inline i915_gem_drain_workqueue()
      drm/i915: un-inline i915_gem_drain_freed_objects()
      drm/i915: split out i915_gem.c declarations to i915_gem.h
      Revert "drm/i915: Add DSC support to MST path"
      Revert "drm/i915: Extract drm_dp_atomic_find_vcpi_slots cycle to separate function"
      Revert "drm/i915: Fix intel_dp_mst_compute_link_config"
      Revert "drm: Add missing DP DSC extended capability definitions."
      drm/i915/dsb: hide struct intel_dsb better
      Merge drm/drm-next into drm-intel-next
      drm/i915/dp: use drm_dp_phy_name() for logging
      drm/i915/ipc: refactor and rename IPC functions
      drm/i915/ipc: move IPC debugfs to skl_watermark.c
      drm/i915/ipc: register debugfs only if IPC available
      drm/i915/display: move IPC under display wm sub-struct
      drm/i915/ipc: use intel_uncore_rmw() to enable/disable

Jouni Högander (4):
      drm/i915/psr: Equation changed for sending start/stop on prior line
      drm/i915/psr: Disable PSR2 when SDP is sent on prior line
      drm/i915/display: Use original src in psr2 sel fetch area calculation
      drm/i915/display: Use drm helper instead of own loop for damage clips

Madhumitha Tolakanahalli Pradeep (1):
      drm/i915/mtl: Update CHICKEN_TRANS* register addresses

Mitul Golani (1):
      drm/i915/display: Fix warning callstack for imbalance wakeref

Nathan Huckleberry (1):
      drm/i915: Fix return type of mode_valid function hook

Radhakrishna Sripada (4):
      drm/i915: Move display and media IP version to runtime info
      drm/i915/mtl: Add gmbus and gpio support
      drm/i915/mtl: Obtain SAGV values from MMIO instead of GT pcode mailbox
      drm/i915/mtl: Update MBUS_DBOX credits

Stanislav Lisovskiy (5):
      drm/i915: Start using REG_BIT* macros with CDCLK registers
      drm: Add missing DP DSC extended capability definitions.
      drm/i915: Fix intel_dp_mst_compute_link_config
      drm/i915: Extract drm_dp_atomic_find_vcpi_slots cycle to separate function
      drm/i915: Add DSC support to MST path

Swati Sharma (1):
      drm/i915/dsc: convert dsc debugfs entry from output_bpp to input_bpc

Ville Syrjälä (41):
      drm/i915/bios: Dump PNPID and panel name
      drm/i915/bios: Copy the whole MIPI sequence block
      drm/i915: Allow more varied alternate fixed modes for panels
      drm/i915/bios: Validate fp_timing terminator presence
      drm/i915/bios: Use hardcoded fp_timing size for generating LFP data pointers
      drm/i915: Implement WaEdpLinkRateDataReload
      Revert "drm/i915/display: Re-add check for low voltage sku for max dp source rate"
      drm/i915: Unify VBT version number comments
      drm/i915: Add some more VBT version number comments
      drm/i915: Properly define the DP redriver VBT bits
      drm/i915: Define VBT eDP/DP max lane count bits
      drm/i915: Add the VBT LTTPR transparent vs. non-transparent bits
      drm/i915: Define VBT max HDMI FRL rate bits
      drm/i915: Document the sets of bits in the driver features block
      drm/i915: Define more VBT driver features block bits
      drm/i915: Define all possible VBT device handles
      drm/i915: Rename some VBT bits
      drm/i915: Parse DP/eDP max lane count from VBT
      drm/i915: Relocate intel_crtc_dotclock()
      drm/i915: Shuffle some PLL code around
      drm/i915: Extract HAS_DOUBLE_BUFFERED_M_N()
      drm/i915/dsi: Extract {vlv,bxt}_get_pclk()
      drm/i915: Do .crtc_compute_clock() earlier
      drm/i915: Reassign DPLLs only for crtcs going throug .compute_config()
      drm/i915: Feed the DPLL output freq back into crtc_state
      drm/i915: Compute clocks earlier
      drm/i915: Make M/N checks non-fuzzy
      drm/i915: Make all clock checks non-fuzzy
      drm/i915: Set active dpll early for icl+
      drm/i915: Nuke fastet state copy hacks
      drm/i915: Skip intel_modeset_pipe_config_late() if the pipe is not enabled
      drm/i915: Add intel_panel_highest_mode()
      drm/i915: Allow M/N change during fastset on bdw+
      drm/i915: Use a fixed N value always
      drm/i915: Round TMDS clock to nearest
      drm/i915: Split intel_read_wm_latency() into per-platform versions
      drm/i915: Extract skl_watermark.c
      drm/i915: Use REG_FIELD_GET() to extract skl+ wm latencies
      drm/i915/bios: Fix VBT ACPI DPMS bit polarity
      drm/i915/bios: Add the "Disable compression for the Display Port/HDMI external display" bit
      drm/i915: Fix TV encoder clock computation

 drivers/gpu/drm/i915/Makefile                      |    3 +-
 drivers/gpu/drm/i915/display/g4x_dp.c              |    4 +-
 drivers/gpu/drm/i915/display/hsw_ips.c             |    2 +-
 drivers/gpu/drm/i915/display/i9xx_plane.c          |    2 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   22 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |    8 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    2 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |  102 +-
 drivers/gpu/drm/i915/display/intel_backlight.c     |   77 +-
 .../gpu/drm/i915/display/intel_backlight_regs.h    |  124 +
 drivers/gpu/drm/i915/display/intel_bios.c          |  392 +-
 drivers/gpu/drm/i915/display/intel_bios.h          |    1 +
 drivers/gpu/drm/i915/display/intel_bw.c            |  152 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  293 +-
 drivers/gpu/drm/i915/display/intel_cdclk.h         |    4 +-
 drivers/gpu/drm/i915/display/intel_color.c         |   35 +-
 drivers/gpu/drm/i915/display/intel_connector.c     |    8 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   13 +-
 .../gpu/drm/i915/display/intel_crtc_state_dump.c   |    9 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |   71 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  372 +-
 drivers/gpu/drm/i915/display/intel_display.h       |    6 +-
 drivers/gpu/drm/i915/display/intel_display_core.h  |  418 ++
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  147 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  153 +-
 .../gpu/drm/i915/display/intel_display_power_map.c |  119 +-
 .../drm/i915/display/intel_display_power_well.c    |  129 +-
 .../drm/i915/display/intel_display_power_well.h    |   16 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |    3 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           |  142 +-
 drivers/gpu/drm/i915/display/intel_dmc.h           |    1 +
 drivers/gpu/drm/i915/display/intel_dmc_regs.h      |    2 +
 drivers/gpu/drm/i915/display/intel_dp.c            |  147 +-
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |   57 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |    1 +
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  105 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |    8 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |    2 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |  111 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  326 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           |   30 +
 drivers/gpu/drm/i915/display/intel_dsb.h           |   28 -
 drivers/gpu/drm/i915/display/intel_dsi.c           |    2 +-
 drivers/gpu/drm/i915/display/intel_dsi.h           |    3 -
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |   14 +-
 drivers/gpu/drm/i915/display/intel_dvo_dev.h       |    4 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |   18 +-
 drivers/gpu/drm/i915/display/intel_fbc.h           |    1 +
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   36 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |   20 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |   56 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.h   |   18 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |  290 +-
 drivers/gpu/drm/i915/display/intel_gmbus.h         |    1 +
 drivers/gpu/drm/i915/display/intel_gmbus_regs.h    |   81 +
 drivers/gpu/drm/i915/display/intel_hdcp.c          |  139 +-
 drivers/gpu/drm/i915/display/intel_hdcp_regs.h     |  270 ++
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   12 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |  116 +-
 drivers/gpu/drm/i915/display/intel_lpe_audio.c     |   47 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    4 +-
 drivers/gpu/drm/i915/display/intel_modeset_setup.c |   15 +-
 .../gpu/drm/i915/display/intel_modeset_verify.c    |    8 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |   42 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |   16 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |   45 +-
 drivers/gpu/drm/i915/display/intel_panel.h         |    3 +
 drivers/gpu/drm/i915/display/intel_pch_refclk.c    |   16 +-
 drivers/gpu/drm/i915/display/intel_pch_refclk.h    |    1 +
 drivers/gpu/drm/i915/display/intel_plane_initial.c |    2 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |   51 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |   43 +-
 drivers/gpu/drm/i915/display/intel_quirks.c        |   25 +-
 drivers/gpu/drm/i915/display/intel_quirks.h        |   14 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |   18 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      | 1116 ++++++
 drivers/gpu/drm/i915/display/intel_tc.c            |    4 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |   23 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |  346 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    5 +-
 drivers/gpu/drm/i915/display/intel_vrr.c           |   14 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |    6 +-
 drivers/gpu/drm/i915/display/skl_watermark.c       | 3562 +++++++++++++++++
 drivers/gpu/drm/i915/display/skl_watermark.h       |   80 +
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   30 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |  141 +-
 drivers/gpu/drm/i915/display/vlv_dsi_regs.h        |  188 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   11 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |    4 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   18 +-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |    2 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |    4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |    2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   16 +-
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |    3 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c      |    4 +-
 drivers/gpu/drm/i915/gt/intel_ppgtt.c              |    2 +-
 drivers/gpu/drm/i915/gt/intel_region_lmem.c        |   17 +-
 drivers/gpu/drm/i915/gt/intel_sseu.c               |    5 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |    2 -
 drivers/gpu/drm/i915/gvt/cfg_space.c               |    5 +-
 drivers/gpu/drm/i915/gvt/edid.c                    |    3 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |    4 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |    7 +-
 drivers/gpu/drm/i915/i915_driver.c                 |   42 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  521 +--
 drivers/gpu/drm/i915/i915_gem.c                    |   44 +-
 drivers/gpu/drm/i915/i915_gem.h                    |   43 +
 drivers/gpu/drm/i915/i915_getparam.c               |    2 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |    3 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   94 +-
 drivers/gpu/drm/i915/i915_pci.c                    |  286 +-
 drivers/gpu/drm/i915/i915_pci.h                    |    6 +
 drivers/gpu/drm/i915/i915_perf.c                   |    3 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  541 +--
 drivers/gpu/drm/i915/i915_sw_fence.c               |    2 -
 drivers/gpu/drm/i915/i915_sw_fence.h               |    6 +-
 drivers/gpu/drm/i915/i915_utils.h                  |    4 -
 drivers/gpu/drm/i915/intel_device_info.c           |   91 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   93 +-
 drivers/gpu/drm/i915/intel_dram.c                  |   41 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c        |    1 +
 drivers/gpu/drm/i915/intel_pch.c                   |    9 +-
 drivers/gpu/drm/i915/intel_pch.h                   |    4 +
 drivers/gpu/drm/i915/intel_pci_config.h            |    7 +
 drivers/gpu/drm/i915/intel_pm.c                    | 4056 ++------------------
 drivers/gpu/drm/i915/intel_pm.h                    |   65 +-
 drivers/gpu/drm/i915/intel_uncore.c                |    2 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |    8 +-
 include/drm/i915_pciids.h                          |    1 +
 133 files changed, 9451 insertions(+), 7234 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_backlight_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_core.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_gmbus_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/skl_watermark.c
 create mode 100644 drivers/gpu/drm/i915/display/skl_watermark.h

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2022-08-29 13:22 Jani Nikula
@ 2022-09-15 11:55 ` Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2022-09-15 11:55 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, intel-gfx, dri-devel,
	Thomas Zimmermann, Rodrigo Vivi

On Mon, 29 Aug 2022, Jani Nikula <jani.nikula@intel.com> wrote:
> Hi Dave & Daniel -
>
> drm-intel-next-2022-08-29:
> drm/i915 feature pull for v6.1:

Hey, I started making another pull request, but realized you haven't
pulled this one yet. Anything the matter, or just fell between the
cracks?

BR,
Jani.


>
> Features and functionality:
> - Early Meteorlake (MTL) enabling (José, Radhakrishna, Clint, Imre, Vandita, Ville, Jani)
> - Support more HDMI pixel clock frequencies on DG2 (Clint)
> - Sanity check PCI BARs (Piotr Piórkowski)
> - Enable DC5 on DG2 (Anusha)
> - DG2 DMC firmware version bump to v2.07 (Madhumitha)
> - New ADL-S PCI ID (José)
>
> Refactoring and cleanups:
> - Add display sub-struct to struct drm_i915_private (Jani)
> - Add initial runtime info to device info (Jani)
> - Split out HDCP and backlight registers to separate files (Jani)
>
> Fixes:
> - Skip wm/ddb readout for disabled pipes (Ville)
> - HDMI port timing quirk for GLK ECS Liva Q2 (Diego Santa Cruz)
> - Fix bw init null pointer dereference (Łukasz Bartosik)
> - Disable PPS power hook for DP AUX backlight (Jouni)
> - Avoid warnings on registering multiple backlight devices (Arun)
> - Fix dual-link DSI backlight and CABC ports for display 11+ (Jani)
> - Fix Type-C PHY ownership programming in HDMI legacy mode (Imre)
> - Fix unclaimed register access while loading PIPEDMC-C/D (Imre)
> - Bump up CDCLK for DG2 (Stan)
> - Prune modes that require HDMI 2.1 FRL (Ankit)
> - Disable FBC when PSR1 is enabled in display 12-13 (Matt)
> - Fix TGL+ HDMI transcoder clock and DDI BUF disable order (Imre)
> - Disable PSR before disable pipe (José)
> - Disable DMC handlers during firmware loading/disabling on display 12+ (Imre)
> - Disable clock gating for PIPEDMC-A/B as a workaround (Imre)
>
> Merges:
> - Two drm-next backmerges (Rodrigo, Jani)
>
> BR,
> Jani.
>
> The following changes since commit 2c2d7a67defa198a8b8148dbaddc9e5554efebc8:
>
>   Merge tag 'drm-intel-gt-next-2022-08-24' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2022-08-26 10:03:43 +1000)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2022-08-29
>
> for you to fetch changes up to 917bda9ab155032a02be1a57ebd4d949ae9e1528:
>
>   Merge drm/drm-next into drm-intel-next (2022-08-29 15:14:59 +0300)
>
> ----------------------------------------------------------------
> drm/i915 feature pull for v6.1:
>
> Features and functionality:
> - Early Meteorlake (MTL) enabling (José, Radhakrishna, Clint, Imre, Vandita, Ville, Jani)
> - Support more HDMI pixel clock frequencies on DG2 (Clint)
> - Sanity check PCI BARs (Piotr Piórkowski)
> - Enable DC5 on DG2 (Anusha)
> - DG2 DMC firmware version bump to v2.07 (Madhumitha)
> - New ADL-S PCI ID (José)
>
> Refactoring and cleanups:
> - Add display sub-struct to struct drm_i915_private (Jani)
> - Add initial runtime info to device info (Jani)
> - Split out HDCP and backlight registers to separate files (Jani)
>
> Fixes:
> - Skip wm/ddb readout for disabled pipes (Ville)
> - HDMI port timing quirk for GLK ECS Liva Q2 (Diego Santa Cruz)
> - Fix bw init null pointer dereference (Łukasz Bartosik)
> - Disable PPS power hook for DP AUX backlight (Jouni)
> - Avoid warnings on registering multiple backlight devices (Arun)
> - Fix dual-link DSI backlight and CABC ports for display 11+ (Jani)
> - Fix Type-C PHY ownership programming in HDMI legacy mode (Imre)
> - Fix unclaimed register access while loading PIPEDMC-C/D (Imre)
> - Bump up CDCLK for DG2 (Stan)
> - Prune modes that require HDMI 2.1 FRL (Ankit)
> - Disable FBC when PSR1 is enabled in display 12-13 (Matt)
> - Fix TGL+ HDMI transcoder clock and DDI BUF disable order (Imre)
> - Disable PSR before disable pipe (José)
> - Disable DMC handlers during firmware loading/disabling on display 12+ (Imre)
> - Disable clock gating for PIPEDMC-A/B as a workaround (Imre)
>
> Merges:
> - Two drm-next backmerges (Rodrigo, Jani)
>
> ----------------------------------------------------------------
> Ankit Nautiyal (1):
>       drm/i915/hdmi: Prune modes that require HDMI2.1 FRL
>
> Anusha Srivatsa (3):
>       drm/i915/display: Cleanup intel_phy_is_combo()
>       drm/i915: Pass drm_i915_private struct instead of gt for gen11_gu_misc_irq_handler/ack()
>       drm/i915/dg2: Add support for DC5 state
>
> Arun R Murthy (1):
>       drm/i915/display: avoid warnings when registering dual panel backlight
>
> Bo Liu (1):
>       drm/i915/irq: Fix a "the the" typo
>
> Clint Taylor (1):
>       drm/i915/mtl: Fix rawclk for Meteorlake PCH
>
> Diego Santa Cruz (1):
>       drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk
>
> Imre Deak (6):
>       drm/i915/tgl+: Fix HDMI transcoder clock vs. DDI BUF disabling order
>       drm/i915/d12+: Disable DMC handlers during loading/disabling the firmware
>       drm/i915/d13: Add Wa_16015201720 disabling clock gating for PIPEDMC-A/B
>       drm/i915/xelpd: Fix unclaimed accesses while loading PIPEDMC-C/D
>       drm/i915/tc: Fix PHY ownership programming in HDMI legacy mode
>       drm/i915/mtl: Add VBT port and AUX_CH mapping
>
> Jani Nikula (42):
>       drm/i915/hdcp: split out hdcp registers to a separate file
>       drm/i915/hdcp: replace BIT() with REG_BIT() in register definitions
>       drm/i915/backlight: split out backlight registers to a separate file
>       drm/i915/dsi: filter invalid backlight and CABC ports
>       drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+
>       drm/i915/dsi: use VBT backlight and CABC port definitions directly
>       drm/i915/mtl: Meteorlake and later support DP 2.0
>       drm/i915/utils: remove unused KBps/MBps/GBps macros
>       drm/i915: combine device info printing into one
>       drm/i915: add initial runtime info into device info
>       drm/i915: move graphics.ver and graphics.rel to runtime info
>       drm/i915: move fbc_mask to runtime info
>       drm/i915: move page_sizes to runtime info
>       drm/i915: move ppgtt_type and ppgtt_size to runtime info
>       drm/i915: move has_pooled_eu to runtime info
>       drm/i915: move memory_regions to runtime info
>       drm/i915: move platform_engine_mask to runtime info
>       drm/i915: move pipe_mask and cpu_transcoder_mask to runtime info
>       drm/i915: move has_hdcp to runtime info
>       drm/i915: move has_dmc to runtime info
>       drm/i915: move has_dsc to runtime info
>       drm/i915: add display sub-struct to drm_i915_private
>       drm/i915: move cdclk_funcs to display.funcs
>       drm/i915: move dpll_funcs to display.funcs
>       drm/i915: move hotplug_funcs to display.funcs
>       drm/i915: move wm_disp funcs to display.funcs
>       drm/i915: move fdi_funcs to display.funcs
>       drm/i915: move color_funcs to display.funcs
>       drm/i915: move and group gmbus members under display.gmbus
>       drm/i915: move and group pps members under display.pps
>       drm/i915: move dmc to display.dmc
>       drm/i915: move and split audio under display.audio and display.funcs
>       drm/i915: move dpll under display.dpll
>       drm/i915: move and group fbdev under display.fbdev
>       drm/i915: move wm to display.wm
>       drm/i915: move hotplug to display.hotplug
>       drm/i915: move overlay to display.overlay
>       drm/i915: move and group sagv under display.sagv
>       drm/i915/vrr: drop window2_delay member from i915
>       drm/i915: move INTEL_FRONTBUFFER_* macros to intel_frontbuffer.h
>       drm/i915: split gem quirks from display quirks
>       Merge drm/drm-next into drm-intel-next
>
> José Roberto de Souza (4):
>       Revert "drm/i915/display: Ensure PSR gets disabled if no encoders in new state"
>       drm/i915/psr: Disable PSR before disable pipe
>       drm/i915/display/mtl: Extend MBUS programming
>       drm/i915: Add new ADL-S pci id
>
> Jouni Högander (2):
>       drm/i915/display: Ensure PSR gets disabled if no encoders in new state
>       drm/i915/backlight: Disable pps power hook for aux based backlight
>
> Madhumitha Tolakanahalli Pradeep (1):
>       drm/i915/dmc: Update DG2 DMC firmware to v2.07
>
> Matt Roper (1):
>       drm/i915: Add Wa_14016291713
>
> Piotr Piórkowski (2):
>       drm/i915: Use of BARs names instead of numbers
>       drm/i915: Sanitycheck PCI BARs
>
> Radhakrishna Sripada (6):
>       drm/i915/mtl: Add PCH support
>       drm/i915/mtl: Add support for MTL in Display Init sequences
>       drm/i915: Extract wm latency adjustment to its own function
>       drm/i915/mtl: memory latency data from LATENCY_LPX_LPY for WM
>       drm/i915/mtl: Update memory bandwidth parameters
>       drm/i915/mtl: Reuse adl-p DBUF calculations
>
> Rodrigo Vivi (1):
>       Merge drm/drm-next into drm-intel-next
>
> Stanislav Lisovskiy (1):
>       drm/i915/dg2: Bump up CDCLK for DG2
>
> Swati Sharma (1):
>       drm/i915/display: Add debug print for scaler filter
>
> Taylor, Clinton A (1):
>       drm/i915/dg2: Add additional HDMI pixel clock frequencies
>
> Vandita Kulkarni (2):
>       drm/i915/dsc/mtl: Update the DSC minor version
>       drm/i915/dsc/mtl: Enable alternate ICH method
>
> Ville Syrjälä (2):
>       drm/i915/mtl: Introduce FBC B
>       drm/i915: Skip wm/ddb readout for disabled pipes
>
> Łukasz Bartosik (1):
>       drm/i915: fix null pointer dereference
>
>  drivers/gpu/drm/i915/display/g4x_dp.c              |    4 +-
>  drivers/gpu/drm/i915/display/icl_dsi.c             |   20 +-
>  drivers/gpu/drm/i915/display/intel_audio.c         |   96 +-
>  drivers/gpu/drm/i915/display/intel_backlight.c     |   38 +-
>  .../gpu/drm/i915/display/intel_backlight_regs.h    |  124 +++
>  drivers/gpu/drm/i915/display/intel_bios.c          |   24 +-
>  drivers/gpu/drm/i915/display/intel_bw.c            |   66 +-
>  drivers/gpu/drm/i915/display/intel_cdclk.c         |   87 +-
>  drivers/gpu/drm/i915/display/intel_color.c         |   34 +-
>  .../gpu/drm/i915/display/intel_crtc_state_dump.c   |    9 +-
>  drivers/gpu/drm/i915/display/intel_ddi.c           |   46 +-
>  drivers/gpu/drm/i915/display/intel_display.c       |   82 +-
>  drivers/gpu/drm/i915/display/intel_display.h       |    4 +-
>  drivers/gpu/drm/i915/display/intel_display_core.h  |  261 +++++
>  .../gpu/drm/i915/display/intel_display_debugfs.c   |   55 +-
>  drivers/gpu/drm/i915/display/intel_display_power.c |   29 +-
>  .../drm/i915/display/intel_display_power_well.c    |   19 +-
>  drivers/gpu/drm/i915/display/intel_dmc.c           |  142 ++-
>  drivers/gpu/drm/i915/display/intel_dmc.h           |    1 +
>  drivers/gpu/drm/i915/display/intel_dmc_regs.h      |    2 +
>  drivers/gpu/drm/i915/display/intel_dp.c            |   24 +-
>  drivers/gpu/drm/i915/display/intel_dp_aux.c        |    2 +-
>  drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |    1 +
>  drivers/gpu/drm/i915/display/intel_dpll.c          |   24 +-
>  drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  112 +-
>  drivers/gpu/drm/i915/display/intel_dsi.h           |    3 -
>  .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |   14 +-
>  drivers/gpu/drm/i915/display/intel_fbc.c           |   12 +-
>  drivers/gpu/drm/i915/display/intel_fbc.h           |    1 +
>  drivers/gpu/drm/i915/display/intel_fbdev.c         |   26 +-
>  drivers/gpu/drm/i915/display/intel_fdi.c           |    8 +-
>  drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    2 +
>  drivers/gpu/drm/i915/display/intel_frontbuffer.h   |   18 +
>  drivers/gpu/drm/i915/display/intel_gmbus.c         |   46 +-
>  drivers/gpu/drm/i915/display/intel_hdcp.c          |    5 +-
>  drivers/gpu/drm/i915/display/intel_hdcp_regs.h     |  270 +++++
>  drivers/gpu/drm/i915/display/intel_hdmi.c          |   10 +
>  drivers/gpu/drm/i915/display/intel_hotplug.c       |  116 +-
>  drivers/gpu/drm/i915/display/intel_lpe_audio.c     |   47 +-
>  drivers/gpu/drm/i915/display/intel_modeset_setup.c |    2 +-
>  drivers/gpu/drm/i915/display/intel_overlay.c       |   12 +-
>  drivers/gpu/drm/i915/display/intel_pch_refclk.c    |    2 +-
>  drivers/gpu/drm/i915/display/intel_plane_initial.c |    2 +-
>  drivers/gpu/drm/i915/display/intel_pps.c           |   48 +-
>  drivers/gpu/drm/i915/display/intel_psr.c           |   16 +-
>  drivers/gpu/drm/i915/display/intel_quirks.c        |    3 +
>  drivers/gpu/drm/i915/display/intel_snps_phy.c      | 1116 ++++++++++++++++++++
>  drivers/gpu/drm/i915/display/intel_tc.c            |    4 +-
>  drivers/gpu/drm/i915/display/intel_vdsc.c          |    4 +-
>  drivers/gpu/drm/i915/display/intel_vrr.c           |   14 +-
>  drivers/gpu/drm/i915/display/skl_universal_plane.c |    2 +-
>  drivers/gpu/drm/i915/display/vlv_dsi.c             |    7 +-
>  drivers/gpu/drm/i915/gem/i915_gem_pages.c          |    4 +-
>  drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   11 +-
>  drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |    4 +-
>  drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   18 +-
>  .../drm/i915/gem/selftests/i915_gem_client_blt.c   |    2 +-
>  drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |    4 +-
>  drivers/gpu/drm/i915/gt/intel_engine_cs.c          |    2 +-
>  drivers/gpu/drm/i915/gt/intel_ggtt.c               |   16 +-
>  drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |    2 +-
>  drivers/gpu/drm/i915/gt/intel_gt.c                 |    3 +-
>  drivers/gpu/drm/i915/gt/intel_ppgtt.c              |    2 +-
>  drivers/gpu/drm/i915/gt/intel_region_lmem.c        |   17 +-
>  drivers/gpu/drm/i915/gt/intel_sseu.c               |    5 +-
>  drivers/gpu/drm/i915/gt/uc/intel_guc.c             |    2 -
>  drivers/gpu/drm/i915/gvt/cfg_space.c               |    5 +-
>  drivers/gpu/drm/i915/gvt/handlers.c                |    4 +-
>  drivers/gpu/drm/i915/i915_debugfs.c                |    5 +-
>  drivers/gpu/drm/i915/i915_driver.c                 |   23 +-
>  drivers/gpu/drm/i915/i915_drv.h                    |  284 +----
>  drivers/gpu/drm/i915/i915_gem.c                    |    5 +-
>  drivers/gpu/drm/i915/i915_getparam.c               |    2 +-
>  drivers/gpu/drm/i915/i915_gpu_error.c              |    3 +-
>  drivers/gpu/drm/i915/i915_irq.c                    |   94 +-
>  drivers/gpu/drm/i915/i915_pci.c                    |  266 ++---
>  drivers/gpu/drm/i915/i915_pci.h                    |    6 +
>  drivers/gpu/drm/i915/i915_reg.h                    |  404 +------
>  drivers/gpu/drm/i915/i915_utils.h                  |    4 -
>  drivers/gpu/drm/i915/intel_device_info.c           |   71 +-
>  drivers/gpu/drm/i915/intel_device_info.h           |   82 +-
>  drivers/gpu/drm/i915/intel_gvt_mmio_table.c        |    1 +
>  drivers/gpu/drm/i915/intel_pch.c                   |    9 +-
>  drivers/gpu/drm/i915/intel_pch.h                   |    4 +
>  drivers/gpu/drm/i915/intel_pci_config.h            |    7 +
>  drivers/gpu/drm/i915/intel_pm.c                    |  358 ++++---
>  drivers/gpu/drm/i915/intel_uncore.c                |    2 +-
>  drivers/gpu/drm/i915/selftests/mock_gem_device.c   |    8 +-
>  include/drm/i915_pciids.h                          |    1 +
>  89 files changed, 3172 insertions(+), 1684 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/display/intel_backlight_regs.h
>  create mode 100644 drivers/gpu/drm/i915/display/intel_display_core.h
>  create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_regs.h

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-08-29 13:22 Jani Nikula
  2022-09-15 11:55 ` Jani Nikula
  0 siblings, 1 reply; 252+ messages in thread
From: Jani Nikula @ 2022-08-29 13:22 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Thomas Zimmermann,
	Rodrigo Vivi, intel-gfx


Hi Dave & Daniel -

drm-intel-next-2022-08-29:
drm/i915 feature pull for v6.1:

Features and functionality:
- Early Meteorlake (MTL) enabling (José, Radhakrishna, Clint, Imre, Vandita, Ville, Jani)
- Support more HDMI pixel clock frequencies on DG2 (Clint)
- Sanity check PCI BARs (Piotr Piórkowski)
- Enable DC5 on DG2 (Anusha)
- DG2 DMC firmware version bump to v2.07 (Madhumitha)
- New ADL-S PCI ID (José)

Refactoring and cleanups:
- Add display sub-struct to struct drm_i915_private (Jani)
- Add initial runtime info to device info (Jani)
- Split out HDCP and backlight registers to separate files (Jani)

Fixes:
- Skip wm/ddb readout for disabled pipes (Ville)
- HDMI port timing quirk for GLK ECS Liva Q2 (Diego Santa Cruz)
- Fix bw init null pointer dereference (Łukasz Bartosik)
- Disable PPS power hook for DP AUX backlight (Jouni)
- Avoid warnings on registering multiple backlight devices (Arun)
- Fix dual-link DSI backlight and CABC ports for display 11+ (Jani)
- Fix Type-C PHY ownership programming in HDMI legacy mode (Imre)
- Fix unclaimed register access while loading PIPEDMC-C/D (Imre)
- Bump up CDCLK for DG2 (Stan)
- Prune modes that require HDMI 2.1 FRL (Ankit)
- Disable FBC when PSR1 is enabled in display 12-13 (Matt)
- Fix TGL+ HDMI transcoder clock and DDI BUF disable order (Imre)
- Disable PSR before disable pipe (José)
- Disable DMC handlers during firmware loading/disabling on display 12+ (Imre)
- Disable clock gating for PIPEDMC-A/B as a workaround (Imre)

Merges:
- Two drm-next backmerges (Rodrigo, Jani)

BR,
Jani.

The following changes since commit 2c2d7a67defa198a8b8148dbaddc9e5554efebc8:

  Merge tag 'drm-intel-gt-next-2022-08-24' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2022-08-26 10:03:43 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2022-08-29

for you to fetch changes up to 917bda9ab155032a02be1a57ebd4d949ae9e1528:

  Merge drm/drm-next into drm-intel-next (2022-08-29 15:14:59 +0300)

----------------------------------------------------------------
drm/i915 feature pull for v6.1:

Features and functionality:
- Early Meteorlake (MTL) enabling (José, Radhakrishna, Clint, Imre, Vandita, Ville, Jani)
- Support more HDMI pixel clock frequencies on DG2 (Clint)
- Sanity check PCI BARs (Piotr Piórkowski)
- Enable DC5 on DG2 (Anusha)
- DG2 DMC firmware version bump to v2.07 (Madhumitha)
- New ADL-S PCI ID (José)

Refactoring and cleanups:
- Add display sub-struct to struct drm_i915_private (Jani)
- Add initial runtime info to device info (Jani)
- Split out HDCP and backlight registers to separate files (Jani)

Fixes:
- Skip wm/ddb readout for disabled pipes (Ville)
- HDMI port timing quirk for GLK ECS Liva Q2 (Diego Santa Cruz)
- Fix bw init null pointer dereference (Łukasz Bartosik)
- Disable PPS power hook for DP AUX backlight (Jouni)
- Avoid warnings on registering multiple backlight devices (Arun)
- Fix dual-link DSI backlight and CABC ports for display 11+ (Jani)
- Fix Type-C PHY ownership programming in HDMI legacy mode (Imre)
- Fix unclaimed register access while loading PIPEDMC-C/D (Imre)
- Bump up CDCLK for DG2 (Stan)
- Prune modes that require HDMI 2.1 FRL (Ankit)
- Disable FBC when PSR1 is enabled in display 12-13 (Matt)
- Fix TGL+ HDMI transcoder clock and DDI BUF disable order (Imre)
- Disable PSR before disable pipe (José)
- Disable DMC handlers during firmware loading/disabling on display 12+ (Imre)
- Disable clock gating for PIPEDMC-A/B as a workaround (Imre)

Merges:
- Two drm-next backmerges (Rodrigo, Jani)

----------------------------------------------------------------
Ankit Nautiyal (1):
      drm/i915/hdmi: Prune modes that require HDMI2.1 FRL

Anusha Srivatsa (3):
      drm/i915/display: Cleanup intel_phy_is_combo()
      drm/i915: Pass drm_i915_private struct instead of gt for gen11_gu_misc_irq_handler/ack()
      drm/i915/dg2: Add support for DC5 state

Arun R Murthy (1):
      drm/i915/display: avoid warnings when registering dual panel backlight

Bo Liu (1):
      drm/i915/irq: Fix a "the the" typo

Clint Taylor (1):
      drm/i915/mtl: Fix rawclk for Meteorlake PCH

Diego Santa Cruz (1):
      drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk

Imre Deak (6):
      drm/i915/tgl+: Fix HDMI transcoder clock vs. DDI BUF disabling order
      drm/i915/d12+: Disable DMC handlers during loading/disabling the firmware
      drm/i915/d13: Add Wa_16015201720 disabling clock gating for PIPEDMC-A/B
      drm/i915/xelpd: Fix unclaimed accesses while loading PIPEDMC-C/D
      drm/i915/tc: Fix PHY ownership programming in HDMI legacy mode
      drm/i915/mtl: Add VBT port and AUX_CH mapping

Jani Nikula (42):
      drm/i915/hdcp: split out hdcp registers to a separate file
      drm/i915/hdcp: replace BIT() with REG_BIT() in register definitions
      drm/i915/backlight: split out backlight registers to a separate file
      drm/i915/dsi: filter invalid backlight and CABC ports
      drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+
      drm/i915/dsi: use VBT backlight and CABC port definitions directly
      drm/i915/mtl: Meteorlake and later support DP 2.0
      drm/i915/utils: remove unused KBps/MBps/GBps macros
      drm/i915: combine device info printing into one
      drm/i915: add initial runtime info into device info
      drm/i915: move graphics.ver and graphics.rel to runtime info
      drm/i915: move fbc_mask to runtime info
      drm/i915: move page_sizes to runtime info
      drm/i915: move ppgtt_type and ppgtt_size to runtime info
      drm/i915: move has_pooled_eu to runtime info
      drm/i915: move memory_regions to runtime info
      drm/i915: move platform_engine_mask to runtime info
      drm/i915: move pipe_mask and cpu_transcoder_mask to runtime info
      drm/i915: move has_hdcp to runtime info
      drm/i915: move has_dmc to runtime info
      drm/i915: move has_dsc to runtime info
      drm/i915: add display sub-struct to drm_i915_private
      drm/i915: move cdclk_funcs to display.funcs
      drm/i915: move dpll_funcs to display.funcs
      drm/i915: move hotplug_funcs to display.funcs
      drm/i915: move wm_disp funcs to display.funcs
      drm/i915: move fdi_funcs to display.funcs
      drm/i915: move color_funcs to display.funcs
      drm/i915: move and group gmbus members under display.gmbus
      drm/i915: move and group pps members under display.pps
      drm/i915: move dmc to display.dmc
      drm/i915: move and split audio under display.audio and display.funcs
      drm/i915: move dpll under display.dpll
      drm/i915: move and group fbdev under display.fbdev
      drm/i915: move wm to display.wm
      drm/i915: move hotplug to display.hotplug
      drm/i915: move overlay to display.overlay
      drm/i915: move and group sagv under display.sagv
      drm/i915/vrr: drop window2_delay member from i915
      drm/i915: move INTEL_FRONTBUFFER_* macros to intel_frontbuffer.h
      drm/i915: split gem quirks from display quirks
      Merge drm/drm-next into drm-intel-next

José Roberto de Souza (4):
      Revert "drm/i915/display: Ensure PSR gets disabled if no encoders in new state"
      drm/i915/psr: Disable PSR before disable pipe
      drm/i915/display/mtl: Extend MBUS programming
      drm/i915: Add new ADL-S pci id

Jouni Högander (2):
      drm/i915/display: Ensure PSR gets disabled if no encoders in new state
      drm/i915/backlight: Disable pps power hook for aux based backlight

Madhumitha Tolakanahalli Pradeep (1):
      drm/i915/dmc: Update DG2 DMC firmware to v2.07

Matt Roper (1):
      drm/i915: Add Wa_14016291713

Piotr Piórkowski (2):
      drm/i915: Use of BARs names instead of numbers
      drm/i915: Sanitycheck PCI BARs

Radhakrishna Sripada (6):
      drm/i915/mtl: Add PCH support
      drm/i915/mtl: Add support for MTL in Display Init sequences
      drm/i915: Extract wm latency adjustment to its own function
      drm/i915/mtl: memory latency data from LATENCY_LPX_LPY for WM
      drm/i915/mtl: Update memory bandwidth parameters
      drm/i915/mtl: Reuse adl-p DBUF calculations

Rodrigo Vivi (1):
      Merge drm/drm-next into drm-intel-next

Stanislav Lisovskiy (1):
      drm/i915/dg2: Bump up CDCLK for DG2

Swati Sharma (1):
      drm/i915/display: Add debug print for scaler filter

Taylor, Clinton A (1):
      drm/i915/dg2: Add additional HDMI pixel clock frequencies

Vandita Kulkarni (2):
      drm/i915/dsc/mtl: Update the DSC minor version
      drm/i915/dsc/mtl: Enable alternate ICH method

Ville Syrjälä (2):
      drm/i915/mtl: Introduce FBC B
      drm/i915: Skip wm/ddb readout for disabled pipes

Łukasz Bartosik (1):
      drm/i915: fix null pointer dereference

 drivers/gpu/drm/i915/display/g4x_dp.c              |    4 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   20 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |   96 +-
 drivers/gpu/drm/i915/display/intel_backlight.c     |   38 +-
 .../gpu/drm/i915/display/intel_backlight_regs.h    |  124 +++
 drivers/gpu/drm/i915/display/intel_bios.c          |   24 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |   66 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   87 +-
 drivers/gpu/drm/i915/display/intel_color.c         |   34 +-
 .../gpu/drm/i915/display/intel_crtc_state_dump.c   |    9 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |   46 +-
 drivers/gpu/drm/i915/display/intel_display.c       |   82 +-
 drivers/gpu/drm/i915/display/intel_display.h       |    4 +-
 drivers/gpu/drm/i915/display/intel_display_core.h  |  261 +++++
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   55 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |   29 +-
 .../drm/i915/display/intel_display_power_well.c    |   19 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           |  142 ++-
 drivers/gpu/drm/i915/display/intel_dmc.h           |    1 +
 drivers/gpu/drm/i915/display/intel_dmc_regs.h      |    2 +
 drivers/gpu/drm/i915/display/intel_dp.c            |   24 +-
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |    1 +
 drivers/gpu/drm/i915/display/intel_dpll.c          |   24 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  112 +-
 drivers/gpu/drm/i915/display/intel_dsi.h           |    3 -
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |   14 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |   12 +-
 drivers/gpu/drm/i915/display/intel_fbc.h           |    1 +
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   26 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |    8 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    2 +
 drivers/gpu/drm/i915/display/intel_frontbuffer.h   |   18 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |   46 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |    5 +-
 drivers/gpu/drm/i915/display/intel_hdcp_regs.h     |  270 +++++
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   10 +
 drivers/gpu/drm/i915/display/intel_hotplug.c       |  116 +-
 drivers/gpu/drm/i915/display/intel_lpe_audio.c     |   47 +-
 drivers/gpu/drm/i915/display/intel_modeset_setup.c |    2 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |   12 +-
 drivers/gpu/drm/i915/display/intel_pch_refclk.c    |    2 +-
 drivers/gpu/drm/i915/display/intel_plane_initial.c |    2 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |   48 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |   16 +-
 drivers/gpu/drm/i915/display/intel_quirks.c        |    3 +
 drivers/gpu/drm/i915/display/intel_snps_phy.c      | 1116 ++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_tc.c            |    4 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    4 +-
 drivers/gpu/drm/i915/display/intel_vrr.c           |   14 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |    2 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |    7 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   11 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |    4 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   18 +-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |    2 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |    4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |    2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   16 +-
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |    3 +-
 drivers/gpu/drm/i915/gt/intel_ppgtt.c              |    2 +-
 drivers/gpu/drm/i915/gt/intel_region_lmem.c        |   17 +-
 drivers/gpu/drm/i915/gt/intel_sseu.c               |    5 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |    2 -
 drivers/gpu/drm/i915/gvt/cfg_space.c               |    5 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |    4 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |    5 +-
 drivers/gpu/drm/i915/i915_driver.c                 |   23 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  284 +----
 drivers/gpu/drm/i915/i915_gem.c                    |    5 +-
 drivers/gpu/drm/i915/i915_getparam.c               |    2 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |    3 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   94 +-
 drivers/gpu/drm/i915/i915_pci.c                    |  266 ++---
 drivers/gpu/drm/i915/i915_pci.h                    |    6 +
 drivers/gpu/drm/i915/i915_reg.h                    |  404 +------
 drivers/gpu/drm/i915/i915_utils.h                  |    4 -
 drivers/gpu/drm/i915/intel_device_info.c           |   71 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   82 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c        |    1 +
 drivers/gpu/drm/i915/intel_pch.c                   |    9 +-
 drivers/gpu/drm/i915/intel_pch.h                   |    4 +
 drivers/gpu/drm/i915/intel_pci_config.h            |    7 +
 drivers/gpu/drm/i915/intel_pm.c                    |  358 ++++---
 drivers/gpu/drm/i915/intel_uncore.c                |    2 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |    8 +-
 include/drm/i915_pciids.h                          |    1 +
 89 files changed, 3172 insertions(+), 1684 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_backlight_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_core.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_regs.h

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-07-07  3:04 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2022-07-07  3:04 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Thomas Zimmermann,
	Rodrigo Vivi, intel-gfx

Hi Dave and Daniel,

Here goes drm-intel-next-2022-07-06 that shall be our last one
towards 5.20, containing only a few things:

- Suspend fixes for Display (Jose)
- Properly block D3Cold for now (Anshuman)
- Eliminate PIPECONF RMWs from .color_commit()(Ville)
- Display info clean-up (Ville)
- Fix error code (Dan)
- Fix possible refcount leak on DP MST (Hangyu)
- Other general display clean-ups (Jani, Tom)
- Add bios debug logs (Jani)
- PCH type clean-up (Ville)

Thanks,
Rodrigo.

The following changes since commit 6434cf630086eea2d091f122f5802582a05d9d1c:

  drm/i915/bios: calculate panel type as per child device index in VBT (2022-06-20 19:56:06 +0300)

are available in the Git repository at:

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

for you to fetch changes up to 3d9c653cf635849d0c24a1ab17c2752a19f4ded8:

  drm/i915: Nuke PCH_JSP (2022-07-06 20:33:47 +0300)

----------------------------------------------------------------
- Suspend fixes for Display (Jose)
- Properly block D3Cold for now (Anshuman)
- Eliminate PIPECONF RMWs from .color_commit()(Ville)
- Display info clean-up (Ville)
- Fix error code (Dan)
- Fix possible refcount leak on DP MST (Hangyu)
- Other general display clean-ups (Jani, Tom)
- Add bios debug logs (Jani)
- PCH type clean-up (Ville)

----------------------------------------------------------------
Anshuman Gupta (1):
      drm/i915/dgfx: Disable d3cold at gfx root port

Dan Carpenter (1):
      drm/i915: Fix error code in icl_compute_combo_phy_dpll()

Hangyu Hua (1):
      drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()

Jani Nikula (2):
      drm/i915/bios: debug log ddi port info after parsing
      drm/i915: use DISPLAY_VER() instead of accessing match_info directly

José Roberto de Souza (2):
      drm/i915: Call i915_gem_suspend() only after display is turned off
      drm/i915: Drain freed object after suspend display

Tom Rix (1):
      drm/i915/display: clean up comments

Ville Syrjälä (13):
      drm/i915: Eliminate PIPECONF RMWs from .color_commit()
      drm/i915: Move dbuf details to INTEL_INFO->display
      drm/i915: Move pipe_offsets[] & co. to INTEL_INFO->display
      drm/i915: Move display_mmio_offset under INTEL_INFO->display
      drm/i915: Make pipe_offsets[] & co. u32
      drm/i915: s/_CURSOR2/_MMIO_CURSOR2//
      drm/i915: Use _MMIO_TRANS2() where appropriate
      drm/i915: Use _MMIO_PIPE2() where appropriate
      drm/i915: Get rid of XE_LPD_CURSOR_OFFSETS
      drm/i915: Move the color stuff under INTEL_INFO->display
      drm/i915: Use short PCH names consistently
      drm/i915: Nuke PCH_MCC
      drm/i915: Nuke PCH_JSP

 drivers/gpu/drm/i915/display/intel_bios.c          |   8 +-
 drivers/gpu/drm/i915/display/intel_color.c         |  49 ++++-----
 drivers/gpu/drm/i915/display/intel_ddi.c           |   2 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  30 ++++--
 drivers/gpu/drm/i915/display/intel_display.h       |   4 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |   4 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   1 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   2 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |   8 +-
 drivers/gpu/drm/i915/i915_driver.c                 |  44 ++++----
 drivers/gpu/drm/i915/i915_pci.c                    | 112 ++++++++++-----------
 drivers/gpu/drm/i915/i915_reg.h                    |  47 +++++----
 drivers/gpu/drm/i915/intel_device_info.h           |  39 +++----
 drivers/gpu/drm/i915/intel_pch.c                   |  16 +--
 drivers/gpu/drm/i915/intel_pch.h                   |   8 +-
 drivers/gpu/drm/i915/intel_pm.c                    |   8 +-
 17 files changed, 192 insertions(+), 192 deletions(-)

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-06-22 19:53 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2022-06-22 19:53 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Thomas Zimmermann,
	Rodrigo Vivi, intel-gfx

Hi Dave and Daniel,

Here goes the first pull request targeting 5.20.

Kudos to Jani and Ville for a good driver clean-up.
And many other fixes and improvements from the team.

drm-intel-next-2022-06-22:
- General driver clean-up (Jani, Ville, Julia)
- DG2 enabling (Anusha, Vandita)
- Fix sparse warnings (Imre, Jani)
- DMC MMIO range checks (Anusha)
- Audio related fixes (Jani)
- Runtime PM fixes (Anshuman)
- PSR fixes (Jouni, Jose)
- Media freq factor and per-gt enhancements (Ashutosh, Dale)
- DSI fixes for ICL+ (Jani)
- Disable DMC flip queue handlers (Imre)
- ADL_P voltage swing updates (Balasubramani)
- Use more the VBT for panel information (Ville, Animesh)
- Fix on Type-C ports with TBT mode (Vivek)
- Improve fastset and allow seamless M/N changes (Ville)
- Accept more fixed modes with VRR/DMRRS panels (Ville)
- FBC fix (Jose)
- Remove noise logs (Luca)
- Disable connector polling for a headless SKU (Jouni)
- Sanitize display underrun reporting (Ville)
- ADL-S display PLL w/a (Ville)

Thanks,
Rodrigo.

The following changes since commit 949665a6e237a6fd49ff207e3876d71b20b7e9f2:

  drm/i915: Respect VBT seamless DRRS min refresh rate (2022-05-05 18:27:53 +0300)

are available in the Git repository at:

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

for you to fetch changes up to 6434cf630086eea2d091f122f5802582a05d9d1c:

  drm/i915/bios: calculate panel type as per child device index in VBT (2022-06-20 19:56:06 +0300)

----------------------------------------------------------------
- General driver clean-up (Jani, Ville, Julia)
- DG2 enabling (Anusha, Vandita)
- Fix sparse warnings (Imre, Jani)
- DMC MMIO range checks (Anusha)
- Audio related fixes (Jani)
- Runtime PM fixes (Anshuman)
- PSR fixes (Jouni, Jose)
- Media freq factor and per-gt enhancements (Ashutosh, Dale)
- DSI fixes for ICL+ (Jani)
- Disable DMC flip queue handlers (Imre)
- ADL_P voltage swing updates (Balasubramani)
- Use more the VBT for panel information (Ville, Animesh)
- Fix on Type-C ports with TBT mode (Vivek)
- Improve fastset and allow seamless M/N changes (Ville)
- Accept more fixed modes with VRR/DMRRS panels (Ville)
- FBC fix (Jose)
- Remove noise logs (Luca)
- Disable connector polling for a headless SKU (Jouni)
- Sanitize display underrun reporting (Ville)
- ADL-S display PLL w/a (Ville)

----------------------------------------------------------------
Animesh Manna (1):
      drm/i915/bios: calculate panel type as per child device index in VBT

Anshuman Gupta (1):
      drm/i915: Use drm_dbg for rpm logging

Anusha Srivatsa (2):
      drm/i915/dmc: Load DMC on DG2
      drm/i915/dmc: Add MMIO range restrictions

Ashutosh Dixit (2):
      drm/i915: Introduce has_media_ratio_mode
      drm/i915/pcode: Extend pcode functions for multiple gt's

Balasubramani Vivekanandan (2):
      drm/i915/display/adl_p: Updates to HDMI combo PHY voltage swing table
      drm/i915/display/adlp: More updates to voltage swing table

Dale B Stimson (1):
      drm/i915/pcode: Add a couple of pcode helpers

Imre Deak (2):
      drm/i915: Fix 'mixing different enum types' warnings in intel_display_power.c
      drm/i915/d12+: Disable DMC firmware flip queue handlers

Jani Nikula (26):
      drm/i915: remove unused GEM_DEBUG_DECL() and GEM_DEBUG_BUG_ON()
      drm/i915: remove single-use GEM_DEBUG_EXEC()
      drm/i915/audio: fix audio code enable/disable pipe logging
      drm/i915/reg: fix undefined behavior due to shift overflowing the constant
      drm/i915/dsi: fix VBT send packet port selection for ICL+
      drm/i915/display: stop using BUG()
      drm/i915/regs: split out intel audio register definitions
      drm/i915/tasklet: separate local hacks around struct tasklet_struct
      drm/i915/drv: drop intel_bios.h include
      drm/i915/utils: throw out unused stuff
      drm/i915/pxp: fix sparse warning for not declared symbol
      drm/i915/overlay: remove redundant GEM_BUG_ON()
      drm/i915/bios: use dvi and hdmi support helpers
      drm/i915/bios: no need to pass i915 to parse_ddi_port()
      drm/i915/bios: split ddi port parsing and debug printing
      drm/i915/wm: move wm state verification to intel_pm.c
      drm/i915/dpll: move shared dpll state verification to intel_dpll_mgr.c
      drm/i915/mpllb: use I915_STATE_WARN() for state mismatch warnings
      drm/i915/mpllb: move mpllb state check to intel_snps_phy.c
      drm/i915/display: split out modeset verification code
      drm/i915/display: split out crtc state dump to a separate file
      drm/i915/display: change who adds [] around crtc state dump context string
      drm/i915/display: rename dev_priv -> i915 in crtc state dump
      drm/i915/display: some struct drm_i915_private *i915 conversions
      drm/i915/display: split out hw state readout and sanitize
      drm/i915/display: convert modeset setup to struct drm_i915_private *i915

Jason A. Donenfeld (1):
      drm/i915/display: Re-add check for low voltage sku for max dp source rate

José Roberto de Souza (2):
      drm/i915/display/fbc: Do not apply WA 22014263786 to DG2
      drm/i915/display: Fix handling of enable_psr parameter

Jouni Högander (5):
      drm/i915/psr: Use full update In case of area calculation fails
      drm/i915: Ensure damage clip area is within pipe area
      drm/i915/opregion: add function to check if headless sku
      drm/i915: Do not start connector polling if display is disabled
      drm/i915: Do not start connector polling on headless sku

Julia Lawall (1):
      drm/i915: fix typos in comments

Luca Coelho (1):
      drm/i915: remove noisy logs in intel_dp_dsc_get_output_bpp()

Vandita Kulkarni (1):
      drm/i915/dg2: Support 4k@30 on HDMI

Ville Syrjälä (42):
      drm/i915: Rename block_size()/block_offset()
      drm/i915: Pass intel_connector to intel_vrr_is_capable()
      drm/i915: Extract intel_edp_fixup_vbt_bpp()
      drm/i915/pps: Split pps_init_delays() into distinct parts
      drm/i915/pps: Introduce pps_delays_valid()
      drm/i915/pps: Don't apply quirks/etc. to the VBT PPS delays if they haven't been initialized
      drm/i915/pps: Stash away original BIOS programmed PPS delays
      drm/i915/pps: Split PPS init+sanitize in two
      drm/i915/pps: Reinit PPS delays after VBT has been fully parsed
      drm/i915/pps: Keep VDD enabled during eDP probe
      drm/i915/bios: Split parse_driver_features() into two parts
      drm/i915/bios: Split VBT parsing to global vs. panel specific parts
      drm/i915/bios: Split VBT data into per-panel vs. global parts
      drm/i915/bios: Determine panel type via PNPID match
      drm/i915: Split shared dpll .get_dplls() into compute and get phases
      drm/i915: Clean up DPLL related debugs
      drm/i915: Extract PIPE_CONF_CHECK_TIMINGS()
      drm/i915: Extract PIPE_CONF_CHECK_RECT()
      drm/i915: Adjust intel_modeset_pipe_config() & co. calling convention
      drm/i915: s/pipe_config/crtc_state/
      drm/i915: Improve modeset debugs
      drm/i915: Check hw.enable and hw.active in intel_pipe_config_compare()
      drm/i915: Require an exact DP link freq match for the DG2 PLL
      drm/i915: Parse VRR capability from VBT
      drm/i915: Print out rejected fixed modes
      drm/i915: Accept more fixed modes with VRR panels
      drm/i915/bios: Fix aggressiveness typos
      drm/i915/bios: Define more BDB contents
      drm/i915: Treat DMRRS as static DRRS
      drm/i915: Initialize eDP source rates after per-panel VBT parsing
      drm/i915: Update eDP fast link training link rate parsing
      drm/i915: Parse max link rate from the eDP BDB block
      drm/i915: Extract intel_crtc_dotclock()
      drm/i915: Introduce struct iclkip_params
      drm/i915: Skip FDI vs. dotclock sanity check during readout
      drm/i915: Extract intel_sanitize_fifo_underrun_reporting()
      drm/i915: Sanitize underrun reporting before turning off any pipes
      drm/i915: Remove bogus LPT iCLKIP WARN
      drm/i915/bios: Move panel_type stuff out of parse_panel_options()
      drm/i915/bios: Don't parse the DPS panel type when the VBT does not have it
      drm/i915/bios: Introduce panel_bits() and panel_bool()
      drm/i915: Implement w/a 22010492432 for adl-s

Vivek Kasireddy (1):
      drm/i915/tc: Don't default disconnected legacy Type-C ports to TBT mode (v2)

 drivers/gpu/drm/i915/Makefile                      |    3 +
 drivers/gpu/drm/i915/TODO.txt                      |    2 +-
 drivers/gpu/drm/i915/display/g4x_dp.c              |   22 +-
 drivers/gpu/drm/i915/display/hsw_ips.c             |    4 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   11 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |    5 +-
 drivers/gpu/drm/i915/display/intel_audio_regs.h    |  160 ++
 drivers/gpu/drm/i915/display/intel_backlight.c     |   23 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  652 ++++---
 drivers/gpu/drm/i915/display/intel_bios.h          |    7 +
 drivers/gpu/drm/i915/display/intel_bw.c            |    6 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   16 +-
 drivers/gpu/drm/i915/display/intel_color.c         |    2 +-
 .../gpu/drm/i915/display/intel_crtc_state_dump.c   |  314 ++++
 .../gpu/drm/i915/display/intel_crtc_state_dump.h   |   16 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |   52 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |   37 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 1826 ++------------------
 drivers/gpu/drm/i915/display/intel_display.h       |   19 +
 drivers/gpu/drm/i915/display/intel_display_power.c |   14 +-
 .../drm/i915/display/intel_display_power_well.c    |    4 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   89 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           |  147 +-
 drivers/gpu/drm/i915/display/intel_dmc_regs.h      |   59 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  126 +-
 drivers/gpu/drm/i915/display/intel_dp.h            |    2 +
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |    6 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |   89 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  413 +++--
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    8 +
 drivers/gpu/drm/i915/display/intel_drrs.c          |    3 -
 drivers/gpu/drm/i915/display/intel_dsi.c           |    2 +-
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |    9 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |   89 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |    3 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_modeset_setup.c |  734 ++++++++
 drivers/gpu/drm/i915/display/intel_modeset_setup.h |   15 +
 .../gpu/drm/i915/display/intel_modeset_verify.c    |  246 +++
 .../gpu/drm/i915/display/intel_modeset_verify.h    |   21 +
 drivers/gpu/drm/i915/display/intel_opregion.c      |   14 +
 drivers/gpu/drm/i915/display/intel_opregion.h      |    7 +
 drivers/gpu/drm/i915/display/intel_overlay.c       |    2 -
 drivers/gpu/drm/i915/display/intel_panel.c         |   66 +-
 drivers/gpu/drm/i915/display/intel_panel.h         |    3 +-
 drivers/gpu/drm/i915/display/intel_pch_refclk.c    |   91 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |  129 +-
 drivers/gpu/drm/i915/display/intel_pps.h           |    1 +
 drivers/gpu/drm/i915/display/intel_psr.c           |   72 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    5 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |   77 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.h      |    5 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |    3 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   67 +-
 drivers/gpu/drm/i915/display/intel_vrr.c           |   30 +-
 drivers/gpu/drm/i915/display/intel_vrr.h           |    4 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   14 +-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c      |    4 +-
 drivers/gpu/drm/i915/gt/intel_llc.c                |    3 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c                |    4 +-
 drivers/gpu/drm/i915/gt/intel_ring.c               |    3 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |    5 +-
 drivers/gpu/drm/i915/gt/selftest_llc.c             |    2 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |    2 +-
 drivers/gpu/drm/i915/i915_driver.c                 |   12 +-
 drivers/gpu/drm/i915/i915_drv.h                    |   70 +-
 drivers/gpu/drm/i915/i915_gem.h                    |   39 -
 drivers/gpu/drm/i915/i915_pci.c                    |    2 +
 drivers/gpu/drm/i915/i915_reg.h                    |  186 +-
 drivers/gpu/drm/i915/i915_scheduler.h              |    1 +
 drivers/gpu/drm/i915/i915_tasklet.h                |   43 +
 drivers/gpu/drm/i915/i915_utils.h                  |   40 -
 drivers/gpu/drm/i915/intel_device_info.h           |    1 +
 drivers/gpu/drm/i915/intel_dram.c                  |    2 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c        |    2 +
 drivers/gpu/drm/i915/intel_pcode.c                 |   93 +-
 drivers/gpu/drm/i915/intel_pcode.h                 |   20 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  148 +-
 drivers/gpu/drm/i915/intel_pm.h                    |   14 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c       |    5 +-
 84 files changed, 3769 insertions(+), 2796 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_audio_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_crtc_state_dump.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_modeset_setup.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_modeset_setup.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_modeset_verify.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_modeset_verify.h
 create mode 100644 drivers/gpu/drm/i915/i915_tasklet.h

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-05-06 10:47 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2022-05-06 10:47 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, Jason Gunthorpe, dri-devel,
	Christoph Hellwig, Thomas Zimmermann, Rodrigo Vivi, intel-gfx,
	Wang, Zhi A


Hi Dave & Daniel -

drm-intel-next-2022-05-06:
drm/i915 feature pull #2 for v5.19:

Features and functionality:
- Add first set of DG2 PCI IDs for "motherboard down" designs (Matt Roper)
- Add initial RPL-P PCI IDs as ADL-P subplatform (Matt Atwood)

Refactoring and cleanups:
- Power well refactoring and cleanup (Imre)
- GVT-g refactor and mdev API cleanup (Christoph, Jason, Zhi)
- DPLL refactoring and cleanup (Ville)
- VBT panel specific data parsing cleanup (Ville)
- Use drm_mode_init() for on-stack modes (Ville)

Fixes:
- Fix PSR state pipe A/B confusion by clearing more state on disable (José)
- Fix FIFO underruns caused by not taking DRAM channel into account (Vinod)
- Fix FBC flicker on display 11+ by enabling a workaround (José)
- Fix VBT seamless DRRS min refresh rate check (Ville)
- Fix panel type assumption on bogus VBT data (Ville)
- Fix panel data parsing for VBT that misses panel data pointers block (Ville)
- Fix spurious AUX timeout/hotplug handling on LTTPR links (Imre)

Merges:
- Backmerge drm-next (Jani)
- GVT changes (Jani)

BR,
Jani.

The following changes since commit 19df0cfa258cd42f7f106f6085f1e625f26283db:

  Merge tag 'drm-misc-next-2022-04-21' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2022-04-22 11:15:30 +1000)

are available in the Git repository at:

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

for you to fetch changes up to 949665a6e237a6fd49ff207e3876d71b20b7e9f2:

  drm/i915: Respect VBT seamless DRRS min refresh rate (2022-05-05 18:27:53 +0300)

----------------------------------------------------------------
drm/i915 feature pull #2 for v5.19:

Features and functionality:
- Add first set of DG2 PCI IDs for "motherboard down" designs (Matt Roper)
- Add initial RPL-P PCI IDs as ADL-P subplatform (Matt Atwood)

Refactoring and cleanups:
- Power well refactoring and cleanup (Imre)
- GVT-g refactor and mdev API cleanup (Christoph, Jason, Zhi)
- DPLL refactoring and cleanup (Ville)
- VBT panel specific data parsing cleanup (Ville)
- Use drm_mode_init() for on-stack modes (Ville)

Fixes:
- Fix PSR state pipe A/B confusion by clearing more state on disable (José)
- Fix FIFO underruns caused by not taking DRAM channel into account (Vinod)
- Fix FBC flicker on display 11+ by enabling a workaround (José)
- Fix VBT seamless DRRS min refresh rate check (Ville)
- Fix panel type assumption on bogus VBT data (Ville)
- Fix panel data parsing for VBT that misses panel data pointers block (Ville)
- Fix spurious AUX timeout/hotplug handling on LTTPR links (Imre)

Merges:
- Backmerge drm-next (Jani)
- GVT changes (Jani)

----------------------------------------------------------------
Christoph Hellwig (27):
      drm/i915/gvt: remove module refcounting in intel_gvt_{,un}register_hypervisor
      drm/i915/gvt: remove enum hypervisor_type
      drm/i915/gvt: rename intel_vgpu_ops to intel_vgpu_mdev_ops
      drm/i915/gvt: move the gvt code into kvmgt.ko
      drm/i915/gvt: remove intel_gvt_ops
      drm/i915/gvt: remove the map_gfn_to_mfn and set_trap_area ops
      drm/i915/gvt: remove the unused from_virt_to_mfn op
      drm/i915/gvt: merge struct kvmgt_vdev into struct intel_vgpu
      drm/i915/gvt: merge struct kvmgt_guest_info into strut intel_vgpu
      drm/i915/gvt: remove vgpu->handle
      drm/i915/gvt: devirtualize ->{read,write}_gpa
      drm/i915/gvt: devirtualize ->{get,put}_vfio_device
      drm/i915/gvt: devirtualize ->set_edid and ->set_opregion
      drm/i915/gvt: devirtualize ->detach_vgpu
      drm/i915/gvt: devirtualize ->inject_msi
      drm/i915/gvt: devirtualize ->is_valid_gfn
      drm/i915/gvt: devirtualize ->gfn_to_mfn
      drm/i915/gvt: devirtualize ->{enable,disable}_page_track
      drm/i915/gvt: devirtualize ->dma_{,un}map_guest_page
      drm/i915/gvt: devirtualize dma_pin_guest_page
      drm/i915/gvt: remove struct intel_gvt_mpt
      drm/i915/gvt: remove the extra vfio_device refcounting for dmabufs
      drm/i915/gvt: streamline intel_vgpu_create
      drm/i915/gvt: pass a struct intel_vgpu to the vfio read/write helpers
      drm/i915/gvt: remove kvmgt_guest_{init,exit}
      drm/i915/gvt: convert to use vfio_register_emulated_iommu_dev
      drm/i915/gvt: merge gvt.c into kvmgvt.c

Hans de Goede (1):
      drm/i915: Fix DISP_POS_Y and DISP_HEIGHT defines

Imre Deak (21):
      drm/i915: Move per-platform power well hooks to intel_display_power_well.c
      drm/i915: Unexport the for_each_power_well() macros
      drm/i915: Move the power domain->well mappings to intel_display_power_map.c
      drm/i915: Move the dg2 fixed_enable_delay power well param to a common bitfield
      drm/i915: Move the HSW power well flags to a common bitfield
      drm/i915: Rename the power domain names to end with pipes/ports
      drm/i915: Sanitize the power well names
      drm/i915: Convert the power well descriptor domain mask to an array of domains
      drm/i915: Convert the u64 power well domains mask to a bitmap
      drm/i915: Simplify power well definitions by adding power well instances
      drm/i915: Allow platforms to share power well descriptors
      drm/i915: Simplify the DG1 power well descriptors
      drm/i915: Sanitize the ADL-S power well definition
      drm/i915: Sanitize the port -> DDI/AUX power domain mapping for each platform
      drm/i915: Remove the aliasing of power domain enum values
      drm/i915: Remove the ICL specific TBT power domains
      drm/i915: Remove duplicate DDI/AUX power domain mappings
      drm/i915: Remove the XELPD specific AUX and DDI power domains
      drm/i915: Fixup merge of the power well refactor patchset
      drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses
      drm/i915/dp: Add workaround for spurious AUX timeouts/hotplugs on LTTPR links

Jani Nikula (8):
      drm/i915/gvt: fix trace TRACE_INCLUDE_PATH
      drm/i915/gvt: better align the Makefile with i915 Makefile
      Merge tag 'gvt-next-2022-04-21-for-christoph' of https://github.com/intel/gvt-linux into drm-intel-next
      Merge tag 'gvt-next-2022-04-26' of https://github.com/intel/gvt-linux into drm-intel-next
      Merge drm/drm-next into drm-intel-next
      Merge tag 'gvt-next-2022-04-29' of https://github.com/intel/gvt-linux into drm-intel-next
      drm/i915: move tons of power well initializers to rodata
      drm/i915: warn about missing ->get_buf_trans initialization

Jason Gunthorpe (5):
      vfio/mdev: Remove vfio_mdev.c
      vfio/mdev: Remove mdev_parent_ops dev_attr_groups
      vfio/mdev: Remove mdev_parent_ops
      vfio/mdev: Use the driver core to create the 'remove' file
      vfio/mdev: Remove mdev drvdata

José Roberto de Souza (3):
      drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
      drm/i915/display/psr: Clear more PSR state during disable
      drm/i915/display: Add workaround 22014263786

Jouni Högander (1):
      drm/i915: Check EDID for HDR static metadata when choosing blc

Matt Atwood (1):
      drm/i915/rpl-p: Add PCI IDs

Matt Roper (1):
      drm/i915: Add first set of DG2 PCI IDs

Ville Syrjälä (22):
      drm/i915: Program i830 DPLL FP register later
      drm/i915/fbc: Consult hw.crtc instead of uapi.crtc
      drm/i915/fbc: s/false/0/
      drm/i915: Make .get_dplls() return int
      drm/i915: Pass dev_priv to intel_shared_dpll_init()
      drm/i915: Remove pointless dpll_funcs checks
      drm/i915: Adjust .crtc_compute_clock() calling convention
      drm/i915: Move stuff into intel_dpll_crtc_compute_clock()
      drm/i915: Move the dpll_hw_state clearing to intel_dpll_crtc_compute_clock()
      drm/i915: Clear the dpll_hw_state when disabling a pipe
      drm/i915: Split out dg2_crtc_compute_clock()
      drm/i915: Add crtc .crtc_get_shared_dpll()
      drm/i915: Use drm_mode_init() for on-stack modes
      drm/i915/bios: Reorder panel DTD parsing
      drm/i915/bios: Generate LFP data table pointers if the VBT lacks them
      drm/i915/bios: Get access to the tail end of the LFP data block
      drm/i915/bios: Document the mess around the LFP data tables
      drm/i915/bios: Assume panel_type==0 if the VBT has bogus data
      drm/i915/bios: Extract get_panel_type()
      drm/i915/bios: Refactor panel_type code
      drm/i915/bios: Parse the seamless DRRS min refresh rate
      drm/i915: Respect VBT seamless DRRS min refresh rate

Vinod Govindapillai (1):
      drm/i915: program wm blocks to at least blocks required per line

Wan Jiabing (1):
      i915/gvt: Fix NULL pointer dereference in init_mmio_block_handlers

Zhi Wang (6):
      i915/gvt: Separate the MMIO tracking table from GVT-g
      i915/gvt: Save the initial HW state snapshot in i915
      i915/gvt: Use the initial HW state snapshot saved in i915
      drm/i915/gvt: Add missing symbol export.
      drm/i915/gvt: Make intel_gvt_match_device() static
      drm/i915/gvt: Fix the compiling error when CONFIG_DRM_I915_DEBUG_RUNTIME_PM=n

 Documentation/driver-api/vfio-mediated-device.rst  |   27 +-
 arch/x86/kernel/early-quirks.c                     |    1 +
 drivers/gpu/drm/i915/Kconfig                       |   36 +-
 drivers/gpu/drm/i915/Makefile                      |    9 +-
 drivers/gpu/drm/i915/display/g4x_dp.c              |    3 +-
 drivers/gpu/drm/i915/display/g4x_hdmi.c            |    3 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |    8 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  345 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |    6 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |    4 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  176 +-
 drivers/gpu/drm/i915/display/intel_display.h       |    4 +-
 drivers/gpu/drm/i915/display/intel_display_power.c | 5283 +++-----------------
 drivers/gpu/drm/i915/display/intel_display_power.h |  126 +-
 .../gpu/drm/i915/display/intel_display_power_map.c | 1501 ++++++
 .../gpu/drm/i915/display/intel_display_power_map.h |   14 +
 .../drm/i915/display/intel_display_power_well.c    | 1813 ++++++-
 .../drm/i915/display/intel_display_power_well.h    |  132 +-
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |   34 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   33 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |    1 +
 drivers/gpu/drm/i915/display/intel_dpll.c          |  196 +-
 drivers/gpu/drm/i915/display/intel_dpll.h          |    6 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  268 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    9 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |   19 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |   10 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |    1 +
 drivers/gpu/drm/i915/display/intel_psr.c           |   41 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |    5 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   24 +-
 drivers/gpu/drm/i915/gvt/Makefile                  |   30 +-
 drivers/gpu/drm/i915/gvt/cfg_space.c               |   89 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |    4 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |   36 +-
 drivers/gpu/drm/i915/gvt/execlist.c                |   12 +-
 drivers/gpu/drm/i915/gvt/firmware.c                |   25 +-
 drivers/gpu/drm/i915/gvt/gtt.c                     |   55 +-
 drivers/gpu/drm/i915/gvt/gvt.c                     |  340 --
 drivers/gpu/drm/i915/gvt/gvt.h                     |  128 +-
 drivers/gpu/drm/i915/gvt/handlers.c                | 1035 +---
 drivers/gpu/drm/i915/gvt/hypercall.h               |   82 -
 drivers/gpu/drm/i915/gvt/interrupt.c               |   40 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c                   | 1097 ++--
 drivers/gpu/drm/i915/gvt/mmio.c                    |    4 +-
 drivers/gpu/drm/i915/gvt/mmio.h                    |    1 -
 drivers/gpu/drm/i915/gvt/mpt.h                     |  400 --
 drivers/gpu/drm/i915/gvt/opregion.c                |  148 +-
 drivers/gpu/drm/i915/gvt/page_track.c              |    8 +-
 drivers/gpu/drm/i915/gvt/reg.h                     |    9 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |   37 +-
 drivers/gpu/drm/i915/gvt/trace.h                   |    2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c                    |   22 +-
 drivers/gpu/drm/i915/i915_driver.c                 |    7 -
 drivers/gpu/drm/i915/i915_drv.h                    |    8 +-
 drivers/gpu/drm/i915/i915_pci.c                    |    3 +-
 drivers/gpu/drm/i915/i915_reg.h                    |    7 +-
 drivers/gpu/drm/i915/intel_device_info.c           |   30 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   11 +-
 drivers/gpu/drm/i915/intel_gvt.c                   |  252 +-
 drivers/gpu/drm/i915/intel_gvt.h                   |   32 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c        | 1292 +++++
 drivers/gpu/drm/i915/intel_pm.c                    |   19 +
 drivers/s390/cio/vfio_ccw_ops.c                    |    7 +-
 drivers/s390/crypto/vfio_ap_ops.c                  |    9 +-
 drivers/vfio/mdev/Makefile                         |    2 +-
 drivers/vfio/mdev/mdev_core.c                      |   52 +-
 drivers/vfio/mdev/mdev_driver.c                    |   10 -
 drivers/vfio/mdev/mdev_private.h                   |    6 +-
 drivers/vfio/mdev/mdev_sysfs.c                     |   37 +-
 drivers/vfio/mdev/vfio_mdev.c                      |  152 -
 include/drm/i915_pciids.h                          |   31 +
 include/linux/mdev.h                               |   82 +-
 samples/vfio-mdev/mbochs.c                         |    9 +-
 samples/vfio-mdev/mdpy.c                           |    9 +-
 samples/vfio-mdev/mtty.c                           |   39 +-
 76 files changed, 7587 insertions(+), 8261 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_power_map.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_power_map.h
 delete mode 100644 drivers/gpu/drm/i915/gvt/gvt.c
 delete mode 100644 drivers/gpu/drm/i915/gvt/hypercall.h
 delete mode 100644 drivers/gpu/drm/i915/gvt/mpt.h
 create mode 100644 drivers/gpu/drm/i915/intel_gvt_mmio_table.c
 delete mode 100644 drivers/vfio/mdev/vfio_mdev.c

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-04-13 15:51 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2022-04-13 15:51 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Thomas Zimmermann,
	Rodrigo Vivi, intel-gfx


Hi Dave & Daniel -

The first drm/i915 pull for v5.19.

BR,
Jani.


drm-intel-next-2022-04-13-1:
drm/i915 feature pull for v5.19:

Features and functionality:
- Add support for new Tile 4 format on DG2 (Stan)
- Add support for new CCS clear color compression on DG2 (Mika, Juha-Pekka)
- Add support for new render and media compression formats on DG2 (Matt)
- Support multiple eDP and LVDS native mode refresh rates (Ville)
- Support static DRRS (Ville)
- ATS-M platform info (Matt)
- RPL-S PCI IDs (Tejas)
- Extend DP HDR support to HSW+ (Uma)
- Bump ADL-P DMC version to v2.16 (Madhumitha)
- Let users disable PSR2 while enabling PSR1 (José)

Refactoring and cleanups:
- Massive DRRS and panel fixed mode refactoring and cleanups (Ville)
- Power well refactoring and cleanup (Imre)
- Clean up and refactor crtc readout and compute config (Ville)
- Use kernel string helpers (Lucas)
- Refactor gmbus pin lookups and allocation (Jani)
- PCH display cleanups (Ville)
- DPLL and DPLL manager refactoring (Ville)
- Include and header refactoring (Jani, Tvrtko)
- DMC abstractions (Jani)
- Non-x86 build refactoring (Casey)
- VBT parsing refactoring (Ville)
- Bigjoiner refactoring (Ville)
- Optimize plane, pfit, scaler, etc. programming using unlocked writes (Ville)
- Split several register writes in commit to noarm+arm pairs (Ville)
- Clean up SAGV handling (Ville)
- Clean up bandwidth and ddb allocation (Ville)
- FBC cleanups (Ville)

Fixes:
- Fix native HDMI and DP HDMI DFP clock limits on deep color/4:2:0 (Ville)
- Fix DMC firmware platform check (Lucas)
- Fix cursor coordinates on bigjoiner secondary (Ville)
- Fix MSO vs. bigjoiner timing confusion (Ville)
- Fix ADL-P eDP voltage swing (José)
- Fix VRR capability property update (Manasi)
- Log DG2 SNPS PHY calibration errors (Matt, Lucas)
- Fix PCODE request status checks (Stan)
- Fix uncore unclaimed access warnings (Lucas)
- Fix VBT new max TMDS clock parsing (Shawn)
- Fix ADL-P non-existent underrun recovery (Swathi Dhanavanthri)
- Fix ADL-N stepping info (Tejas)
- Fix DPT mapping flags to contiguous (Stan)
- Fix DG2 max display bandwidth (Vinod)
- Fix DP low voltage SKU checks (Ankit)
- Fix RPL-S VT-d translation enable via quirk (Tejas)
- Fixes to PSR2 (José)
- Fix PIPE_MBUS_DBOX_CTL programming (José)
- Fix LTTPR capability read/check on DP 1.2 (Imre)
- Fix ADL-P register corruption after DDI clock enabling (Imre)
- Fix ADL-P MBUS DBOX BW and B credits (Caz)

Merges:
- Backmerge drm-next (Rodrigo, Jani)


The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

  Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2022-04-13-1

for you to fetch changes up to b39d2c6202426b560641e5800c5523851b5db586:

  drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flush (2022-04-13 17:20:49 +0300)

----------------------------------------------------------------
drm/i915 feature pull for v5.19:

Features and functionality:
- Add support for new Tile 4 format on DG2 (Stan)
- Add support for new CCS clear color compression on DG2 (Mika, Juha-Pekka)
- Add support for new render and media compression formats on DG2 (Matt)
- Support multiple eDP and LVDS native mode refresh rates (Ville)
- Support static DRRS (Ville)
- ATS-M platform info (Matt)
- RPL-S PCI IDs (Tejas)
- Extend DP HDR support to HSW+ (Uma)
- Bump ADL-P DMC version to v2.16 (Madhumitha)
- Let users disable PSR2 while enabling PSR1 (José)

Refactoring and cleanups:
- Massive DRRS and panel fixed mode refactoring and cleanups (Ville)
- Power well refactoring and cleanup (Imre)
- Clean up and refactor crtc readout and compute config (Ville)
- Use kernel string helpers (Lucas)
- Refactor gmbus pin lookups and allocation (Jani)
- PCH display cleanups (Ville)
- DPLL and DPLL manager refactoring (Ville)
- Include and header refactoring (Jani, Tvrtko)
- DMC abstractions (Jani)
- Non-x86 build refactoring (Casey)
- VBT parsing refactoring (Ville)
- Bigjoiner refactoring (Ville)
- Optimize plane, pfit, scaler, etc. programming using unlocked writes (Ville)
- Split several register writes in commit to noarm+arm pairs (Ville)
- Clean up SAGV handling (Ville)
- Clean up bandwidth and ddb allocation (Ville)
- FBC cleanups (Ville)

Fixes:
- Fix native HDMI and DP HDMI DFP clock limits on deep color/4:2:0 (Ville)
- Fix DMC firmware platform check (Lucas)
- Fix cursor coordinates on bigjoiner secondary (Ville)
- Fix MSO vs. bigjoiner timing confusion (Ville)
- Fix ADL-P eDP voltage swing (José)
- Fix VRR capability property update (Manasi)
- Log DG2 SNPS PHY calibration errors (Matt, Lucas)
- Fix PCODE request status checks (Stan)
- Fix uncore unclaimed access warnings (Lucas)
- Fix VBT new max TMDS clock parsing (Shawn)
- Fix ADL-P non-existent underrun recovery (Swathi Dhanavanthri)
- Fix ADL-N stepping info (Tejas)
- Fix DPT mapping flags to contiguous (Stan)
- Fix DG2 max display bandwidth (Vinod)
- Fix DP low voltage SKU checks (Ankit)
- Fix RPL-S VT-d translation enable via quirk (Tejas)
- Fixes to PSR2 (José)
- Fix PIPE_MBUS_DBOX_CTL programming (José)
- Fix LTTPR capability read/check on DP 1.2 (Imre)
- Fix ADL-P register corruption after DDI clock enabling (Imre)
- Fix ADL-P MBUS DBOX BW and B credits (Caz)

Merges:
- Backmerge drm-next (Rodrigo, Jani)

----------------------------------------------------------------
Animesh Manna (1):
      drm/i915/dsb: modified to drm_info in dsb_prepare()

Ankit Nautiyal (2):
      drm/i915/display: Remove check for low voltage sku for max dp source rate
      drm/i915/intel_combo_phy: Print I/O voltage info

Ashutosh Dixit (1):
      drm/i915/pmu: Drop redundant IS_VALLEYVIEW check in __get_rc6()

Casey Bowman (1):
      drm/i915: Split i915_run_as_guest into x86 and non-x86

Caz Yokoyama (1):
      drm/i915/display/adlp: Adjust MBUS DBOX BW and B credits

Changcheng Deng (1):
      drm/i915/dsi: use min_t() to make code cleaner

Colin Ian King (1):
      drm/i915: make a handful of read-only arrays static const

Imre Deak (10):
      drm/i915: Fix the VDSC_PW2 power domain enum value
      drm/i915: Sanitize open-coded power well enable()/disable() calls
      drm/i915: Remove redundant state verification during TypeC AUX power well disabling
      drm/i915: Move i915_power_well_regs struct into i915_power_well_ops
      drm/i915: Move power well get/put/enable/disable functions to a new file
      drm/i915: Add function to call a power well's sync_hw() hook
      drm/i915: Add functions to get a power well's state/name/domains/mask/refcount
      drm/i915: Move intel_display_power_well_is_enabled() to intel_display_power_well.c
      drm/i915: Add a DP1.2 compatible way to read LTTPR capabilities
      drm/i915/adlp: Fix register corruption after DDI clock enabling

Jani Nikula (23):
      drm/i915/wm: use REG_FIELD_{PREP,GET} for PLANE_WM_BLOCKS_MASK
      drm/i915/gmbus: combine gmbus pin lookups to one function
      drm/i915/gmbus: reduce gmbus pin lookups in gmbus setup
      drm/i915/gmbus: pass gpio reg to intel_gpio_setup()
      drm/i915/gmbus: alloc intel_gmbus dynamically
      drm/i915: include linux/highmem.h and linux/swap.h where needed
      drm/i915/gmbus: move some local bus variables within loops
      drm/i915/gmbus: use to_intel_gmbus() instead of open coding
      x86/gpu: include drm/i915_pciids.h directly in early quirks
      drm/i915: move i915_gem_object_needs_bit17_swizzle() to i915_gem_tiling.[ch]
      drm/i915: include uapi/drm/i915_drm.h directly where needed
      drm/i915/sdvo: prefer __packed over __attribute__((packed))
      drm/i915/dmc: simplify intel_dmc_load_program() conditions
      drm/i915/dmc: move assert_dmc_loaded() to intel_dmc.c
      drm/i915/dmc: move dmc debugfs to intel_dmc.c
      drm/i915/dmc: fix i915_reg_t usage
      drm/i915/audio: unify audio codec enable/disable debug logging
      drm/i915/audio: move has_audio checks to within codec enable/disable
      drm/i915/dp: make DSC usage logging actually useful
      drm/i915/dmc: abstract GPU error state dump
      drm/i915/dmc: hide DMC version macros
      drm/i915/dmc: split out dmc registers to a separate file
      Merge drm/drm-next into drm-intel-next

José Roberto de Souza (13):
      drm/i915/display: Allow users to disable PSR2
      drm/i915/display/adlp: Update eDP voltage swing table
      drm/i915/display: Fix HPD short pulse handling for eDP
      drm/i915/display: Do not re-enable PSR after it was marked as not reliable
      drm/i915/display/adlp: More voltage swing table updates
      docs: gpu: i915.rst: Fix DRRS documentation
      drm/i915/display/tgl+: Set default values for all registers in PIPE_MBUS_DBOX_CTL
      drm/i915/display/adlp: Fix programing of PIPE_MBUS_DBOX_CTL
      drm/i915/display: Add HAS_MBUS_JOINING
      drm/i915/display/psr: Set partial frame enable when forcing full frame fetch
      drm/i915/display/psr: Lock and unlock PSR around pipe updates
      drm/i915/display/psr: Use continuos full frame to handle frontbuffer invalidations
      drm/i915/display: Fix warnings about PSR lock not held

Jouni Högander (1):
      drm/i915/psr: Set "SF Partial Frame Enable" also on full update

Juha-Pekka Heikkilä (1):
      drm/i915/dg2: Add support for DG2 clear color compression

Lee Shawn C (1):
      drm/i915: update new TMDS clock setting defined by VBT

Lucas De Marchi (8):
      drm/i915/dmc: Do not try loading wrong DMC version
      drm/i915: Use str_yes_no()
      drm/i915: Use str_enable_disable()
      drm/i915: Use str_enabled_disabled()
      drm/i915: Use str_on_off()
      drm/i915/uncore: Warn on previous unclaimed accesses
      drm/i915/uncore: Warn only if unclaimed access remains flagged
      drm/i915/dg2: Do not explode on phy calibration error

Madhumitha Tolakanahalli Pradeep (1):
      drm/i915/dmc: Update DMC to v2.16 on ADL-P

Manasi Navare (1):
      drm/i915/display/vrr: Reset VRR capable property on a long hpd

Matt Roper (4):
      drm/i915/dg2: Skip output init on PHY calibration failure
      drm/i915/ats-m: add ATS-M platform info
      drm/fourcc: Introduce format modifiers for DG2 render and media compression
      drm/i915/dg2: Add support for DG2 render and media compression

Mika Kahola (1):
      drm/fourcc: Introduce format modifier for DG2 clear color

Rodrigo Vivi (1):
      Merge drm/drm-next into drm-intel-next

Stanislav Lisovskiy (5):
      drm/i915: Introduce new Tile 4 format
      drm/i915/dg2: Tile 4 plane format support
      drm/i915/dg2: Use I915_BO_ALLOC_CONTIGUOUS flag for DPT
      drm/i915: Fix skl_pcode_try_request function
      drm/i915: Swap ret and status returned from skl_pcode_request

Swathi Dhanavanthri (1):
      drm/i915/display/adlp: Remove code related to underrun recovery

Tejas Upadhyay (3):
      iommu/vt-d: Add RPLS to quirk list to skip TE disabling
      drm/i915/adl-n: Add stepping info
      drm/i915: Add RPL-S PCI IDs

Tvrtko Ursulin (1):
      drm/i915: Move intel_vtd_active and run_as_guest to i915_utils

Uma Shankar (1):
      drm/i915/display: Extend DP HDR support to hsw+

Ville Syrjälä (144):
      drm/i915: Optimize icl+ universal plane programming
      drm/i915: Make skl+ universal plane registers unlocked
      drm/i915: Make cursor plane registers unlocked
      drm/i915: Make most pre-skl primary plane registers unlocked
      drm/i915: Make pre-skl sprite plane registers unlocked
      drm/i915: s/JSP2/ICP2/ PCH
      drm/i915: Avoid negative shift due to bigjoiner_pipes==0
      drm/i915: Fix cursor coordinates on bigjoiner slave
      drm/i915: Remove nop bigjoiner state copy
      drm/i915: Rename variables in intel_crtc_compute_config()
      drm/i915: Extract intel_splitter_adjust_timings()
      drm/i915: Extract intel_bigjoiner_adjust_timings()
      drm/i915: Extract intel_crtc_compute_pipe_src()
      drm/i915: Extract intel_crtc_compute_pipe_mode()
      drm/i915: Fix MSO vs. bigjoiner timings confusion
      drm/i915: Don't skip ddb allocation if data_rate==0
      drm/i915: Check async flip capability early on
      drm/i915: Fix the async flip wm0/ddb optimization
      drm/i915: Pimp async flip debugs
      drm/i915: Move framestart_delay to crtc_state
      drm/i915: Remove framestart_delay sanitation
      drm/i915: Relocate ibx pch port sanitation code
      drm/i915: Relocate a few more pch transcoder bits
      drm/i915: Nuke skl_wrpll_context_init()
      drm/i915: Move a bunch of stuff into rodata from the stack
      drm/i915: Clean up some struct/array initializers
      drm/i915: Remove bxt m2_frac_en
      drm/i915: Use designated initializers for bxt_dp_clk_val[]
      drm/i915: Start tracking PIPESRC as a drm_rect
      drm/i915: Eliminate bigjoiner boolean
      drm/i915: Use bigjoiner_pipes more
      drm/i915: Remove leftover cnl SAGV block time
      drm/i915: Make the PIPESRC rect relative to the entire bigjoiner area
      drm/i915: Store the /5 target clock in struct dpll on vlv/chv
      drm/i915: Remove redundant/wrong comments
      drm/i915: Clean up bxt/glk PLL registers
      drm/i915: Store the m2 divider as a whole in bxt_clk_div
      drm/i915: Replace bxt_clk_div with struct dpll
      drm/i915: Replace hand rolled bxt vco calculation with chv_calc_dpll_params()
      drm/i915: Populate bxt/glk DPLL clock limits a bit more
      drm/i915: Remove struct dp_link_dpll
      drm/i915: Fix up some DRRS type checks
      drm/i915: Constify intel_drrs_init() args
      drm/i915: Pimp DRRS debugs
      drm/i915: Read DRRS MSA timing delay from VBT
      drm/i915: Program MSA timing delay on ilk/snb/ivb
      drm/i915: Polish drrs type enum
      drm/i915: Clean up DRRS refresh rate enum
      drm/i915: Rename PIPECONF refresh select bits
      drm/i915/dsi: Pass fixed_mode to *_dsi_add_properties()
      drm/i915/sdvo: Pass the requesed mode to intel_sdvo_create_preferred_input_timing()
      drm/i915/lvds: Pass fixed_mode to compute_is_dual_link_lvds()
      drm/i915: Simplify intel_panel_info()
      drm/i915: Nuke dev_priv->drrs.type
      drm/i915: Introduce intel_panel_{fixed,downclock}_mode()
      drm/i915: Introduce intel_panel_get_modes()
      drm/i915: Introduce intel_panel_preferred_fixed_mode()
      drm/i915: Introduce intel_panel_drrs_type()
      drm/i915: Introduce intel_drrs_type_str()
      drm/i915: Eliminate the intel_dp dependency from DRRS
      drm/i915: Stash DRRS state under intel_crtc
      drm/i915: Move DRRS enable/disable higher up
      drm/i915: Enable eDP DRRS on ilk/snb port A
      drm/i915: Implement static DRRS
      drm/i915: Convert fixed_mode/downclock_mode into a list
      drm/i915: Use drm_mode_copy()
      drm/i915: Put the downclock_mode check back into can_enable_drrs()
      drm/i915: Add missing tab to DRRS debugfs
      drm/i915: Fix DRRS frontbuffer_bits handling
      drm/i915: Determine DRRS frontbuffer_bits ahead of time
      drm/i915: Don't cancel/schedule drrs work if the pipe wasn't affected
      drm/i915: Schedule DRRS work from intel_drrs_enable()
      drm/i915: Do DRRS disable/enable during pre/post_plane_update()
      drm/i915: Deal with bigjoiner vs. DRRS
      drm/i915: Reject unsupported TMDS rates on ICL+
      drm/i915: Treat SAGV block time 0 as SAGV disabled
      drm/i915: Rework SAGV block time probing
      drm/i915: Probe whether SAGV works on pre-icl
      drm/i915: Reject excessive SAGV block time
      drm/i915: Rename pre-icl SAGV enable/disable functions
      drm/i915: Fix PSF GV point mask when SAGV is not possible
      drm/i915: Unconfuses QGV vs. PSF point masks
      drm/i915: Rename QGV request/response bits
      drm/i915: Tweak plane ddb allocation tracking
      drm/i915: Split plane data_rate into data_rate+data_rate_y
      drm/i915: Pre-calculate plane relative data rate
      drm/i915: Remove total[] and uv_total[] from ddb allocation
      drm/i915: Nuke intel_bw_calc_min_cdclk()
      drm/i915: Round up when calculating display bandwidth requirements
      drm/i915: Properly write lock bw_state when it changes
      drm/i915: Fix DBUF bandwidth vs. cdclk handling
      drm/i915: Add "maximum pipe read bandwidth" checks
      drm/i915: s/enable/active/ for DRRS
      drm/i915: Remove locks around skl+ scaler programming
      drm/i915: Make ilk+ pfit regiser unlocked
      drm/i915: Split color_commit() into noarm+arm pair
      drm/i915: Split pipe+output CSC programming to noarm+arm pair
      drm/i915: Pass intel_connector to intel_panel_{init,fini}()
      drm/i915: Use DRM_MODE_FMT+DRM_MODE_ARG()
      drm/i915: Extract intel_edp_add_properties()
      drm/i915: Use intel_panel_preferred_fixed_mode() more
      drm/i915: Rename intel_panel_vbt_fixed_mode()
      drm/i915: Extract intel_panel_vbt_sdvo_fixed_mode()
      drm/i915: Extract intel_panel_encoder_fixed_mode()
      drm/i915: Use intel_panel_edid_fixed_mode() for sdvo
      drm/i915: Change SDVO fixed mode handling
      drm/i915: Extract intel_edp_has_drrs()
      drm/i915: Put fixed modes directly onto the panel's fixed_modes list
      drm/i915: Refactor non-EDID fixed mode duplication
      drm/i915: Nuke intel_drrs_init()
      drm/i915: Combine the EDID fixed_mode+downclock_mode lookup into one
      drm/i915: Stop duplicating the EDID fixed/downclock modes
      drm/i915: Allow an arbitrary number of downclock modes
      drm/i915: Allow higher refresh rate alternate fixed modes
      drm/i915: Move intel_drrs_compute_config() into intel_dp.c
      drm/i915: Allow static DRRS on all eDP ports
      drm/i915: Allow static DRRS on LVDS
      drm/i915: Use drm_connector_attach_hdr_output_metadata_property()
      drm/i915: Remove dead members from dev_priv
      drm/i915/bios: Extract struct lvds_lfp_data_ptr_table
      drm/i915/dp: Extract intel_dp_tmds_clock_valid()
      drm/i915/dp: Respect the sink's max TMDS clock when dealing with DP->HDMI DFPs
      drm/i915/dp: Extract intel_dp_has_audio()
      drm/i915/dp: s/intel_dp_hdmi_ycbcr420/intel_dp_is_ycbcr420/
      drm/i915/dp: Reorder intel_dp_compute_config() a bit
      drm/i915/dp: Pass around intel_connector rather than drm_connector
      drm/i915/dp: Make intel_dp_output_format() usable for "4:2:0 also" modes
      drm/i915/dp: Rework HDMI DFP TMDS clock handling
      drm/i915/dp: Add support for "4:2:0 also" modes for DP
      drm/i915/dp: Duplicate native HDMI TMDS clock limit handling for DP HDMI DFPs
      drm/i915/dp: Fix DFP rgb->ycbcr conversion matrix
      drm/i915/bios: Use the cached BDB version
      drm/i915/bios: Make copies of VBT data blocks
      drm/i915/bios: Use the copy of the LFP data table always
      drm/i915/bios: Validate LFP data table pointers
      drm/i915/bios: Trust the LFP data pointers
      drm/i915/bios: Validate the panel_name table
      drm/i915/fbc: Eliminate possible_framebuffer_bits
      drm/i915/fbc: Streamline frontbuffer busy bits handling
      drm/i915/fbc: Skip nuke when flip is pending
      drm/i915: Remove remaining locks from i9xx plane udpates
      drm/i915/fbc: Remove intel_fbc_global_disable()
      drm/i915/fbc: Introduce intel_fbc_sanitize()
      drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flush

Vinod Govindapillai (1):
      drm/i915: Handle the DG2 max bw properly

 Documentation/gpu/i915.rst                         |  14 +-
 arch/x86/kernel/early-quirks.c                     |   1 +
 drivers/gpu/drm/dp/drm_dp.c                        |  58 +-
 drivers/gpu/drm/i915/Makefile                      |   1 +
 drivers/gpu/drm/i915/display/g4x_dp.c              |  73 +-
 drivers/gpu/drm/i915/display/g4x_hdmi.c            |  36 +-
 drivers/gpu/drm/i915/display/i9xx_plane.c          |  24 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |  16 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  | 140 ++--
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |   3 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |  45 +-
 drivers/gpu/drm/i915/display/intel_backlight.c     |   3 +-
 drivers/gpu/drm/i915/display/intel_bios.c          | 506 +++++++++----
 drivers/gpu/drm/i915/display/intel_bw.c            | 312 +++++---
 drivers/gpu/drm/i915/display/intel_bw.h            |  12 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  96 +--
 drivers/gpu/drm/i915/display/intel_cdclk.h         |   2 +
 drivers/gpu/drm/i915/display/intel_color.c         |  95 ++-
 drivers/gpu/drm/i915/display/intel_color.h         |   3 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |  35 +-
 drivers/gpu/drm/i915/display/intel_connector.c     |   4 +-
 drivers/gpu/drm/i915/display/intel_crtc.c          |   8 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |  27 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  32 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |  40 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 784 ++++++++++-----------
 drivers/gpu/drm/i915/display/intel_display.h       |   3 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   | 302 +++-----
 drivers/gpu/drm/i915/display/intel_display_power.c | 541 +++-----------
 drivers/gpu/drm/i915/display/intel_display_power.h |  37 +-
 .../drm/i915/display/intel_display_power_well.c    | 113 +++
 .../drm/i915/display/intel_display_power_well.h    | 153 ++++
 drivers/gpu/drm/i915/display/intel_display_trace.h |   9 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  43 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           | 131 +++-
 drivers/gpu/drm/i915/display/intel_dmc.h           |  10 +-
 drivers/gpu/drm/i915/display/intel_dmc_regs.h      |  30 +
 drivers/gpu/drm/i915/display/intel_dp.c            | 581 +++++++++------
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  31 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   8 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |  44 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      | 144 ++--
 drivers/gpu/drm/i915/display/intel_dpt.c           |   2 +-
 drivers/gpu/drm/i915/display/intel_drrs.c          | 406 ++++-------
 drivers/gpu/drm/i915/display/intel_drrs.h          |  20 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           |   7 +-
 drivers/gpu/drm/i915/display/intel_dsi.c           |  24 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |   7 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |  49 +-
 drivers/gpu/drm/i915/display/intel_fb.c            |  68 +-
 drivers/gpu/drm/i915/display/intel_fb.h            |   1 +
 drivers/gpu/drm/i915/display/intel_fbc.c           |  96 ++-
 drivers/gpu/drm/i915/display/intel_fbc.h           |   2 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |   8 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         | 142 ++--
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   1 +
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   3 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |  57 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |  22 +-
 drivers/gpu/drm/i915/display/intel_panel.c         | 359 ++++++----
 drivers/gpu/drm/i915/display/intel_panel.h         |  33 +-
 drivers/gpu/drm/i915/display/intel_pch_display.c   |  99 ++-
 drivers/gpu/drm/i915/display/intel_pch_display.h   |  10 +
 drivers/gpu/drm/i915/display/intel_plane_initial.c |   1 +
 drivers/gpu/drm/i915/display/intel_psr.c           | 183 ++++-
 drivers/gpu/drm/i915/display/intel_psr.h           |   5 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |  88 +--
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |   8 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  51 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |  12 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |  21 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |  24 +-
 drivers/gpu/drm/i915/display/intel_vrr.c           |   4 +-
 drivers/gpu/drm/i915/display/skl_scaler.c          |  22 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c | 266 +++++--
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  15 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   8 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c           |   2 +
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_region.c         |   2 +
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   8 +
 drivers/gpu/drm/i915/gem/i915_gem_tiling.h         |   2 +
 drivers/gpu/drm/i915/gem/i915_gemfs.c              |   3 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |  10 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |   7 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |   1 +
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |   3 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  11 +-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |   7 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   5 +-
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |   2 +
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   3 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c      |  54 +-
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            |   1 -
 drivers/gpu/drm/i915/gt/intel_gtt.c                |  12 +
 drivers/gpu/drm/i915/gt/intel_gtt.h                |   2 +
 drivers/gpu/drm/i915/gt/intel_rc6.c                |   5 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |   3 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |  13 +-
 drivers/gpu/drm/i915/gt/intel_sseu.c               |   9 +-
 drivers/gpu/drm/i915/gt/intel_sseu_debugfs.c       |  10 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |   3 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c          |   5 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |   5 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c          |   6 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c        |   3 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  14 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.c      |  20 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |   1 +
 drivers/gpu/drm/i915/gvt/handlers.c                |  20 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c             |   2 +
 drivers/gpu/drm/i915/i915_debugfs.c                |  18 +-
 drivers/gpu/drm/i915/i915_driver.c                 |   5 +-
 drivers/gpu/drm/i915/i915_driver.h                 |   4 +
 drivers/gpu/drm/i915/i915_drv.h                    | 122 +---
 drivers/gpu/drm/i915/i915_gpu_error.c              |  21 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |   6 +
 drivers/gpu/drm/i915/i915_params.c                 |   7 +-
 drivers/gpu/drm/i915/i915_pci.c                    |  39 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   5 +-
 drivers/gpu/drm/i915/i915_reg.h                    | 133 ++--
 drivers/gpu/drm/i915/i915_suspend.c                |   4 -
 drivers/gpu/drm/i915/i915_utils.c                  |  11 +
 drivers/gpu/drm/i915/i915_utils.h                  |  37 +-
 drivers/gpu/drm/i915/intel_device_info.c           |  11 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   1 +
 drivers/gpu/drm/i915/intel_dram.c                  |  10 +-
 drivers/gpu/drm/i915/intel_memory_region.c         |   2 +
 drivers/gpu/drm/i915/intel_memory_region.h         |   2 +-
 drivers/gpu/drm/i915/intel_pch.c                   |   3 +-
 drivers/gpu/drm/i915/intel_pcode.c                 |   4 +-
 drivers/gpu/drm/i915/intel_pm.c                    | 526 +++++++-------
 drivers/gpu/drm/i915/intel_pm.h                    |   1 +
 drivers/gpu/drm/i915/intel_step.c                  |   7 +
 drivers/gpu/drm/i915/intel_uncore.c                |  27 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c       |   4 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_session.c       |   2 -
 drivers/gpu/drm/i915/selftests/i915_active.c       |   3 +-
 drivers/gpu/drm/i915/vlv_suspend.c                 |   3 +-
 drivers/iommu/intel/iommu.c                        |   2 +-
 include/drm/dp/drm_dp_helper.h                     |   2 +
 include/drm/i915_drm.h                             |   3 +-
 include/drm/i915_pciids.h                          |   4 +-
 include/uapi/drm/drm_fourcc.h                      |  47 ++
 149 files changed, 4340 insertions(+), 3676 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_power_well.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_power_well.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_dmc_regs.h

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-02-23 23:29 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2022-02-23 23:29 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Thomas Zimmermann,
	Rodrigo Vivi, intel-gfx

Hi Dave and Daniel,

Please notice that this pull request includes the drm-intel-gt-next
(drm-intel-gt-next-2022-02-17) that didn't applied cleanly for you due to
many conflicts generated by a big divergence from our drm-intel
branches.

So, please apply this one and ignore the one that Joonas had sent.

While applying the drm-intel-gt-next-2022-02-17 I have used
the drm-rerere/fixups/drm-intel-gt-next.patch entirely as part
of the merge conflict resolution. Now all the i915 changes should
apply cleanly for you on drm-next.

Moving forward we will need to have more constant cross merges
or chain PRs whenever we start to have big divergences like this
so the linux-next and drm-next don't get disrupted again.

Thanks,
Rodrigo.

Here goes drm-intel-next-2022-02-23:
Linux core:
-----------
iosys-map: Add offset to iosys_map_memcpy_to() (Lucas)
iosys-map: Add a few more helpers (Lucas)

i915 (display and core changes on drm-intel-next):
--------------------------------------------------

- Display's DBuf and watermark related fixes and improvements (Ville)
- More i915 header and other code clean-up (Jani)
- Display IPS fixes and improvements (Ville)
- OPRegion fixes and cleanups (Jani)
- Fix the plane end Y offset check for FBC (Ville)
- DP 128b/132b updates (Jani)
- Disable runtime pm wakeref tracking for the mock device selftest (Ville)
- Many display code clean-up while targeting to fix up DP DFP 4:2:0 handling (Ville)
- Bigjoiner state tracking and more bigjoiner related work (Ville)
- Update DMC_DEBUG3 register for DG1 (Chuansheng)
- SAGV fixes (Ville)
- More GT register cleanup (Matt)
- Fix build issue when using clang (Tong)
- Display DG2 fixes (Matt)
- ADL-P PHY related fixes (Imre)
- PSR2 fixes (Jose)
- Add PCH Support for Alder Lake N (Tejas)

drm-intel-gt-next (drm-intel-gt-next-2022-02-17):
-------------------------------------------------
UAPI Changes:

- Weak parallel submission support for execlists

  Minimal implementation of the parallel submission support for
  execlists backend that was previously only implemented for GuC.
  Support one sibling non-virtual engine.

Core Changes:

- Two backmerges of drm/drm-next for header file renames/changes and
  i915_regs reorganization

Driver Changes:

- Add new DG2 subplatform: DG2-G12 (Matt R)
- Add new DG2 workarounds (Matt R, Ram, Bruce)
- Handle pre-programmed WOPCM registers for DG2+ (Daniele)
- Update guc shim control programming on XeHP SDV+ (Daniele)
- Add RPL-S C0/D0 stepping information (Anusha)
- Improve GuC ADS initialization to work on ARM64 on dGFX (Lucas)

- Fix KMD and GuC race on accessing PMU busyness (Umesh)
- Use PM timestamp instead of RING TIMESTAMP for reference in PMU with GuC (Umesh)
- Report error on invalid reset notification from GuC (John)
- Avoid WARN splat by holding RPM wakelock during PXP unbind (Juston)
- Fixes to parallel submission implementation (Matt B.)
- Improve GuC loading status check/error reports (John)
- Tweak TTM LRU priority hint selection (Matt A.)
- Align the plane_vma to min_page_size of stolen mem (Ram)

- Introduce vma resources and implement async unbinding (Thomas)
- Use struct vma_resource instead of struct vma_snapshot (Thomas)
- Return some TTM accel move errors instead of trying memcpy move (Thomas)
- Fix a race between vma / object destruction and unbinding (Thomas)
- Remove short-term pins from execbuf (Maarten)
- Update to GuC version 69.0.3 (John, Michal Wa.)
- Improvements to GT reset paths in GuC backend (Matt B.)
- Use shrinker_release_pages instead of writeback in shmem object hooks (Matt A., Tvrtko)
- Use trylock instead of blocking lock when freeing GEM objects (Maarten)
- Allocate intel_engine_coredump_alloc with ALLOW_FAIL (Matt B.)
- Fixes to object unmapping and purging (Matt A)
- Check for wedged device in GuC backend (John)
- Avoid lockdep splat by locking dpt_obj around set_cache_level (Maarten)
- Allow dead vm to unbind vma's without lock (Maarten)
- s/engine->i915/i915/ for DG2 engine workarounds (Matt R)

- Use to_gt() helper for GGTT accesses (Michal Wi.)
- Selftest improvements (Matt B., Thomas, Ram)
- Coding style and compiler warning fixes (Matt B., Jasmine, Andi, Colin, Gustavo, Dan)

Thanks,
Rodrigo.

The following changes since commit 7938f4218168ae9fc4bdddb15976f9ebbae41999:

  dma-buf-map: Rename to iosys-map (2022-02-07 16:35:35 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2022-02-23

for you to fetch changes up to 30424ebae8df0f786835e7a31ad790fa00764f35:

  Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next (2022-02-23 15:03:51 -0500)

----------------------------------------------------------------
Linux core:
-----------
iosys-map: Add offset to iosys_map_memcpy_to() (Lucas)
iosys-map: Add a few more helpers (Lucas)

i915 (display and core changes on drm-intel-next):
--------------------------------------------------

- Display's DBuf and watermark related fixes and improvements (Ville)
- More i915 header and other code clean-up (Jani)
- Display IPS fixes and improvements (Ville)
- OPRegion fixes and cleanups (Jani)
- Fix the plane end Y offset check for FBC (Ville)
- DP 128b/132b updates (Jani)
- Disable runtime pm wakeref tracking for the mock device selftest (Ville)
- Many display code clean-up while targeting to fix up DP DFP 4:2:0 handling (Ville)
- Bigjoiner state tracking and more bigjoiner related work (Ville)
- Update DMC_DEBUG3 register for DG1 (Chuansheng)
- SAGV fixes (Ville)
- More GT register cleanup (Matt)
- Fix build issue when using clang (Tong)
- Display DG2 fixes (Matt)
- ADL-P PHY related fixes (Imre)
- PSR2 fixes (Jose)
- Add PCH Support for Alder Lake N (Tejas)

drm-intel-gt-next (drm-intel-gt-next-2022-02-17):
-------------------------------------------------
UAPI Changes:

- Weak parallel submission support for execlists

  Minimal implementation of the parallel submission support for
  execlists backend that was previously only implemented for GuC.
  Support one sibling non-virtual engine.

Core Changes:

- Two backmerges of drm/drm-next for header file renames/changes and
  i915_regs reorganization

Driver Changes:

- Add new DG2 subplatform: DG2-G12 (Matt R)
- Add new DG2 workarounds (Matt R, Ram, Bruce)
- Handle pre-programmed WOPCM registers for DG2+ (Daniele)
- Update guc shim control programming on XeHP SDV+ (Daniele)
- Add RPL-S C0/D0 stepping information (Anusha)
- Improve GuC ADS initialization to work on ARM64 on dGFX (Lucas)

- Fix KMD and GuC race on accessing PMU busyness (Umesh)
- Use PM timestamp instead of RING TIMESTAMP for reference in PMU with GuC (Umesh)
- Report error on invalid reset notification from GuC (John)
- Avoid WARN splat by holding RPM wakelock during PXP unbind (Juston)
- Fixes to parallel submission implementation (Matt B.)
- Improve GuC loading status check/error reports (John)
- Tweak TTM LRU priority hint selection (Matt A.)
- Align the plane_vma to min_page_size of stolen mem (Ram)

- Introduce vma resources and implement async unbinding (Thomas)
- Use struct vma_resource instead of struct vma_snapshot (Thomas)
- Return some TTM accel move errors instead of trying memcpy move (Thomas)
- Fix a race between vma / object destruction and unbinding (Thomas)
- Remove short-term pins from execbuf (Maarten)
- Update to GuC version 69.0.3 (John, Michal Wa.)
- Improvements to GT reset paths in GuC backend (Matt B.)
- Use shrinker_release_pages instead of writeback in shmem object hooks (Matt A., Tvrtko)
- Use trylock instead of blocking lock when freeing GEM objects (Maarten)
- Allocate intel_engine_coredump_alloc with ALLOW_FAIL (Matt B.)
- Fixes to object unmapping and purging (Matt A)
- Check for wedged device in GuC backend (John)
- Avoid lockdep splat by locking dpt_obj around set_cache_level (Maarten)
- Allow dead vm to unbind vma's without lock (Maarten)
- s/engine->i915/i915/ for DG2 engine workarounds (Matt R)

- Use to_gt() helper for GGTT accesses (Michal Wi.)
- Selftest improvements (Matt B., Thomas, Ram)
- Coding style and compiler warning fixes (Matt B., Jasmine, Andi, Colin, Gustavo, Dan)

----------------------------------------------------------------
Andi Shyti (2):
      drm/i915: Remove unused i915->ggtt
      drm/i915: fix header file inclusion for might_alloc()

Anusha Srivatsa (1):
      drm/i915/rpl-s: Add stepping info

Bruce Chang (1):
      drm/i915/dg2: Add Wa_22011100796

Chuansheng Liu (1):
      drm/i915/dg1: Update DMC_DEBUG3 register

Colin Ian King (1):
      i915: make array flex_regs static const

Dan Carpenter (1):
      drm/i915: delete shadow "ret" variable

Daniele Ceraolo Spurio (2):
      drm/i915/wopcm: Handle pre-programmed WOPCM registers
      drm/i915/guc: Update guc shim control programming on newer platforms

Gustavo A. R. Silva (1):
      drm/i915/guc: Use struct_size() helper in kmalloc()

Imre Deak (2):
      drm/i915: Disconnect PHYs left connected by BIOS on disabled ports
      drm/i915/adlp: Add TypeC PHY TBT->DP-alt/legacy mode switch workaround

Jani Nikula (46):
      drm/i915: group i915_drv.h forward declarations together
      drm/i915/color: hide struct intel_color_funcs
      drm/i915/hpd: hide struct intel_hotplug_funcs
      drm/i915/fdi: hide struct intel_fdi_funcs
      drm/i915/dpll: add intel_dpll_crtc_compute_clock()
      drm/i915/dpll: hide struct intel_dpll_funcs
      drm/i915/pm: hide struct drm_i915_clock_gating_funcs
      drm/i915: move intel_hws_csb_write_index() out of i915_drv.h
      drm/i915: move the DRIVER_* macros to i915_driver.[ch]
      drm/i915/opregion: check port number bounds for SWSCI display power state
      drm/i915/opregion: abstract the check for valid swsci function
      drm/i915/opregion: early exit from encoder notify if SWSCI isn't there
      drm/i915/opregion: handle SWSCI Mailbox #2 obsoletion
      drm/i915/opregion: debug log about Mailbox #2 for backlight
      drm/dp: add drm_dp_128b132b_read_aux_rd_interval()
      drm/dp: add 128b/132b link status helpers from DP 2.0 E11
      drm/dp: add some new DPCD macros from DP 2.0 E11
      drm/i915/dp: move intel_dp_prepare_link_train() call
      drm/i915/dp: rewrite DP 2.0 128b/132b link training based on errata
      drm/i915/dp: add 128b/132b support to link status checks
      drm/i915/mst: update slot information for 128b/132b
      drm/i915: split out i915_gem_internal.h from i915_drv.h
      drm/i915: remove leftover i915_gem_pm.h declarations from i915_drv.h
      drm/i915: split out gem/i915_gem_dmabuf.h from i915_drv.h
      drm/i915: split out gem/i915_gem_create.h from i915_drv.h
      drm/i915: split out gem/i915_gem_domain.h from i915_drv.h
      drm/i915: move i915_cache_level_str() static in i915_debugfs.c
      drm/i915: move i915_gem_vm_lookup() where it's used
      drm/i915: move i915_reset_count()/i915_reset_engine_count() out of i915_drv.h
      drm/i915: split out i915_file_private.h from i915_drv.h
      drm/i915: don't include drm_cache.h in i915_drv.h
      drm/i915: include shmem_fs.h only where needed
      drm/i915: include some drm headers only where needed
      drm/i915: axe lots of unnecessary includes from i915_drv.h
      drm/i915: fix drm_i915.h include grouping and sorting
      drm/i915/gvt: #include drm_edid.h for drm_edid_block_valid()
      drm/i915/fbdev: add intel_fbdev_framebuffer() helper
      drm/i915/fbdev: hide struct intel_fbdev in intel_fbdev.c
      drm/i915/lrc: move lrc_get_runtime() to intel_lrc.c
      drm/i915/lrc: replace include with forward declarations
      drm/i915/dp: remove accidental static on what should be a local variable
      drm/i915/dsi: disassociate VBT video transfer mode from register values
      drm/i915/dsi: add separate init timer mask definition for ICL DSI
      drm/i915/reg: split out vlv_dsi_regs.h and vlv_dsi_pll_regs.h
      drm/i915/reg: split out icl_dsi_regs.h
      drm/i915/pxp: prefer forward declaration over includes

Jasmine Newsome (1):
      drm/i915/gem: Use local pointer ttm for __i915_ttm_move

John Harrison (5):
      drm/i915/guc: Report error on invalid reset notification
      drm/i915/guc: Check for wedged before doing stuff
      drm/i915/guc: Temporarily bump the GuC load timeout
      drm/i915/guc: Update to GuC version 69.0.3
      drm/i915/guc: Improve GuC loading status check/error reports

Joonas Lahtinen (1):
      Merge drm/drm-next into drm-intel-gt-next

José Roberto de Souza (3):
      drm/i915/display/tgl+: Implement new PLL programming step
      drm/i915/display: Group PSR2 prog sequences and workarounds
      drm/i915/display: Implement Wa_16013835468

Jouni Högander (1):
      drm/i915: Fix for PHY_MISC_TC1 offset

Juston Li (1):
      drm/i915/pxp: Hold RPM wakelock during PXP unbind

Lucas De Marchi (4):
      drm/i915/guc: Prepare for error propagation
      drm/i915/guc: Use a single pass to calculate regset
      iosys-map: Add offset to iosys_map_memcpy_to()
      iosys-map: Add a few more helpers

Maarten Lankhorst (8):
      drm/i915: Call i915_gem_evict_vm in vm_fault_gtt to prevent new ENOSPC errors, v2.
      drm/i915: Add locking to i915_gem_evict_vm(), v3.
      drm/i915: Add object locking to i915_gem_evict_for_node and i915_gem_evict_something, v2.
      drm/i915: Add i915_vma_unbind_unlocked, and take obj lock for i915_vma_unbind, v2.
      drm/i915: Remove support for unlocked i915_vma unbind
      drm/i915: Remove short-term pins from execbuf, v6.
      drm/i915: Lock dpt_obj around set_cache_level, v2.
      drm/i915: Allow dead vm to unbind vma's without lock.

Manasi Navare (1):
      drm/i915/display/vrr: Reset VRR capable property on a long hpd

Matt Roper (16):
      drm/i915/dg2: Add Wa_18018781329
      drm/i915/dg2: Add Wa_14015227452
      drm/i915/dg2: s/engine->i915/i915/ for engine workarounds
      drm/i915: Introduce G12 subplatform of DG2
      drm/i915/gt: Drop duplicate register definition for VDBOX_CGCTL3F18
      drm/i915/gt: Move SFC lock bits to intel_engine_regs.h
      drm/i915/gt: Use parameterized RING_MI_MODE
      drm/i915/gt: Cleanup spacing of intel_gt_regs.h
      drm/i915/gt: Use consistent offset notation in intel_gt_regs.h
      drm/i915/gt: Order GT registers by MMIO offset
      drm/i915: Define MCH registers relative to MCHBAR_MIRROR_BASE
      drm/i915: Move MCHBAR registers to their own header
      drm/i915: Add missing intel_mchbar_regs.h
      drm/i915/dg2: Print PHY name properly on calibration error
      drm/i915/dg2: Drop 38.4 MHz MPLLB tables
      drm/i915/dg2: Enable 5th port

Matthew Auld (7):
      drm/i915: remove writeback hook
      drm/i915: clean up shrinker_release_pages
      drm/i915: don't call free_mmap_offset when purging
      drm/i915/ttm: only fault WILLNEED objects
      drm/i915/ttm: add unmap_virtual callback
      drm/i915/ttm: ensure we unmap when purging
      drm/i915/ttm: tweak priority hint selection

Matthew Brost (11):
      drm/i915/execlists: Weak parallel submission support for execlists
      drm/i915: Fix possible uninitialized variable in parallel extension
      drm/i915: Increment composite fence seqno
      drm/i915/selftests: Add a cancel request selftest that triggers a reset
      drm/i915/guc: Remove hacks for reset and schedule disable G2H being received out of order
      drm/i915: Allocate intel_engine_coredump_alloc with ALLOW_FAIL
      drm/i915/guc: Add work queue to trigger a GT reset
      drm/i915/guc: Flush G2H handler during a GT reset
      drm/i915: Lock timeline mutex directly in error path of eb_pin_timeline
      drm/i915/guc: Ensure multi-lrc fini breadcrumb math is correct
      drm/i915/selftests: Use less in contexts steal guc id test

Michał Winiarski (5):
      drm/i915/gt: Use to_gt() helper for GGTT accesses
      drm/i915: Use to_gt() helper for GGTT accesses
      drm/i915/gem: Use to_gt() helper for GGTT accesses
      drm/i915/display: Use to_gt() helper for GGTT accesses
      drm/i915/selftests: Use to_gt() helper for GGTT accesses

Ramalingam C (3):
      drm/i915/dg2: Add Wa_22011450934
      drm/i915: align the plane_vma to min_page_size of stolen mem
      drm/i915: More gt idling time with guc submission

Rodrigo Vivi (1):
      Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next

Tejas Upadhyay (1):
      drm/i915/adl-n: Add PCH Support for Alder Lake N

Thomas Hellström (9):
      drm/i915: Initial introduction of vma resources
      drm/i915: Use the vma resource as argument for gtt binding / unbinding
      drm/i915: Don't pin the object pages during pending vma binds
      drm/i915: Use vma resources for async unbinding
      drm/i915: Asynchronous migration selftest
      drm/i915: Use struct vma_resource instead of struct vma_snapshot
      drm/i915: Fix vma resource freeing
      drm/i915: Fix a race between vma / object destruction and unbinding
      drm/i915/ttm: Return some errors instead of trying memcpy move

Tong Zhang (1):
      drm/i915: fix build issue when using clang

Tvrtko Ursulin (1):
      Merge drm/drm-next into drm-intel-gt-next

Umesh Nerlige Ramappa (2):
      drm/i915/pmu: Use PM timestamp instead of RING TIMESTAMP for reference
      drm/i915/pmu: Fix KMD and GuC race on accessing busyness

Ville Syrjälä (52):
      drm/i915: Fix dbuf slice config lookup
      drm/i915: Fix mbus join config lookup
      drm/i915: Move vblank waits out from IPS code
      drm/i915: Change IPS calling convention
      drm/i915: Hoover the IPS enable/disable calls into the pre/post update hooks
      drm/i915: Move the IPS code to its own file
      drm/i915: Extract hsw_ips_get_config()
      drm/i915: Fix IPS disable in intel_plane_disable_noatomic()
      drm/i915/fbc: Fix the plane end Y offset check
      drm/i915/selftests: Disable runtime pm wakeref tracking for the mock device
      drm/i915: Drop pointless dev_priv argument
      drm/i915: Extract skl_ddb_entry_init()
      drm/i915: Fix plane relative_data_rate calculation
      drm/i915: Introduce skl_plane_ddb_iter
      drm/i915: Extract skl_allocate_plane_ddb()
      drm/i915: Extract skl_crtc_calc_dbuf_bw()
      drm/i915/hdmi: Simplify intel_hdmi_mode_clock_valid()
      drm/i915/dp: Reuse intel_hdmi_tmds_clock()
      drm/i915: Flag crtc scaling_filter changes as modeset
      drm/i915: Fix bigjoiner state copy fails
      drm/i915: Remove weird code from intel_atomic_check_bigjoiner()
      drm/i915: Clean up the bigjoiner state copy logic
      drm/i915: Nuke some dead code
      drm/i915: Introduce intel_crtc_is_bigjoiner_{slave,master}()
      drm/i915: Convert for_each_intel_crtc_mask() to take a pipe mask instead
      drm/i915: Use for_each_intel_crtc_in_pipe_mask() more
      drm/i915: Return both master and slave pipes from enabled_bigjoiner_pipes()
      drm/i915: Change bigjoiner state tracking to use the pipe bitmask
      drm/i915: Move intel_plane_atomic_calc_changes() & co. out
      drm/i915: Introduce scaled_planes bitmask
      drm/i915: Use {active,scaled}_planes to compute ilk watermarks
      drm/i915: Add REG_GENMASK64() and REG_FIELD_GET64()
      drm/i915: Widen the QGV point mask
      drm/i915: Unconfuse pre-icl vs. icl+ intel_sagv_{pre,post}_plane_update()
      drm/i915: Clean up SSKPD/MLTR defines
      drm/i915: Introduce intel_crtc_planes_update_arm()
      drm/i915: Polish ilk+ wm register bits
      drm/i915: Move PIPE_CHICKEN RMW out from the vblank evade critical section
      drm/i915: Make the pipe/output CSC register writes lockless
      drm/i915: Make the CHV CGM CSC register writes lockless
      drm/i915: Drop pointless i830 PIPECONF read
      drm/i915: Correctly populate use_sagv_wm for all pipes
      drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
      drm/i915: Split pre-icl vs. icl+ SAGV hooks apart
      drm/i915: Pimp icl+ sagv pre/post update
      Revert "drm/i915/display/vrr: Reset VRR capable property on a long hpd"
      drm/i915: Dump the crtc hw state always
      drm/i915: Dump hw.enable and pipe_mode
      drm/i915: Remove odd any_ms=true assignment
      drm/i915: Properly clear crtc state when disabling it fully, again
      drm/i915: Extract icl_qgv_points_mask()
      drm/i915: Extract intel_bw_check_data_rate()

 .../bindings/display/bridge/lvds-codec.yaml        |    1 +
 .../bindings/display/bridge/ti,sn65dsi83.yaml      |    5 +-
 .../bindings/display/panel/panel-simple.yaml       |    2 +
 .../bindings/display/panel/sony,acx424akp.yaml     |   11 +-
 Documentation/gpu/drm-internals.rst                |    6 +
 Documentation/gpu/drm-kms-helpers.rst              |   26 +-
 Documentation/gpu/drm-kms.rst                      |    6 +-
 Documentation/gpu/drm-mm.rst                       |    2 +-
 Documentation/gpu/i915.rst                         |    1 +
 Documentation/gpu/todo.rst                         |   15 +
 Documentation/gpu/vkms.rst                         |    2 -
 drivers/char/agp/ati-agp.c                         |    8 +-
 drivers/char/agp/backend.c                         |    2 +
 drivers/char/agp/frontend.c                        |    4 +-
 drivers/char/agp/nvidia-agp.c                      |    3 +-
 drivers/char/agp/sworks-agp.c                      |    5 +-
 drivers/char/agp/via-agp.c                         |    3 -
 drivers/dma-buf/dma-resv.c                         |   46 +-
 drivers/dma-buf/st-dma-resv.c                      |   26 +-
 drivers/dma-buf/udmabuf.c                          |    4 +
 drivers/firmware/sysfb_simplefb.c                  |    2 +-
 drivers/gpu/drm/Kconfig                            |   15 +
 drivers/gpu/drm/Makefile                           |   14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c     |    4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |    5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c        |    6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            |    6 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c        |    5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c            |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h           |    4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c    |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |   10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c       |    5 +-
 drivers/gpu/drm/amd/amdgpu/atombios_dp.c           |    2 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |    4 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h  |    2 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c    |    4 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dpcd.c |    2 +-
 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c        |    2 +-
 drivers/gpu/drm/amd/display/dc/os_types.h          |    2 +-
 drivers/gpu/drm/amd/display/include/dpcd_defs.h    |    2 +-
 drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h    |    2 +-
 .../gpu/drm/arm/display/komeda/d71/d71_component.c |   12 +-
 drivers/gpu/drm/arm/display/komeda/komeda_drv.c    |    3 +-
 drivers/gpu/drm/arm/hdlcd_drv.c                    |    3 +-
 drivers/gpu/drm/arm/malidp_drv.c                   |    3 +-
 drivers/gpu/drm/ast/ast_drv.c                      |   18 +-
 drivers/gpu/drm/ast/ast_main.c                     |    2 +
 drivers/gpu/drm/ast/ast_mode.c                     |    5 +-
 drivers/gpu/drm/bridge/Kconfig                     |    5 +
 drivers/gpu/drm/bridge/adv7511/adv7511.h           |    1 +
 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c       |   31 +-
 drivers/gpu/drm/bridge/adv7511/adv7533.c           |    2 +-
 drivers/gpu/drm/bridge/analogix/Kconfig            |    2 +
 drivers/gpu/drm/bridge/analogix/analogix-anx6345.c |    2 +-
 drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c |    2 +-
 .../gpu/drm/bridge/analogix/analogix-i2c-dptx.c    |    2 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |    4 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h |    2 +-
 drivers/gpu/drm/bridge/analogix/anx7625.c          |  440 +++-
 drivers/gpu/drm/bridge/analogix/anx7625.h          |   80 +-
 drivers/gpu/drm/bridge/cadence/Kconfig             |    1 +
 .../gpu/drm/bridge/cadence/cdns-mhdp8546-core.c    |   20 +-
 .../gpu/drm/bridge/cadence/cdns-mhdp8546-core.h    |    2 +-
 drivers/gpu/drm/bridge/chipone-icn6211.c           |   39 +-
 drivers/gpu/drm/bridge/ite-it66121.c               |    3 -
 drivers/gpu/drm/bridge/lontium-lt9611.c            |    4 +-
 drivers/gpu/drm/bridge/lontium-lt9611uxc.c         |    4 +-
 drivers/gpu/drm/bridge/nwl-dsi.c                   |    8 +-
 drivers/gpu/drm/bridge/parade-ps8640.c             |   33 +-
 drivers/gpu/drm/bridge/sii902x.c                   |  129 +-
 drivers/gpu/drm/bridge/sil-sii8620.c               |    2 +-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          |   16 +-
 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c      |   25 +-
 drivers/gpu/drm/bridge/tc358767.c                  |    2 +-
 drivers/gpu/drm/bridge/tc358775.c                  |    4 +-
 drivers/gpu/drm/bridge/ti-sn65dsi83.c              |   53 +-
 drivers/gpu/drm/bridge/ti-sn65dsi86.c              |    4 +-
 drivers/gpu/drm/dp/Makefile                        |    9 +
 drivers/gpu/drm/{drm_dp_helper.c => dp/drm_dp.c}   |   89 +-
 drivers/gpu/drm/{ => dp}/drm_dp_aux_bus.c          |    4 +-
 drivers/gpu/drm/{ => dp}/drm_dp_aux_dev.c          |    6 +-
 drivers/gpu/drm/{ => dp}/drm_dp_cec.c              |    2 +-
 drivers/gpu/drm/{ => dp}/drm_dp_dual_mode_helper.c |    2 +-
 drivers/gpu/drm/dp/drm_dp_helper_internal.h        |   33 +
 drivers/gpu/drm/dp/drm_dp_helper_mod.c             |   22 +
 drivers/gpu/drm/{ => dp}/drm_dp_mst_topology.c     |    8 +-
 .../drm/{ => dp}/drm_dp_mst_topology_internal.h    |    2 +-
 drivers/gpu/drm/drm_buddy.c                        |  535 ++++
 drivers/gpu/drm/drm_cache.c                        |    2 +-
 drivers/gpu/drm/drm_color_mgmt.c                   |    4 +
 drivers/gpu/drm/drm_crtc_helper_internal.h         |   27 -
 drivers/gpu/drm/drm_dsc.c                          |    2 +-
 drivers/gpu/drm/drm_edid.c                         |  104 +-
 drivers/gpu/drm/drm_fb_helper.c                    |    2 +-
 drivers/gpu/drm/drm_kms_helper_common.c            |   14 -
 drivers/gpu/drm/drm_plane.c                        |    9 +-
 drivers/gpu/drm/drm_privacy_screen.c               |    5 +-
 drivers/gpu/drm/drm_privacy_screen_x86.c           |   17 +
 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c       |    3 +-
 drivers/gpu/drm/exynos/Kconfig                     |    1 +
 drivers/gpu/drm/exynos/exynos_drm_dsi.c            |   13 +-
 drivers/gpu/drm/gma500/cdv_intel_dp.c              |   14 +-
 drivers/gpu/drm/gma500/gma_display.c               |    6 +-
 drivers/gpu/drm/gma500/intel_bios.c                |    2 +-
 drivers/gpu/drm/gma500/mmu.c                       |    8 +-
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c    |    3 +-
 drivers/gpu/drm/i915/Kconfig                       |    2 +
 drivers/gpu/drm/i915/Makefile                      |    5 +-
 drivers/gpu/drm/i915/display/hsw_ips.c             |  271 ++
 drivers/gpu/drm/i915/display/hsw_ips.h             |   26 +
 drivers/gpu/drm/i915/display/icl_dsi.c             |   14 +-
 drivers/gpu/drm/i915/display/icl_dsi_regs.h        |  342 +++
 drivers/gpu/drm/i915/display/intel_atomic.c        |   11 -
 drivers/gpu/drm/i915/display/intel_atomic.h        |    2 -
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |  217 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |   14 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |  167 +-
 drivers/gpu/drm/i915/display/intel_bw.h            |    8 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |    2 +
 drivers/gpu/drm/i915/display/intel_color.c         |  119 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |   33 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  981 +++-----
 drivers/gpu/drm/i915/display/intel_display.h       |   11 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   39 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |    1 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   33 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |   95 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |    4 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  307 ++-
 .../gpu/drm/i915/display/intel_dp_link_training.h  |    6 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   33 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |   12 +
 drivers/gpu/drm/i915/display/intel_dpll.h          |    1 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   44 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    3 +
 drivers/gpu/drm/i915/display/intel_dpt.c           |   37 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           |    2 +
 drivers/gpu/drm/i915/display/intel_dsi.h           |    4 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |   11 +-
 drivers/gpu/drm/i915/display/intel_fb_pin.c        |    9 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |    5 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   27 +-
 drivers/gpu/drm/i915/display/intel_fbdev.h         |    7 +
 drivers/gpu/drm/i915/display/intel_fdi.c           |    5 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |   16 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   49 +-
 drivers/gpu/drm/i915/display/intel_hdmi.h          |    1 +
 drivers/gpu/drm/i915/display/intel_hotplug.c       |    7 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |    4 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |   78 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |    1 +
 drivers/gpu/drm/i915/display/intel_plane_initial.c |   14 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  119 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |  212 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |   26 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |    8 +
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   47 +-
 drivers/gpu/drm/i915/display/intel_vdsc.h          |    1 -
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   34 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |    1 +
 drivers/gpu/drm/i915/display/vlv_dsi_pll_regs.h    |  109 +
 drivers/gpu/drm/i915/display/vlv_dsi_regs.h        |  480 ++++
 drivers/gpu/drm/i915/gem/i915_gem_clflush.c        |    2 +
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |   27 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_create.c         |    3 +
 drivers/gpu/drm/i915/gem/i915_gem_create.h         |   17 +
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.h         |   18 +
 drivers/gpu/drm/i915/gem/i915_gem_domain.c         |    5 +-
 drivers/gpu/drm/i915/gem/i915_gem_domain.h         |   15 +
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |  249 +-
 drivers/gpu/drm/i915/gem/i915_gem_internal.c       |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_internal.h       |   23 +
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |   39 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   23 +
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |   51 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   12 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c             |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |   20 +-
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c       |   30 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_throttle.c       |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   15 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c            |   18 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c       |   27 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   42 +-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |    4 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |    3 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_migrate.c  |  192 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |   29 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_object.c   |    2 +-
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c |    1 +
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |    1 +
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c               |   21 +-
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c               |   37 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |    4 +-
 drivers/gpu/drm/i915/gt/intel_context_sseu.c       |    1 +
 drivers/gpu/drm/i915/gt/intel_engine.h             |    2 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   21 +-
 drivers/gpu/drm/i915/gt/intel_engine_regs.h        |   23 +
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |   40 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |  133 +-
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |    8 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   14 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c     |    1 +
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c      |    1 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            | 2630 ++++++++++----------
 drivers/gpu/drm/i915/gt/intel_gtt.c                |    5 +
 drivers/gpu/drm/i915/gt/intel_gtt.h                |   19 +-
 drivers/gpu/drm/i915/gt/intel_llc.c                |    1 +
 drivers/gpu/drm/i915/gt/intel_lrc.c                |   45 +
 drivers/gpu/drm/i915/gt/intel_lrc.h                |   16 +-
 drivers/gpu/drm/i915/gt/intel_ppgtt.c              |   22 +-
 drivers/gpu/drm/i915/gt/intel_region_lmem.c        |    5 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |    2 +
 drivers/gpu/drm/i915/gt/intel_reset.c              |   25 +-
 drivers/gpu/drm/i915/gt/intel_ring.c               |    1 +
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |    4 +
 drivers/gpu/drm/i915/gt/intel_rps.c                |    1 +
 drivers/gpu/drm/i915/gt/intel_timeline.c           |    5 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   45 +-
 drivers/gpu/drm/i915/gt/selftest_execlists.c       |    1 +
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |    3 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |    2 +
 drivers/gpu/drm/i915/gt/selftest_migrate.c         |    2 +
 drivers/gpu/drm/i915/gt/selftest_reset.c           |    2 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             |    2 +
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |    1 +
 drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h   |   80 +-
 drivers/gpu/drm/i915/gt/uc/abi/guc_errors_abi.h    |   23 +
 drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h      |   82 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |  126 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |   25 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |  204 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c          |  143 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |   38 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h        |   37 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |   31 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h         |    3 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h         |    7 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c        |    3 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  262 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |    1 +
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |   31 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |   45 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h           |    2 +-
 drivers/gpu/drm/i915/gt/uc/selftest_guc.c          |    2 +-
 drivers/gpu/drm/i915/gvt/aperture_gm.c             |    2 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |    7 +-
 drivers/gpu/drm/i915/gvt/execlist.c                |    2 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |    2 +
 drivers/gpu/drm/i915/gvt/kvmgt.c                   |    2 +
 drivers/gpu/drm/i915/i915_buddy.c                  |  466 ----
 drivers/gpu/drm/i915/i915_buddy.h                  |  143 --
 drivers/gpu/drm/i915/i915_cmd_parser.c             |    2 +
 drivers/gpu/drm/i915/i915_debugfs.c                |   19 +-
 drivers/gpu/drm/i915/i915_driver.c                 |   28 +-
 drivers/gpu/drm/i915/i915_driver.h                 |    5 +
 drivers/gpu/drm/i915/i915_drv.h                    |  328 +--
 drivers/gpu/drm/i915/i915_file_private.h           |  108 +
 drivers/gpu/drm/i915/i915_gem.c                    |   44 +-
 drivers/gpu/drm/i915/i915_gem_evict.c              |  101 +-
 drivers/gpu/drm/i915/i915_gem_evict.h              |    6 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |   16 +-
 drivers/gpu/drm/i915/i915_gem_gtt.h                |    4 +
 drivers/gpu/drm/i915/i915_getparam.c               |    2 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   91 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |   11 +
 drivers/gpu/drm/i915/i915_irq.c                    |   17 +-
 drivers/gpu/drm/i915/i915_irq.h                    |    1 +
 drivers/gpu/drm/i915/i915_mitigations.c            |    1 +
 drivers/gpu/drm/i915/i915_module.c                 |    7 +-
 drivers/gpu/drm/i915/i915_pci.c                    |    2 +
 drivers/gpu/drm/i915/i915_perf.c                   |   11 +-
 drivers/gpu/drm/i915/i915_reg.h                    | 1203 +--------
 drivers/gpu/drm/i915/i915_reg_defs.h               |   27 +
 drivers/gpu/drm/i915/i915_request.c                |   13 +-
 drivers/gpu/drm/i915/i915_request.h                |    6 +-
 drivers/gpu/drm/i915/i915_scatterlist.c            |   11 +-
 drivers/gpu/drm/i915/i915_ttm_buddy_manager.c      |   37 +-
 drivers/gpu/drm/i915/i915_ttm_buddy_manager.h      |    4 +-
 drivers/gpu/drm/i915/i915_vgpu.c                   |    2 +-
 drivers/gpu/drm/i915/i915_vma.c                    |  569 +++--
 drivers/gpu/drm/i915/i915_vma.h                    |   34 +-
 drivers/gpu/drm/i915/i915_vma_resource.c           |  418 ++++
 drivers/gpu/drm/i915/i915_vma_resource.h           |  234 ++
 drivers/gpu/drm/i915/i915_vma_snapshot.c           |  134 -
 drivers/gpu/drm/i915/i915_vma_snapshot.h           |  112 -
 drivers/gpu/drm/i915/i915_vma_types.h              |   19 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    4 +-
 drivers/gpu/drm/i915/intel_dram.c                  |    1 +
 drivers/gpu/drm/i915/intel_mchbar_regs.h           |  228 ++
 drivers/gpu/drm/i915/intel_pch.c                   |    1 +
 drivers/gpu/drm/i915/intel_pch.h                   |    1 +
 drivers/gpu/drm/i915/intel_pm.c                    |  477 ++--
 drivers/gpu/drm/i915/intel_runtime_pm.c            |    3 +
 drivers/gpu/drm/i915/intel_runtime_pm.h            |    1 +
 drivers/gpu/drm/i915/intel_step.c                  |   15 +
 drivers/gpu/drm/i915/intel_uncore.c                |    2 +-
 drivers/gpu/drm/i915/intel_wopcm.c                 |   42 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_pm.h            |    2 +-
 drivers/gpu/drm/i915/selftests/i915_buddy.c        |  787 ------
 drivers/gpu/drm/i915/selftests/i915_gem.c          |   11 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |   29 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |  210 +-
 .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    1 -
 drivers/gpu/drm/i915/selftests/i915_request.c      |  120 +-
 drivers/gpu/drm/i915/selftests/i915_selftest.c     |    1 +
 drivers/gpu/drm/i915/selftests/i915_vma.c          |   31 +-
 drivers/gpu/drm/i915/selftests/igt_flush_test.c    |    2 +-
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |    1 +
 .../gpu/drm/i915/selftests/intel_memory_region.c   |   13 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   13 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.c          |   21 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.h          |    3 +-
 drivers/gpu/drm/imx/dcss/dcss-drv.c                |    3 +-
 drivers/gpu/drm/ingenic/ingenic-drm-drv.c          |   62 +-
 drivers/gpu/drm/ingenic/ingenic-drm.h              |   38 +
 drivers/gpu/drm/meson/meson_drv.c                  |   25 +-
 drivers/gpu/drm/meson/meson_osd_afbcd.c            |   41 +-
 drivers/gpu/drm/meson/meson_osd_afbcd.h            |    1 +
 drivers/gpu/drm/mgag200/mgag200_mode.c             |    5 +-
 drivers/gpu/drm/msm/Kconfig                        |    1 +
 drivers/gpu/drm/msm/dp/dp_audio.c                  |    2 +-
 drivers/gpu/drm/msm/dp/dp_aux.h                    |    2 +-
 drivers/gpu/drm/msm/dp/dp_catalog.c                |    2 +-
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   |    2 +-
 drivers/gpu/drm/msm/edp/edp.h                      |   77 +
 drivers/gpu/drm/msm/edp/edp_ctrl.c                 | 1373 ++++++++++
 drivers/gpu/drm/mxsfb/mxsfb_drv.c                  |    9 +
 drivers/gpu/drm/nouveau/Kconfig                    |    1 +
 drivers/gpu/drm/nouveau/dispnv50/disp.c            |    2 +-
 drivers/gpu/drm/nouveau/nouveau_connector.h        |    2 +-
 drivers/gpu/drm/nouveau/nouveau_dp.c               |   17 +-
 drivers/gpu/drm/nouveau/nouveau_encoder.h          |    4 +-
 drivers/gpu/drm/nouveau/nouveau_mem.c              |    3 +-
 drivers/gpu/drm/nouveau/nouveau_mem.h              |    3 +-
 drivers/gpu/drm/nouveau/nouveau_ttm.c              |   13 +-
 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c      |  317 ++-
 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h      |   35 +-
 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c  |   13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/sorga102.c    |    4 +
 .../gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c    |   14 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c    |   18 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/hsfw.c     |    9 +-
 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c          |    1 +
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c     |    8 +-
 drivers/gpu/drm/panel/panel-edp.c                  |   21 +-
 drivers/gpu/drm/panel/panel-samsung-atna33xc20.c   |    4 +-
 drivers/gpu/drm/panel/panel-simple.c               |   33 +
 drivers/gpu/drm/panfrost/panfrost_features.h       |  212 +-
 drivers/gpu/drm/panfrost/panfrost_gpu.c            |   32 +-
 drivers/gpu/drm/radeon/atombios_dp.c               |    2 +-
 drivers/gpu/drm/radeon/radeon_connectors.c         |    4 +-
 drivers/gpu/drm/radeon/radeon_dp_mst.c             |    2 +-
 drivers/gpu/drm/radeon/radeon_mode.h               |    4 +-
 drivers/gpu/drm/radeon/radeon_ttm.c                |    4 +-
 drivers/gpu/drm/rockchip/Kconfig                   |    2 +
 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c    |    4 +-
 drivers/gpu/drm/rockchip/cdn-dp-core.c             |    2 +-
 drivers/gpu/drm/rockchip/cdn-dp-core.h             |    2 +-
 drivers/gpu/drm/rockchip/rockchip_lvds.c           |    2 +-
 drivers/gpu/drm/rockchip/rockchip_rgb.c            |    2 +-
 drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c |    8 +-
 drivers/gpu/drm/selftests/test-drm_plane_helper.c  |    4 +
 drivers/gpu/drm/stm/drv.c                          |    5 +
 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c              |  114 +-
 drivers/gpu/drm/stm/ltdc.c                         |  810 ++++--
 drivers/gpu/drm/stm/ltdc.h                         |   12 +-
 drivers/gpu/drm/tegra/Kconfig                      |    1 +
 drivers/gpu/drm/tegra/dp.c                         |    2 +-
 drivers/gpu/drm/tegra/dpaux.c                      |    2 +-
 drivers/gpu/drm/tegra/sor.c                        |    2 +-
 drivers/gpu/drm/tilcdc/tilcdc_drv.c                |    4 +-
 drivers/gpu/drm/tiny/bochs.c                       |   20 +-
 drivers/gpu/drm/tiny/cirrus.c                      |   17 +-
 drivers/gpu/drm/tiny/simpledrm.c                   |   22 +-
 drivers/gpu/drm/ttm/ttm_bo_util.c                  |    7 +-
 drivers/gpu/drm/ttm/ttm_range_manager.c            |    4 +-
 drivers/gpu/drm/ttm/ttm_resource.c                 |   35 +
 drivers/gpu/drm/ttm/ttm_sys_manager.c              |    3 +-
 drivers/gpu/drm/v3d/v3d_drv.c                      |    8 +-
 drivers/gpu/drm/vc4/vc4_bo.c                       |    2 -
 drivers/gpu/drm/vc4/vc4_drv.c                      |   33 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |  132 +-
 drivers/gpu/drm/vc4/vc4_hdmi.h                     |    5 +-
 drivers/gpu/drm/vc4/vc4_regs.h                     |    3 +
 drivers/gpu/drm/virtio/virtgpu_gem.c               |    3 +
 drivers/gpu/drm/vkms/vkms_drv.h                    |    2 +
 drivers/gpu/drm/vkms/vkms_output.c                 |   29 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c      |    4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c     |    3 +-
 drivers/gpu/drm/xlnx/Kconfig                       |    1 +
 drivers/gpu/drm/xlnx/zynqmp_dp.c                   |    2 +-
 drivers/platform/chrome/Kconfig                    |   11 +
 drivers/platform/chrome/Makefile                   |    1 +
 drivers/platform/chrome/chromeos_privacy_screen.c  |  153 ++
 drivers/platform/x86/thinkpad_acpi.c               |    2 +-
 drivers/video/fbdev/asiliantfb.c                   |    2 +-
 drivers/video/fbdev/core/fbmem.c                   |   29 +-
 drivers/video/fbdev/s3c-fb.c                       |    2 +-
 drivers/video/fbdev/simplefb.c                     |   65 +-
 drivers/video/fbdev/vga16fb.c                      |    5 +
 include/drm/bridge/dw_mipi_dsi.h                   |    4 +-
 include/drm/{ => dp}/drm_dp_aux_bus.h              |    0
 include/drm/{ => dp}/drm_dp_dual_mode_helper.h     |    0
 include/drm/{ => dp}/drm_dp_helper.h               |   31 +-
 include/drm/{ => dp}/drm_dp_mst_helper.h           |    2 +-
 include/drm/drm_buddy.h                            |  150 ++
 include/drm/drm_connector.h                        |   18 +-
 include/drm/drm_crtc.h                             |   10 +
 include/drm/drm_dsc.h                              |    2 +-
 include/drm/drm_edid.h                             |    4 +-
 include/drm/drm_mipi_dbi.h                         |    2 +-
 include/drm/drm_modeset_lock.h                     |    1 +
 include/drm/drm_module.h                           |  125 +
 include/drm/drm_plane.h                            |    2 +-
 include/drm/drm_privacy_screen_driver.h            |   13 +-
 include/drm/ttm/ttm_resource.h                     |   23 +-
 include/linux/dma-buf-map.h                        |  266 ++
 include/linux/dma-resv.h                           |    4 +-
 include/linux/fb.h                                 |    1 +
 include/linux/iosys-map.h                          |  218 +-
 include/linux/rwsem.h                              |    2 +-
 include/soc/bcm2835/raspberrypi-firmware.h         |    1 +
 include/uapi/drm/panfrost_drm.h                    |    4 +-
 431 files changed, 14323 insertions(+), 8342 deletions(-)
 create mode 100644 drivers/gpu/drm/dp/Makefile
 rename drivers/gpu/drm/{drm_dp_helper.c => dp/drm_dp.c} (97%)
 rename drivers/gpu/drm/{ => dp}/drm_dp_aux_bus.c (99%)
 rename drivers/gpu/drm/{ => dp}/drm_dp_aux_dev.c (98%)
 rename drivers/gpu/drm/{ => dp}/drm_dp_cec.c (99%)
 rename drivers/gpu/drm/{ => dp}/drm_dp_dual_mode_helper.c (99%)
 create mode 100644 drivers/gpu/drm/dp/drm_dp_helper_internal.h
 create mode 100644 drivers/gpu/drm/dp/drm_dp_helper_mod.c
 rename drivers/gpu/drm/{ => dp}/drm_dp_mst_topology.c (99%)
 rename drivers/gpu/drm/{ => dp}/drm_dp_mst_topology_internal.h (94%)
 create mode 100644 drivers/gpu/drm/drm_buddy.c
 create mode 100644 drivers/gpu/drm/i915/display/hsw_ips.c
 create mode 100644 drivers/gpu/drm/i915/display/hsw_ips.h
 create mode 100644 drivers/gpu/drm/i915/display/icl_dsi_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/vlv_dsi_pll_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/vlv_dsi_regs.h
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_create.h
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.h
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_domain.h
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_internal.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h
 delete mode 100644 drivers/gpu/drm/i915/i915_buddy.c
 delete mode 100644 drivers/gpu/drm/i915/i915_buddy.h
 create mode 100644 drivers/gpu/drm/i915/i915_file_private.h
 create mode 100644 drivers/gpu/drm/i915/i915_vma_resource.c
 create mode 100644 drivers/gpu/drm/i915/i915_vma_resource.h
 delete mode 100644 drivers/gpu/drm/i915/i915_vma_snapshot.c
 delete mode 100644 drivers/gpu/drm/i915/i915_vma_snapshot.h
 create mode 100644 drivers/gpu/drm/i915/intel_mchbar_regs.h
 delete mode 100644 drivers/gpu/drm/i915/selftests/i915_buddy.c
 create mode 100644 drivers/gpu/drm/msm/edp/edp.h
 create mode 100644 drivers/gpu/drm/msm/edp/edp_ctrl.c
 create mode 100644 drivers/platform/chrome/chromeos_privacy_screen.c
 rename include/drm/{ => dp}/drm_dp_aux_bus.h (100%)
 rename include/drm/{ => dp}/drm_dp_dual_mode_helper.h (100%)
 rename include/drm/{ => dp}/drm_dp_helper.h (98%)
 rename include/drm/{ => dp}/drm_dp_mst_helper.h (99%)
 create mode 100644 include/drm/drm_buddy.h
 create mode 100644 include/drm/drm_module.h
 create mode 100644 include/linux/dma-buf-map.h

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2022-02-08 14:58 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2022-02-08 14:58 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Thomas Zimmermann,
	Rodrigo Vivi, intel-gfx

Hi Dave and Daniel,

Here goes the first and probably biggest request towards 5.18.

Another request will come in about 2 weeks.

drm-intel-next-2022-02-08:

Cross-subsystem Changes:
------------------------

dma-buf:
- dma-buf-map: Rename to iosys-map (Lucas)

Core Changes:
-------------

drm:
- Always include the debugfs_entry in drm_crtc (Ville)
- Add orientation quirk for GPD Win Max (Anisse)

Driver Changes:
---------------

gvt:
- Constify some pointers. (Rikard Falkeborn)
- Use list_entry to access list members. (Guenter Roeck)
- Fix cmd parser error for Passmark9. (Zhenyu Wang)

i915:
- Various clean-ups including headers and removing unused and unnecessary stuff\
 (Jani, Hans, Andy, Ville)
- Cleaning up on our registers definitions i915_reg.h (Matt)
- More multi-FBC refactoring (Ville)
- Baytrail backlight fix (Hans)
- DG1 OPROM read through SPI controller (Clint)
- ADL-N platform enabling (Tejas)
- Fix slab-out-of-bounds access (Jani)
- Add opregion mailbox #5 support for possible EDID override (Anisse)
- Fix possible NULL dereferences (Harish)
- Updates and fixes around display voltage swing values (Clint, Jose)
- Fix RPM wekeref on PXP code (Juston)
- Many register definitions clean-up, including planes registers (Ville)
- More conversion towards display version over the old gen (Madhumitha, Ville)
- DP MST ESI handling improvements (Jani)
- drm device based logging conversions (Jani)
- Prevent divide by zero (Dan)
- Introduce ilk_pch_pre_enable for complete modeset abstraction (Ville)
- Async flip optimization for DG2 (Stanislav)
- Multiple DSC and bigjoiner fixes and improvements (Ville)
- Fix ADL-P TypeC Phy ready status readout (Imre)
- Fix up DP DFP 4:2:0 handling more display related fixes (Ville)
- Display M/N cleanup (Ville)
- Switch to use VGA definitions from video/vga.h (Jani)
- Fixes and improvements to abstract CPU architecture (Lucas)
- Disable unsused power wells left enabled by BIOS (Imre)
- Allow !join_mbus cases for adlp+ dbuf configuration (Ville)
- Populate pipe dbuf slices more accurately during readout (Ville)
- Workaround broken BIOS DBUF configuration on TGL/RKL (Ville)
- Fix trailing semicolon (Lucas)

Thanks,
Rodrigo.

The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c:

  Linux 5.17-rc2 (2022-01-30 15:37:07 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2022-02-08

for you to fetch changes up to 7938f4218168ae9fc4bdddb15976f9ebbae41999:

  dma-buf-map: Rename to iosys-map (2022-02-07 16:35:35 -0800)

----------------------------------------------------------------
Cross-subsystem Changes:
------------------------

dma-buf:
- dma-buf-map: Rename to iosys-map (Lucas)

Core Changes:
-------------

drm:
- Always include the debugfs_entry in drm_crtc (Ville)
- Add orientation quirk for GPD Win Max (Anisse)

Driver Changes:
---------------

gvt:
- Constify some pointers. (Rikard Falkeborn)
- Use list_entry to access list members. (Guenter Roeck)
- Fix cmd parser error for Passmark9. (Zhenyu Wang)

i915:
- Various clean-ups including headers and removing unused and unnecessary stuff\
 (Jani, Hans, Andy, Ville)
- Cleaning up on our registers definitions i915_reg.h (Matt)
- More multi-FBC refactoring (Ville)
- Baytrail backlight fix (Hans)
- DG1 OPROM read through SPI controller (Clint)
- ADL-N platform enabling (Tejas)
- Fix slab-out-of-bounds access (Jani)
- Add opregion mailbox #5 support for possible EDID override (Anisse)
- Fix possible NULL dereferences (Harish)
- Updates and fixes around display voltage swing values (Clint, Jose)
- Fix RPM wekeref on PXP code (Juston)
- Many register definitions clean-up, including planes registers (Ville)
- More conversion towards display version over the old gen (Madhumitha, Ville)
- DP MST ESI handling improvements (Jani)
- drm device based logging conversions (Jani)
- Prevent divide by zero (Dan)
- Introduce ilk_pch_pre_enable for complete modeset abstraction (Ville)
- Async flip optimization for DG2 (Stanislav)
- Multiple DSC and bigjoiner fixes and improvements (Ville)
- Fix ADL-P TypeC Phy ready status readout (Imre)
- Fix up DP DFP 4:2:0 handling more display related fixes (Ville)
- Display M/N cleanup (Ville)
- Switch to use VGA definitions from video/vga.h (Jani)
- Fixes and improvements to abstract CPU architecture (Lucas)
- Disable unsused power wells left enabled by BIOS (Imre)
- Allow !join_mbus cases for adlp+ dbuf configuration (Ville)
- Populate pipe dbuf slices more accurately during readout (Ville)
- Workaround broken BIOS DBUF configuration on TGL/RKL (Ville)
- Fix trailing semicolon (Lucas)

----------------------------------------------------------------
Andy Shevchenko (1):
      drm/i915/dsi: Drop double check ACPI companion device for NULL

Anisse Astier (2):
      drm/i915/opregion: add support for mailbox #5 EDID
      drm: Add orientation quirk for GPD Win Max

Clint Taylor (2):
      drm/i915/dg1: Read OPROM via SPI controller
      drm/i915/snps: vswing value refined for SNPS phys

Dan Carpenter (1):
      drm/i915/overlay: Prevent divide by zero bugs in scaling

Guenter Roeck (1):
      drm/i915/gvt: Use list_entry to access list members

Hans de Goede (2):
      drm/i915/backlight: Make ext_pwm_disable_backlight() call intel_backlight_set_pwm_level()
      drm/i915: Remove unused intel_gmbus_set_speed() function

Harish Chegondi (1):
      drm/i915: Fix possible NULL pointer dereferences in i9xx_update_wm()

Imre Deak (2):
      drm/i915/adlp: Fix TypeC PHY-ready status readout
      drm/i915: Disable unused power wells left enabled by BIOS

Jani Nikula (35):
      drm/i915/cdclk: turn around i915_drv.h and intel_cdclk.h dependency
      drm/i915/cdclk: move struct intel_cdclk_funcs to intel_cdclk.c
      drm/i915/bios: fix slab-out-of-bounds access
      drm/i915: stop including i915_irq.h from i915_drv.h
      drm/i915: split out i915_getparam.h from i915_drv.h
      drm/i915: split out i915_cmd_parser.h from i915_drv.h
      drm/i915: split out i915_gem_evict.h from i915_drv.h
      drm/i915: split out gem/i915_gem_userptr.h from i915_drv.h
      drm/i915: split out gem/i915_gem_tiling.h from i915_drv.h
      drm/i915: split out PCI config space registers from i915_reg.h
      drm/i915: split out vlv sideband registers from i915_reg.h
      drm/i915/dp: make intel_dp_pack_aux() static again
      drm/i915/pcode: rename sandybridge_pcode_* to snb_pcode_*
      drm/i915/psr: remove unused lines_to_wait vbt info
      drm/i915/dpll: make intel_shared_dpll_funcs internal to intel_dpll_mgr.c
      drm/i915: split out i915_reg_read_ioctl() to i915_ioctl.[ch]
      drm/i915/mst: fix intel_dp_mst_hpd_irq() indentation
      drm/i915/mst: abstract intel_dp_ack_sink_irq_esi()
      drm/i915/mst: debug log 4 bytes of ESI right after reading
      drm/i915/mst: abstract handling of link status in DP MST
      drm/i915/mst: read link status only when requested by sink in ESI
      drm/i915/mst: ack sink irq ESI for link status changes
      drm/i915/mst: only ack the ESI we actually handled
      drm/i915: nuke local versions of WARN_ON/WARN_ON_ONCE
      drm/i915/snps: convert to drm device based logging
      drm/i915/pps: convert to drm device based logging
      drm/i915/hotplug: convert to drm device based logging
      drm/i915/dp: convert to drm device based logging
      drm/i915/plane: convert to drm device based logging and WARN
      drm/i915/sprite: convert to drm device based logging
      drm/i915/lspcon: convert to drm device based logging
      drm/i915/cdclk: update intel_dump_cdclk_config() logging
      drm/i915/cdclk: convert to drm device based logging
      drm/i915/vga: switch to use VGA definitions from video/vga.h
      drm/i915: remove VGA register definitions

José Roberto de Souza (2):
      drm/i915/display/ehl: Update voltage swing table
      drm/i915/display/adlp: Implement new step in the TC voltage swing prog sequence

Juston Li (1):
      drm/i915/pxp: Hold RPM wakelock during PXP unbind

Lucas De Marchi (4):
      drm/i915: Do not spam log with missing arch support
      drm/i915: Fix header test for !CONFIG_X86
      drm/i915: Fix trailing semicolon
      dma-buf-map: Rename to iosys-map

Madhumitha Tolakanahalli Pradeep (1):
      drm/i915/dmc: Eliminate remnant GEN<n> references

Matt Roper (18):
      drm/i915: Use parameterized GPR register definitions everywhere
      drm/i915: Parameterize PWRCTX_MAXCNT
      drm/i915: Parameterize ECOSKPD
      drm/i915: Use RING_PSMI_CTL rather than per-engine macros
      drm/i915: Replace GFX_MODE_GEN7 with RING_MODE_GEN7
      drm/i915: Introduce i915_reg_defs.h
      drm/i915/gt: Move engine registers to their own header
      drm/i915: Move SNPS PHY registers to their own header
      drm/i915: Move combo PHY registers to their own header
      drm/i915: Move TC PHY registers to their own header
      drm/i915: Drop unused _PORT3 and _PORT4 TC phy register offsets
      drm/i915/perf: Move OA regs to their own header
      drm/i915/perf: Express OA register ranges with i915_range
      drm/i915: Parameterize R_PWR_CLK_STATE register definition
      drm/i915: Parameterize MI_PREDICATE registers
      drm/i915: Move GT registers to their own header file
      drm/i915: Only include i915_reg.h from .c files
      drm/i915: Move [more] GT registers to their own header file

Rikard Falkeborn (9):
      drm/i915/gvt: Constify intel_gvt_gtt_gma_ops
      drm/i915/gvt: Constify intel_gvt_gtt_pte_ops
      drm/i915/gvt: Constify intel_gvt_irq_ops
      drm/i915/gvt: Constify intel_gvt_sched_policy_ops
      drm/i915/gvt: Constify gvt_mmio_block
      drm/i915/gvt: Constify cmd_interrupt_events
      drm/i915/gvt: Constify formats
      drm/i915/gvt: Constify gtt_type_table_entry
      drm/i915/gvt: Constify vgpu_types

Rodrigo Vivi (2):
      Merge tag 'gvt-next-2022-01-12' of https://github.com/intel/gvt-linux into drm-intel-next
      Merge drm/drm-next into drm-intel-next

Stanislav Lisovskiy (4):
      drm/i915: Pass plane to watermark calculation functions
      drm/i915: Introduce do_async_flip flag to intel_plane_state
      drm/i915: Use wm0 only during async flips for DG2
      drm/i915: Don't allocate extra ddb during async flip for DG2

Tejas Upadhyay (1):
      drm/i915/adl-n: Enable ADL-N platform

Ville Syrjälä (67):
      drm/i915/fbc: Parametrize FBC register offsets
      drm/i915/fbc: Loop through FBC instances in various places
      drm/i915/fbc: Introduce device info fbc_mask
      drm/i915/fbc: Register per-crtc debugfs files
      drm: Always include the debugfs dentry in drm_crtc
      drm/i915/fbc: Remember to update FBC state even when not reallocating CFB
      drm/i915: Sipmplify PLANE_STRIDE masking
      drm/i915: Use REG_BIT() & co. for universal plane bits
      drm/i915: Clean up ivb+ sprite plane registers
      drm/i915: Clean up g4x+ sprite plane registers
      drm/i915: Clean up cursor registers
      drm/i915: Extract skl_plane_aux_dist()
      drm/i915: Declutter color key register stuff
      drm/i915: Nuke pointless middle men for skl+ plane programming
      drm/i915: Remove zombie async flip vt-d w/a
      drm/i915/bios: Introduce has_ddi_port_info()
      drm/i915/bios: Use i915->vbt.ports[] on CHV
      drm/i915/bios: Use i915->vbt.ports[] for all g4x+
      drm/i915/bios: Throw out the !has_ddi_port_info() codepaths
      drm/i915/bios: Nuke DEVICE_TYPE_DP_DUAL_MODE_BITS
      drm/i915/hdmi: Ignore DP++ TMDS clock limit for native HDMI ports
      drm/i915: Clean up vlv/chv sprite plane registers
      drm/i915: Clean up pre-skl primary plane registers
      drm/i915/hdmi: Clean up TMDS clock limit exceeding user mode handling
      drm/i915: Nuke dg2_ddi_pre_enable_dp()
      drm/i915: Introduce ilk_pch_pre_enable()
      drm/i915: Skip dsc readout if the transcoder is disabled
      drm/i915: Simplify intel_dsc_source_support()
      drm/i915: Use per-device debugs for bigjoiner stuff
      drm/i915: Extract hsw_configure_cpu_transcoder()
      drm/i915: Move dsc/joiner enable into hsw_crtc_enable()
      drm/i915: Fix up pixel_rate vs. clock confusion in wm calculations
      drm/i915: Use the correct plane source width in watermark calculations
      drm/i915: Use single_enabled_crtc() in i9xx_update_wm()
      drm/i915: Bump DSL linemask to 20 bits
      drm/i915: Clean up PIPEMISC register defines
      drm/i915: Clean up SKL_BOTTOM_COLOR defines
      drm/i915: Clean up PIPECONF bit defines
      drm/i915: Clean up PCH_TRANSCONF/TRANS_DP_CTL bit defines
      drm/i915: Clean up PIPESRC defines
      drm/i915: Extract intel_{get,set}_m_n()
      drm/i915: Clean up M/N register defines
      drm/i915: s/gmch_{m,n}/data_{m,n}/
      drm/i915: Move drrs hardware bit frobbing to small helpers
      drm/i915: Fix oops due to missing stack depot
      drm/i915: Enable rpm wakeref tracking whether runtime pm is enabled or not
      drm/i915: Nuke intel_dp_set_m_n()
      drm/i915: Nuke intel_dp_get_m_n()
      drm/i915: Nuke ilk_get_fdi_m_n_config()
      drm/i915: Split intel_cpu_transcoder_set_m_n() into M1/N1 vs. M2/N2 variants
      drm/i915: Split intel_cpu_transcoder_get_m_n() into M1/N1 vs. M2/N2 variants
      drm/i915: Pass crtc+cpu_transcoder to intel_cpu_transcoder_set_m_n()
      drm/i915: Move PCH transcoder M/N setup into the PCH code
      drm/i915: Move M/N setup to a more logical place on ddi platforms
      drm/i915: Extract {i9xx,ilk}_configure_cpu_transcoder()
      drm/i915: Disable DRRS on IVB/HSW port != A
      drm/i915: Extract can_enable_drrs()
      drm/i915: Fix transcoder_has_m2_n2()
      drm/i915: Clear DP M2/N2 when not doing DRRS
      drm/i915: Program pch transcoder m2/n2
      drm/i915: Dump dp_m2_n2 always
      drm/i915: Always check dp_m2_n2 on pre-bdw
      drm/i915: Document BDW+ DRRS M/N programming requirements
      drm/i915: s/GRAPHICS_VER/DISPLAY_VER/ where appropriate
      drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
      drm/i915: Populate pipe dbuf slices more accurately during readout
      drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL

Zhenyu Wang (1):
      drm/i915/gvt: Fix cmd parser error for Passmark9

 Documentation/driver-api/device-io.rst             |    9 +
 Documentation/driver-api/dma-buf.rst               |    9 -
 Documentation/gpu/todo.rst                         |   20 +-
 MAINTAINERS                                        |    9 +-
 arch/x86/kernel/early-quirks.c                     |    1 +
 drivers/dma-buf/dma-buf.c                          |   22 +-
 drivers/dma-buf/heaps/cma_heap.c                   |   10 +-
 drivers/dma-buf/heaps/system_heap.c                |   10 +-
 drivers/gpu/drm/ast/ast_drv.h                      |    2 +-
 drivers/gpu/drm/ast/ast_mode.c                     |    8 +-
 drivers/gpu/drm/drm_cache.c                        |   18 +-
 drivers/gpu/drm/drm_client.c                       |    9 +-
 drivers/gpu/drm/drm_fb_helper.c                    |   12 +-
 drivers/gpu/drm/drm_gem.c                          |   12 +-
 drivers/gpu/drm/drm_gem_cma_helper.c               |    9 +-
 drivers/gpu/drm/drm_gem_framebuffer_helper.c       |   16 +-
 drivers/gpu/drm/drm_gem_shmem_helper.c             |   15 +-
 drivers/gpu/drm/drm_gem_ttm_helper.c               |    4 +-
 drivers/gpu/drm/drm_gem_vram_helper.c              |   25 +-
 drivers/gpu/drm/drm_internal.h                     |    6 +-
 drivers/gpu/drm/drm_mipi_dbi.c                     |    8 +-
 drivers/gpu/drm/drm_panel_orientation_quirks.c     |    6 +
 drivers/gpu/drm/drm_prime.c                        |    4 +-
 drivers/gpu/drm/etnaviv/etnaviv_drv.h              |    2 +-
 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c        |    8 +-
 drivers/gpu/drm/gud/gud_pipe.c                     |    4 +-
 drivers/gpu/drm/hyperv/hyperv_drm_modeset.c        |    5 +-
 drivers/gpu/drm/i915/Makefile                      |    3 +-
 drivers/gpu/drm/i915/display/g4x_dp.c              |   18 +-
 drivers/gpu/drm/i915/display/g4x_hdmi.h            |    2 +-
 drivers/gpu/drm/i915/display/i9xx_plane.c          |  105 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |    7 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |    2 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    8 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |    1 +
 drivers/gpu/drm/i915/display/intel_backlight.c     |    3 +
 drivers/gpu/drm/i915/display/intel_bios.c          |  215 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |   14 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   65 +-
 drivers/gpu/drm/i915/display/intel_cdclk.h         |    9 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |    1 +
 .../gpu/drm/i915/display/intel_combo_phy_regs.h    |  162 +
 drivers/gpu/drm/i915/display/intel_crt.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_crtc.c          |    1 +
 drivers/gpu/drm/i915/display/intel_cursor.c        |   25 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  143 +-
 drivers/gpu/drm/i915/display/intel_ddi.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |   42 +-
 drivers/gpu/drm/i915/display/intel_de.h            |    1 -
 drivers/gpu/drm/i915/display/intel_display.c       |  571 ++-
 drivers/gpu/drm/i915/display/intel_display.h       |   36 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |    7 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |   45 +-
 drivers/gpu/drm/i915/display/intel_display_power.h |    2 +-
 drivers/gpu/drm/i915/display/intel_display_trace.h |    1 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   22 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           |   14 +-
 drivers/gpu/drm/i915/display/intel_dmc.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  165 +-
 drivers/gpu/drm/i915/display/intel_dp.h            |    2 -
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |    8 +-
 drivers/gpu/drm/i915/display/intel_dp_aux.h        |    4 -
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |    2 -
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   36 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |   46 +-
 drivers/gpu/drm/i915/display/intel_drrs.c          |  115 +-
 drivers/gpu/drm/i915/display/intel_dsb.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |   29 +-
 drivers/gpu/drm/i915/display/intel_dvo_dev.h       |    2 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  238 +-
 drivers/gpu/drm/i915/display/intel_fbc.h           |    7 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |    7 -
 drivers/gpu/drm/i915/display/intel_gmbus.h         |    1 -
 drivers/gpu/drm/i915/display/intel_hdcp.c          |    3 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |  100 +-
 drivers/gpu/drm/i915/display/intel_hdmi.h          |    6 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |   14 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |  144 +-
 drivers/gpu/drm/i915/display/intel_lvds.h          |    2 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |   56 +-
 drivers/gpu/drm/i915/display/intel_opregion.h      |   10 +
 drivers/gpu/drm/i915/display/intel_overlay.c       |    4 +
 drivers/gpu/drm/i915/display/intel_pch_display.c   |   88 +-
 drivers/gpu/drm/i915/display/intel_pch_display.h   |    8 +
 drivers/gpu/drm/i915/display/intel_pps.c           |   22 +-
 drivers/gpu/drm/i915/display/intel_sdvo.h          |    2 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |   30 +-
 drivers/gpu/drm/i915/display/intel_snps_phy_regs.h |   75 +
 drivers/gpu/drm/i915/display/intel_sprite.c        |   65 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |    5 +-
 drivers/gpu/drm/i915/display/intel_tc_phy_regs.h   |  280 ++
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   26 -
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    7 +-
 drivers/gpu/drm/i915/display/intel_vga.c           |    9 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |  195 +-
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |    8 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    2 +
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |    2 +
 drivers/gpu/drm/i915/gem/i915_gem_tiling.h         |   18 +
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_userptr.h        |   14 +
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |    3 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |    3 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c   |    6 +-
 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.c   |    6 +-
 drivers/gpu/drm/i915/gt/gen2_engine_cs.c           |    2 +
 drivers/gpu/drm/i915/gt/gen6_engine_cs.c           |    1 +
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c               |    2 +
 drivers/gpu/drm/i915/gt/gen7_renderclear.c         |    1 +
 drivers/gpu/drm/i915/gt/gen8_engine_cs.c           |    3 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |    1 -
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |    4 +-
 drivers/gpu/drm/i915/gt/intel_engine_regs.h        |  223 ++
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |    2 +
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |    1 +
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |    2 +
 drivers/gpu/drm/i915/gt/intel_gt.c                 |    4 +-
 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c     |    2 +
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c      |   10 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm_irq.c          |    1 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            | 1554 ++++++++
 drivers/gpu/drm/i915/gt/intel_gtt.c                |    1 +
 drivers/gpu/drm/i915/gt/intel_llc.c                |   10 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |    2 +
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |   15 -
 drivers/gpu/drm/i915/gt/intel_mocs.c               |    2 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c                |   16 +-
 drivers/gpu/drm/i915/gt/intel_rc6.h                |    2 +-
 drivers/gpu/drm/i915/gt/intel_region_lmem.c        |    1 +
 drivers/gpu/drm/i915/gt/intel_reset.c              |    4 +
 drivers/gpu/drm/i915/gt/intel_ring.c               |    1 +
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   12 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |   10 +-
 drivers/gpu/drm/i915/gt/intel_sseu.c               |    3 +-
 drivers/gpu/drm/i915/gt/intel_sseu_debugfs.c       |    1 +
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |    8 +-
 drivers/gpu/drm/i915/gt/intel_workarounds_types.h  |    2 +-
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c       |    1 +
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |    1 +
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |    1 +
 drivers/gpu/drm/i915/gt/selftest_llc.c             |    5 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             |    6 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |    1 +
 .../gpu/drm/i915/gt/uc/abi/guc_actions_slpc_abi.h  |    1 -
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |    2 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |    2 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |    1 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |    1 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h         |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c        |    2 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    4 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.h             |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |    1 +
 drivers/gpu/drm/i915/gvt/aperture_gm.c             |    1 +
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |    4 +-
 drivers/gpu/drm/i915/gvt/display.c                 |   17 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |   19 +-
 drivers/gpu/drm/i915/gvt/edid.c                    |    1 +
 drivers/gpu/drm/i915/gvt/fb_decoder.c              |   49 +-
 drivers/gpu/drm/i915/gvt/gtt.c                     |   70 +-
 drivers/gpu/drm/i915/gvt/gtt.h                     |    4 +-
 drivers/gpu/drm/i915/gvt/gvt.h                     |    2 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |   36 +-
 drivers/gpu/drm/i915/gvt/interrupt.c               |   11 +-
 drivers/gpu/drm/i915/gvt/interrupt.h               |    4 +-
 drivers/gpu/drm/i915/gvt/mmio.c                    |    3 +
 drivers/gpu/drm/i915/gvt/mmio_context.c            |    6 +-
 drivers/gpu/drm/i915/gvt/mmio_context.h            |    2 +-
 drivers/gpu/drm/i915/gvt/reg.h                     |    1 -
 drivers/gpu/drm/i915/gvt/sched_policy.c            |    2 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |    2 +
 drivers/gpu/drm/i915/gvt/scheduler.h               |    2 +-
 drivers/gpu/drm/i915/gvt/vgpu.c                    |    4 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c             |   76 +-
 drivers/gpu/drm/i915/i915_cmd_parser.h             |   26 +
 drivers/gpu/drm/i915/i915_debugfs.c                |    1 +
 drivers/gpu/drm/i915/i915_driver.c                 |    3 +
 drivers/gpu/drm/i915/i915_drv.h                    |   90 +-
 drivers/gpu/drm/i915/i915_gem.c                    |    1 +
 drivers/gpu/drm/i915/i915_gem_evict.c              |    1 +
 drivers/gpu/drm/i915/i915_gem_evict.h              |   24 +
 drivers/gpu/drm/i915/i915_gem_gtt.c                |    1 +
 drivers/gpu/drm/i915/i915_getparam.c               |    2 +
 drivers/gpu/drm/i915/i915_getparam.h               |   15 +
 drivers/gpu/drm/i915/i915_gpu_error.c              |    2 +
 drivers/gpu/drm/i915/i915_ioc32.c                  |    1 +
 drivers/gpu/drm/i915/i915_ioctl.c                  |   94 +
 drivers/gpu/drm/i915/i915_ioctl.h                  |   14 +
 drivers/gpu/drm/i915/i915_irq.c                    |    8 +-
 drivers/gpu/drm/i915/i915_mm.h                     |    4 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   24 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  137 +-
 drivers/gpu/drm/i915/i915_perf_oa_regs.h           |  137 +
 drivers/gpu/drm/i915/i915_perf_types.h             |    2 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |    2 +
 drivers/gpu/drm/i915/i915_reg.h                    | 4102 +++-----------------
 drivers/gpu/drm/i915/i915_reg_defs.h               |  101 +
 drivers/gpu/drm/i915/i915_request.c                |    1 +
 drivers/gpu/drm/i915/i915_suspend.c                |    1 +
 drivers/gpu/drm/i915/i915_sysfs.c                  |    1 +
 drivers/gpu/drm/i915/i915_utils.h                  |   15 -
 drivers/gpu/drm/i915/i915_vma.c                    |    3 +-
 drivers/gpu/drm/i915/intel_device_info.c           |   13 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    5 +-
 drivers/gpu/drm/i915/intel_dram.c                  |    7 +-
 drivers/gpu/drm/i915/intel_pci_config.h            |   85 +
 drivers/gpu/drm/i915/intel_pcode.c                 |   32 +-
 drivers/gpu/drm/i915/intel_pcode.h                 |   12 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  397 +-
 drivers/gpu/drm/i915/intel_pm.h                    |    2 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c            |    7 +-
 drivers/gpu/drm/i915/intel_sbi.c                   |    1 +
 drivers/gpu/drm/i915/intel_uncore.c                |   73 +-
 drivers/gpu/drm/i915/intel_uncore.h                |    2 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_irq.c           |    1 +
 drivers/gpu/drm/i915/vlv_sideband.c                |    1 +
 drivers/gpu/drm/i915/vlv_sideband.h                |    2 +
 drivers/gpu/drm/i915/vlv_sideband_reg.h            |  180 +
 drivers/gpu/drm/i915/vlv_suspend.c                 |    2 +
 drivers/gpu/drm/lima/lima_gem.c                    |    3 +-
 drivers/gpu/drm/lima/lima_sched.c                  |    4 +-
 drivers/gpu/drm/mediatek/mtk_drm_gem.c             |    7 +-
 drivers/gpu/drm/mediatek/mtk_drm_gem.h             |    5 +-
 drivers/gpu/drm/mgag200/mgag200_mode.c             |    4 +-
 drivers/gpu/drm/msm/msm_drv.h                      |    4 +-
 drivers/gpu/drm/msm/msm_gem_prime.c                |    6 +-
 drivers/gpu/drm/panfrost/panfrost_perfcnt.c        |   13 +-
 drivers/gpu/drm/qxl/qxl_display.c                  |    8 +-
 drivers/gpu/drm/qxl/qxl_draw.c                     |    6 +-
 drivers/gpu/drm/qxl/qxl_drv.h                      |   10 +-
 drivers/gpu/drm/qxl/qxl_object.c                   |    8 +-
 drivers/gpu/drm/qxl/qxl_object.h                   |    4 +-
 drivers/gpu/drm/qxl/qxl_prime.c                    |    4 +-
 drivers/gpu/drm/radeon/radeon_gem.c                |    1 +
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c        |    9 +-
 drivers/gpu/drm/rockchip/rockchip_drm_gem.h        |    5 +-
 drivers/gpu/drm/tegra/gem.c                        |   10 +-
 drivers/gpu/drm/tiny/cirrus.c                      |    8 +-
 drivers/gpu/drm/tiny/gm12u320.c                    |    7 +-
 drivers/gpu/drm/ttm/ttm_bo_util.c                  |   16 +-
 drivers/gpu/drm/ttm/ttm_resource.c                 |   42 +-
 drivers/gpu/drm/ttm/ttm_tt.c                       |    8 +-
 drivers/gpu/drm/udl/udl_modeset.c                  |    3 +-
 drivers/gpu/drm/vboxvideo/vbox_mode.c              |    4 +-
 drivers/gpu/drm/vkms/vkms_composer.c               |    4 +-
 drivers/gpu/drm/vkms/vkms_drv.h                    |    6 +-
 drivers/gpu/drm/vkms/vkms_plane.c                  |    2 +-
 drivers/gpu/drm/vkms/vkms_writeback.c              |    2 +-
 drivers/gpu/drm/xen/xen_drm_front_gem.c            |    7 +-
 drivers/gpu/drm/xen/xen_drm_front_gem.h            |    6 +-
 .../media/common/videobuf2/videobuf2-dma-contig.c  |    8 +-
 drivers/media/common/videobuf2/videobuf2-dma-sg.c  |    9 +-
 drivers/media/common/videobuf2/videobuf2-vmalloc.c |   11 +-
 drivers/misc/fastrpc.c                             |    4 +-
 include/drm/drm_cache.h                            |    6 +-
 include/drm/drm_client.h                           |    7 +-
 include/drm/drm_crtc.h                             |    2 -
 include/drm/drm_gem.h                              |    6 +-
 include/drm/drm_gem_atomic_helper.h                |    6 +-
 include/drm/drm_gem_cma_helper.h                   |    6 +-
 include/drm/drm_gem_framebuffer_helper.h           |    8 +-
 include/drm/drm_gem_shmem_helper.h                 |   12 +-
 include/drm/drm_gem_ttm_helper.h                   |    6 +-
 include/drm/drm_gem_vram_helper.h                  |    9 +-
 include/drm/drm_prime.h                            |    6 +-
 include/drm/i915_pciids.h                          |    6 +
 include/drm/ttm/ttm_bo_api.h                       |   10 +-
 include/drm/ttm/ttm_kmap_iter.h                    |   10 +-
 include/drm/ttm/ttm_resource.h                     |    6 +-
 include/linux/dma-buf-map.h                        |  266 --
 include/linux/dma-buf.h                            |   12 +-
 include/linux/iosys-map.h                          |  257 ++
 274 files changed, 6341 insertions(+), 6120 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_combo_phy_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_snps_phy_regs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_tc_phy_regs.h
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_tiling.h
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_userptr.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_regs.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_regs.h
 create mode 100644 drivers/gpu/drm/i915/i915_cmd_parser.h
 create mode 100644 drivers/gpu/drm/i915/i915_gem_evict.h
 create mode 100644 drivers/gpu/drm/i915/i915_getparam.h
 create mode 100644 drivers/gpu/drm/i915/i915_ioctl.c
 create mode 100644 drivers/gpu/drm/i915/i915_ioctl.h
 create mode 100644 drivers/gpu/drm/i915/i915_perf_oa_regs.h
 create mode 100644 drivers/gpu/drm/i915/i915_reg_defs.h
 create mode 100644 drivers/gpu/drm/i915/intel_pci_config.h
 create mode 100644 drivers/gpu/drm/i915/vlv_sideband_reg.h
 delete mode 100644 include/linux/dma-buf-map.h
 create mode 100644 include/linux/iosys-map.h

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-12-14 15:37 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2021-12-14 15:37 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

drm-intel-next-2021-12-14:
drm/i915 feature pull #2 for v5.17:

Features and functionality:
- Add eDP privacy screen support (Hans)
- Add Raptor Lake S (RPL-S) support (Anusha)
- Add CD clock squashing support (Mika)
- Properly support ADL-P without force probe (Clint)
- Enable pipe color support (10 bit gamma) for display 13 platforms (Uma)
- Update ADL-P DMC firmware to v2.14 (Madhumitha)

Refactoring and cleanups:
- More FBC refactoring preparing for multiple FBC instances (Ville)
- Plane register cleanups (Ville)
- Header refactoring and include cleanups (Jani)
- Crtc helper and vblank wait function cleanups (Jani, Ville)
- Move pipe/transcoder/abox masks under intel_device_info.display (Ville)

Fixes:
- Add a delay to let eDP source OUI write take effect (Lyude)
- Use div32 version of MPLLB word clock for UHBR on SNPS PHY (Jani)
- Fix DMC firmware loader overflow check (Harshit Mogalapalli)
- Fully disable FBC on FIFO underruns (Ville)
- Disable FBC with double wide pipe as mutually exclusive (Ville)
- DG2 workarounds (Matt)
- Non-x86 build fixes (Siva)
- Fix HDR plane max width for NV12 (Vidya)
- Disable IRQ for selftest timestamp calculation (Anshuman)
- ADL-P VBT DDC pin mapping fix (Tejas)

Merges:
- Backmerge drm-next for privacy screen plumbing (Jani)

BR,
Jani.

The following changes since commit c8a04cbeedbc9f71c475141baa656f14f4879792:

  Merge tag 'drm-misc-next-2021-11-29' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-12-09 09:31:45 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-12-14

for you to fetch changes up to 96db14432d979532be4cb6d5d52a127317e68b3f:

  drm/i915: Fix implicit use of struct pci_dev (2021-12-14 10:38:29 +0200)

----------------------------------------------------------------
drm/i915 feature pull #2 for v5.17:

Features and functionality:
- Add eDP privacy screen support (Hans)
- Add Raptor Lake S (RPL-S) support (Anusha)
- Add CD clock squashing support (Mika)
- Properly support ADL-P without force probe (Clint)
- Enable pipe color support (10 bit gamma) for display 13 platforms (Uma)
- Update ADL-P DMC firmware to v2.14 (Madhumitha)

Refactoring and cleanups:
- More FBC refactoring preparing for multiple FBC instances (Ville)
- Plane register cleanups (Ville)
- Header refactoring and include cleanups (Jani)
- Crtc helper and vblank wait function cleanups (Jani, Ville)
- Move pipe/transcoder/abox masks under intel_device_info.display (Ville)

Fixes:
- Add a delay to let eDP source OUI write take effect (Lyude)
- Use div32 version of MPLLB word clock for UHBR on SNPS PHY (Jani)
- Fix DMC firmware loader overflow check (Harshit Mogalapalli)
- Fully disable FBC on FIFO underruns (Ville)
- Disable FBC with double wide pipe as mutually exclusive (Ville)
- DG2 workarounds (Matt)
- Non-x86 build fixes (Siva)
- Fix HDR plane max width for NV12 (Vidya)
- Disable IRQ for selftest timestamp calculation (Anshuman)
- ADL-P VBT DDC pin mapping fix (Tejas)

Merges:
- Backmerge drm-next for privacy screen plumbing (Jani)

----------------------------------------------------------------
Anshuman Gupta (1):
      drm/i915/selftest: Disable IRQ for timestamp calculation

Anusha Srivatsa (3):
      drm/i915/rpl-s: Add PCI IDS for Raptor Lake S
      drm/i915/rpl-s: Add PCH Support for Raptor Lake S
      drm/i915/rpl-s: Enable guc submission by default

Clint Taylor (1):
      drm/i915/adlp: Remove require_force_probe protection

Hans de Goede (2):
      drm/i915: Add intel_modeset_probe_defer() helper
      drm/i915: Add privacy-screen support (v3)

Harshit Mogalapalli (1):
      drm/i915/display: Fix an unsigned subtraction which can never be negative.

Jani Nikula (24):
      drm/i915/display: add intel_crtc_wait_for_next_vblank() and use it
      drm/i915/crtc: rename intel_get_crtc_for_pipe() to intel_crtc_for_pipe()
      drm/i915/crtc: rename intel_get_crtc_for_plane() to intel_crtc_for_plane()
      drm/i915/display: remove intel_wait_for_vblank()
      drm/i915/crtc: un-inline some crtc functions and move to intel_crtc.[ch]
      drm/i915/fb: move intel_fb_uses_dpt to intel_fb.c and un-inline
      drm/i915: split out intel_pm_types.h
      drm/i915: move enum hpd_pin to intel_display.h
      drm/i915/display: convert dp_to_i915() to a macro
      drm/i915/display: stop including i915_drv.h from intel_display_types.h
      drm/i915/snps: use div32 version of MPLLB word clock for UHBR
      drm/i915/ddi: add use_edp_hobl() and use_edp_low_vswing() helpers
      drm/i915/trace: clean up boilerplate organization
      drm/i915/trace: split out display trace to a separate file
      Merge drm/drm-next into drm-intel-next
      drm/i915/reset: include intel_display.h instead of intel_display_types.h
      drm/i915/active: remove useless i915_utils.h include
      drm/i915/psr: avoid intel_frontbuffer.h include with declaration
      drm/i915/fbc: avoid intel_frontbuffer.h include with declaration
      drm/i915/fb: reduce include dependencies
      drm/i915/pxp: un-inline intel_pxp_is_enabled()
      drm/i915/pxp: remove useless includes
      drm/i915/cdclk: move intel_atomic_check_cdclk() to intel_cdclk.c
      drm/i915/cdclk: hide struct intel_cdclk_vals

Lyude Paul (1):
      drm/i915/dp: Perform 30ms delay after source OUI write

Madhumitha Tolakanahalli Pradeep (2):
      drm/i915/dmc: Change max DMC FW size on ADL-P
      drm/i915/dmc: Update DMC to v2.14 on ADL-P

Mark Brown (1):
      drm/i915: Fix implicit use of struct pci_dev

Matt Atwood (1):
      drm/i915/dg2: extend Wa_1409120013 to DG2

Matt Roper (2):
      drm/i915/dg2: s/DISP_STEPPING/DISPLAY_STEPPING/
      drm/i915/dg2: Add Wa_14010547955

Mika Kahola (4):
      drm/i915/display/dg2: Introduce CD clock squashing table
      drm/i915/display/dg2: Sanitize CD clock
      drm/i915/display/dg2: Set CD clock squashing registers
      drm/i915/display/dg2: Read CD clock from squasher table

Siva Mullati (1):
      drm/i915: Skip remap_io_mapping() for non-x86 platforms

Tejas Upadhyay (1):
      drm/i915/adl_p: Add ddc pin mapping

Uma Shankar (3):
      drm/i915/xelpd: Enable Pipe color support for D13 platform
      drm/i915/xelpd: Enable Pipe Degamma
      drm/i915/xelpd: Add Pipe Color Lut caps to platform config

Vidya Srinivas (1):
      drm/i915: Add PLANE_CUS_CTL restriction in max_width

Ville Syrjälä (29):
      drm/i915: Get rid of the 64bit PLANE_CC_VAL mmio
      drm/i915: Rename plane YUV order bits
      drm/i915: Rename PLANE_CUS_CTL Y plane bits
      drm/i915/fbc: Eliminate racy intel_fbc_is_active() usage
      drm/i915/fbc: Pass whole plane state to intel_fbc_min_limit()
      drm/i915/fbc: Nuke lots of crap from intel_fbc_state_cache
      drm/i915/fbc: Relocate intel_fbc_override_cfb_stride()
      drm/i915/fbc: Nuke more FBC state
      drm/i915/fbc: Reuse the same struct for the cache and params
      drm/i915/fbc: Pass around FBC instance instead of crtc
      drm/i915/fbc: Track FBC usage per-plane
      drm/i915/fbc: Flatten __intel_fbc_pre_update()
      drm/i915/fbc: Pass i915 instead of FBC instance to FBC underrun stuff
      drm/i915/fbc: Move FBC debugfs stuff into intel_fbc.c
      drm/i915/fbc: Introduce intel_fbc_add_plane()
      drm/i915/fbc: Allocate intel_fbc dynamically
      drm/i915/fbc: Move stuff from intel_fbc_can_enable() into intel_fbc_check_plane()
      drm/i915/fbc: Disable FBC fully on FIFO underrun
      drm/i915/fbc: Nuke state_cache
      drm/i915/fbc: Move plane pointer into intel_fbc_state
      drm/i915/fbc: s/parms/fbc_state/
      drm/i915/fbc: No FBC+double wide pipe
      drm/i915/fbc: Pimp the FBC debugfs output
      drm/i915: Get rid of the "sizes are 0 based" stuff
      drm/i915: Allow cdclk squasher to be reconfigured live
      drm/i915: Nuke {pipe,plane}_to_crtc_mapping[]
      drm/i915: Relocate intel_crtc_for_plane()
      drm/i915: s/intel_get_first_crtc/intel_first_crtc/
      drm/i915: Move pipe/transcoder/abox masks under intel_device_info.display

 arch/x86/kernel/early-quirks.c                     |    1 +
 drivers/gpu/drm/i915/Makefile                      |    1 +
 drivers/gpu/drm/i915/display/g4x_dp.c              |    1 +
 drivers/gpu/drm/i915/display/g4x_hdmi.c            |    1 +
 drivers/gpu/drm/i915/display/i9xx_plane.c          |   15 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |    1 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    7 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |    3 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |   14 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  200 +++-
 drivers/gpu/drm/i915/display/intel_cdclk.h         |   10 +-
 drivers/gpu/drm/i915/display/intel_color.c         |   23 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |    6 +-
 drivers/gpu/drm/i915/display/intel_crtc.c          |   48 +-
 drivers/gpu/drm/i915/display/intel_crtc.h          |    7 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |   16 +
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |   94 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  153 ++-
 drivers/gpu/drm/i915/display/intel_display.h       |   30 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   54 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |    4 +-
 drivers/gpu/drm/i915/display/intel_display_trace.c |    9 +
 drivers/gpu/drm/i915/display/intel_display_trace.h |  587 ++++++++++
 drivers/gpu/drm/i915/display/intel_display_types.h |   79 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           |   10 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |   14 +-
 drivers/gpu/drm/i915/display/intel_dp.h            |    2 +
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |    6 +
 .../gpu/drm/i915/display/intel_dp_link_training.c  |    2 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_dsi.c           |    2 +
 drivers/gpu/drm/i915/display/intel_fb.c            |   11 +
 drivers/gpu/drm/i915/display/intel_fb.h            |    2 +
 drivers/gpu/drm/i915/display/intel_fb_pin.c        |   10 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           | 1177 ++++++++++----------
 drivers/gpu/drm/i915/display/intel_fbc.h           |   16 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |    5 +-
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |   14 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    7 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.h   |    2 +-
 drivers/gpu/drm/i915/display/intel_plane_initial.c |    5 +-
 drivers/gpu/drm/i915/display/intel_psr.h           |   11 +-
 drivers/gpu/drm/i915/display/intel_quirks.c        |    1 +
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |    2 +
 drivers/gpu/drm/i915/display/intel_sprite.c        |   34 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |    8 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |    7 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   17 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |   61 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |    1 +
 drivers/gpu/drm/i915/gt/intel_reset.c              |    2 +-
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |    4 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |    2 +-
 drivers/gpu/drm/i915/gvt/fb_decoder.c              |    2 +-
 drivers/gpu/drm/i915/i915_active_types.h           |    2 -
 drivers/gpu/drm/i915/i915_debugfs.c                |    1 -
 drivers/gpu/drm/i915/i915_driver.c                 |    1 -
 drivers/gpu/drm/i915/i915_drv.h                    |  210 +---
 drivers/gpu/drm/i915/i915_irq.c                    |    8 +-
 drivers/gpu/drm/i915/i915_mm.c                     |   28 +-
 drivers/gpu/drm/i915/i915_mm.h                     |   35 +
 drivers/gpu/drm/i915/i915_pci.c                    |   91 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   48 +-
 drivers/gpu/drm/i915/i915_trace.h                  |  577 +---------
 drivers/gpu/drm/i915/intel_device_info.c           |   31 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   12 +-
 drivers/gpu/drm/i915/intel_pch.c                   |    1 +
 drivers/gpu/drm/i915/intel_pch.h                   |    1 +
 drivers/gpu/drm/i915/intel_pm.c                    |   41 +-
 drivers/gpu/drm/i915/intel_pm_types.h              |   76 ++
 drivers/gpu/drm/i915/pxp/intel_pxp.c               |    5 +
 drivers/gpu/drm/i915/pxp/intel_pxp.h               |   15 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_types.h         |    2 -
 include/drm/i915_pciids.h                          |    9 +
 75 files changed, 2104 insertions(+), 1895 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_trace.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_trace.h
 create mode 100644 drivers/gpu/drm/i915/i915_mm.h
 create mode 100644 drivers/gpu/drm/i915/intel_pm_types.h

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-11-30 15:04 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2021-11-30 15:04 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Tvrtko Ursulin, dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

drm-intel-next-2021-11-30:
drm/i915 feature pull for v5.17:

Features and functionality:
- Implement per-lane DP drive settings for ICL+ (Ville)
- Enable runtime pm autosuspend by default (Tilak Tangudu)
- ADL-P DSI support (Vandita)
- Add support for pipe C and D DMC firmware (Anusha)
- Implement (near)atomic gamma LUT updates via vblank workers (Ville)
- Split plane updates to noarm+arm phases (Ville)
- Remove the CCS FB stride restrictions on ADL-P (Imre)
- Add PSR selective fetch support for biplanar formats (Jouni)
- Add support for display audio codec keepalive (Kai)
- VRR platform support for display 11 (Manasi)

Refactoring and cleanups:
- FBC refactoring and cleanups preparing for multiple FBC instances (Ville)
- PCH modeset refactoring, move to its own file (Ville)
- Refactor and simplify handling of modifiers (Imre)
- PXP cleanups (Ville)
- Display header and include refactoring (Jani)
- Some register macro cleanups (Ville)
- Refactor DP HDMI DFP limit code (Ville)

Fixes:
- Disable DSB usage for now due to incorrect gamma LUT updates (Ville)
- Check async flip state of every crtc and plane only once (José)
- Fix DPT FB suspend/resume (Imre)
- Fix black screen on reboot due to disabled DP++ TMDS output buffers (Ville)
- Don't request GMBUS to generate irqs when called while irqs are off (Ville)
- Fix type1 DVI DP dual mode adapter heuristics for modern platforms (Ville)
- Fix fix integer overflow in 128b/132b data rate calculation (Jani)
- Fix bigjoiner state readout (Ville)
- Build fix for non-x86 (Siva)
- PSR fixes (José, Jouni, Ville)
- Disable ADL-P underrun recovery (José)
- Fix DP link parameter usage before valid DPCD (Imre)
- VRR vblank and frame counter fixes (Ville)
- Fix fastsets on TypeC ports following a non-blocking modeset (Imre)
- Compiler warning fixes (Nathan Chancellor)
- Fix DSI HS mode commands (William Tseng)
- Error return fixes (Dan Carpenter)
- Update memory bandwidth calculations (Radhakrishna)
- Implement WM0 cursor WA for DG2 (Stan)
- Fix DSI Double pixelclock on read-back for dual-link panels (Hans de Goede)
- HDMI 2.1 PCON FRL configuration fixes (Ankit)

Merges:
- DP link training delay helpers, via topic branch (Jani)
- Backmerge drm-next (Jani)

BR,
Jani.

The following changes since commit 136057256686de39cc3a07c2e39ef6bc43003ff6:

  Linux 5.16-rc2 (2021-11-21 13:47:39 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-11-30

for you to fetch changes up to 74ba89c08e309bfeb2b2f401bf588ab54a1542fe:

  drm/i915: Fix DPT suspend/resume on !HAS_DISPLAY platforms (2021-11-29 22:21:29 +0200)

----------------------------------------------------------------
drm/i915 feature pull for v5.17:

Features and functionality:
- Implement per-lane DP drive settings for ICL+ (Ville)
- Enable runtime pm autosuspend by default (Tilak Tangudu)
- ADL-P DSI support (Vandita)
- Add support for pipe C and D DMC firmware (Anusha)
- Implement (near)atomic gamma LUT updates via vblank workers (Ville)
- Split plane updates to noarm+arm phases (Ville)
- Remove the CCS FB stride restrictions on ADL-P (Imre)
- Add PSR selective fetch support for biplanar formats (Jouni)
- Add support for display audio codec keepalive (Kai)
- VRR platform support for display 11 (Manasi)

Refactoring and cleanups:
- FBC refactoring and cleanups preparing for multiple FBC instances (Ville)
- PCH modeset refactoring, move to its own file (Ville)
- Refactor and simplify handling of modifiers (Imre)
- PXP cleanups (Ville)
- Display header and include refactoring (Jani)
- Some register macro cleanups (Ville)
- Refactor DP HDMI DFP limit code (Ville)

Fixes:
- Disable DSB usage for now due to incorrect gamma LUT updates (Ville)
- Check async flip state of every crtc and plane only once (José)
- Fix DPT FB suspend/resume (Imre)
- Fix black screen on reboot due to disabled DP++ TMDS output buffers (Ville)
- Don't request GMBUS to generate irqs when called while irqs are off (Ville)
- Fix type1 DVI DP dual mode adapter heuristics for modern platforms (Ville)
- Fix fix integer overflow in 128b/132b data rate calculation (Jani)
- Fix bigjoiner state readout (Ville)
- Build fix for non-x86 (Siva)
- PSR fixes (José, Jouni, Ville)
- Disable ADL-P underrun recovery (José)
- Fix DP link parameter usage before valid DPCD (Imre)
- VRR vblank and frame counter fixes (Ville)
- Fix fastsets on TypeC ports following a non-blocking modeset (Imre)
- Compiler warning fixes (Nathan Chancellor)
- Fix DSI HS mode commands (William Tseng)
- Error return fixes (Dan Carpenter)
- Update memory bandwidth calculations (Radhakrishna)
- Implement WM0 cursor WA for DG2 (Stan)
- Fix DSI Double pixelclock on read-back for dual-link panels (Hans de Goede)
- HDMI 2.1 PCON FRL configuration fixes (Ankit)

Merges:
- DP link training delay helpers, via topic branch (Jani)
- Backmerge drm-next (Jani)

----------------------------------------------------------------
Andy Shevchenko (1):
      agp/intel-gtt: Replace kernel.h with the necessary inclusions

Ankit Nautiyal (2):
      drm/i915/dp: Optimize the FRL configuration for HDMI2.1 PCON
      drm/i915/dp: For PCON TMDS mode set only the relavant bits in config DPCD

Anusha Srivatsa (1):
      i915/display/dmc: Add Support for PipeC and PipeD DMC

Colin Ian King (1):
      drm/i915: make array states static const

Dan Carpenter (2):
      drm/i915: pin: delete duplicate check in intel_pin_and_fence_fb_obj()
      drm/i915/guc: fix NULL vs IS_ERR() checking

Hans de Goede (1):
      drm/i915/vlv_dsi: Double pixelclock on read-back for dual-link panels

He Ying (1):
      drm: Small optimization to intel_dp_mst_atomic_master_trans_check

Imre Deak (31):
      drm/i915/dp: Skip the HW readout of DPCD on disabled encoders
      drm/i915/dp: Ensure sink rate values are always valid
      drm/i915/dp: Ensure max link params are always valid
      drm/i915/dp: Ensure sink/link max lane count values are always valid
      drm/i915/dp: Sanitize sink rate DPCD register values
      drm/i915/dp: Sanitize link common rate array lookups
      drm/i915: Add a table with a descriptor for all i915 modifiers
      drm/i915: Move intel_get_format_info() to intel_fb.c
      drm/i915: Add tiling attribute to the modifier descriptor
      drm/i915: Simplify the modifier check for interlaced scanout support
      drm/i915: Unexport is_semiplanar_uv_plane()
      drm/i915: Move intel_format_info_is_yuv_semiplanar() to intel_fb.c
      drm/i915: Add a platform independent way to get the RC CCS CC plane
      drm/i915: Handle CCS CC planes separately from CCS AUX planes
      drm/i915: Add a platform independent way to check for CCS AUX planes
      drm/i915: Move is_ccs_modifier() to intel_fb.c
      drm/i915: Add functions to check for RC CCS CC and MC CCS modifiers
      drm/i915/fb: Don't report MC CCS plane capability on GEN<12
      drm/i915/fb: Don't store bitmasks in the intel_plane_caps enum
      drm/i915/fb: Fold modifier CCS type/tiling attribute to plane caps
      drm/i915/fb: Fix rounding error in subsampled plane size calculation
      drm/i915/adlp/fb: Prevent the mapping of redundant trailing padding NULL pages
      drm/i915/fb: Factor out functions to remap contiguous FB obj pages
      drm/i915/adlp/fb: Fix remapping of linear CCS AUX surfaces
      drm/i915/fb: Rename i915_color_plane_view::stride to mapping_stride
      drm/i915/adlp/fb: Remove restriction on semiplanar UV plane offset
      drm/i915/adlp/fb: Remove restriction on CCS AUX plane strides
      drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
      drm/i915: Restore memory mapping for DPT FBs across system suspend/resume
      drm/i915: Fix fastsets on TypeC ports following a non-blocking modeset
      drm/i915: Fix DPT suspend/resume on !HAS_DISPLAY platforms

Jani Nikula (29):
      Merge tag 'topic/drm-dp-training-delay-helpers-2021-10-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next
      drm/i915/dp: use new link training delay helpers
      Revert "drm/i915/bios: gracefully disable dual eDP for now"
      drm/i915/cdclk: put the cdclk vtables in const data
      drm/i915/dp: fix integer overflow in 128b/132b data rate calculation
      drm/i915/dsc: demote noisy drm_info() to drm_kms_dbg()
      Merge drm/drm-next into drm-intel-next
      drm/i915/audio: group audio under anonymous struct in drm_i915_private
      drm/i915/audio: name the audio sub-struct in drm_i915_private
      drm/i915/audio: define the audio struct separately from drm_i915_private
      drm/i915/audio: move intel_audio_funcs internal to intel_audio.c
      drm/i915/audio: rename intel_init_audio_hooks to intel_audio_hooks_init
      drm/i915: include intel-gtt.h only where needed
      agp/intel-gtt: reduce intel-gtt dependencies more
      drm/i915/fbc: fix the FBC kernel-doc warnings
      drm/i915/driver: rename i915_drv.c to i915_driver.c
      drm/i915/driver: rename driver to i915_drm_driver
      drm/i915/driver: add i915_driver_ prefix to functions
      drm/i915: drop intel_display.h include from intel_ddi.h
      drm/i915: drop intel_display.h include from intel_dpll_mgr.h
      drm/i915/debugfs: move debug printing to intel_display_power.c
      drm/i915: move structs from intel_display_power.h to .c
      drm/i915: drop intel_display.h include from intel_display_power.h
      drm/i915/pxp: fix includes for headers in include/drm
      Merge drm/drm-next into drm-intel-next
      drm/i915/dsi: split out intel_dsi_vbt.h
      drm/i915/dsi: split out vlv_dsi_pll.h
      drm/i915/dsi: split out vlv_dsi.h
      drm/i915/dsi: split out icl_dsi.h

Javier Martinez Canillas (1):
      drm/i915: Fix comment about modeset parameters

José Roberto de Souza (8):
      drm/i915/display: Rename POWER_DOMAIN_DPLL_DC_OFF to POWER_DOMAIN_DC_OFF
      drm/i915/display: Add warn_on in intel_psr_pause()
      drm/i915/display: Wait PSR2 get out of deep sleep to update pipe
      drm/i915/adlp: Extend PSR2 support in transcoder B
      drm/i915/adlp: Implement workaround 16013190616
      drm/i915/display: Check async flip state of every crtc and plane once
      drm/i915/display/adlp: Disable underrun recovery
      drm/i915/psr: Fix PSR2 handling of multiplanar format

Jouni Högander (2):
      drm/i915/display: Add initial selective fetch support for biplanar formats
      Revert "drm/i915/display/psr: Do full fetch when handling multi-planar formats"

Kai Vehmanen (1):
      drm/i915/display: program audio CDCLK-TS for keepalives

Lucas De Marchi (1):
      drm/i915: remove CNL leftover

Manasi Navare (1):
      drm/i915/: Extend VRR platform support to Gen 11

Mullati, Siva (1):
      drm/i915: abstraction for iosf to compile on all archs

Nathan Chancellor (1):
      drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()

Radhakrishna Sripada (2):
      drm/i915: Update memory bandwidth formulae
      drm/i915: Fix Memory BW formulae for ADL-P

Rodrigo Vivi (2):
      drm/i915: Clean-up bonding debug message.
      drm/i915: Don't propagate the gen split confusion further

Stanislav Lisovskiy (3):
      drm/i915/dg2: Implement WM0 cursor WA for DG2
      drm/i915/dg2: Tile 4 plane format support
      Revert "drm/i915/dg2: Tile 4 plane format support"

Tilak Tangudu (2):
      drm/i915: Disable D3Cold in s2idle and runtime pm
      drm/i915/rpm: Enable runtime pm autosuspend by default

Vandita Kulkarni (4):
      Revert "drm/i915/tgl/dsi: Gate the ddi clocks after pll mapping"
      drm/i915/dsi/xelpd: Fix the bit mask for wakeup GB
      drm/i915/dsi/xelpd: Add DSI transcoder support
      drm/i915/dsi/xelpd: Disable DC states in Video mode

Ville Syrjälä (79):
      drm/i915: Move the pxp plane state computation
      drm/i915: Fix up skl_program_plane() pxp stuff
      drm/i915: Remove the drm_dbg() from the vblank evade critical section
      drm/i915: Rename intel_load_plane_csc_black()
      drm/i915: Move PCH refclock stuff into its own file
      drm/i915: Move PCH modeset code to its own file
      drm/i915: Clean up the {ilk,lpt}_pch_enable() calling convention
      drm/i915: Move LPT PCH readout code
      drm/i915: Extract ilk_pch_get_config()
      drm/i915: Move iCLKIP readout to the pch code
      drm/i915: Introduce ilk_pch_disable() and ilk_pch_post_disable()
      drm/i915: Move intel_ddi_fdi_post_disable() to fdi code
      drm/i915: Introduce lpt_pch_disable()
      drm/i915: Move function prototypes to the correct header
      drm/i915/hdmi: Split intel_hdmi_bpc_possible() to source vs. sink pair
      drm/i915/hdmi: Introduce intel_hdmi_is_ycbr420()
      drm/i915/hdmi: Introduce intel_hdmi_tmds_clock()
      drm/i915/hdmi: Unify "4:2:0 also" logic between .mode_valid() and .compute_config()
      drm/i915/hdmi: Extract intel_hdmi_output_format()
      drm/i915/psr: Disable PSR before modesets turn off all planes
      Revert "drm/i915/display: Disable audio, DRRS and PSR before planes"
      drm/i915: Disable all planes before modesetting any pipes
      drm/i915: Introduce intel_master_crtc()
      drm/i915: Simplify intel_crtc_copy_uapi_to_hw_state_nomodeset()
      drm/i915: Split PPS write from DSC enable
      drm/i915: Perform correct cpu_transcoder readout for bigjoiner
      drm/i915: Reduce bigjoiner special casing
      drm/i915: Nuke PIPE_CONFIG_QUIRK_BIGJOINER_SLAVE
      drm/i915: Fix type1 DVI DP dual mode adapter heuristic for modern platforms
      drm/i915: Fix icl+ combo phy static lane power down setup
      drm/i915: Don't request GMBUS to generate irqs when called while irqs are off
      drm/i915/hdmi: Turn DP++ TMDS output buffers back on in encoder->shutdown()
      drm/i915: Stop using group access when progrmming icl combo phy TX
      drm/i915: Query the vswing levels per-lane for icl combo phy
      drm/i915: Query the vswing levels per-lane for icl mg phy
      drm/i915: Query the vswing levels per-lane for tgl dkl phy
      drm/i915: Query the vswing levels per-lane for snps phy
      drm/i915: Enable per-lane drive settings for icl+
      drm/i915: Use intel_de_rmw() for tgl dkl phy programming
      drm/i915: Use intel_de_rmw() for icl mg phy programming
      drm/i915: Use intel_de_rmw() for icl combo phy programming
      drm/i915: Reject planar formats when doing async flips
      drm/i915: Fix async flip with decryption and/or DPT
      drm/i915: Fix up the sprite namespacing
      drm/i915: Split update_plane() into update_noarm() + update_arm()
      drm/i915: Split skl+ plane update into noarm+arm pair
      drm/i915: Split pre-skl primary plane update into noarm+arm pair
      drm/i915: Split g4x+ sprite plane update into noarm+arm pair
      drm/i915: Split ivb+ sprite plane update into noarm+arm pair
      drm/i915: Split vlv/chv sprite plane update into noarm+arm pair
      drm/i915: Do vrr push before sampling the frame counter
      drm/i915: Use vblank workers for gamma updates
      drm/i915: Use unlocked register accesses for LUT loads
      drm/i915: Call intel_update_active_dpll() for both bigjoiner pipes
      drm/i915/fbc: Extract snb_fbc_program_fence()
      drm/i915/fbc: Extract {skl,glk}_fbc_program_cfb_stride()
      drm/i915/fbc: Just use params->fence_y_offset always
      drm/i915/fbc: Introduce intel_fbc_is_compressing()
      drm/i915/fbc: Extract helpers to compute FBC control register values
      drm/i915/fbc: Introduce intel_fbc_funcs
      drm/i915/fbc: Introduce .nuke() vfunc
      drm/i915/fbc: s/gen7/ivb/
      drm/i915/fbc: Introduce .program_cfb() vfunc
      drm/i915/fbc: Introduce intel_fbc_set_false_color()
      drm/i915/fbc: Nuke BDW_FBC_COMP_SEG_MASK
      drm/i915/fbc: Clean up all register defines
      drm/i915/fbc: Finish polishing FBC1 registers
      drm/i915: Relocate FBC_LLC_READ_CTRL
      drm/i915/fbc: s/dev_priv/i915/
      drm/i915/fbc: Start passing around intel_fbc
      drm/1915/fbc: Replace plane->has_fbc with a pointer to the fbc instance
      drm/i915: Move vrr push after the frame counter sampling again
      drm/i915: Do vblank evasion correctly if vrr push has already been sent
      drm/i915: Fix framestart_delay commens in VRR code
      drm/i915: Declare .(de)gamma_lut_tests for icl+
      drm/i915: Disable DSB usage for now
      drm/i915: Clean up FPGA_DBG/CLAIM_ER bits
      drm/i915: Clean up DPINVGTT/VLV_DPFLIPSTAT bits
      drm/i915: Clean up CRC register defines

William Tseng (2):
      drm/i915/dsi: disable lpdt if it is not enabled
      drm/i915/dsi: transmit brightness command in HS state

 drivers/char/agp/intel-gtt.c                       |    1 +
 drivers/gpu/drm/drm_dp_helper.c                    |  153 +-
 drivers/gpu/drm/i915/Kconfig                       |    2 +-
 drivers/gpu/drm/i915/Makefile                      |    4 +-
 drivers/gpu/drm/i915/display/i9xx_plane.c          |  134 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   10 +-
 drivers/gpu/drm/i915/display/icl_dsi.h             |   15 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |   89 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |   23 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |  140 +-
 drivers/gpu/drm/i915/display/intel_audio.h         |    4 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |  213 ++-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |    5 +
 drivers/gpu/drm/i915/display/intel_color.c         |  130 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |    2 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   13 +-
 drivers/gpu/drm/i915/display/intel_crtc.c          |  107 +-
 drivers/gpu/drm/i915/display/intel_crtc.h          |    7 +
 drivers/gpu/drm/i915/display/intel_cursor.c        |   69 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  348 ++--
 drivers/gpu/drm/i915/display/intel_ddi.h           |    5 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 1920 ++++----------------
 drivers/gpu/drm/i915/display/intel_display.h       |   17 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   69 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  132 +-
 drivers/gpu/drm/i915/display/intel_display_power.h |  102 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   51 +-
 drivers/gpu/drm/i915/display/intel_dmc.h           |    2 +
 drivers/gpu/drm/i915/display/intel_dp.c            |  161 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   43 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   32 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |    7 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    2 +-
 drivers/gpu/drm/i915/display/intel_dpt.c           |   58 +
 drivers/gpu/drm/i915/display/intel_dpt.h           |    4 +
 drivers/gpu/drm/i915/display/intel_dsb.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_dsi.h           |   42 -
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |    4 +
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    2 +
 drivers/gpu/drm/i915/display/intel_dsi_vbt.h       |   22 +
 drivers/gpu/drm/i915/display/intel_fb.c            |  706 +++++--
 drivers/gpu/drm/i915/display/intel_fb.h            |   31 +-
 drivers/gpu/drm/i915/display/intel_fb_pin.c        |   12 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           | 1000 +++++-----
 drivers/gpu/drm/i915/display/intel_fbc.h           |   11 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |  136 +-
 drivers/gpu/drm/i915/display/intel_fdi.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |    2 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         |   13 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |  117 +-
 drivers/gpu/drm/i915/display/intel_lpe_audio.c     |   42 +-
 drivers/gpu/drm/i915/display/intel_pch_display.c   |  501 +++++
 drivers/gpu/drm/i915/display/intel_pch_display.h   |   27 +
 drivers/gpu/drm/i915/display/intel_pch_refclk.c    |  648 +++++++
 drivers/gpu/drm/i915/display/intel_pch_refclk.h    |   21 +
 drivers/gpu/drm/i915/display/intel_psr.c           |  125 +-
 drivers/gpu/drm/i915/display/intel_psr.h           |    3 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |    2 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  257 +--
 drivers/gpu/drm/i915/display/intel_sprite.h        |    4 -
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   65 +-
 drivers/gpu/drm/i915/display/intel_vdsc.h          |   10 +-
 drivers/gpu/drm/i915/display/intel_vrr.c           |   18 +-
 drivers/gpu/drm/i915/display/intel_vrr.h           |    1 +
 drivers/gpu/drm/i915/display/skl_scaler.c          |    1 +
 drivers/gpu/drm/i915/display/skl_universal_plane.c |  462 +++--
 drivers/gpu/drm/i915/display/vlv_dsi.c             |    8 +
 drivers/gpu/drm/i915/display/vlv_dsi.h             |   19 +
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |    1 +
 drivers/gpu/drm/i915/display/vlv_dsi_pll.h         |   38 +
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |    2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |  266 ++-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |    2 +
 drivers/gpu/drm/i915/gt/intel_gtt.h                |    2 +
 drivers/gpu/drm/i915/{i915_drv.c => i915_driver.c} |   43 +-
 drivers/gpu/drm/i915/i915_driver.h                 |   24 +
 drivers/gpu/drm/i915/i915_drv.h                    |   75 +-
 drivers/gpu/drm/i915/i915_iosf_mbi.h               |   42 +
 drivers/gpu/drm/i915/i915_irq.c                    |    2 +-
 drivers/gpu/drm/i915/i915_module.c                 |    4 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   22 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  358 ++--
 drivers/gpu/drm/i915/i915_switcheroo.c             |    5 +-
 drivers/gpu/drm/i915/i915_trace.h                  |   75 +-
 drivers/gpu/drm/i915/i915_vma_types.h              |   19 +-
 drivers/gpu/drm/i915/intel_pm.c                    |   41 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c            |    3 +
 drivers/gpu/drm/i915/intel_uncore.c                |    2 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_session.c       |    3 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c           |    6 +-
 drivers/gpu/drm/i915/vlv_sideband.c                |    3 +-
 include/drm/drm_dp_helper.h                        |   21 +-
 include/drm/intel-gtt.h                            |    8 +-
 93 files changed, 5549 insertions(+), 3910 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/icl_dsi.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_dsi_vbt.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_pch_display.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_pch_display.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_pch_refclk.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_pch_refclk.h
 create mode 100644 drivers/gpu/drm/i915/display/vlv_dsi.h
 create mode 100644 drivers/gpu/drm/i915/display/vlv_dsi_pll.h
 rename drivers/gpu/drm/i915/{i915_drv.c => i915_driver.c} (97%)
 create mode 100644 drivers/gpu/drm/i915/i915_driver.h
 create mode 100644 drivers/gpu/drm/i915/i915_iosf_mbi.h

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-10-15 18:45 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2021-10-15 18:45 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Sean Paul,
	Maarten Lankhorst, Maxime Ripard, dri-devel, intel-gfx,
	dim-tools

Hi Dave and Daniel,

Here goes drm-intel-next-2021-10-15:

Likely the last one towards 5.15.

UAPI Changes:

- No Functional change, but a clarification around I915_TILING values (Matt).

Driver Changes:

- Changes around async flip VT-d w/a (Ville)
- Delete bogus NULL check in intel_ddi_encoder_destroy (Dan)
- DP link training improvements and DP per-lane driver settings (Ville)
- Free the returned object of acpi_evaluate_dsm (Zenghui)
- Fixes and improvements around DP's UHBR and MST (Jani)
- refactor plane config + pin out (Dave)
- remove unused include in intel_dsi_vbt.c (Lucas)
- some code clean up (Lucas, Jani)
- gracefully disable dual eDP (Jani)
- Remove memory frequency calculation (Jose)
- Fix oops on platforms w/o hpd support (Ville)
- Clean up PXP Kconfig info (Rodrigo)

Thanks,
Rodrigo.

The following changes since commit 1176d15f0f6e556d54ced510ac4a91694960332b:

  Merge tag 'drm-intel-gt-next-2021-10-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2021-10-11 18:09:39 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-10-15

for you to fetch changes up to c974cf01b248c6f4220bfadd57cce74058453aea:

  drm/i915: Clean up PXP Kconfig info. (2021-10-15 14:22:11 -0400)

----------------------------------------------------------------
UAPI Changes:

- No Functional change, but a clarification around I915_TILING values (Matt).

Driver Changes:

- Changes around async flip VT-d w/a (Ville)
- Delete bogus NULL check in intel_ddi_encoder_destroy (Dan)
- DP link training improvements and DP per-lane driver settings (Ville)
- Free the returned object of acpi_evaluate_dsm (Zenghui)
- Fixes and improvements around DP's UHBR and MST (Jani)
- refactor plane config + pin out (Dave)
- remove unused include in intel_dsi_vbt.c (Lucas)
- some code clean up (Lucas, Jani)
- gracefully disable dual eDP (Jani)
- Remove memory frequency calculation (Jose)
- Fix oops on platforms w/o hpd support (Ville)
- Clean up PXP Kconfig info (Rodrigo)

----------------------------------------------------------------
Dan Carpenter (1):
      drm/i915/tc: Delete bogus NULL check in intel_ddi_encoder_destroy()

Dave Airlie (5):
      drm/i915/display: move plane prepare/cleanup to intel_atomic_plane.c
      drm/i915/display: let intel_plane_uses_fence be used from other places.
      drm/i915/display: refactor out initial plane config for crtcs
      drm/i915/display: refactor initial plane config to a separate file
      drm/i915/display: move pin/unpin fb/plane code to a new file.

Jani Nikula (9):
      drm/i915/dg2: fix snps buf trans for uhbr
      drm/i915/dp: take LTTPR into account in 128b/132b rates
      drm/i915/mst: abstract intel_dp_mst_source_support()
      drm/i915/dp: abstract intel_dp_lane_max_vswing_reached()
      drm/i915/dg2: update link training for 128b/132b
      drm/i915: split out vlv sideband to a separate file
      drm/i915/bios: gracefully disable dual eDP for now
      drm/i915: split out intel_pcode.[ch] to separate file
      drm/i915: rename intel_sideband.[ch] to intel_sbi.[ch]

José Roberto de Souza (1):
      drm/i915: Remove memory frequency calculation

Lucas De Marchi (1):
      drm/i915/display: remove unused intel-mid.h include

Matt Roper (1):
      drm/i915/uapi: Add comment clarifying purpose of I915_TILING_* values

Rodrigo Vivi (2):
      Merge drm/drm-next into drm-intel-next
      drm/i915: Clean up PXP Kconfig info.

Ville Syrjälä (14):
      drm/i915: Extend the async flip VT-d w/a to skl/bxt
      drm/i195: Make the async flip VT-d workaround dynamic
      drm/i915: Tweak the DP "max vswing reached?" condition
      drm/i915: Show LTTPR in the TPS debug print
      drm/i915: Print the DP vswing adjustment request
      drm/i915: Pimp link training debug prints
      drm/i915: Call intel_dp_dump_link_status() for CR failures
      drm/i915: Remove pointless extra namespace from dkl/snps buf trans structs
      drm/i915: Shrink {icl_mg,tgl_dkl}_phy_ddi_buf_trans
      drm/i915: Use standard form terminating condition for lane for loops
      drm/i915: Remove dead DKL_TX_LOADGEN_SHARING_PMD_DISABLE stuff
      drm/i915: Extract icl_combo_phy_loadgen_select()
      drm/i915: Add all per-lane register definitions for icl combo phy
      drm/i915: Fix oops on platforms w/o hpd support

Zenghui Yu (1):
      drm/i915: Free the returned object of acpi_evaluate_dsm()

 drivers/gpu/drm/i915/Kconfig                       |  10 +-
 drivers/gpu/drm/i915/Makefile                      |   6 +-
 drivers/gpu/drm/i915/display/g4x_dp.c              |   4 +-
 drivers/gpu/drm/i915/display/g4x_hdmi.c            |   2 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |  14 +-
 drivers/gpu/drm/i915/display/intel_acpi.c          |   7 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  | 209 ++++++
 drivers/gpu/drm/i915/display/intel_bios.c          |  47 ++
 drivers/gpu/drm/i915/display/intel_bw.c            |   2 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   3 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |   8 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  76 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |   4 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h |  18 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 784 ++-------------------
 drivers/gpu/drm/i915/display/intel_display.h       |  15 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   6 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |   6 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   1 -
 drivers/gpu/drm/i915/display/intel_dp.c            |  29 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  | 352 ++++++---
 .../gpu/drm/i915/display/intel_dp_link_training.h  |   1 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |  15 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.h        |   4 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |   5 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |   2 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |   3 +-
 drivers/gpu/drm/i915/display/intel_fb_pin.c        | 274 +++++++
 drivers/gpu/drm/i915/display/intel_fb_pin.h        |  28 +
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   1 +
 drivers/gpu/drm/i915/display/intel_fdi.c           |   2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   6 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |   2 +-
 drivers/gpu/drm/i915/display/intel_plane_initial.c | 283 ++++++++
 drivers/gpu/drm/i915/display/intel_plane_initial.h |  13 +
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |   6 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   2 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   2 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c      |   3 +-
 drivers/gpu/drm/i915/gt/intel_llc.c                |   2 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c                |   2 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |   3 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |   1 -
 drivers/gpu/drm/i915/i915_drv.c                    |   2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  24 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |   1 -
 drivers/gpu/drm/i915/intel_dram.c                  |  32 +-
 drivers/gpu/drm/i915/intel_pcode.c                 | 235 ++++++
 drivers/gpu/drm/i915/intel_pcode.h                 |  26 +
 drivers/gpu/drm/i915/intel_pm.c                    |  17 +-
 drivers/gpu/drm/i915/intel_sbi.c                   |  73 ++
 drivers/gpu/drm/i915/intel_sbi.h                   |  23 +
 drivers/gpu/drm/i915/intel_sideband.c              | 577 ---------------
 drivers/gpu/drm/i915/vlv_sideband.c                | 266 +++++++
 .../drm/i915/{intel_sideband.h => vlv_sideband.h}  |  34 +-
 include/uapi/drm/i915_drm.h                        |   6 +
 57 files changed, 1974 insertions(+), 1607 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_fb_pin.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_fb_pin.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_plane_initial.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_plane_initial.h
 create mode 100644 drivers/gpu/drm/i915/intel_pcode.c
 create mode 100644 drivers/gpu/drm/i915/intel_pcode.h
 create mode 100644 drivers/gpu/drm/i915/intel_sbi.c
 create mode 100644 drivers/gpu/drm/i915/intel_sbi.h
 delete mode 100644 drivers/gpu/drm/i915/intel_sideband.c
 create mode 100644 drivers/gpu/drm/i915/vlv_sideband.c
 rename drivers/gpu/drm/i915/{intel_sideband.h => vlv_sideband.h} (77%)

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-10-04 19:01 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2021-10-04 19:01 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Sean Paul,
	Maarten Lankhorst, Maxime Ripard, dri-devel, intel-gfx,
	dim-tools

Hi Dave and Daniel,

Here goes an accumulated pull request. A special highlight to
the ADL-P (XE_LPD) and DG2 display support preparation and on
a big clean-up in the display portion of the driver.

Here goes drm-intel-next-2021-10-04:

Cross-subsystem Changes:
- fbdev/efifb: Release PCI device's runtime PM ref during FB destr\
oy (Imre)

i915 Core Driver Changes:
- Only access SFC_DONE in media when not fused off for graphics 12 and newer.
- Double Memory latency values from pcode for DG2 (Matt Roper)
- ADL-S PCI ID update (Tejas)
- New DG1 PCI ID (Jose)
- Fix regression with uncore refactoring (Dave)

i915 Display Changes:
- ADL-P display (XE_LPD) fixes and updates (Ankit, Jani, Matt Roper, Anusham, Jose, Imre, Vandita)
- DG2 display fixes (Ankit, Jani)
- Expand PCH_CNP tweaked display workaround to all newer displays (Anshuman)
- General display simplifications and clean-ups (Jani, Swati, Jose, Ville)
- PSR Clean-ups, dropping support for BDW/HSD and enable PSR2 selective fetch by default (Jose, Gwan-gyeong)
- Nuke ORIGIN_GTT (Jose)
- Return proper DPRX link training result (Lee)
- FBC related refactor and fixes (Ville)
- Yet another attempt to solve the fast+narrow vs slow+wide eDP link training (Kai-Heng)
- DP 2.0 preparation work (Jani)
- Silence __iomem sparse warn (Ville)
- Clean up DPLL stuff (Ville)
- Fix various dp/edp max rates (Matt Atwood, Animesh, Jani)
- Remove VBT ddi_port_info caching (Jani)
- DSI driver improvements (Lee)
- HDCP fixes (Juston)
- Associate ACPI connector nodes with connector entries (Heikki)
- Add support for out-of-bound hotplug events (Hans)
- VESA vendor block and drm/i915 MSO use of it (Jani)
- Fixes for bigjoiner (Ville)
- Update memory bandwidth parameters (RK)
- DMC related fixes (Chris, Jose)
- HDR related fixes and improvements (Tejas)
- g4x/vlv/chv CxSR/wm fixes/cleanups (Ville)
- Use BIOS provided value for RKL Audio's HDA link (Kai-Heng)
- Fix the dsc check while selecting min_cdclk (Vandita)
- Split and constify vtable (Dave)
- Add ww context to intel_dpt_pin (Maarten)
- Fix bdb version check (Lukasz)
- DP per-lane drive settings prep work and other DP fixes (Ville)

Thanks,
Rodrigo.

The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f:

  Linux 5.15-rc1 (2021-09-12 16:28:37 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-10-04

for you to fetch changes up to 104c1b3d6fb6a794babd5e2ffd6a5183b5a3d6c7:

  drm/i915: Allow per-lane drive settings with LTTPRs (2021-10-04 13:04:36 +0300)

----------------------------------------------------------------
Cross-subsystem Changes:
- fbdev/efifb: Release PCI device's runtime PM ref during FB destr\
oy (Imre)

i915 Core Driver Changes:
- Only access SFC_DONE in media when not fused off for graphics 12 and newer.
- Double Memory latency values from pcode for DG2 (Matt Roper)
- ADL-S PCI ID update (Tejas)
- New DG1 PCI ID (Jose)
- Fix regression with uncore refactoring (Dave)

i915 Display Changes:
- ADL-P display (XE_LPD) fixes and updates (Ankit, Jani, Matt Roper, Anusham, Jose, Imre, Vandita)
- DG2 display fixes (Ankit, Jani)
- Expand PCH_CNP tweaked display workaround to all newer displays (Anshuman)
- General display simplifications and clean-ups (Jani, Swati, Jose, Ville)
- PSR Clean-ups, dropping support for BDW/HSD and enable PSR2 selective fetch by default (Jose, Gwan-gyeong)
- Nuke ORIGIN_GTT (Jose)
- Return proper DPRX link training result (Lee)
- FBC related refactor and fixes (Ville)
- Yet another attempt to solve the fast+narrow vs slow+wide eDP link training (Kai-Heng)
- DP 2.0 preparation work (Jani)
- Silence __iomem sparse warn (Ville)
- Clean up DPLL stuff (Ville)
- Fix various dp/edp max rates (Matt Atwood, Animesh, Jani)
- Remove VBT ddi_port_info caching (Jani)
- DSI driver improvements (Lee)
- HDCP fixes (Juston)
- Associate ACPI connector nodes with connector entries (Heikki)
- Add support for out-of-bound hotplug events (Hans)
- VESA vendor block and drm/i915 MSO use of it (Jani)
- Fixes for bigjoiner (Ville)
- Update memory bandwidth parameters (RK)
- DMC related fixes (Chris, Jose)
- HDR related fixes and improvements (Tejas)
- g4x/vlv/chv CxSR/wm fixes/cleanups (Ville)
- Use BIOS provided value for RKL Audio's HDA link (Kai-Heng)
- Fix the dsc check while selecting min_cdclk (Vandita)
- Split and constify vtable (Dave)
- Add ww context to intel_dpt_pin (Maarten)
- Fix bdb version check (Lukasz)
- DP per-lane drive settings prep work and other DP fixes (Ville)

----------------------------------------------------------------
Animesh Manna (3):
      drm/i915/dg2: UHBR tables added for pll programming
      drm/i915/dp: fix EHL/JSL max source rates calculation
      drm/i915/dp: fix for ADL_P/S dp/edp max source rates

Ankit Nautiyal (2):
      drm/i915/display: Fix the 12 BPC bits for PIPE_MISC reg
      drm/i915/dg2: Configure PCON in DP pre-enable path

Anshuman Gupta (1):
      drm/i915: Tweaked Wa_14010685332 for all PCHs

Anusha Srivatsa (1):
      drm/i915/dmc: Update to DMC v2.12

Chris Wilson (1):
      drm/i915: Free all DMC payloads

Dave Airlie (25):
      drm/i915/uncore: split the fw get function into separate vfunc
      drm/i915/pm: drop get_fifo_size vfunc.
      drm/i915: make update_wm take a dev_priv.
      drm/i915/wm: provide wrappers around watermark vfuncs calls (v3)
      drm/i915: add wrappers around cdclk vtable funcs.
      drm/i915/display: add intel_fdi_link_train wrapper.
      drm/i915: split clock gating init from display vtable
      drm/i915: split watermark vfuncs from display vtable.
      drm/i915: split color functions from display vtable
      drm/i915: split audio functions from display vtable
      drm/i915: split cdclk functions from display vtable.
      drm/i915: split irq hotplug function from display vtable
      drm/i915: split fdi link training from display vtable.
      drm/i915: split the dpll clock compute out from display vtable.
      drm/i915: constify fdi link training vtable
      drm/i915: constify hotplug function vtable.
      drm/i915: constify color function vtable.
      drm/i915: constify the audio function vtable
      drm/i915: constify the dpll clock vtable
      drm/i915: constify the cdclk vtable
      drm/i915: drop unused function ptr and comments.
      drm/i915: constify display function vtable
      drm/i915: constify clock gating init vtable.
      drm/i915: constify display wm vtable
      drm/i915: fix regression with uncore refactoring.

Gwan-gyeong Mun (1):
      drm/i915/display/psr: Do full fetch when handling multi-planar formats

Hans de Goede (1):
      drm/i915/dp: Add support for out-of-bound hotplug events

Heikki Krogerus (1):
      drm/i915: Associate ACPI connector nodes with connector entries (v2)

Imre Deak (19):
      fbdev/efifb: Release PCI device's runtime PM ref during FB destroy
      drm/i915: Use tile block based dimensions for CCS origin x, y check
      drm/i915/adlp: Require always a power-of-two sized CCS surface stride
      drm/i915/adlp: Assert that VMAs in DPT start at 0
      drm/i915: Follow a new->old platform check order in intel_fb_stride_alignment
      drm/i915/adlp: Add support for remapping CCS FBs
      drm/i915/tc: Fix TypeC port init/resume time sanitization
      drm/i915/adlp/tc: Fix PHY connected check for Thunderbolt mode
      drm/i915/tc: Remove waiting for PHY complete during releasing ownership
      drm/i915/tc: Check for DP-alt, legacy sinks before taking PHY ownership
      drm/i915/tc: Add/use helpers to retrieve TypeC port properties
      drm/i915/tc: Don't keep legacy TypeC ports in connected state w/o a sink
      drm/i915/tc: Add a mode for the TypeC PHY's disconnected state
      drm/i915/tc: Refactor TC-cold block/unblock helpers
      drm/i915/tc: Avoid using legacy AUX PW in TBT mode
      drm/i915/icl/tc: Remove the ICL special casing during TC-cold blocking
      drm/i915/tc: Fix TypeC PHY connect/disconnect logic on ADL-P
      drm/i915/tc: Drop extra TC cold blocking from intel_tc_port_connected()
      drm/i915/tc: Fix system hang on ADL-P during TypeC PHY disconnect

Jani Nikula (81):
      drm/i915/edp: fix eDP MSO pipe sanity checks for ADL-P
      drm/i915/mst: use intel_de_rmw() to simplify VC payload alloc set/clear
      drm/i915/dp: pass crtc_state to intel_ddi_dp_level()
      drm/i915/dg2: use existing mechanisms for SNPS PHY translations
      drm/i915/dg2: add SNPS PHY translations for UHBR link rates
      Merge drm/drm-next into drm-intel-next
      drm/i915/dp: remove superfluous EXPORT_SYMBOL()
      drm/i915/irq: reduce inlines to reduce header dependencies
      drm/i915: intel_runtime_pm.h does not actually need intel_display.h
      drm/i915/pm: use forward declaration to remove an include
      drm/i915/panel: move intel_panel_use_ssc() out of headers
      drm/i915/fdi: move intel_fdi_link_freq() to intel_fdi.[ch]
      drm/i915/dp: use actual link rate values in struct link_config_limits
      drm/i915/dp: read sink UHBR rates
      drm/i915/dg2: add TRANS_DP2_CTL register definition
      drm/i915/dg2: add TRANS_DP2_VFREQHIGH and TRANS_DP2_VFREQLOW
      drm/i915/dg2: add DG2 UHBR source rates
      drm/i915/dp: add max data rate calculation for UHBR rates
      drm/i915/fdi: make intel_fdi_link_freq() return int
      drm/i915/display: split out dpt out of intel_display.c
      drm/i915: add HAS_ASYNC_FLIPS feature macro
      drm/i915/fb: move intel_tile_width_bytes() to intel_fb.c
      drm/i915/fb: move intel_fb_align_height() to intel_fb.c
      drm/i915/fb: move intel_surf_alignment() to intel_fb.c
      drm/i915/fb: move user framebuffer stuff to intel_fb.c
      drm/i915/backlight: extract backlight code to a separate file
      drm/i915/backlight: mass rename functions to have intel_backlight_ prefix
      drm/i915/panel: mass rename functions to have intel_panel_ prefix
      drm/i915/snps: constify struct intel_mpllb_state arrays harder
      drm/i915/fdi: move intel_update_fdi_pll_freq to intel_fdi.c
      drm/i915/fdi: move fdi bc bifurcation functions to intel_fdi.c
      drm/i915/fdi: move more FDI stuff to FDI link train hooks
      drm/i915/fdi: move fdi mphy reset and programming to intel_fdi.c
      drm/i915/fdi: convert BUG()'s to MISSING_CASE()
      drm/i915: remove unused i915->active_pipes
      drm/i915/dp: fix DG2 max source rate check
      drm/i915/debugfs: clean up LPSP status
      drm/i915/debugfs: clean up LPSP capable
      drm/i915/dp: fix TGL and ICL max source rates
      drm/i915/dp: fix DG1 and RKL max source rates
      drm/i915/bios: use hdmi level shift directly from child data
      drm/i915/bios: use max tmds clock directly from child data
      drm/i915/bios: use dp max link rate directly from child data
      drm/i915/bios: use alternate aux channel directly from child data
      drm/i915/bios: move ddc pin mapping code next to ddc pin sanitize
      drm/i915/bios: use ddc pin directly from child data
      drm/i915/bios: get rid of vbt ddi_port_info
      drm/displayid: re-align data block macros
      drm/displayid: add DisplayID v2.0 data blocks and primary use cases
      drm/edid: abstract OUI conversion to 24-bit int
      drm/edid: parse the DisplayID v2.0 VESA vendor block for MSO
      drm/i915/edp: postpone MSO init until after EDID read
      drm/i915/edp: use MSO pixel overlap from DisplayID data
      drm/dp: add DP 2.0 UHBR link rate and bw code conversions
      drm/dp: use more of the extended receiver cap
      drm/dp: add LTTPR DP 2.0 DPCD addresses
      drm/dp: add helper for extracting adjust 128b/132b TX FFE preset
      drm/i915/dg2: add DG2+ TRANS_DDI_FUNC_CTL DP 2.0 128b/132b mode
      drm/i915/dp: add helper for checking for UHBR link rate
      drm/i915/dp: use 128b/132b TPS2 for UHBR+ link rates
      drm/i915/dp: select 128b/132b channel encoding for UHBR rates
      drm/i915/dg2: configure TRANS_DP2_CTL for DP 2.0
      drm/i915/dp: add HAS_DP20 macro
      drm/i915/dg2: use 128b/132b transcoder DDI mode
      drm/i915/dg2: configure TRANS_DP2_VFREQ{HIGH,LOW} for 128b/132b
      drm/i915/fdi: move fdi modeset asserts to intel_fdi.c
      drm/i915/pps: move pps (panel) modeset asserts to intel_pps.c
      drm/i915/dpll: move dpll modeset asserts to intel_dpll.c
      drm/i915/dsi: move dsi pll modeset asserts to vlv_dsi_pll.c
      drm/i915/dsi: pass struct mipi_dsi_packet pointer, not the entire struct
      drm/i915/dsi: fuse dsi_send_pkt_payld() and add_payld_to_queue()
      drm/i915/dsi: return -EBUSY instead of -1
      drm/i915/hdmi: return -EINVAL instead of -1
      drm/i915/drv: return -EIO instead of -1
      drm/i915/dram: return -EINVAL instead of -1
      drm/i915/fdi: use -EAGAIN instead of local special return value
      drm/i915/hdmi: convert intel_hdmi_to_dev to intel_hdmi_to_i915
      drm/i915/debugfs: register LPSP capability on all platforms
      drm/i915/display: stop returning errors from debugfs registration
      drm/i915/debugfs: pass intel_connector to intel_connector_debugfs_add()
      drm/i915/reg: add AUD_TCA_DP_2DOT0_CTRL registers

José Roberto de Souza (24):
      drm/i915/display: Fix sel fetch plane offset calculation
      drm/i915: Nuke ORIGIN_GTT
      drm/i915/display: Drop PSR support from HSW and BDW
      drm/i915/display: Move DRRS code its own file
      drm/i915/display: Renaming DRRS functions to intel_drrs_*()
      drm/i915/display: Some code improvements and code style fixes for DRRS
      drm/i915/display: Share code between intel_drrs_flush and intel_drrs_invalidate
      drm/i915/display: Prepare DRRS for frontbuffer rendering drop
      drm/i915/dg1: Add new PCI id
      drm/i915/display/adlp: Fix PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR calculation
      drm/i915/display: Wait at least 2 frames before selective update
      drm/i915/display: Workaround cursor left overs with PSR2 selective fetch enabled
      drm/i915/display/psr: Use drm damage helpers to calculate plane damaged area
      drm/i915/display/adlp: Add new PSR2 workarounds
      drm/i915/display/dmc: Set DC_STATE_DEBUG_MASK_CORES after firmware load
      drm/i915/display: Match PSR2 selective fetch sequences with specification
      drm/i915/display: Only keep PSR enabled if there is active planes
      drm/i915/display/psr: Handle plane and pipe restrictions at every page flip
      drm/i915/display: Drop unnecessary frontbuffer flushes
      drm/i915/display: Handle frontbuffer rendering when PSR2 selective fetch is enabled
      drm/i915/display: Fix glitches when moving cursor with PSR2 selective fetch enabled
      drm/i915/display/adlp: Optimize PSR2 power-savings in corner cases
      drm/i915/display/adlp: Allow PSR2 to be enabled
      drm/i915/display: Enable PSR2 selective fetch by default

Juston Li (3):
      drm/i915/hdcp: update cp_irq_count_cached in intel_dp_hdcp2_read_msg()
      drm/i915/hdcp: read RxInfo once when reading RepeaterAuth_Send_ReceiverID_List
      drm/i915/hdcp: reuse rx_info for mst stream type1 capability check

Kai-Heng Feng (2):
      drm/i915/dp: Use max params for panels < eDP 1.4
      drm/i915/audio: Use BIOS provided value for RKL HDA link

Lee Shawn C (6):
      drm/i915/dp: return proper DPRX link training result
      drm/i915/dsi: wait for header and payload credit available
      drm/i915/dsi: refine send MIPI DCS command sequence
      drm/i915: Get proper min cdclk if vDSC enabled
      drm/i915/dsi: Retrieve max brightness level from VBT
      drm/i915/dsi: Read/write proper brightness value via MIPI DCS command

Lukasz Majczak (1):
      drm/i915/bdb: Fix version check

Maarten Lankhorst (1):
      drm/i915: Add ww context to intel_dpt_pin, v2.

Matt Atwood (1):
      drm/i915/dp: Fix eDP max rate for display 11+

Matt Roper (3):
      drm/i915: Only access SFC_DONE when media domain is not fused off
      drm/i915/adl_p: Also disable underrun recovery with MSO
      drm/i915/dg2: Memory latency values from pcode must be doubled

Radhakrishna Sripada (1):
      drm/i915: Update memory bandwidth parameters

Rodrigo Vivi (2):
      Merge tag 'drm-misc-intel-oob-hotplug-v1' of git://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux into drm-intel-next
      Merge drm/drm-next into drm-intel-next

Swati Sharma (1):
      drm/i915/dp: Drop redundant debug print

Tejas Upadhyay (3):
      drm/i915/adl_s: Update ADL-S PCI IDs
      drm/i915/display: Add HDR mode helper function
      drm/i915/gen11: Disable cursor clock gating in HDR mode

Vandita Kulkarni (4):
      drm/i915/display: Update small joiner ram size
      drm/i915/dsi/xelpd: Add WA to program LP to HS wakeup guardband
      drm/i915/dsi/xelpd: Enable mipi dsi support.
      drm/i915/display: Fix the dsc check while selecting min_cdclk

Ville Syrjälä (63):
      drm/i915/fbc: Rewrite the FBC tiling check a bit
      drm/i915/fbc: Extract intel_fbc_update()
      drm/i915/fbc: Move the "recompress on activate" to a central place
      drm/i915/fbc: Polish the skl+ FBC stride override handling
      drm/i915: Silence __iomem sparse warn
      drm/i915: Set output_types to EDP for vlv/chv DPLL forcing
      drm/i915: Clean up gen2 DPLL readout
      drm/i915: Extract ilk_update_pll_dividers()
      drm/i915: Constify struct dpll all over
      drm/i915: Clean dpll calling convention
      drm/i915: Clean up variable names in old dpll functions
      drm/i915: Remove the 'reg' local variable
      drm/i915: Program DPLL P1 dividers consistently
      drm/i915: Call {vlv,chv}_prepare_pll() from {vlv,chv}_enable_pll()
      drm/i915: Reuse ilk_needs_fb_cb_tune() for the reduced clock as well
      drm/i915: Fold i9xx_set_pll_dividers() into i9xx_enable_pll()
      drm/i915: Fold ibx_pch_dpll_prepare() into ibx_pch_dpll_enable()
      drm/i915: Nuke intel_prepare_shared_dpll()
      drm/i915: Extract intel_dp_need_bigjoiner()
      drm/i915: Flatten hsw_crtc_compute_clock()
      drm/i915: s/pipe/transcoder/ when dealing with PIPECONF/TRANSCONF
      drm/i915: Introduce with_intel_display_power_if_enabled()
      drm/i915: Adjust intel_dsc_power_domain() calling convention
      drm/i915: Extract hsw_panel_transcoders()
      drm/i915: s/crtc_state/new_crtc_state/ etc.
      drm/i915: Use u8 consistently for active_planes bitmask
      drm/i915: Fix g4x cxsr enable condition
      drm/i915: Apply WaUse32BppForSRWM to elk as well as ctg
      drm/i915: Fix HPLL watermark readout for g4x
      drm/i915/fbc: Rework cfb stride/size calculations
      drm/i915/fbc: Align FBC segments to 512B on glk+
      drm/i915/fbc: Implement Wa_16011863758 for icl+
      drm/i915/fbc: Allow higher compression limits on FBC1
      drm/i915: Extract intel_panel_mode_valid()
      drm/i915: Use intel_panel_mode_valid() for DSI/LVDS/(s)DVO
      drm/i915: Reject modes that don't match fixed_mode vrefresh
      drm/i915: Introduce intel_panel_compute_config()
      drm/i915: Reject user modes that don't match fixed mode's refresh rate
      drm/i915: Drop pointless fixed_mode checks from dsi code
      drm/i915: Enable TPS3/4 on all platforms that support them
      drm/i915/fbc: Allow FBC with Yf tiling
      drm/i915: Pimp HSW+ transcoder state readout
      drm/i915: Configure TRANSCONF just the once with bigjoiner
      drm/i915: Clear leftover DP vswing/preemphasis values before modeset
      drm/i915: Call intel_ddi_init_dp_buf_reg() earlier
      drm/i915: Remove DP_PORT_EN stuff from link training code
      drm/i915: Nuke local copies/pointers of intel_dp->DP
      drm/i915: s/ddi_translations/trans/
      drm/i915: Use standard form -EDEADLK check
      drm/i915: Adjust intel_crtc_compute_config() debug message
      drm/i915: Move WaPruneModeWithIncorrectHsyncOffset into intel_mode_valid()
      drm/i915: Stop force enabling pipe bottom color gammma/csc
      drm/i915: Fix DP clock recovery "voltage_tries" handling
      drm/i915: Introduce has_iboost()
      drm/i915: Introduce has_buf_trans_select()
      drm/i915: Generalize .set_signal_levels()
      drm/i915: Nuke useless .set_signal_levels() wrappers
      drm/i915: De-wrapper bxt_ddi_phy_set_signal_levels()
      drm/i915: Hoover the level>=n_entries WARN into intel_ddi_level()
      drm/i915: Nuke intel_ddi_hdmi_num_entries()
      drm/i915: Pass the lane to intel_ddi_level()
      drm/i915: Prepare link training for per-lane drive settings
      drm/i915: Allow per-lane drive settings with LTTPRs

 Documentation/gpu/i915.rst                         |   25 +-
 drivers/gpu/drm/drm_connector.c                    |   79 +
 drivers/gpu/drm/drm_crtc_internal.h                |    2 +
 drivers/gpu/drm/drm_dp_helper.c                    |   42 +-
 drivers/gpu/drm/drm_edid.c                         |   89 +-
 drivers/gpu/drm/drm_sysfs.c                        |   87 +-
 drivers/gpu/drm/i915/Makefile                      |    3 +
 drivers/gpu/drm/i915/display/g4x_dp.c              |   86 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |  161 +-
 drivers/gpu/drm/i915/display/intel_acpi.c          |   46 +
 drivers/gpu/drm/i915/display/intel_acpi.h          |    3 +
 drivers/gpu/drm/i915/display/intel_audio.c         |   48 +-
 drivers/gpu/drm/i915/display/intel_backlight.c     | 1776 +++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_backlight.h     |   52 +
 drivers/gpu/drm/i915/display/intel_bios.c          |  397 +++--
 drivers/gpu/drm/i915/display/intel_bw.c            |   19 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  345 ++--
 drivers/gpu/drm/i915/display/intel_cdclk.h         |    4 +-
 drivers/gpu/drm/i915/display/intel_color.c         |  140 +-
 drivers/gpu/drm/i915/display/intel_connector.c     |    6 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |    9 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  479 +++--
 drivers/gpu/drm/i915/display/intel_ddi.h           |    7 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |  670 +++----
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h |   11 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 1713 +++++-------------
 drivers/gpu/drm/i915/display/intel_display.h       |   32 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  121 +-
 .../gpu/drm/i915/display/intel_display_debugfs.h   |   10 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |    9 +-
 drivers/gpu/drm/i915/display/intel_display_power.h |    4 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   41 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           |   25 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  753 +++-----
 drivers/gpu/drm/i915/display/intel_dp.h            |   22 +-
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |    6 +-
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |   12 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |   78 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  159 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   30 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |   28 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.h      |    5 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |  672 +++----
 drivers/gpu/drm/i915/display/intel_dpll.h          |   26 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   46 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |   11 -
 drivers/gpu/drm/i915/display/intel_dpt.c           |  239 +++
 drivers/gpu/drm/i915/display/intel_dpt.h           |   19 +
 drivers/gpu/drm/i915/display/intel_drrs.c          |  437 +++++
 drivers/gpu/drm/i915/display/intel_drrs.h          |   36 +
 drivers/gpu/drm/i915/display/intel_dsi.c           |   16 +-
 drivers/gpu/drm/i915/display/intel_dsi.h           |    3 +
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |   33 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |   24 +-
 drivers/gpu/drm/i915/display/intel_fb.c            |  606 ++++++-
 drivers/gpu/drm/i915/display/intel_fb.h            |   20 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  292 ++--
 drivers/gpu/drm/i915/display/intel_fbc.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |    3 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |  321 +++-
 drivers/gpu/drm/i915/display/intel_fdi.h           |   17 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    5 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.h   |    4 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   64 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   20 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |    4 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |   33 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |    5 +-
 drivers/gpu/drm/i915/display/intel_panel.c         | 1835 +-------------------
 drivers/gpu/drm/i915/display/intel_panel.h         |   48 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |   59 +
 drivers/gpu/drm/i915/display/intel_pps.h           |    3 +
 drivers/gpu/drm/i915/display/intel_psr.c           |  476 ++---
 drivers/gpu/drm/i915/display/intel_psr.h           |   13 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |   19 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |  225 ++-
 drivers/gpu/drm/i915/display/intel_snps_phy.h      |    4 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |  290 ++--
 drivers/gpu/drm/i915/display/intel_tc.h            |    6 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |    2 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |    5 +
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   77 +-
 drivers/gpu/drm/i915/display/intel_vdsc.h          |    6 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |    9 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   51 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   23 +
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   29 +-
 drivers/gpu/drm/i915/i915_drv.c                    |    7 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  161 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   94 +-
 drivers/gpu/drm/i915/i915_irq.h                    |   51 +-
 drivers/gpu/drm/i915/i915_params.h                 |    2 +-
 drivers/gpu/drm/i915/i915_pci.c                    |    4 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   77 +-
 drivers/gpu/drm/i915/i915_vma_types.h              |    7 +-
 drivers/gpu/drm/i915/intel_dram.c                  |    4 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  290 ++--
 drivers/gpu/drm/i915/intel_pm.h                    |    3 +-
 drivers/gpu/drm/i915/intel_runtime_pm.h            |    2 -
 drivers/gpu/drm/i915/intel_uncore.c                |   72 +-
 drivers/gpu/drm/i915/intel_uncore.h                |    7 +-
 drivers/usb/typec/altmodes/Kconfig                 |    1 +
 drivers/usb/typec/altmodes/displayport.c           |   58 +-
 drivers/video/fbdev/efifb.c                        |   21 +-
 include/drm/drm_connector.h                        |   37 +
 include/drm/drm_displayid.h                        |  101 +-
 include/drm/drm_dp_helper.h                        |    6 +
 include/drm/i915_pciids.h                          |    8 +-
 109 files changed, 8213 insertions(+), 6576 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_backlight.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_backlight.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_dpt.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dpt.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_drrs.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_drrs.h

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-08-10 13:51 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2021-08-10 13:51 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Sean Paul,
	Maarten Lankhorst, Maxime Ripard, dri-devel, intel-gfx,
	dim-tools


Hi Dave & Daniel -

drm-intel-next-2021-08-10-1:
drm/i915 changes for v5.15:

Features:
- Basic DG2 platform enabling (Matt, Animesh, Gwan-gyeong, José)
- Add PSF GV point support for display bandwidth calculation (Stan)
- Add platform release id version support (Lucas)
- Add support for forcing DSC BPP for testing (Vandita, Patnana)

Refactoring and cleanups:
- Remove CNL support completely (Lucas)
- Revid/stepping cleanup (Matt, Anusha)
- Make display stepping check upper bounds exclusive (Matt)
- Remove old GEN macros (Lucas)
- Refactor DG1 interrupt handler (Paulo)
- Refactor DMC stepping info (Anusha)

Fixes:
- Fix XELPD color capability reporting; it's not yet enabled (Uma)
- Fix DG1 memory bandwidth computation (Clint)
- Fix mux on certain HP laptops (Kai-Heng)
- Various display workarounds (José, Matt, Imre)
- Fix error state dumps wrt SFC_DONE (Matt)
- Fix DG1 and XEPLD audio power domains (Anshuman)
- Fix ADL-P and ADL-S ddi buf translation tables (Matt)
- Fix DP/HDMI modeset sequences causing issues on ADL-P (José)
- PSR2 fixes (José)
- Fix DP MST modeset with FEC on TGL+
- Fix MBUS DBOX A credits on ADL-P (José)
- Fix DP PHY test training set programming (Khaled)
- Fix dgfx pcode uncore init done wait (Badal)
- Fix DSC disable fuse check on GLK (Lucas)
- Fix shared dpll mismatch for bigjoiner secondary pipe (Manasi)
- Fix ADL-P underrun recovery (Matt)
- Fix permissions on FEC support debugfs file (Vandita)

Misc:
- Backmerge drm-next (Rodrigo)
- Bump RKL and TGL DMC firmware version (Anusha)

BR,
Jani.

The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3:

  Linux 5.14-rc1 (2021-07-11 15:07:40 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-08-10-1

for you to fetch changes up to 3bfa7d40ce736ffbbfe07127061f54b359ee2b12:

  drm/i915/dg2: Add support for new DG2-G11 revid 0x5 (2021-08-06 09:03:10 -0700)

----------------------------------------------------------------
drm/i915 changes for v5.15:

Features:
- Basic DG2 platform enabling (Matt, Animesh, Gwan-gyeong, José)
- Add PSF GV point support for display bandwidth calculation (Stan)
- Add platform release id version support (Lucas)
- Add support for forcing DSC BPP for testing (Vandita, Patnana)

Refactoring and cleanups:
- Remove CNL support completely (Lucas)
- Revid/stepping cleanup (Matt, Anusha)
- Make display stepping check upper bounds exclusive (Matt)
- Remove old GEN macros (Lucas)
- Refactor DG1 interrupt handler (Paulo)
- Refactor DMC stepping info (Anusha)

Fixes:
- Fix XELPD color capability reporting; it's not yet enabled (Uma)
- Fix DG1 memory bandwidth computation (Clint)
- Fix mux on certain HP laptops (Kai-Heng)
- Various display workarounds (José, Matt, Imre)
- Fix error state dumps wrt SFC_DONE (Matt)
- Fix DG1 and XEPLD audio power domains (Anshuman)
- Fix ADL-P and ADL-S ddi buf translation tables (Matt)
- Fix DP/HDMI modeset sequences causing issues on ADL-P (José)
- PSR2 fixes (José)
- Fix DP MST modeset with FEC on TGL+
- Fix MBUS DBOX A credits on ADL-P (José)
- Fix DP PHY test training set programming (Khaled)
- Fix dgfx pcode uncore init done wait (Badal)
- Fix DSC disable fuse check on GLK (Lucas)
- Fix shared dpll mismatch for bigjoiner secondary pipe (Manasi)
- Fix ADL-P underrun recovery (Matt)
- Fix permissions on FEC support debugfs file (Vandita)

Misc:
- Backmerge drm-next (Rodrigo)
- Bump RKL and TGL DMC firmware version (Anusha)

----------------------------------------------------------------
Animesh Manna (1):
      drm/i915/dg2: Update to bigjoiner path

Anshuman Gupta (2):
      drm/i915/debugfs: DISPLAY_VER 13 lpsp capability
      drm/i915/dg1: Adjust the AUDIO power domain

Anusha Srivatsa (5):
      drm/i915/step: s/<platform>_revid_tbl/<platform>_revids
      drm/i915/step: Add macro magic for handling steps
      drm/i915/dmc: Change intel_get_stepping_info()
      drm/i915/firmware: Update to DMC v2.12 on TGL
      drm/i915/firmware: Update to DMC v2.03 on RKL

Badal Nilawar (1):
      drm/i915: dgfx cards need to wait on pcode's uncore init done

Clint Taylor (1):
      drm/i915/dg1: Compute MEM Bandwidth using MCHBAR

Gwan-gyeong Mun (1):
      drm/i915/dg2: Update lane disable power state during PSR

Imre Deak (2):
      drm/i915/adlp: Add workaround to disable CMTG clock gating
      drm/i915: Apply CMTG clock disabling WA while DPLL0 is enabled

Jani Nikula (1):
      drm/i915/plane: add intel_plane_helper_add() helper

José Roberto de Souza (10):
      drm/i915/display: Settle on "adl-x" in WA comments
      drm/i915: Limit Wa_22010178259 to affected platforms
      drm/i915/display/xelpd: Extend Wa_14011508470
      drm/i915/display/adl_p: Implement PSR changes
      drm/i915/display: Disable FBC when PSR2 is enabled display 12 and newer
      drm/i915/dg2: Add DG2 to the PSR2 defeature list
      drm/i915/display/psr2: Mark as updated all planes that intersect with pipe_clip
      drm/i915/display/psr2: Fix cursor updates using legacy apis
      drm/i915/display: Disable audio, DRRS and PSR before planes
      drm/i915/display/adl_p: Correctly program MBUS DBOX A credits

Kai-Heng Feng (1):
      drm/i915: Invoke another _DSM to enable MUX on HP Workstation laptops

Khaled Almahallawy (1):
      drm/i915/dp: DPTX writes Swing/Pre-emphs(DPCD 0x103-0x106) requested during PHY Layer testing

Lucas De Marchi (33):
      drm/i915: do not abbreviate version in debugfs
      drm/i915: Add release id version
      drm/i915: do not abbreviate version in debugfs
      drm/i915: Add release id version
      drm/i915: Add XE_HP initial definitions
      drm/i915/xehpsdv: add initial XeHP SDV definitions
      drm/i915: fix not reading DSC disable fuse in GLK
      drm/i915/display: split DISPLAY_VER 9 and 10 in intel_setup_outputs()
      drm/i915/display: remove PORT_F workaround for CNL
      drm/i915/display: remove explicit CNL handling from intel_cdclk.c
      drm/i915/display: remove explicit CNL handling from intel_color.c
      drm/i915/display: remove explicit CNL handling from intel_combo_phy.c
      drm/i915/display: remove explicit CNL handling from intel_crtc.c
      drm/i915/display: remove explicit CNL handling from intel_ddi.c
      drm/i915/display: remove explicit CNL handling from intel_display_debugfs.c
      drm/i915/display: remove explicit CNL handling from intel_dmc.c
      drm/i915/display: remove explicit CNL handling from intel_dp.c
      drm/i915/display: remove explicit CNL handling from intel_dpll_mgr.c
      drm/i915/display: remove explicit CNL handling from intel_vdsc.c
      drm/i915/display: remove explicit CNL handling from skl_universal_plane.c
      drm/i915/display: remove explicit CNL handling from intel_display_power.c
      drm/i915/display: remove CNL ddi buf translation tables
      drm/i915/display: rename CNL references in skl_scaler.c
      drm/i915: remove explicit CNL handling from i915_irq.c
      drm/i915: remove explicit CNL handling from intel_pm.c
      drm/i915: remove explicit CNL handling from intel_pch.c
      drm/i915: remove explicit CNL handling from intel_wopcm.c
      drm/i915: rename CNL references in intel_dram.c
      drm/i915: replace random CNL comments
      drm/i915: switch num_scalers/num_sprites to consider DISPLAY_VER
      drm/i915: remove GRAPHICS_VER == 10
      drm/i915: rename/remove CNL registers
      drm/i915: finish removal of CNL

Manasi Navare (1):
      drm/i915/display: Fix shared dpll mismatch for bigjoiner slave

Matt Roper (40):
      drm/i915: Handle cdclk crawling flag in standard manner
      drm/i915: Make pre-production detection use direct revid comparison
      drm/i915/skl: Use revid->stepping tables
      drm/i915/kbl: Drop pre-production revision from stepping table
      drm/i915/bxt: Use revid->stepping tables
      drm/i915/glk: Use revid->stepping tables
      drm/i915/icl: Use revid->stepping tables
      drm/i915/jsl_ehl: Use revid->stepping tables
      drm/i915/rkl: Use revid->stepping tables
      drm/i915/dg1: Use revid->stepping tables
      drm/i915/cnl: Drop all workarounds
      drm/i915/icl: Drop workarounds that only apply to pre-production steppings
      Merge branch 'topic/revid_steppings' into drm-intel-next
      drm/i915/adl_s: Wa_14011765242 is also needed on A1 display stepping
      drm/i915/rkl: Wa_1409767108 also applies to RKL
      drm/i915/rkl: Wa_1408330847 no longer applies to RKL
      drm/i915: Make display workaround upper bounds exclusive
      drm/i915/dg2: add DG2 platform info
      Merge branch 'topic/xehp-dg2-definitions-2021-07-21' into drm-intel-next
      drm/i915/dg2: Add fake PCH
      drm/i915/dg2: Add cdclk table and reference clock
      drm/i915/dg2: Skip shared DPLL handling
      drm/i915/dg2: Don't wait for AUX power well enable ACKs
      drm/i915/dg2: Setup display outputs
      drm/i915/dg2: Add dbuf programming
      drm/i915/dg2: Don't program BW_BUDDY registers
      drm/i915/dg2: Don't read DRAM info
      drm/i915/dg2: DG2 has fixed memory bandwidth
      drm/i915/dg2: Classify DG2 PHY types
      drm/i915: Program chicken bit during DP MST sequence on TGL+
      drm/i915/adl_p: Allow underrun recovery when possible
      drm/i915/adl_s: Update ddi buf translation tables
      drm/i915/adl_p: Add ddi buf translation tables for combo PHY
      drm/i915/dg2: Add MPLLB programming for SNPS PHY
      drm/i915/dg2: Add MPLLB programming for HDMI
      drm/i915/dg2: Add vswing programming for SNPS phys
      drm/i915/dg2: Update modeset sequences
      drm/i915/dg2: Wait for SNPS PHY calibration during display init
      drm/i915: Correct SFC_DONE register offset
      drm/i915/dg2: Add support for new DG2-G11 revid 0x5

Patnana Venkata Sai (1):
      drm/i915/display/dsc: Add Per connector debugfs node for DSC BPP enable

Paulo Zanoni (1):
      drm/i915: Fork DG1 interrupt handler

Rodrigo Vivi (2):
      Merge drm/drm-next into drm-intel-next
      drm/i915/bios: Fix ports mask

Stanislav Lisovskiy (2):
      drm/i915: Extend QGV point restrict mask to 0x3
      drm/i915: Implement PSF GV point support

Uma Shankar (1):
      drm/i915/display/xelpd: Fix incorrect color capability reporting

Vandita Kulkarni (2):
      drm/i915/display: Add write permissions for fec support
      drm/i915/display/dsc: Force dsc BPP

 drivers/gpu/drm/i915/Makefile                      |    1 +
 drivers/gpu/drm/i915/display/i9xx_plane.c          |    2 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   46 +-
 drivers/gpu/drm/i915/display/intel_acpi.c          |   19 +
 drivers/gpu/drm/i915/display/intel_acpi.h          |    3 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    7 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |    3 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |    4 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |   11 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |  178 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  107 +-
 drivers/gpu/drm/i915/display/intel_color.c         |    5 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |  106 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |    3 +
 drivers/gpu/drm/i915/display/intel_crtc.c          |   10 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |   12 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  630 +++--
 drivers/gpu/drm/i915/display/intel_ddi.h           |    4 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c | 2475 +++++++++++---------
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h |   70 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  371 ++-
 drivers/gpu/drm/i915/display/intel_display.h       |    1 +
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  118 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  568 ++---
 drivers/gpu/drm/i915/display/intel_display_power.h |   15 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   32 +-
 drivers/gpu/drm/i915/display/intel_dmc.c           |  232 +-
 drivers/gpu/drm/i915/display/intel_dmc.h           |   23 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |   65 +-
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |    1 -
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   43 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |   12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  627 ++---
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    3 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  219 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   96 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |   25 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         |    4 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   53 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    4 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |    3 +
 drivers/gpu/drm/i915/display/intel_psr.c           |  265 ++-
 drivers/gpu/drm/i915/display/intel_quirks.c        |   34 +
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    4 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c      |  862 +++++++
 drivers/gpu/drm/i915/display/intel_snps_phy.h      |   35 +
 drivers/gpu/drm/i915/display/intel_sprite.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |   34 +-
 drivers/gpu/drm/i915/display/intel_tc.h            |    2 +
 drivers/gpu/drm/i915/display/intel_tv.c            |   13 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |    2 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    5 +-
 drivers/gpu/drm/i915/display/intel_vga.c           |    3 +
 drivers/gpu/drm/i915/display/skl_scaler.c          |   49 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |   28 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   13 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |    1 -
 drivers/gpu/drm/i915/gt/intel_region_lmem.c        |    2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |  111 +-
 drivers/gpu/drm/i915/gvt/gtt.c                     |    2 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |    8 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   17 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  165 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  170 +-
 drivers/gpu/drm/i915/i915_pci.c                    |  138 +-
 drivers/gpu/drm/i915/i915_perf.c                   |   22 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  404 ++--
 drivers/gpu/drm/i915/intel_device_info.c           |   43 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   16 +-
 drivers/gpu/drm/i915/intel_dram.c                  |   42 +-
 drivers/gpu/drm/i915/intel_pch.c                   |    8 +-
 drivers/gpu/drm/i915/intel_pch.h                   |    2 +
 drivers/gpu/drm/i915/intel_pm.c                    |  284 ++-
 drivers/gpu/drm/i915/intel_sideband.c              |   13 +-
 drivers/gpu/drm/i915/intel_sideband.h              |    2 +-
 drivers/gpu/drm/i915/intel_step.c                  |  149 +-
 drivers/gpu/drm/i915/intel_step.h                  |   33 +-
 drivers/gpu/drm/i915/intel_uncore.c                |    2 +-
 drivers/gpu/drm/i915/intel_wopcm.c                 |   10 +-
 79 files changed, 5320 insertions(+), 3886 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_snps_phy.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_snps_phy.h

-- 
Jani Nikula, Intel Open Source Graphics Center

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-06-09 21:30 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2021-06-09 21:30 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

Here goes the last pull request towards 5.14.
Mostly it is ADL-P enabling related and a few other things.

drm-intel-next-2021-06-09:

Cross-subsystem Changes:

-  x86/gpu: add JasperLake to gen11 early quirks
  (Although the patch lacks the Ack info, it has been Acked by Borislav)

Driver Changes:

- General DMC improves (Anusha)
- More ADL-P enabling (Vandita, Matt, Jose, Mika, Anusha, Imre, Lucas, Jani, Manasi, Ville, Stanislav)
- Introduce MBUS relative dbuf offset (Ville)
- PSR fixes and improvements (Gwan, Jose, Ville)
- Re-enable LTTPR non-transparent LT mode for DPCD_REV < 1.4 (Ville)
- Remove duplicated declarations (Shaokun, Wan)
- Check HDMI sink deep color capabilities during .mode_valid (Ville)
- Fix display flicker screan related to console and FBC (Chris)
- Remaining conversions of GRAPHICS_VER (Lucas)
- Drop invalid FIXME (Jose)
- Fix bigjoiner check in dsc_disable (Vandita)

Thanks,
Rodrigo.

The following changes since commit 9a91e5e0af5e03940d0eec72c36364a1701de240:

  Merge tag 'amd-drm-next-5.14-2021-05-21' of https://gitlab.freedesktop.org/agd5f/linux into drm-next (2021-05-21 15:59:05 +1000)

are available in the Git repository at:

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

for you to fetch changes up to 0d6695b112762aa7aad28c46e65561389b6f50d6:

  drm/i915/adl_p: Same slices mask is not same Dbuf state (2021-06-09 17:24:58 +0300)

----------------------------------------------------------------
Cross-subsystem Changes:

-  x86/gpu: add JasperLake to gen11 early quirks
  (Although the patch lacks the Ack info, it has been Acked by Borislav)

Driver Changes:

- General DMC improves (Anusha)
- More ADL-P enabling (Vandita, Matt, Jose, Mika, Anusha, Imre, Lucas, Jani, Manasi, Ville, Stanislav)
- Introduce MBUS relative dbuf offset (Ville)
- PSR fixes and improvements (Gwan, Jose, Ville)
- Re-enable LTTPR non-transparent LT mode for DPCD_REV < 1.4 (Ville)
- Remove duplicated declarations (Shaokun, Wan)
- Check HDMI sink deep color capabilities during .mode_valid (Ville)
- Fix display flicker screan related to console and FBC (Chris)
- Remaining conversions of GRAPHICS_VER (Lucas)
- Drop invalid FIXME (Jose)
- Fix bigjoiner check in dsc_disable (Vandita)

----------------------------------------------------------------
Anusha Srivatsa (13):
      drm/i915/dmc: s/intel_csr/intel_dmc
      drm/i915/dmc: s/HAS_CSR/HAS_DMC
      drm/i915/dmc: Rename macro names containing csr
      drm/i915/dmc: Rename functions names having "csr"
      drm/i915/dmc: s/intel_csr.c/intel_dmc.c and s/intel_csr.h/intel_dmc.h
      drm/i915/adl_p: Setup ports/phys
      drm/i915/adl_p: Add PLL Support
      drm/i915/adlp: Add PIPE_MISC2 programming
      drm/i915/adl_p: Update memory bandwidth parameters
      drm/i915/gvt: Add missing macro name changes
      drm/i915/dmc: s/DRM_ERROR/drm_err
      drm/i915/dmc: Add intel_dmc_has_payload() helper
      drm/i915/dmc: Move struct intel_dmc to intel_dmc.h

Chris Wilson (1):
      drm/i915/display: relax 2big checking around initial fb

Gwan-gyeong Mun (4):
      drm/i915/display: Replace dc3co_enabled with dc3co_exitline on intel_psr struct
      drm/i915/display: Add PSR interrupt error check function
      drm/i915/display: Remove a redundant function argument from intel_psr_enable_source()
      drm/i915/display: Introduce new intel_psr_pause/resume function

Imre Deak (9):
      drm/i915/adl_p: Program DP/HDMI link rate to DDI_BUF_CTL
      drm/i915: Reenable LTTPR non-transparent LT mode for DPCD_REV<1.4
      drm/i915/adlp: Require DPT FB CCS color planes to be 2MB aligned
      drm/i915/adlp: Fix GEM VM asserts for DPT VMs
      drm/i915/debugfs: Print remap info for DPT VMAs as well
      drm/i915/adlp: Add missing TBT AUX -> PW#2 power domain dependencies
      drm/i915/ddi: Flush encoder power domain ref puts during driver unload
      drm/i915: Fix incorrect assert about pending power domain async-put work
      drm/i915/adlp: Fix AUX power well -> PHY mapping

Jani Nikula (1):
      drm/i915/adl_p: enable MSO on pipe B

José Roberto de Souza (10):
      drm/i915/adl_p: Implement TC sequences
      drm/i915/adl_p: Don't config MBUS and DBUF during display initialization
      drm/i915/display/adl_p: Drop earlier return in tc_has_modular_fia()
      drm/i915/adl_p: Handle TC cold
      drm/i915: WA for zero memory channel
      drm/i915/display/adl_p: Allow DC3CO in pipe and port B
      drm/i915/display/adl_p: Disable PSR2
      drm/i915/display: Fix fastsets involving PSR
      drm/i915/display: Allow fastsets when DP_SDP_VSC infoframe do not match with PSR enabled
      drm/i915/display: Drop FIXME about turn off infoframes

Lucas De Marchi (5):
      drm/i915/display: fix typo when returning table
      drm/i915/gvt: replace IS_GEN and friends with GRAPHICS_VER
      drm/i915/display: replace IS_GEN() in commented code
      drm/i915: replace IS_GEN and friends with GRAPHICS_VER
      drm/i915: Add remaining conversions to GRAPHICS_VER

Manasi Navare (2):
      drm/i915/xelpd: Add VRR guardband for VRR CTL
      drm/i915: Initialize the mbus_offset to fix Klockwork issue

Matt Roper (2):
      drm/i915/adl_p: Add dedicated SAGV watermarks
      drm/i915/xelpd: Enhanced pipe underrun reporting

Mika Kahola (2):
      drm/i915/adl_p: Tx escape clock with DSI
      drm/i915/adl_p: Define and use ADL-P specific DP translation tables

Rodrigo Vivi (1):
      Merge drm/drm-next into drm-intel-next

Shaokun Zhang (1):
      drm/i915: Remove the repeated declaration

Stanislav Lisovskiy (2):
      drm/i915/adl_p: CDCLK crawl support for ADL
      drm/i915/adl_p: Same slices mask is not same Dbuf state

Tejas Upadhyay (1):
      x86/gpu: add JasperLake to gen11 early quirks

Vandita Kulkarni (5):
      drm/i915/xelpd: Calculate VDSC RC parameters
      drm/i915/xelpd: Add rc_qp_table for rcparams calculation
      drm/i915/adl_p: Add ddb allocation support
      drm/i915/adl_p: MBUS programming
      drm/i915/dsc: Fix bigjoiner check in dsc_disable

Ville Syrjälä (10):
      drm/i915: Introduce MBUS relative dbuf offsets
      drm/i915: Extract intel_hdmi_bpc_possible()
      drm/i915: Move has_hdmi_sink check into intel_hdmi_bpc_possible()
      drm/i915: Move platform checks into intel_hdmi_bpc_possible()
      drm/i915: Check sink deep color capabilitis during HDMI .mode_valid()
      drm/i915: Move the TMDS clock division into intel_hdmi_mode_clock_valid()
      drm/i915: Drop redundant has_hdmi_sink check
      drm/i915/adl_p: Disable FIFO underrun recovery
      drm/i915/adl_p: Implement Wa_22012358565
      drm/i915: Disable PSR around cdclk changes

Wan Jiabing (1):
      drm/i915/display: remove duplicated argument

 Documentation/gpu/i915.rst                         |  12 +-
 arch/x86/kernel/early-quirks.c                     |   1 +
 drivers/gpu/drm/i915/Makefile                      |   3 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |  21 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |  20 ++
 drivers/gpu/drm/i915/display/intel_atomic.h        |   1 +
 drivers/gpu/drm/i915/display/intel_bw.c            |   4 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  85 ++++-
 drivers/gpu/drm/i915/display/intel_csr.h           |  21 --
 drivers/gpu/drm/i915/display/intel_cursor.c        |   4 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |  53 ++-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |  53 +++
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h |   4 +
 drivers/gpu/drm/i915/display/intel_display.c       | 143 +++++++-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  30 +-
 drivers/gpu/drm/i915/display/intel_display_power.c | 139 ++++----
 drivers/gpu/drm/i915/display/intel_display_types.h |   5 +-
 .../drm/i915/display/{intel_csr.c => intel_dmc.c}  | 386 +++++++++++----------
 drivers/gpu/drm/i915/display/intel_dmc.h           |  43 +++
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  71 ++--
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  69 +++-
 drivers/gpu/drm/i915/display/intel_fb.c            |  13 +-
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |  57 ++-
 drivers/gpu/drm/i915/display/intel_hdmi.c          | 104 +++---
 drivers/gpu/drm/i915/display/intel_psr.c           | 187 +++++++---
 drivers/gpu/drm/i915/display/intel_psr.h           |   2 +
 drivers/gpu/drm/i915/display/intel_qp_tables.c     | 309 +++++++++++++++++
 drivers/gpu/drm/i915/display/intel_qp_tables.h     |  14 +
 drivers/gpu/drm/i915/display/intel_tc.c            | 152 +++++++-
 drivers/gpu/drm/i915/display/intel_tc.h            |   2 +
 drivers/gpu/drm/i915/display/intel_tv.c            |   2 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          | 117 ++++++-
 drivers/gpu/drm/i915/display/intel_vrr.c           |  58 +++-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |  27 ++
 drivers/gpu/drm/i915/gt/intel_gtt.h                |   3 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |   8 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |   2 +-
 drivers/gpu/drm/i915/gvt/fb_decoder.c              |  10 +-
 drivers/gpu/drm/i915/gvt/gtt.c                     |   4 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |  14 +-
 drivers/gpu/drm/i915/gvt/interrupt.c               |   2 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c            |  10 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |   4 +-
 drivers/gpu/drm/i915/gvt/vgpu.c                    |   4 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c             |  10 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |  47 ++-
 drivers/gpu/drm/i915/i915_drv.c                    |  28 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  64 ++--
 drivers/gpu/drm/i915/i915_gem.c                    |   4 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |  92 ++---
 drivers/gpu/drm/i915/i915_irq.c                    |  53 +--
 drivers/gpu/drm/i915/i915_irq.h                    |   1 +
 drivers/gpu/drm/i915/i915_pci.c                    |   5 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  44 +--
 drivers/gpu/drm/i915/i915_pmu.c                    |   8 +-
 drivers/gpu/drm/i915/i915_reg.h                    | 200 ++++++++---
 drivers/gpu/drm/i915/i915_request.c                |   4 +-
 drivers/gpu/drm/i915/i915_suspend.c                |  16 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |   2 +-
 drivers/gpu/drm/i915/i915_vgpu.c                   |   2 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   2 +-
 drivers/gpu/drm/i915/i915_vma.h                    |   7 +-
 drivers/gpu/drm/i915/intel_device_info.c           |  24 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   4 +-
 drivers/gpu/drm/i915/intel_dram.c                  |  14 +-
 drivers/gpu/drm/i915/intel_pch.c                   |  10 +-
 drivers/gpu/drm/i915/intel_pm.c                    | 323 +++++++++++++++--
 drivers/gpu/drm/i915/intel_pm.h                    |   4 +-
 drivers/gpu/drm/i915/intel_sideband.c              |   2 +-
 drivers/gpu/drm/i915/intel_uncore.c                |  24 +-
 drivers/gpu/drm/i915/intel_wopcm.c                 |  10 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   4 +-
 drivers/gpu/drm/i915/selftests/i915_perf.c         |   6 +-
 drivers/gpu/drm/i915/selftests/i915_request.c      |   8 +-
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |  12 +-
 drivers/gpu/drm/i915/selftests/intel_uncore.c      |   2 +-
 76 files changed, 2421 insertions(+), 888 deletions(-)
 delete mode 100644 drivers/gpu/drm/i915/display/intel_csr.h
 rename drivers/gpu/drm/i915/display/{intel_csr.c => intel_dmc.c} (61%)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dmc.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_qp_tables.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_qp_tables.h

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-04-01  9:06 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2021-04-01  9:06 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: , dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

The final drm-intel-next feature pull for v5.13. Or, truthfully, a pull
request of refactoring both to clean up and prepare for future.

Joonas will still send a drm-intel-gt-next pull request, probably next
week due to easter holidays.

We'll do backmerges to sync up after everything's in drm-next.


BR,
Jani.


drm-intel-next-2021-04-01:
Features:
- Add support for FBs requiring a power-of-two stride padding (Imre)

Refactoring:
- Disassociate display version from gen (Matt)
- Refactor legacy DP and HDMI code to separate files (Ville)
- Refactor FB plane code to a separate file (Imre)
- Refactor VBT child device info parsing and usage (Jani)
- Refactor KBL/TGL/ADL-S display and gt stepping schemes (Jani)

Fixes:
- DP Link-Training Tunable PHY Repeaters (LTTPR) fixes (Imre)
- HDCP fixes (Anshuman)
- DP 2.0 HDMI 2.1 PCON Fixed Rate Link (FRL) fixes (Ankit)
- Set HDA link parameters in driver (Kai)
- Fix enabled_planes bitmask (Ville)
- Fix transposed arguments to skl_plane_wm_level() (Ville)
- Stop adding planes to the commit needlessly (Ville)

BR,
Jani.

The following changes since commit 2b25fb31a38d4fe8e745754036052ef8b16fe712:

  Merge tag 'gvt-next-2021-03-16' of https://github.com/intel/gvt-linux into drm-intel-next (2021-03-16 13:42:33 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-04-01

for you to fetch changes up to 81f1f8f1e1489c0bf051d5241ec10da07869b911:

  drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active() (2021-03-31 16:57:33 +0300)

----------------------------------------------------------------
Features:
- Add support for FBs requiring a power-of-two stride padding (Imre)

Refactoring:
- Disassociate display version from gen (Matt)
- Refactor legacy DP and HDMI code to separate files (Ville)
- Refactor FB plane code to a separate file (Imre)
- Refactor VBT child device info parsing and usage (Jani)
- Refactor KBL/TGL/ADL-S display and gt stepping schemes (Jani)

Fixes:
- DP Link-Training Tunable PHY Repeaters (LTTPR) fixes (Imre)
- HDCP fixes (Anshuman)
- DP 2.0 HDMI 2.1 PCON Fixed Rate Link (FRL) fixes (Ankit)
- Set HDA link parameters in driver (Kai)
- Fix enabled_planes bitmask (Ville)
- Fix transposed arguments to skl_plane_wm_level() (Ville)
- Stop adding planes to the commit needlessly (Ville)

----------------------------------------------------------------
Ankit Nautiyal (3):
      drm/i915/display: Remove FRL related code from disable DP sequence for older platforms
      drm/dp_helper: Define options for FRL training for HDMI2.1 PCON
      drm/i915/display: Configure HDMI2.1 Pcon for FRL only if Src-Ctl mode is available

Anshuman Gupta (6):
      drm/i915/hdcp: mst streams type1 capability check
      drm/i915/hdcp: HDCP2.2 MST Link failure recovery
      drm/i915/hdcp: link hdcp2 recovery on link enc stopped
      drm/i915/hdcp: return correct error code
      drm/i915/hdcp: Add DP HDCP2.2 timeout to read entire msg
      drm/hdcp: DP HDCP2.2 errata LC_Send_L_Prime=16

Bhaskar Chowdhury (1):
      drm/i915/display: Fix a typo

Imre Deak (29):
      drm/i915/ilk-glk: Fix link training on links with LTTPRs
      drm/i915: Disable LTTPR support when the DPCD rev < 1.4
      drm/i915: Disable LTTPR support when the LTTPR rev < 1.4
      drm/i915: Fix the GT fence revocation runtime PM logic
      drm/i915: Fix rotation setup during plane HW readout
      drm/i915/selftest: Fix error handling in igt_vma_remapped_gtt()
      drm/i915/selftest: Fix debug message in igt_vma_remapped_gtt()
      drm/i915: Make sure i915_ggtt_view is inited when creating an FB
      drm/i915/selftest: Make sure to init i915_ggtt_view in igt_vma_rotate_remap()
      drm/i915/intel_fb: Pull FB plane functions from intel_display_types.h
      drm/i915/intel_fb: Pull FB plane functions from skl_universal_plane.c
      drm/i915/intel_fb: Pull is_surface_linear() from intel_display.c/skl_universal_plane.c
      drm/i915/intel_fb: Pull FB plane functions from intel_sprite.c
      drm/i915/intel_fb: Pull FB plane functions from intel_display.c
      drm/i915/intel_fb: Unexport intel_fb_check_stride()
      drm/i915/intel_fb: s/dev_priv/i915/
      drm/i915/intel_fb: Factor out convert_plane_offset_to_xy()
      drm/i915/intel_fb: Factor out calc_plane_aligned_offset()
      drm/i915/intel_fb: Factor out calc_plane_normal_size()
      drm/i915: Unify the FB and plane state view information into one struct
      drm/i915: Store the normal view FB pitch in FB's intel_fb_view
      drm/i915: Simplify copying the FB view state to the plane state
      drm/i915/intel_fb: Factor out calc_plane_remap_info()
      drm/i915: Shrink the size of intel_remapped_plane_info struct
      drm/i915/selftest: Unify use of intel_remapped_plane_info in igt_vma_rotate_remap()
      drm/i915: s/stride/src_stride/ in the intel_remapped_plane_info struct
      drm/i915: Add support for FBs requiring a POT stride alignment
      drm/i915/selftest: Add remap/rotate vma subtests when dst_stride!=width/height
      drm/i915: Fix docbook header for __intel_runtime_pm_get_if_active()

Jani Nikula (23):
      drm/i915: remove unused ADLS_REVID_* macros
      drm/i915/bios: mass convert dev_priv to i915
      drm/i915/bios: store bdb version in i915
      drm/i915/bios: reduce indent in sanitize_ddc_pin and sanitize_aux_ch
      drm/i915/bios: move aux ch and ddc checks at a lower level
      drm/i915/bios: limit default outputs by platform on missing VBT
      drm/i915/bios: limit default outputs to ports A through F
      drm/i915/bios: create fake child devices on missing VBT
      drm/i915/bios: rename display_device_data to intel_bios_encoder_data
      drm/i915/bios: add i915 backpointer to intel_bios_encoder_data
      drm/i915/bios: add helper functions to check output support
      drm/i915/bios: save a higher level pointer in ddi_vbt_port_info[]
      drm/i915/bios: start using the intel_bios_encoder_data directly
      drm/i915/bios: start using intel_bios_encoder_data for Type-C USB and TBT
      drm/i915/bios: add intel_bios_encoder_data to encoder, use for iboost
      drm/i915/dsc: fix DSS CTL register usage for ICL DSI transcoders
      drm/i915: split out stepping info to a new file
      drm/i915: add new helpers for accessing stepping info
      drm/i915: switch KBL to the new stepping scheme
      drm/i915: switch TGL and ADL to the new stepping scheme
      drm/i915: rename DISP_STEPPING->DISPLAY_STEP and GT_STEPPING->GT_STEP
      drm/i915: rename disp_stepping->display_step and gt_stepping->gt_step
      drm/i915: rename i915_rev_steppings->intel_step_info

Kai Vehmanen (1):
      drm/i915/audio: set HDA link parameters in driver

Matt Roper (6):
      drm/i915/display: Convert gen5/gen6 tests to IS_IRONLAKE/IS_SANDYBRIDGE
      drm/i915: Add DISPLAY_VER() and related macros
      drm/i915/display: Eliminate most usage of INTEL_GEN()
      drm/i915: Convert INTEL_GEN() to DISPLAY_VER() as appropriate in intel_pm.c
      drm/i915: Convert INTEL_GEN() to DISPLAY_VER() as appropriate in i915_irq.c
      drm/i915/display: Simplify GLK display version tests

Ville Syrjälä (10):
      drm/i915: Remove dead TPS3->TPS2 fallback code
      drm/i915: Remove dead signal level debugs
      drm/i915: Relocate intel_dp_program_link_training_pattern()
      drm/i915: Split intel_ddi_encoder_reset() from intel_dp_encoder_reset()
      drm/i915: Introduce g4x_dp.c
      drm/i915: Introduce g4x_hdmi.c
      drm/i915: Give g4x_{dp,hdmi}.c g4x_ namespace
      drm/i915: Fix enabled_planes bitmask
      drm/i915: Fix transposed arguments to skl_plane_wm_level()
      drm/i915: Stop adding planes to the commit needlessly

Wan Jiabing (1):
      drm/i915: Remove repeated declaration

 drivers/gpu/drm/drm_dp_helper.c                    |   24 +-
 drivers/gpu/drm/i915/Makefile                      |    4 +
 drivers/gpu/drm/i915/display/g4x_dp.c              | 1432 ++++++++++++++++
 drivers/gpu/drm/i915/display/g4x_dp.h              |   30 +
 drivers/gpu/drm/i915/display/g4x_hdmi.c            |  616 +++++++
 drivers/gpu/drm/i915/display/g4x_hdmi.h            |   19 +
 drivers/gpu/drm/i915/display/i9xx_plane.c          |   77 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   14 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |    7 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    5 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |   48 +-
 drivers/gpu/drm/i915/display/intel_bios.c          | 1114 +++++++------
 drivers/gpu/drm/i915/display/intel_bios.h          |   17 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |   10 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   66 +-
 drivers/gpu/drm/i915/display/intel_color.c         |   32 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |    8 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   12 +-
 drivers/gpu/drm/i915/display/intel_crt.h           |    1 -
 drivers/gpu/drm/i915/display/intel_crtc.c          |   20 +-
 drivers/gpu/drm/i915/display/intel_csr.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |   29 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  143 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |    4 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 1160 ++-----------
 drivers/gpu/drm/i915/display/intel_display.h       |   14 -
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   47 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |   54 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  100 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 1718 ++------------------
 drivers/gpu/drm/i915/display/intel_dp.h            |   11 -
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |   19 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |   84 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  108 +-
 .../gpu/drm/i915/display/intel_dp_link_training.h  |    5 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   20 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |   12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   22 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    4 +-
 drivers/gpu/drm/i915/display/intel_fb.c            |  962 +++++++++++
 drivers/gpu/drm/i915/display/intel_fb.h            |   54 +
 drivers/gpu/drm/i915/display/intel_fbc.c           |   68 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |    6 +-
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |    8 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   54 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |  647 +-------
 drivers/gpu/drm/i915/display/intel_hdmi.h          |    3 -
 drivers/gpu/drm/i915/display/intel_lvds.c          |   12 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |   12 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |   18 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c      |   16 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |    7 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |   51 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |   74 +-
 drivers/gpu/drm/i915/display/intel_sprite.h        |    1 -
 drivers/gpu/drm/i915/display/intel_tc.c            |    8 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |    8 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   22 +-
 drivers/gpu/drm/i915/display/intel_vga.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_vrr.h           |    1 -
 drivers/gpu/drm/i915/display/skl_scaler.c          |    8 +-
 drivers/gpu/drm/i915/display/skl_universal_plane.c |  182 +--
 drivers/gpu/drm/i915/display/skl_universal_plane.h |    2 -
 drivers/gpu/drm/i915/gt/gen8_engine_cs.c           |    2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   56 +-
 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c       |   13 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   55 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |   16 +-
 drivers/gpu/drm/i915/i915_drv.c                    |    3 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  150 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   66 +-
 drivers/gpu/drm/i915/i915_pci.c                    |    3 +-
 drivers/gpu/drm/i915/i915_vma_types.h              |   12 +-
 drivers/gpu/drm/i915/intel_device_info.c           |    2 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    6 +
 drivers/gpu/drm/i915/intel_pm.c                    |  146 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c            |   29 +-
 drivers/gpu/drm/i915/intel_runtime_pm.h            |    5 +
 drivers/gpu/drm/i915/intel_step.c                  |  106 ++
 drivers/gpu/drm/i915/intel_step.h                  |   40 +
 drivers/gpu/drm/i915/selftests/i915_vma.c          |  219 ++-
 include/drm/drm_dp_helper.h                        |    6 +-
 include/drm/drm_hdcp.h                             |    5 +-
 85 files changed, 5466 insertions(+), 4826 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/g4x_dp.c
 create mode 100644 drivers/gpu/drm/i915/display/g4x_dp.h
 create mode 100644 drivers/gpu/drm/i915/display/g4x_hdmi.c
 create mode 100644 drivers/gpu/drm/i915/display/g4x_hdmi.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_fb.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_fb.h
 create mode 100644 drivers/gpu/drm/i915/intel_step.c
 create mode 100644 drivers/gpu/drm/i915/intel_step.h

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-03-16 16:24 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2021-03-16 16:24 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: , dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

drm-intel-next-2021-03-16:
Highlights:
- Alderlake S enabling, via topic branch (Aditya, Anusha, Caz, José, Lucas, Matt, Tejas)
- Refactor display code to shrink intel_display.c etc. (Dave)
- Support more gen 9 and Tigerlake PCH combinations (Lyude, Tejas)
- Add eDP MSO support (Jani)

Display:
- Refactor to support multiple PSR instances (Gwan-gyeong)
- Link training debug logging updates (Sean)
- Updates to eDP fixed mode handling (Jani)
- Disable PSR2 on JSL/EHL (Edmund)
- Support DDR5 and LPDDR5 for bandwidth computation (Clint, José)
- Update VBT DP max link rate table (Shawn)
- Disable the QSES check for HDCP2.2 over MST (Juston)
- PSR updates, refactoring, selective fetch (José, Gwan-gyeong)
- Display init sequence refactoring (Lucas)
- Limit LSPCON to gen 9 and 10 platforms (Ankit)
- Fix DDI lane polarity per VBT info (Uma)
- Fix HDMI vswing programming location in mode set (Ville)
- Various display improvements and refactorings and cleanups (Ville)
- Clean up DDI clock routing and readout (Ville)
- Workaround async flip + VT-d corruption on HSW/BDW (Ville)
- SAGV watermark fixes and cleanups (Ville)
- Silence pipe tracepoint WARNs (Ville)

Other:
- Remove require_force_probe protection from RKL, may need to be revisited (Tejas)
- Detect loss of MMIO access (Matt)
- GVT display improvements
- drm/i915: Disable runtime power management during shutdown (Imre)
- Perf/OA updates (Umesh)
- Remove references to struct drm_device.pdev, via topic branch (Thomas)
- Backmerge (Jani)

BR,
Jani.

The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

  Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-03-16

for you to fetch changes up to 2b25fb31a38d4fe8e745754036052ef8b16fe712:

  Merge tag 'gvt-next-2021-03-16' of https://github.com/intel/gvt-linux into drm-intel-next (2021-03-16 13:42:33 +0200)

----------------------------------------------------------------
Highlights:
- Alderlake S enabling, via topic branch (Aditya, Anusha, Caz, José, Lucas, Matt, Tejas)
- Refactor display code to shrink intel_display.c etc. (Dave)
- Support more gen 9 and Tigerlake PCH combinations (Lyude, Tejas)
- Add eDP MSO support (Jani)

Display:
- Refactor to support multiple PSR instances (Gwan-gyeong)
- Link training debug logging updates (Sean)
- Updates to eDP fixed mode handling (Jani)
- Disable PSR2 on JSL/EHL (Edmund)
- Support DDR5 and LPDDR5 for bandwidth computation (Clint, José)
- Update VBT DP max link rate table (Shawn)
- Disable the QSES check for HDCP2.2 over MST (Juston)
- PSR updates, refactoring, selective fetch (José, Gwan-gyeong)
- Display init sequence refactoring (Lucas)
- Limit LSPCON to gen 9 and 10 platforms (Ankit)
- Fix DDI lane polarity per VBT info (Uma)
- Fix HDMI vswing programming location in mode set (Ville)
- Various display improvements and refactorings and cleanups (Ville)
- Clean up DDI clock routing and readout (Ville)
- Workaround async flip + VT-d corruption on HSW/BDW (Ville)
- SAGV watermark fixes and cleanups (Ville)
- Silence pipe tracepoint WARNs (Ville)

Other:
- Remove require_force_probe protection from RKL, may need to be revisited (Tejas)
- Detect loss of MMIO access (Matt)
- GVT display improvements
- drm/i915: Disable runtime power management during shutdown (Imre)
- Perf/OA updates (Umesh)
- Remove references to struct drm_device.pdev, via topic branch (Thomas)
- Backmerge (Jani)

----------------------------------------------------------------
Aditya Swarup (8):
      drm/i915/tgl: Use TGL stepping info for applying WAs
      drm/i915/adl_s: Configure DPLL for ADL-S
      drm/i915/adl_s: Configure Port clock registers for ADL-S
      drm/i915/adl_s: Initialize display for ADL-S
      drm/i915/adl_s: Add adl-s ddc pin mapping
      drm/i915/adl_s: Add vbt port and aux channel settings for adls
      drm/i915/adl_s: Add display WAs for ADL-S
      drm/i915/adl_s: Add GT and CTX WAs for ADL-S

Ankit Nautiyal (1):
      drm/i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

Anshuman Gupta (1):
      drm/i915/debugfs: HDCP capability enc NULL check

Anusha Srivatsa (4):
      drm/i915/adl_s: Add PCH support
      drm/i915/adl_s: Add Interrupt Support
      drm/i915/adl_s: Add PHYs for Alderlake S
      drm/i915/adl_s: Load DMC

Bhaskar Chowdhury (1):
      drm/i915/gvt: Fixed couple of spellings in the file gtt.c

Caz Yokoyama (2):
      drm/i915/adl_s: Add ADL-S platform info and PCI ids
      x86/gpu: Add Alderlake-S stolen memory support

Clint Taylor (1):
      drm/i915/display: support ddr5 mem types

Colin Ian King (1):
      drm/i915/display: fix spelling mistake "Couldnt" -> "Couldn't"

Colin Xu (2):
      drm/i915/gvt: Get accurate vGPU virtual display refresh rate from vreg
      drm/i915/gvt: Refactor GVT vblank emulator for vGPU virtual display

Dave Airlie (9):
      drm/i915: refactor ddi translations into a separate file (v2)
      drm/i915: migrate hsw fdi code to new file.
      drm/i915: migrate skl planes code new file (v5)
      drm/i915: move pipe update code into crtc. (v2)
      drm/i915: split fb scalable checks into g4x and skl versions
      drm/i915: move is_ccs_modifier to an inline
      drm/i915: migrate pll enable/disable code to intel_dpll.[ch]
      drm/i915: migrate i9xx plane get config
      drm/i915: refactor skylake scaler code into new file.

Edmund Dea (1):
      drm/i915/display: Remove PSR2 on JSL and EHL

Gwan-gyeong Mun (3):
      drm/i915/display: Support PSR Multiple Instances
      drm/i915/display: Support Multiple Transcoders' PSR status on debugfs
      drm/i915/display: Do not allow DC3CO if PSR SF is enabled

Imre Deak (3):
      drm/i915: Disable runtime power management during shutdown
      drm/i915/tgl+: Make sure TypeC FIA is powered up when initializing it
      drm/i915/tgl+: Sanitize the DDI LANES/IO and AUX power domain names

Jani Nikula (14):
      drm/i915/bios: tidy up child device debug logging
      Merge tag 'topic/adl-s-enabling-2021-02-01-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next
      Merge tag 'topic/drm-device-pdev-2021-02-02' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next
      drm/dp: add MSO related DPCD registers
      drm/i915/edp: reject modes with dimensions other than fixed mode
      drm/i915/edp: always add fixed mode to probed modes in ->get_modes()
      drm/i915/edp: read sink MSO configuration for eDP 1.4+
      drm/i915/reg: add stream splitter configuration definitions
      drm/i915/mso: add splitter state readout for platforms that support it
      drm/i915/mso: add splitter state check
      drm/i915/edp: modify fixed and downclock modes for MSO
      drm/i915/edp: enable eDP MSO during link training
      Merge drm/drm-next into drm-intel-next
      Merge tag 'gvt-next-2021-03-16' of https://github.com/intel/gvt-linux into drm-intel-next

José Roberto de Souza (9):
      drm/i915/display: Add HAS_D12_PLANE_MINIMIZATION
      drm/i915: Make psr_safest_params and enable_psr2_sel_fetch parameters read only
      drm/i915/display: Add DDR5 and LPDDR5 BW buddy page entries
      drm/i915: Remove dead code from skl_pipe_wm_get_hw_state()
      drm/i915/display: Allow PSR2 selective fetch to be enabled at run-time
      drm/i915/display: Rename for_each_intel_encoder.*_can_psr to for_each_intel_encoder.*_with_psr
      drm/i915/display: Only write to register in intel_psr2_program_trans_man_trk_ctl()
      drm/i915/display: Remove some redundancy around CAN_PSR()
      drm/i915/display: Set source_support even if panel do not support PSR

Juston Li (1):
      drm/i915/hdcp: disable the QSES check for HDCP2.2 over MST

Lee Shawn C (1):
      drm/i915/vbt: update DP max link rate table

Lucas De Marchi (6):
      drm/i915/adl_s: Add power wells
      drm/i915/display: fix comment on skl straps
      drm/i915: stop registering if drm_dev_register() fails
      drm/i915: group display-related register calls
      drm/i915/display: move register functions to display/
      drm/i915: move intel_init_audio_hooks inside display

Lyude Paul (5):
      drm/i915/gen9_bc: Recognize TGP PCH + CML combos
      drm/i915/gen9_bc: Introduce TGP PCH DDC pin mappings
      drm/i915/gen9_bc: Introduce HPD pin mappings for TGP PCH + CML combos
      drm/i915/gen9_bc: Add W/A for missing STRAP config on TGP PCH + CML combos
      drm/i915/icp+: Use icp_hpd_irq_setup() instead of spt_hpd_irq_setup()

Matt Roper (5):
      drm/i915/adl_s: Update combo PHY master/slave relationships
      drm/i915/adl_s: Update PHY_MISC programming
      drm/i915/adl_s: Re-use TGL GuC/HuC firmware
      drm/i915: FPGA_DBG is display-specific
      drm/i915: Try to detect sudden loss of MMIO access

Nathan Chancellor (1):
      drm/i915: Enable -Wuninitialized

Sean Paul (2):
      drm/i915/dp_link_training: Add newlines to debug messages
      drm/i915/dp_link_training: Convert DRM_DEBUG_KMS to drm_dbg_kms

Tejas Upadhyay (3):
      drm/i915/adl_s: Update memory bandwidth parameters
      drm/i915/rkl: Remove require_force_probe protection
      drm/i915/gen9bc: Handle TGP PCH during suspend/resume

Thomas Zimmermann (3):
      drm/i915: Remove references to struct drm_device.pdev
      drm/i915/gt: Remove references to struct drm_device.pdev
      drm/i915/gvt: Remove references to struct drm_device.pdev

Uma Shankar (1):
      drm/i915/display: Handle lane polarity for DDI port

Umesh Nerlige Ramappa (5):
      i915/perf: Store a mask of valid OA formats for a platform
      i915/perf: Move OA formats to single array
      i915/perf: Add additional OA formats for gen12
      i915/perf: Drop the check for report reason in OA
      i915/perf: Start hrtimer only if sampling the OA buffer

Ville Syrjälä (53):
      drm/i915: Skip vswing programming for TBT
      drm/i915: Extract intel_ddi_power_up_lanes()
      drm/i915: Power up combo PHY lanes for for HDMI as well
      drm/i915: Move HDMI vswing programming to the right place
      drm/i915: Don't check tc_mode unless dealing with a TC PHY
      drm/i915: Reject 446-480MHz HDMI clock on GLK
      drm/i915: Index min_{cdclk,voltage_level}[] with pipe
      drm/i915: Use intel_hdmi_port_clock() more
      drm/i915: Disallow plane x+w>stride on ilk+ with X-tiling
      drm/i915: Fix overlay frontbuffer tracking
      drm/i915: Warn when releasing a frontbuffer while in use
      drm/i915: Use intel_ddi_clk_select() for FDI
      drm/i915: Introduce .{enable,disable}_clock() encoder vfuncs
      drm/i915: Extract hsw_ddi_{enable,disable}_clock()
      drm/i915: Extract skl_ddi_{enable,disable}_clock()
      drm/i195: Extract cnl_ddi_{enable,disable}_clock()
      drm/i915: Convert DG1 over to .{enable,disable}_clock()
      drm/i915: Extract icl+ .{enable,disable}_clock() vfuncs
      drm/i915: Use intel_de_rmw() for DDI clock routing
      drm/i915: Sprinkle a few missing locks around shared DDI clock registers
      drm/i915: Sprinkle WARN(!pll) into icl/dg1 .clock_enable()
      drm/i915: Extract _cnl_ddi_{enable,disable}_clock()
      drm/i915: Split adl-s/rkl from icl_ddi_combo_{enable,disable}_clock()
      drm/i915: Use .disable_clock() for pll sanitation
      drm/i915: Relocate icl_sanitize_encoder_pll_mapping()
      drm/i915: s/dev_priv/i915/ for the remainder of DDI clock routing
      drm/i915: Nuke INTEL_OUTPUT_FORMAT_INVALID
      drm/i915: Wait for scanout to stop when sanitizing planes
      drm/i915: Readout conn_state->max_bpc
      drm/i915: Fix TGL+ plane SAGV watermark programming
      drm/i915: Zero out SAGV wm when we don't have enough DDB for it
      drm/i915: Print wm changes if sagv_wm0 changes
      drm/i915: Stuff SAGV watermark into a sub-structure
      drm/i915: Introduce SAGV transtion watermark
      drm/i915: Check tgl+ SAGV watermarks properly
      drm/i915: Clean up verify_wm_state()
      drm/i915: Move pipe enable/disable tracepoints to intel_crtc_vblank_{on,off}()
      drm/i915: Don't try to query the frame counter for disabled pipes
      drm/i915: Return zero as the scanline counter for disabled pipes
      drm/i915: Fix DSI TE max_vblank_count handling
      drm/i915: Call primary encoder's .get_config() from MST .get_config()
      drm/i915: Do intel_dpll_readout_hw_state() after encoder readout
      drm/i915: Use pipes instead crtc indices in PLL state tracking
      drm/i915: Move DDI clock readout to encoder->get_config()
      drm/i915: Add encoder->is_clock_enabled()
      drm/i915: Extend icl_sanitize_encoder_pll_mapping() to all DDI platforms
      drm/i915: Tolerate bogus DPLL selection
      drm/i915: Workaround async flip + VT-d corruption on HSW/BDW
      drm/i915: Tighten SAGV constraint for pre-tgl
      drm/i915: Check SAGV wm min_ddb_alloc rather than plane_res_b
      drm/i915: Calculate min_ddb_alloc for trans_wm
      drm/i915: Extract skl_check_wm_level() and skl_check_nv12_wm_level()
      drm/i915: s/plane_res_b/blocks/ etc.

 arch/x86/kernel/early-quirks.c                     |    1 +
 drivers/gpu/drm/i915/Makefile                      |    5 +-
 drivers/gpu/drm/i915/display/i9xx_plane.c          |  123 +-
 drivers/gpu/drm/i915/display/i9xx_plane.h          |    4 +
 drivers/gpu/drm/i915/display/icl_dsi.c             |   28 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  166 +-
 drivers/gpu/drm/i915/display/intel_bios.h          |    2 +
 drivers/gpu/drm/i915/display/intel_bw.c            |   22 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   22 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |   23 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |    6 +-
 drivers/gpu/drm/i915/display/intel_crtc.c          |  276 +-
 drivers/gpu/drm/i915/display/intel_csr.c           |   12 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           | 2658 +++++++-------------
 drivers/gpu/drm/i915/display/intel_ddi.h           |   23 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c | 1394 ++++++++++
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h |  100 +
 drivers/gpu/drm/i915/display/intel_display.c       | 2637 ++-----------------
 drivers/gpu/drm/i915/display/intel_display.h       |   48 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  132 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  231 +-
 drivers/gpu/drm/i915/display/intel_display_power.h |   32 +
 drivers/gpu/drm/i915/display/intel_display_types.h |  117 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  134 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |   31 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   17 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |    3 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          |  509 ++++
 drivers/gpu/drm/i915/display/intel_dpll.h          |   18 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   95 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    9 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    2 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |  138 +
 drivers/gpu/drm/i915/display/intel_fdi.h           |    3 +
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    2 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   67 +-
 drivers/gpu/drm/i915/display/intel_lpe_audio.c     |    5 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |    6 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |    2 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |    4 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |    1 +
 drivers/gpu/drm/i915/display/intel_psr.c           |  611 +++--
 drivers/gpu/drm/i915/display/intel_psr.h           |   10 +-
 drivers/gpu/drm/i915/display/intel_quirks.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        | 1718 +------------
 drivers/gpu/drm/i915/display/intel_sprite.h        |    7 -
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   27 +-
 drivers/gpu/drm/i915/display/intel_vga.c           |    8 +-
 drivers/gpu/drm/i915/display/skl_scaler.c          |  556 ++++
 drivers/gpu/drm/i915/display/skl_scaler.h          |   29 +
 drivers/gpu/drm/i915/display/skl_universal_plane.c | 2266 +++++++++++++++++
 drivers/gpu/drm/i915/display/skl_universal_plane.h |   37 +
 drivers/gpu/drm/i915/display/vlv_dsi.c             |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |    6 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |    2 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |    2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   10 +-
 drivers/gpu/drm/i915/gt/intel_ppgtt.c              |    2 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c                |    4 +-
 drivers/gpu/drm/i915/gt/intel_region_lmem.c        |    8 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |    6 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   68 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |    4 +-
 drivers/gpu/drm/i915/gvt/cfg_space.c               |    5 +-
 drivers/gpu/drm/i915/gvt/display.c                 |  107 +-
 drivers/gpu/drm/i915/gvt/display.h                 |   14 +-
 drivers/gpu/drm/i915/gvt/firmware.c                |   10 +-
 drivers/gpu/drm/i915/gvt/gtt.c                     |   16 +-
 drivers/gpu/drm/i915/gvt/gvt.c                     |   31 +-
 drivers/gpu/drm/i915/gvt/gvt.h                     |   13 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |  261 +-
 drivers/gpu/drm/i915/gvt/interrupt.c               |   37 -
 drivers/gpu/drm/i915/gvt/interrupt.h               |    7 -
 drivers/gpu/drm/i915/gvt/kvmgt.c                   |    4 +-
 drivers/gpu/drm/i915/gvt/vgpu.c                    |    2 -
 drivers/gpu/drm/i915/i915_debugfs.c                |    2 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   84 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  130 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |    5 +-
 drivers/gpu/drm/i915/i915_getparam.c               |    5 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |    2 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  106 +-
 drivers/gpu/drm/i915/i915_params.h                 |    4 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   18 +-
 drivers/gpu/drm/i915/i915_perf.c                   |   97 +-
 drivers/gpu/drm/i915/i915_perf_types.h             |    8 +
 drivers/gpu/drm/i915/i915_pmu.c                    |    2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   76 +-
 drivers/gpu/drm/i915/i915_suspend.c                |    4 +-
 drivers/gpu/drm/i915/i915_switcheroo.c             |    4 +-
 drivers/gpu/drm/i915/i915_vgpu.c                   |    2 +-
 drivers/gpu/drm/i915/intel_device_info.c           |   11 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    3 +-
 drivers/gpu/drm/i915/intel_dram.c                  |    6 +
 drivers/gpu/drm/i915/intel_pch.c                   |   11 +-
 drivers/gpu/drm/i915/intel_pch.h                   |    3 +
 drivers/gpu/drm/i915/intel_pm.c                    |  422 ++--
 drivers/gpu/drm/i915/intel_pm.h                    |    5 +
 drivers/gpu/drm/i915/intel_runtime_pm.c            |    2 +-
 drivers/gpu/drm/i915/intel_uncore.c                |   20 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.c          |    2 +-
 include/drm/drm_dp_helper.h                        |    5 +
 include/drm/i915_pciids.h                          |   11 +
 107 files changed, 8885 insertions(+), 7172 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h
 create mode 100644 drivers/gpu/drm/i915/display/skl_scaler.c
 create mode 100644 drivers/gpu/drm/i915/display/skl_scaler.h
 create mode 100644 drivers/gpu/drm/i915/display/skl_universal_plane.c
 create mode 100644 drivers/gpu/drm/i915/display/skl_universal_plane.h

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-01-29 22:53 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2021-01-29 22:53 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

On my last pull request I incorrectly stated that
Async flips were enabled for all ilk+ platforms, while it
was only on SKL. I'm sorry about that.

I hope there's still time to include a few changes including
the actual patches that make this statement true for 5.12.

Along with other fixes and clean-up as described below:

Here goes drm-intel-next-2021-01-29:
- WARN if plane src coords are too big (Ville)
- Prevent double YUV range correction on HDR planes (Andres)
- DP MST related Fixes (Sean, Imre)
- More clean-up around DRAM detection code (Jose)
- Actually async flips enable for all ilk+ platforms (Ville)

Sorry and Thanks,
Rodrigo.

The following changes since commit 784953a46589276b38d7e6dcb5ebf7e29db72ff1:

  drm/i915/display/vrr: Skip the VRR HW state readout on DSI transcoder (2021-01-26 16:34:53 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-01-29

for you to fetch changes up to 3b7bbb3619d2cc92f04ba10ad27d3b616aabf175:

  drm/i915/dp: Prevent setting the LTTPR LT mode if no LTTPRs are detected (2021-01-29 22:00:07 +0200)

----------------------------------------------------------------
- WARN if plane src coords are too big (Ville)
- Prevent double YUV range correction on HDR planes (Andres)
- DP MST related Fixes (Sean, Imre)
- More clean-up around DRAM detection code (Jose)
- Actually async flips enable for all ilk+ platforms (Ville)

----------------------------------------------------------------
Andres Calderon Jaramillo (1):
      drm/i915/display: Prevent double YUV range correction on HDR planes

Imre Deak (3):
      drm/dp/mst: Export drm_dp_get_vc_payload_bw()
      drm/i915: Fix the MST PBN divider calculation
      drm/i915/dp: Prevent setting the LTTPR LT mode if no LTTPRs are detected

José Roberto de Souza (3):
      drm/i915: Nuke not needed members of dram_info
      drm/i915/gen11+: Only load DRAM information from pcode
      drm/i915: Rename is_16gb_dimm to wm_lv_0_adjust_needed

Sean Paul (1):
      drm/i915/hdcp: Disable the QSES check for HDCP 1.4 over MST

Ville Syrjälä (6):
      drm/i915: WARN if plane src coords are too big
      drm/i915: Limit plane stride to below TILEOFF.x limit
      drm/i915: Implement async flips for bdw
      drm/i915: Implement async flip for ivb/hsw
      drm/i915: Implement async flip for ilk/snb
      drm/i915: Implement async flips for vlv/chv

 drivers/gpu/drm/drm_dp_mst_topology.c              |  24 ++-
 drivers/gpu/drm/i915/display/i9xx_plane.c          | 213 ++++++++++++++++++++-
 drivers/gpu/drm/i915/display/i9xx_plane.h          |   2 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |  80 +-------
 drivers/gpu/drm/i915/display/intel_display.c       |  16 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |  12 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  36 ++--
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   4 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  98 ++++------
 drivers/gpu/drm/i915/i915_drv.c                    |   9 +-
 drivers/gpu/drm/i915/i915_drv.h                    |   6 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  39 ++--
 drivers/gpu/drm/i915/i915_reg.h                    |   3 +
 drivers/gpu/drm/i915/intel_dram.c                  | 136 +++++++++----
 drivers/gpu/drm/i915/intel_pm.c                    |   2 +-
 include/drm/drm_dp_mst_helper.h                    |   1 +
 16 files changed, 434 insertions(+), 247 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2021-01-27 14:08 Rodrigo Vivi
@ 2021-01-27 21:51 ` Ville Syrjälä
  0 siblings, 0 replies; 252+ messages in thread
From: Ville Syrjälä @ 2021-01-27 21:51 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: dim-tools, Daniel Vetter, intel-gfx, Sean Paul, dri-devel

On Wed, Jan 27, 2021 at 09:08:22AM -0500, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Hopefully this is the last pull request towards 5.12.
> 
> Please notice this contains a drm/framebuffer change needed for
> supporting clear color support for TGL Render Decompression.
> 
> Here goes drm-intel-next-2021-01-27:
> 
...
> - Async flips for all ilk+ platforms (Ville)

Not quite yet. Still missing one rb so couldn't push the full thing.
So still limited to skl+ I'm afraid.

-- 
Ville Syrjälä
Intel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-01-27 14:08 Rodrigo Vivi
  2021-01-27 21:51 ` Ville Syrjälä
  0 siblings, 1 reply; 252+ messages in thread
From: Rodrigo Vivi @ 2021-01-27 14:08 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

Hopefully this is the last pull request towards 5.12.

Please notice this contains a drm/framebuffer change needed for
supporting clear color support for TGL Render Decompression.

Here goes drm-intel-next-2021-01-27:

- HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (Anshuman)
- Fix DP vswing settings and handling (Imre, Ville)
- Various display code clean-up (Jani, Ville)
- Various display refactoring, including split out of pps, aux, and fdi (Ja\
ni, Dave)
- Add DG1 missing workarounds (Jose)
- Fix display color conversion (Chris, Ville)
- Try to guess PCH type even without ISA bridge (Zhenyu)
- More backlight refactor (Lyude)
- Support two CSC module on gen11 and later (Lee)
- Async flips for all ilk+ platforms (Ville)
- Clear color support for TGL (RK)
- Add a helper to read data from a GEM object page (Imre)
- VRR/Adaptive Sync Enabling on DP/eDP for TGL+ (Manasi, Ville Aditya)

Thanks,
Rodrigo.

The following changes since commit fb5cfcaa2efbb4c71abb1dfbc8f4da727e0bfd89:

  Merge tag 'drm-intel-gt-next-2021-01-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2021-01-15 15:03:36 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-01-27

for you to fetch changes up to 784953a46589276b38d7e6dcb5ebf7e29db72ff1:

  drm/i915/display/vrr: Skip the VRR HW state readout on DSI transcoder (2021-01-26 16:34:53 -0800)

----------------------------------------------------------------
- HDCP 2.2 and HDCP 1.4 Gen12 DP MST support (Anshuman)
- Fix DP vswing settings and handling (Imre, Ville)
- Various display code clean-up (Jani, Ville)
- Various display refactoring, including split out of pps, aux, and fdi (Ja\
ni, Dave)
- Add DG1 missing workarounds (Jose)
- Fix display color conversion (Chris, Ville)
- Try to guess PCH type even without ISA bridge (Zhenyu)
- More backlight refactor (Lyude)
- Support two CSC module on gen11 and later (Lee)
- Async flips for all ilk+ platforms (Ville)
- Clear color support for TGL (RK)
- Add a helper to read data from a GEM object page (Imre)
- VRR/Adaptive Sync Enabling on DP/eDP for TGL+ (Manasi, Ville Aditya)

----------------------------------------------------------------
Aditya Swarup (1):
      drm/i915/display/dp: Attach and set drm connector VRR property

Anshuman Gupta (21):
      drm/i915/hdcp: Update CP property in update_pipe
      drm/i915/hdcp: Get conn while content_type changed
      drm/i915/hotplug: Handle CP_IRQ for DP-MST
      drm/i915/hdcp: No HDCP when encoder is't initialized
      drm/i915/hdcp: DP MST transcoder for link and stream
      drm/i915/hdcp: Move HDCP enc status timeout to header
      drm/i915/hdcp: HDCP stream encryption support
      drm/i915/hdcp: Configure HDCP1.4 MST steram encryption status
      drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support
      drm/i915/hdcp: Pass dig_port to intel_hdcp_init
      drm/i915/hdcp: Encapsulate hdcp_port_data to dig_port
      misc/mei/hdcp: Fix AUTH_STREAM_REQ cmd buffer len
      drm/hdcp: Max MST content streams
      drm/i915/hdcp: MST streams support in hdcp port_data
      drm/i915/hdcp: Pass connector to check_2_2_link
      drm/i915/hdcp: Add HDCP 2.2 stream register
      drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks
      drm/i915/hdcp: Configure HDCP2.2 MST steram encryption status
      drm/i915/hdcp: Enable HDCP 2.2 MST support
      drm/i915/hdcp: Fix WARN_ON(data->k > INTEL_NUM_PIPES)
      drm/i915/hdcp: Fix uninitialized symbol

Chris Wilson (1):
      drm/i915/display: Bitwise or the conversion colour specifier together

Dave Airlie (3):
      drm/i915: refactor some crtc code out of intel display. (v2)
      drm/i915: refactor pll code out into intel_dpll.c
      drm/i915: split fdi code out from intel_display.c

Imre Deak (3):
      drm/i915/dp: Move intel_dp_set_signal_levels() to intel_dp_link_training.c
      drm/i915/dp: Fix LTTPR vswing/pre-emp setting in non-transparent mode
      drm/i915/gem: Add a helper to read data from a GEM object page

Jani Nikula (20):
      drm/i915/display: remove useless use of inline
      drm/i915/display: fix the uint*_t types that have crept in
      drm/i915/pps: abstract panel power sequencer from intel_dp.c
      drm/i915/pps: rename pps_{,un}lock -> intel_pps_{,un}lock
      drm/i915/pps: rename intel_edp_backlight_* to intel_pps_backlight_*
      drm/i915/pps: rename intel_edp_panel_* to intel_pps_*
      drm/i915/pps: rename edp_panel_* to intel_pps_*_unlocked
      drm/i915/pps: abstract intel_pps_vdd_off_sync
      drm/i915/pps: add higher level intel_pps_init() call
      drm/i915/pps: abstract intel_pps_encoder_reset()
      drm/i915/pps: rename intel_dp_check_edp to intel_pps_check_power_unlocked
      drm/i915/pps: rename intel_power_sequencer_reset to intel_pps_reset_all
      drm/i915/pps: add locked intel_pps_wait_power_cycle
      drm/i915/pps: rename vlv_init_panel_power_sequencer to vlv_pps_init
      drm/i915/pps: rename intel_dp_init_panel_power_sequencer* functions
      drm/i915/pps: refactor init abstractions
      drm/i915/pps: move pps code over from intel_display.c and refactor
      drm/i915/dp: abstract struct intel_dp pps members to a sub-struct
      drm/i915/dp: split out aux functionality to intel_dp_aux.c
      drm/msm/dp: fix build after dp quirk helper change

José Roberto de Souza (1):
      drm/i915/dg1: Apply WA 1409120013 and 14011059788

Lee Shawn C (1):
      drm/i915: support two CSC module on gen11 and later

Lyude Paul (6):
      drm/i915: Pass port to intel_panel_bl_funcs.get()
      drm/i915: Keep track of pwm-related backlight hooks separately
      drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now)
      drm/i915/dp: Allow forcing specific interfaces through enable_dpcd_backlight
      drm/dp: Revert "drm/dp: Introduce EDID-based quirks"
      drm/i915/dp: Don't use DPCD backlights that need PWM enable/disable

Manasi Navare (9):
      drm/i915/display/vrr: Create VRR file and add VRR capability check
      drm/i915/display/dp: Compute VRR state in atomic_check
      drm/i915/display/dp: Do not enable PSR if VRR is enabled
      drm/i915/display/vrr: Configure and enable VRR in modeset enable
      drm/i915/display/vrr: Send VRR push to flip the frame
      drm/i915/display/vrr: Disable VRR in modeset disable path
      drm/i915/display/vrr: Set IGNORE_MSA_PAR state in DP Sink
      drm/i915/display: Add HW state readout for VRR
      drm/i915/display/vrr: Skip the VRR HW state readout on DSI transcoder

Radhakrishna Sripada (2):
      drm/framebuffer: Format modifier for Intel Gen 12 render compression with Clear Color
      drm/i915/tgl: Add Clear Color support for TGL Render Decompression

Rodrigo Vivi (1):
      Merge drm/drm-next into drm-intel-next

Ville Syrjälä (29):
      drm/i915: Drop one more useless master_transcoder assignment
      drm/i915: Only enable DFP 4:4:4->4:2:0 conversion when outputting YCbCr 4:4:4
      drm/i915: Disable TRAINING_PATTERN_SET before stopping the TPS transmission
      drm/i915: Fix the training pattern debug print
      drm/i915: Fix the PHY compliance test vs. hotplug mishap
      drm/i915: Drop redundant parens
      drm/i915: Generalize the async flip capability check
      drm/i915: Add plane vfuncs to enable/disable flip_done interrupt
      drm/i915: Move the async_flip bit setup into the .async_flip() hook
      drm/i915: Reuse the async_flip() hook for the async flip disable w/a
      drm/i915: Fix ICL MG PHY vswing handling
      drm/i915: Unify the sanity checks for the buf trans tables
      drm/i915: Store framestart_delay in dev_priv
      drm/i915: Extract intel_mode_vblank_start()
      drm/i915: Extract intel_crtc_scanlines_since_frame_timestamp()
      drm/i915/display: VRR + DRRS cannot be enabled together
      drm/i915: Rename VRR_CTL reg fields
      drm/i915/display: Helpers for VRR vblank min and max start
      drm/i915: Add vrr state dump
      drm/i915: Fix vblank timestamps with VRR
      drm/i915: Fix vblank evasion with vrr
      drm/i915: Extract intel_crtc_ddb_weight()
      drm/i915: Pass the crtc to skl_compute_dbuf_slices()
      drm/i915: Introduce intel_dbuf_slice_size()
      drm/i915: Introduce skl_ddb_entry_for_slices()
      drm/i915: Add pipe ddb entries into the dbuf state
      drm/i915: Extract intel_crtc_dbuf_weights()
      drm/i915: Encapsulate dbuf state handling harder
      drm/i915: Do a bit more initial readout for dbuf

Zhenyu Wang (1):
      drm/i915: Try to guess PCH type even without ISA bridge

 drivers/gpu/drm/drm_dp_helper.c                    |   83 +-
 drivers/gpu/drm/drm_dp_mst_topology.c              |    3 +-
 drivers/gpu/drm/i915/Makefile                      |    6 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    2 +-
 drivers/gpu/drm/i915/display/intel_color.c         |   16 +
 drivers/gpu/drm/i915/display/intel_crtc.c          |  325 +++
 drivers/gpu/drm/i915/display/intel_crtc.h          |   22 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |   81 +-
 drivers/gpu/drm/i915/display/intel_ddi.h           |    6 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 2807 ++------------------
 drivers/gpu/drm/i915/display/intel_display.h       |    6 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |    9 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |    6 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  141 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 2315 +---------------
 drivers/gpu/drm/i915/display/intel_dp.h            |   10 +-
 drivers/gpu/drm/i915/display/intel_dp_aux.c        |  692 +++++
 drivers/gpu/drm/i915/display/intel_dp_aux.h        |   18 +
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |  297 ++-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |  186 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   38 +-
 .../gpu/drm/i915/display/intel_dp_link_training.h  |    3 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   12 +-
 drivers/gpu/drm/i915/display/intel_dpll.c          | 1363 ++++++++++
 drivers/gpu/drm/i915/display/intel_dpll.h          |   23 +
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |    2 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |    2 +-
 drivers/gpu/drm/i915/display/intel_fdi.c           |  683 +++++
 drivers/gpu/drm/i915/display/intel_fdi.h           |   22 +
 drivers/gpu/drm/i915/display/intel_hdcp.c          |  309 ++-
 drivers/gpu/drm/i915/display/intel_hdcp.h          |    8 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   19 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  396 +--
 drivers/gpu/drm/i915/display/intel_panel.h         |    4 +
 drivers/gpu/drm/i915/display/intel_pps.c           | 1406 ++++++++++
 drivers/gpu/drm/i915/display/intel_pps.h           |   52 +
 drivers/gpu/drm/i915/display/intel_psr.c           |   12 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |   67 +-
 drivers/gpu/drm/i915/display/intel_vrr.c           |  209 ++
 drivers/gpu/drm/i915/display/intel_vrr.h           |   33 +
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   65 +
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |    8 +
 drivers/gpu/drm/i915/i915_drv.c                    |    1 +
 drivers/gpu/drm/i915/i915_drv.h                    |   20 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   81 +-
 drivers/gpu/drm/i915/i915_irq.h                    |    3 -
 drivers/gpu/drm/i915/i915_params.c                 |    2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   63 +-
 drivers/gpu/drm/i915/intel_pch.c                   |   39 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  554 ++--
 drivers/gpu/drm/i915/intel_pm.h                    |    7 +-
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   |    6 +-
 drivers/misc/mei/hdcp/mei_hdcp.c                   |    3 +-
 include/drm/drm_dp_helper.h                        |   21 +-
 include/drm/drm_hdcp.h                             |    8 +-
 include/uapi/drm/drm_fourcc.h                      |   19 +
 56 files changed, 6978 insertions(+), 5616 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_crtc.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_crtc.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_aux.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_aux.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_dpll.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dpll.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_fdi.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_fdi.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_pps.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_pps.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_vrr.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_vrr.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-01-12 17:51 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2021-01-12 17:51 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

A very short collection of patches, mostly with display fixes. Plus GVT.
The goal is to get both drm-intel-next and drm-intel-gt-next in sync again
through drm-next backports so we can continue with ADL enabling in a topic
branch.

Please be aware that there's a drm only patch here:
commit 7d8ac172d7f1 ("drm: Add function to convert rect in 16.16 fixed format to regular format")

Here goes drm-intel-next-2021-01-12:
- PSR fixes and improvements for selective fetch (Jose)
- GVT build fixed and cleanup (Jani)
- RKL display fixes (Lee, Matt)
- DSI fix (Hans)
- Panel Power and Backlight fixes (Anshuman, Jani)
- RPM fix (Chris)
- Fix HTI port checking (Jose)
- Clean-up in cursor code (Ville)
- Once again, trying to use fast+narrow link on eDP (Ville)
- DG1 display fix (Matt)

Thanks,
Rodrigo.

The following changes since commit cb3cfbf79aff7decb4e5ee69a7c74864497f61dc:

  Merge tag 'drm-misc-next-2021-01-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-01-07 13:40:20 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-01-12

for you to fetch changes up to cce73665eae238791f4342b29ca54188227717c8:

  drm/i915/dg1: Update voltage swing tables for DP (2021-01-11 19:20:18 -0800)

----------------------------------------------------------------
- PSR fixes and improvements for selective fetch (Jose)
- GVT build fixed and cleanup (Jani)
- RKL display fixes (Lee, Matt)
- DSI fix (Hans)
- Panel Power and Backlight fixes (Anshuman, Jani)
- RPM fix (Chris)
- Fix HTI port checking (Jose)
- Clean-up in cursor code (Ville)
- Once again, trying to use fast+narrow link on eDP (Ville)
- DG1 display fix (Matt)

----------------------------------------------------------------
Anshuman Gupta (1):
      drm/i915/pps: Reuse POWER_DOMAIN_DISPLAY_CORE in pps_{lock, unlock}

Chris Wilson (1):
      drm/i915: Disable RPM wakeref assertions during driver shutdown

Hans de Goede (1):
      drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence

Jani Nikula (10):
      drm/i915/gvt: avoid useless use of inline
      drm/i915/gvt: make execlist.h self-contained
      drm/i915/gvt: make fb_decoder.h self-contained
      drm/i915/gvt: make gtt.h self-contained
      drm/i915/gvt: make interrupt.h self-contained
      drm/i915/gvt: make mmio_context.h self-contained
      drm/i915/gvt: make gvt.h self-contained
      drm/i915/gvt: make scheduler.h self-contained
      drm/i915/gvt: make mpt.h self-contained
      drm/i915/backlight: fix CPU mode backlight takeover on LPT

José Roberto de Souza (5):
      drm: Add function to convert rect in 16.16 fixed format to regular format
      drm/i915/display/psr: Use plane damage clips to calculate damaged area
      drm/i915/display: Split and export main surface calculation from skl_check_main_surface()
      drm/i915/display/psr: Program plane's calculated offset to plane SF register
      drm/i915: Fix HTI port checking

Lee Shawn C (1):
      drm/i915/rkl: new rkl ddc map for different PCH

Matt Roper (2):
      drm/i915/rkl: Add DP vswing programming tables
      drm/i915/dg1: Update voltage swing tables for DP

Rodrigo Vivi (2):
      Merge tag 'gvt-next-fixes-2020-12-25' of https://github.com/intel/gvt-linux into drm-intel-next
      Merge drm/drm-next into drm-intel-next

Ville Syrjälä (2):
      drm/i915: Fix checkpatch warns in cursor code
      drm/i915: Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure

 drivers/gpu/drm/i915/Makefile                      |  10 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  10 ++
 drivers/gpu/drm/i915/display/intel_cursor.c        |   6 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  79 ++++++++++++-
 drivers/gpu/drm/i915/display/intel_display.c       |  78 ++++++++-----
 drivers/gpu/drm/i915/display/intel_display.h       |   2 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   1 +
 drivers/gpu/drm/i915/display/intel_dp.c            |  83 +++++++++++---
 drivers/gpu/drm/i915/display/intel_panel.c         |   9 +-
 drivers/gpu/drm/i915/display/intel_psr.c           | 127 ++++++++++++++++++---
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   2 +
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  16 ++-
 drivers/gpu/drm/i915/gvt/execlist.h                |   3 -
 drivers/gpu/drm/i915/gvt/fb_decoder.h              |   6 +-
 drivers/gpu/drm/i915/gvt/gtt.h                     |  11 +-
 drivers/gpu/drm/i915/gvt/gvt.h                     |   4 +
 drivers/gpu/drm/i915/gvt/handlers.c                |   3 +-
 drivers/gpu/drm/i915/gvt/interrupt.h               |   5 +-
 drivers/gpu/drm/i915/gvt/mmio_context.h            |  11 ++
 drivers/gpu/drm/i915/gvt/mpt.h                     |   2 +
 drivers/gpu/drm/i915/gvt/scheduler.h               |   5 +
 drivers/gpu/drm/i915/i915_drv.c                    |   4 +
 drivers/gpu/drm/i915/i915_reg.h                    |   3 +-
 include/drm/drm_rect.h                             |  13 +++
 24 files changed, 396 insertions(+), 97 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2021-01-04 21:10 Rodrigo Vivi
@ 2021-01-07 12:02 ` Daniel Vetter
  0 siblings, 0 replies; 252+ messages in thread
From: Daniel Vetter @ 2021-01-07 12:02 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: dim-tools, Daniel Vetter, dri-devel, Sean Paul, intel-gfx

On Mon, Jan 04, 2021 at 01:10:18PM -0800, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Happy New Year.
> 
> Here goes the first pull request targeting 5.12.
> 
> drm-intel-next-2021-01-04:
> - Display hotplug fix for gen2/gen3 (Chris)
> - Remove trailing semicolon (Tom)
> - Suppress display warnings for old ifwi presend on our CI (Chris)
> - OA/Perf related workaround (Lionel)
> - Replace I915_READ/WRITE per new uncore and display read/write functions (Jani)\
> .
> - PSR improvements (Jose)
> - HDR and other color changes on LSPCON (Uma, Ville)
> - FBC fixes for TGL (Uma)
> - Record plane update times for debugging (Chris)
> - Refactor panel backlight control functions (Dave)
> - Display power improvements (Imre)
> - Add VRR register definition (Manasi)
> - Atomic modeset improvements for bigjoiner pipes (Ville)
> - Switch off the scanout during driver unregister (Chris)
> - Clean-up DP's FEW enable (Manasi)
> - Fix VDSCP slice count (Manasi)
> - Fix and clean up around rc_model_size for DSC (Jani)
> - Remove Type-C noisy debug warn message (Sean)
> - Display HPD code clean-up (Ville)
> - Refactor Intel Display (Dave)
> - Start adding support for Intel's eDP backlight controls (Lyude)

Pulled, thanks.
-Daniel

> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit b3bf99daaee96a141536ce5c60a0d6dba6ec1d23:
> 
>   drm/i915/display: Defer initial modeset until after GGTT is initialised (2020-11-26 11:01:52 +0000)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-01-04
> 
> for you to fetch changes up to b3304591f14b437b6bccd8dbff06006c11837031:
> 
>   drm/i915/dp: Track pm_qos per connector (2020-12-30 21:22:55 +0000)
> 
> ----------------------------------------------------------------
> - Display hotplug fix for gen2/gen3 (Chris)
> - Remove trailing semicolon (Tom)
> - Suppress display warnings for old ifwi presend on our CI (Chris)
> - OA/Perf related workaround (Lionel)
> - Replace I915_READ/WRITE per new uncore and display read/write functions (Jani)\
> .
> - PSR improvements (Jose)
> - HDR and other color changes on LSPCON (Uma, Ville)
> - FBC fixes for TGL (Uma)
> - Record plane update times for debugging (Chris)
> - Refactor panel backlight control functions (Dave)
> - Display power improvements (Imre)
> - Add VRR register definition (Manasi)
> - Atomic modeset improvements for bigjoiner pipes (Ville)
> - Switch off the scanout during driver unregister (Chris)
> - Clean-up DP's FEW enable (Manasi)
> - Fix VDSCP slice count (Manasi)
> - Fix and clean up around rc_model_size for DSC (Jani)
> - Remove Type-C noisy debug warn message (Sean)
> - Display HPD code clean-up (Ville)
> - Refactor Intel Display (Dave)
> - Start adding support for Intel's eDP backlight controls (Lyude)
> 
> ----------------------------------------------------------------
> Chris Wilson (6):
>       Revert "drm/i915: re-order if/else ladder for hpd_irq_setup"
>       drm/i915/display: Suppress "Combo PHY A HW state changed unexpectedly"
>       drm/i915/display: Record the plane update times for debugging
>       drm/i915/gem: Spring clean debugfs
>       drm/i915: Disable outputs during unregister
>       drm/i915/dp: Track pm_qos per connector
> 
> Dave Airlie (6):
>       drm/i915: refactor panel backlight control functions. (v2)
>       drm/i915/display: move needs_modeset to an inline in header
>       drm/i915/display: move to_intel_frontbuffer to header
>       drm/i915/display: fix misused comma
>       drm/i915: refactor cursor code out of i915_display.c
>       drm/i915: refactor i915 plane code into separate file.
> 
> Imre Deak (10):
>       drm/i915: Use CRTC index consistently during getting/putting CRTC power domains
>       drm/i915: Factor out helpers to get/put a set of tracked power domains
>       drm/i915: Track power references taken for enabled CRTCs
>       drm/i915/ddi: Track power reference taken for encoder DDI IO use
>       drm/i915/ddi: Track power reference taken for encoder main lane AUX use
>       drm/i915: Track power reference taken for eDP VDD
>       drm/i915: Rename power_domains.wakeref to init_wakeref
>       drm/i915: Track power reference taken to disable power well functionality
>       drm/i915: Make intel_display_power_put_unchecked() an internal-only function
>       drm/i915/icl: Fix initing the DSI DSC power refcount during HW readout
> 
> Jani Nikula (15):
>       drm/i915/debugfs: remove RPS autotuning details from i915_rps_boost_info
>       drm/i915: remove last traces of I915_READ_FW() and I915_WRITE_FW()
>       drm/i915/cdclk: prefer intel_de_write() over I915_WRITE()
>       drm/i915/debugfs: remove the i915_cache_sharing debugfs file
>       drm/i915/debugfs: replace I915_READ() with intel_uncore_read()
>       drm/i915/suspend: replace I915_READ()/WRITE() with intel_de_read()/write()
>       drm/i915/pm: replace I915_READ()/WRITE() with intel_uncore_read()/write()
>       drm/i915/irq: replace I915_READ()/WRITE() with intel_uncore_read()/write()
>       drm/i915/gvt: replace I915_WRITE with intel_uncore_write
>       drm/i915: remove last traces of I915_READ(), I915_WRITE() and POSTING_READ()
>       drm/dsc: use rc_model_size from DSC config for PPS
>       drm/i915/dsc: configure hardware using specified rc_model_size
>       drm/i915/dsc: make rc_model_size an encoder defined value
>       drm/dsc: add helper for calculating rc buffer size from DPCD
>       drm/i915/bios: fill in DSC rc_model_size from VBT
> 
> José Roberto de Souza (1):
>       drm/i915/display/psr: Calculate selective fetch plane registers
> 
> Lionel Landwerlin (1):
>       drm/i915/perf: also include Gen11 in OATAILPTR workaround
> 
> Lyude Paul (5):
>       drm/i915/dp: Program source OUI on eDP panels
>       drm/i915: Rename pwm_* backlight callbacks to ext_pwm_*
>       drm/i915: Pass down brightness values to enable/disable backlight callbacks
>       drm/i915/dp: Rename eDP VESA backlight interface functions
>       drm/i915/dp: Add register definitions for Intel HDR backlight interface
> 
> Manasi Navare (3):
>       drm/i915: Add VRR_CTL_LINE_COUNT field to VRR_CTL register def
>       drm/i915/dp: No need to poll FEC Enable Live bit
>       drm/i915/display/dp: Compute the correct slice count for VDSC on DP
> 
> Sean Paul (1):
>       drm/i915/display/tc: Only WARN once for bogus tc port flag
> 
> Tom Rix (1):
>       drm/i915: remove trailing semicolon in macro definition
> 
> Uma Shankar (15):
>       drm/i915/display: Add HDR Capability detection for LSPCON
>       drm/i915/display: Enable HDR on gen9 devices with MCA Lspcon
>       drm/i915/display: Attach HDR property for capable Gen9 devices
>       drm/i915/display: Fixes quantization range for YCbCr output
>       drm/i915/display: Add a WARN for invalid output range and format
>       drm/i915/display: Attach content type property for LSPCON
>       drm/i915/display: Enable colorspace programming for LSPCON devices
>       drm/i915/display: Nuke bogus lspcon check
>       drm/i915/display: Enable HDR for Parade based lspcon
>       drm/i915/lspcon: Create separate infoframe_enabled helper
>       drm/i915/display: Implement infoframes readback for LSPCON
>       drm/i915/display: Implement DRM infoframe read for LSPCON
>       drm/i915/lspcon: Do not send DRM infoframes to non-HDMI sinks
>       drm/i915/display/tgl: Disable FBC with PSR2
>       Revert "drm/i915/display/fbc: Disable fbc by default on TGL"
> 
> Ville Syrjälä (6):
>       drm/i915: Split intel_attach_colorspace_property() into HDMI vs. DP variants
>       drm/i915: Track logically enabled planes for hw state
>       drm/i915: Add intel_atomic_add_affected_planes()
>       drm/i915: Properly flag modesets for all bigjoiner pipes
>       drm/i915: Call kill_bigjoiner_slave() earlier
>       drm/i915: Reduce duplicated switch cases in hpd code
> 
>  drivers/gpu/drm/drm_dsc.c                          |   30 +-
>  drivers/gpu/drm/i915/Makefile                      |    4 +-
>  drivers/gpu/drm/i915/display/i9xx_plane.c          |  704 ++++++++
>  drivers/gpu/drm/i915/display/i9xx_plane.h          |   24 +
>  drivers/gpu/drm/i915/display/icl_dsi.c             |    7 +-
>  drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    3 +
>  drivers/gpu/drm/i915/display/intel_bios.c          |   11 +-
>  drivers/gpu/drm/i915/display/intel_cdclk.c         |    7 +-
>  drivers/gpu/drm/i915/display/intel_combo_phy.c     |   20 +-
>  drivers/gpu/drm/i915/display/intel_connector.c     |   29 +-
>  drivers/gpu/drm/i915/display/intel_connector.h     |    3 +-
>  drivers/gpu/drm/i915/display/intel_cursor.c        |  806 +++++++++
>  drivers/gpu/drm/i915/display/intel_cursor.h        |   17 +
>  drivers/gpu/drm/i915/display/intel_ddi.c           |   83 +-
>  drivers/gpu/drm/i915/display/intel_display.c       | 1794 ++------------------
>  drivers/gpu/drm/i915/display/intel_display.h       |   13 +-
>  .../gpu/drm/i915/display/intel_display_debugfs.c   |  124 ++
>  .../gpu/drm/i915/display/intel_display_debugfs.h   |    3 +
>  drivers/gpu/drm/i915/display/intel_display_power.c |  127 +-
>  drivers/gpu/drm/i915/display/intel_display_power.h |   37 +-
>  drivers/gpu/drm/i915/display/intel_display_types.h |   57 +-
>  drivers/gpu/drm/i915/display/intel_dp.c            |   95 +-
>  .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |  115 +-
>  .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |   21 +-
>  drivers/gpu/drm/i915/display/intel_dvo.c           |    4 -
>  drivers/gpu/drm/i915/display/intel_fbc.c           |   19 +-
>  drivers/gpu/drm/i915/display/intel_hdmi.c          |   26 +-
>  drivers/gpu/drm/i915/display/intel_lspcon.c        |  162 +-
>  drivers/gpu/drm/i915/display/intel_lspcon.h        |   12 +
>  drivers/gpu/drm/i915/display/intel_panel.c         |  226 ++-
>  drivers/gpu/drm/i915/display/intel_psr.c           |   22 +-
>  drivers/gpu/drm/i915/display/intel_sprite.c        |   50 +-
>  drivers/gpu/drm/i915/display/intel_sprite.h        |   10 +
>  drivers/gpu/drm/i915/display/intel_tc.c            |    2 +-
>  drivers/gpu/drm/i915/display/intel_vdsc.c          |    4 +-
>  drivers/gpu/drm/i915/gvt/handlers.c                |    2 +-
>  drivers/gpu/drm/i915/i915_debugfs.c                |  582 +------
>  drivers/gpu/drm/i915/i915_drv.c                    |    8 +-
>  drivers/gpu/drm/i915/i915_drv.h                    |   41 +-
>  drivers/gpu/drm/i915/i915_irq.c                    |  382 ++---
>  drivers/gpu/drm/i915/i915_perf.c                   |    2 +-
>  drivers/gpu/drm/i915/i915_reg.h                    |    7 +-
>  drivers/gpu/drm/i915/i915_suspend.c                |   33 +-
>  drivers/gpu/drm/i915/intel_device_info.c           |    2 +-
>  drivers/gpu/drm/i915/intel_pm.c                    |  552 +++---
>  drivers/gpu/drm/i915/intel_sideband.c              |    4 +-
>  drivers/gpu/drm/i915/intel_uncore.c                |    4 +-
>  drivers/gpu/drm/i915/intel_uncore.h                |    6 +-
>  include/drm/drm_dsc.h                              |    1 +
>  49 files changed, 3222 insertions(+), 3075 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/display/i9xx_plane.c
>  create mode 100644 drivers/gpu/drm/i915/display/i9xx_plane.h
>  create mode 100644 drivers/gpu/drm/i915/display/intel_cursor.c
>  create mode 100644 drivers/gpu/drm/i915/display/intel_cursor.h

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2021-01-04 21:10 Rodrigo Vivi
  2021-01-07 12:02 ` Daniel Vetter
  0 siblings, 1 reply; 252+ messages in thread
From: Rodrigo Vivi @ 2021-01-04 21:10 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

Happy New Year.

Here goes the first pull request targeting 5.12.

drm-intel-next-2021-01-04:
- Display hotplug fix for gen2/gen3 (Chris)
- Remove trailing semicolon (Tom)
- Suppress display warnings for old ifwi presend on our CI (Chris)
- OA/Perf related workaround (Lionel)
- Replace I915_READ/WRITE per new uncore and display read/write functions (Jani)\
.
- PSR improvements (Jose)
- HDR and other color changes on LSPCON (Uma, Ville)
- FBC fixes for TGL (Uma)
- Record plane update times for debugging (Chris)
- Refactor panel backlight control functions (Dave)
- Display power improvements (Imre)
- Add VRR register definition (Manasi)
- Atomic modeset improvements for bigjoiner pipes (Ville)
- Switch off the scanout during driver unregister (Chris)
- Clean-up DP's FEW enable (Manasi)
- Fix VDSCP slice count (Manasi)
- Fix and clean up around rc_model_size for DSC (Jani)
- Remove Type-C noisy debug warn message (Sean)
- Display HPD code clean-up (Ville)
- Refactor Intel Display (Dave)
- Start adding support for Intel's eDP backlight controls (Lyude)

Thanks,
Rodrigo.

The following changes since commit b3bf99daaee96a141536ce5c60a0d6dba6ec1d23:

  drm/i915/display: Defer initial modeset until after GGTT is initialised (2020-11-26 11:01:52 +0000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2021-01-04

for you to fetch changes up to b3304591f14b437b6bccd8dbff06006c11837031:

  drm/i915/dp: Track pm_qos per connector (2020-12-30 21:22:55 +0000)

----------------------------------------------------------------
- Display hotplug fix for gen2/gen3 (Chris)
- Remove trailing semicolon (Tom)
- Suppress display warnings for old ifwi presend on our CI (Chris)
- OA/Perf related workaround (Lionel)
- Replace I915_READ/WRITE per new uncore and display read/write functions (Jani)\
.
- PSR improvements (Jose)
- HDR and other color changes on LSPCON (Uma, Ville)
- FBC fixes for TGL (Uma)
- Record plane update times for debugging (Chris)
- Refactor panel backlight control functions (Dave)
- Display power improvements (Imre)
- Add VRR register definition (Manasi)
- Atomic modeset improvements for bigjoiner pipes (Ville)
- Switch off the scanout during driver unregister (Chris)
- Clean-up DP's FEW enable (Manasi)
- Fix VDSCP slice count (Manasi)
- Fix and clean up around rc_model_size for DSC (Jani)
- Remove Type-C noisy debug warn message (Sean)
- Display HPD code clean-up (Ville)
- Refactor Intel Display (Dave)
- Start adding support for Intel's eDP backlight controls (Lyude)

----------------------------------------------------------------
Chris Wilson (6):
      Revert "drm/i915: re-order if/else ladder for hpd_irq_setup"
      drm/i915/display: Suppress "Combo PHY A HW state changed unexpectedly"
      drm/i915/display: Record the plane update times for debugging
      drm/i915/gem: Spring clean debugfs
      drm/i915: Disable outputs during unregister
      drm/i915/dp: Track pm_qos per connector

Dave Airlie (6):
      drm/i915: refactor panel backlight control functions. (v2)
      drm/i915/display: move needs_modeset to an inline in header
      drm/i915/display: move to_intel_frontbuffer to header
      drm/i915/display: fix misused comma
      drm/i915: refactor cursor code out of i915_display.c
      drm/i915: refactor i915 plane code into separate file.

Imre Deak (10):
      drm/i915: Use CRTC index consistently during getting/putting CRTC power domains
      drm/i915: Factor out helpers to get/put a set of tracked power domains
      drm/i915: Track power references taken for enabled CRTCs
      drm/i915/ddi: Track power reference taken for encoder DDI IO use
      drm/i915/ddi: Track power reference taken for encoder main lane AUX use
      drm/i915: Track power reference taken for eDP VDD
      drm/i915: Rename power_domains.wakeref to init_wakeref
      drm/i915: Track power reference taken to disable power well functionality
      drm/i915: Make intel_display_power_put_unchecked() an internal-only function
      drm/i915/icl: Fix initing the DSI DSC power refcount during HW readout

Jani Nikula (15):
      drm/i915/debugfs: remove RPS autotuning details from i915_rps_boost_info
      drm/i915: remove last traces of I915_READ_FW() and I915_WRITE_FW()
      drm/i915/cdclk: prefer intel_de_write() over I915_WRITE()
      drm/i915/debugfs: remove the i915_cache_sharing debugfs file
      drm/i915/debugfs: replace I915_READ() with intel_uncore_read()
      drm/i915/suspend: replace I915_READ()/WRITE() with intel_de_read()/write()
      drm/i915/pm: replace I915_READ()/WRITE() with intel_uncore_read()/write()
      drm/i915/irq: replace I915_READ()/WRITE() with intel_uncore_read()/write()
      drm/i915/gvt: replace I915_WRITE with intel_uncore_write
      drm/i915: remove last traces of I915_READ(), I915_WRITE() and POSTING_READ()
      drm/dsc: use rc_model_size from DSC config for PPS
      drm/i915/dsc: configure hardware using specified rc_model_size
      drm/i915/dsc: make rc_model_size an encoder defined value
      drm/dsc: add helper for calculating rc buffer size from DPCD
      drm/i915/bios: fill in DSC rc_model_size from VBT

José Roberto de Souza (1):
      drm/i915/display/psr: Calculate selective fetch plane registers

Lionel Landwerlin (1):
      drm/i915/perf: also include Gen11 in OATAILPTR workaround

Lyude Paul (5):
      drm/i915/dp: Program source OUI on eDP panels
      drm/i915: Rename pwm_* backlight callbacks to ext_pwm_*
      drm/i915: Pass down brightness values to enable/disable backlight callbacks
      drm/i915/dp: Rename eDP VESA backlight interface functions
      drm/i915/dp: Add register definitions for Intel HDR backlight interface

Manasi Navare (3):
      drm/i915: Add VRR_CTL_LINE_COUNT field to VRR_CTL register def
      drm/i915/dp: No need to poll FEC Enable Live bit
      drm/i915/display/dp: Compute the correct slice count for VDSC on DP

Sean Paul (1):
      drm/i915/display/tc: Only WARN once for bogus tc port flag

Tom Rix (1):
      drm/i915: remove trailing semicolon in macro definition

Uma Shankar (15):
      drm/i915/display: Add HDR Capability detection for LSPCON
      drm/i915/display: Enable HDR on gen9 devices with MCA Lspcon
      drm/i915/display: Attach HDR property for capable Gen9 devices
      drm/i915/display: Fixes quantization range for YCbCr output
      drm/i915/display: Add a WARN for invalid output range and format
      drm/i915/display: Attach content type property for LSPCON
      drm/i915/display: Enable colorspace programming for LSPCON devices
      drm/i915/display: Nuke bogus lspcon check
      drm/i915/display: Enable HDR for Parade based lspcon
      drm/i915/lspcon: Create separate infoframe_enabled helper
      drm/i915/display: Implement infoframes readback for LSPCON
      drm/i915/display: Implement DRM infoframe read for LSPCON
      drm/i915/lspcon: Do not send DRM infoframes to non-HDMI sinks
      drm/i915/display/tgl: Disable FBC with PSR2
      Revert "drm/i915/display/fbc: Disable fbc by default on TGL"

Ville Syrjälä (6):
      drm/i915: Split intel_attach_colorspace_property() into HDMI vs. DP variants
      drm/i915: Track logically enabled planes for hw state
      drm/i915: Add intel_atomic_add_affected_planes()
      drm/i915: Properly flag modesets for all bigjoiner pipes
      drm/i915: Call kill_bigjoiner_slave() earlier
      drm/i915: Reduce duplicated switch cases in hpd code

 drivers/gpu/drm/drm_dsc.c                          |   30 +-
 drivers/gpu/drm/i915/Makefile                      |    4 +-
 drivers/gpu/drm/i915/display/i9xx_plane.c          |  704 ++++++++
 drivers/gpu/drm/i915/display/i9xx_plane.h          |   24 +
 drivers/gpu/drm/i915/display/icl_dsi.c             |    7 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    3 +
 drivers/gpu/drm/i915/display/intel_bios.c          |   11 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |    7 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |   20 +-
 drivers/gpu/drm/i915/display/intel_connector.c     |   29 +-
 drivers/gpu/drm/i915/display/intel_connector.h     |    3 +-
 drivers/gpu/drm/i915/display/intel_cursor.c        |  806 +++++++++
 drivers/gpu/drm/i915/display/intel_cursor.h        |   17 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |   83 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 1794 ++------------------
 drivers/gpu/drm/i915/display/intel_display.h       |   13 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  124 ++
 .../gpu/drm/i915/display/intel_display_debugfs.h   |    3 +
 drivers/gpu/drm/i915/display/intel_display_power.c |  127 +-
 drivers/gpu/drm/i915/display/intel_display_power.h |   37 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   57 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |   95 +-
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |  115 +-
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |   21 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |    4 -
 drivers/gpu/drm/i915/display/intel_fbc.c           |   19 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   26 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |  162 +-
 drivers/gpu/drm/i915/display/intel_lspcon.h        |   12 +
 drivers/gpu/drm/i915/display/intel_panel.c         |  226 ++-
 drivers/gpu/drm/i915/display/intel_psr.c           |   22 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |   50 +-
 drivers/gpu/drm/i915/display/intel_sprite.h        |   10 +
 drivers/gpu/drm/i915/display/intel_tc.c            |    2 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    4 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |    2 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |  582 +------
 drivers/gpu/drm/i915/i915_drv.c                    |    8 +-
 drivers/gpu/drm/i915/i915_drv.h                    |   41 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  382 ++---
 drivers/gpu/drm/i915/i915_perf.c                   |    2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |    7 +-
 drivers/gpu/drm/i915/i915_suspend.c                |   33 +-
 drivers/gpu/drm/i915/intel_device_info.c           |    2 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  552 +++---
 drivers/gpu/drm/i915/intel_sideband.c              |    4 +-
 drivers/gpu/drm/i915/intel_uncore.c                |    4 +-
 drivers/gpu/drm/i915/intel_uncore.h                |    6 +-
 include/drm/drm_dsc.h                              |    1 +
 49 files changed, 3222 insertions(+), 3075 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/i9xx_plane.c
 create mode 100644 drivers/gpu/drm/i915/display/i9xx_plane.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_cursor.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_cursor.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-09-18 17:30 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2020-09-18 17:30 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

here goes our last pull request targeting 5.10.

drm-intel-next-2020-09-17:
Driver Changes:

- Reduce INTEL_DISPLAY_ENABLED to just removed outputs treating it as disconnected (Ville)
- Introducing new AUX, DVO, and TC ports and refactoring code around hot plug interrupts for those. (Ville)
- Centralize PLL_ENABLE register lookup (Anusha)
- Improvements around DP downstream facing ports (DFP). (Ville)
- Enable YCbCr 444->420 conversion for HDMI DFPs. Ville
- Remove the old global state on Display's atomic modeset (Ville)
- Nuke force_min_cdclk_changed (Ville)
- Extend a TGL W/A to all SKUs and to RKL (Swathi)
drm-intel-next-2020-09-14-1:
GVT changes:

- Cleanup command access flag (Yan)
- New workaround cmd access fix (Colin)
- MIA reset state fix (Colin)

Cross-subsystem Changes:

- ACPI / LPSS: Cherry Trail PWM controller fixes for suspend/resume. (Hans)
- pwm lpss: changes for remove suspend/resume handers. (Hans)
- pwm crc: Fixes for better handling of pwm crcs. (Hans)

Driver Changes:

- HDCP improvements (Anshuman)
- Gen12 W/A addition and fixes (Clint, Jose)
- Spelling fixes (Colin)
- DRRS improvements (Jose)
- EHL and TGL voltage swing table fixes (Jose)
- Fix on returns and errors handling (Nathan)
- TGL PCI ID split for perf queries (Lionel)
- HDCP refactor with the addition of 1.4 support for MST connectors (Sean)
- Fix GLK display audio regression (Kai)
- More display refactor for better split away from gem (Jani)
- Honor the VBT PWM values for better backlight handling. (Hans)
- Disable all display features when no display and other changes around it (Jani)
- Some code clean up removing unused stuff (Ville)
- Some g4x+ changes for better sprite upscaling and color format (Ville)
drm-intel-next-2020-09-14:
UAPI Changes:

Cross-subsystem Changes:

Core Changes:

Driver Changes:
The following changes since commit 166774a2c2c6b82da5d984f587567071ff00c1f3:

  drm/i915: Fix slightly botched merge in __reloc_entry_gpu (2020-09-10 15:19:10 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-09-17

for you to fetch changes up to 8fea92536e3efff14fa4cde7ed37c595b40a52b5:

  drm/i915: Update DRIVER_DATE to 20200917 (2020-09-17 16:43:57 -0400)

----------------------------------------------------------------
Driver Changes:

- Reduce INTEL_DISPLAY_ENABLED to just removed outputs treating it as disconnected (Ville)
- Introducing new AUX, DVO, and TC ports and refactoring code around hot plug interrupts for those. (Ville)
- Centralize PLL_ENABLE register lookup (Anusha)
- Improvements around DP downstream facing ports (DFP). (Ville)
- Enable YCbCr 444->420 conversion for HDMI DFPs. Ville
- Remove the old global state on Display's atomic modeset (Ville)
- Nuke force_min_cdclk_changed (Ville)
- Extend a TGL W/A to all SKUs and to RKL (Swathi)

----------------------------------------------------------------
Anshuman Gupta (2):
      drm/i915/hdcp: Add update_pipe early return
      drm/i915/hdcp: No direct access to power_well desc

Anusha Srivatsa (1):
      drm/i915/pll: Centralize PLL_ENABLE register lookup

Chris Wilson (2):
      drm/i915: Initialise outparam for error return from wait_for_register
      drm/i915/selftests: Push the fake iommu device from the stack to data

Clint Taylor (1):
      drm/i915/gt: Implement WA_1406941453

Colin Ian King (1):
      drm/i915/vlv_dsi_pll: fix spelling mistake "Cant" -> "Can't"

Colin Xu (2):
      drm/i915/gvt: Add F_CMD_ACCESS for some GEN9 SKU WA MMIO access
      drm/i915/gvt: Init vreg GUC_STATUS to GS_MIA_IN_RESET

Hans de Goede (17):
      ACPI / LPSS: Resume Cherry Trail PWM controller in no-irq phase
      ACPI / LPSS: Save Cherry Trail PWM ctx registers only once (at activation)
      pwm: lpss: Fix off by one error in base_unit math in pwm_lpss_prepare()
      pwm: lpss: Add range limit check for the base_unit register value
      pwm: lpss: Add pwm_lpss_prepare_enable() helper
      pwm: lpss: Make pwm_lpss_apply() not rely on existing hardware state
      pwm: lpss: Remove suspend/resume handlers
      pwm: crc: Fix period / duty_cycle times being off by a factor of 256
      pwm: crc: Fix off-by-one error in the clock-divider calculations
      pwm: crc: Fix period changes not having any effect
      pwm: crc: Enable/disable PWM output on enable/disable
      pwm: crc: Implement apply() method to support the new atomic PWM API
      pwm: crc: Implement get_state() method
      drm/i915: panel: Add get_vbt_pwm_freq() helper
      drm/i915: panel: Honor the VBT PWM frequency for devs with an external PWM controller
      drm/i915: panel: Honor the VBT PWM min setting for devs with an external PWM controller
      drm/i915: panel: Use atomic PWM API for devs with an external PWM controller

Jani Nikula (7):
      drm/i915: split intel_modeset_init() pre/post gem init
      drm/i915: move more display related probe to intel_modeset_init_noirq()
      drm/i915: split out intel_modeset_driver_remove_nogem() and simplify
      drm/i915: remove the extra modeset init layer
      drm/i915: disable all display features when no display
      drm/i915: move gen4 GCDGMBUS save/restore to display save/restore
      drm/i915: move gmbus restore to i915_restore_display

José Roberto de Souza (7):
      drm/i915/display: Compute has_drrs after compute has_psr
      drm/i915/display: Disable DRRS when needed in fastsets
      drm/i915/display: Fix DRRS debugfs
      drm/i915/tgl: Fix stepping WA matching
      drm/i915/display/tgl: Use TGL DP tables for eDP ports without low power support
      drm/i915/display/ehl: Use EHL DP tables for eDP ports without low power support
      drm/i915/ehl: Update voltage swing table

Kai Vehmanen (1):
      drm/i915: fix regression leading to display audio probe failure on GLK

Lionel Landwerlin (1):
      drm/i915: break TGL pci-ids in GT 1 & 2

Nathan Chancellor (1):
      drm/i915/display: Ensure that ret is always initialized in icl_combo_phy_verify_state

Rodrigo Vivi (5):
      Merge drm/drm-next into drm-intel-next-queued
      Merge tag 'gvt-next-2020-09-10' of https://github.com/intel/gvt-linux into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20200914
      drm/i915: Update DRIVER_DATE to 20200914
      drm/i915: Update DRIVER_DATE to 20200917

Sean Paul (17):
      drm/i915: Fix sha_text population code
      drm/i915: Clear the repeater bit on HDCP disable
      drm/i915: WARN if HDCP signalling is enabled upon disable
      drm/i915: Intercept Aksv writes in the aux hooks
      drm/i915: Use the cpu_transcoder in intel_hdcp to toggle HDCP signalling
      drm/i915: Factor out hdcp->value assignments
      drm/i915: Protect workers against disappearing connectors
      drm/i915: Clean up intel_hdcp_disable
      drm/i915: Don't fully disable HDCP on a port if multiple pipes are using it
      drm/i915: Support DP MST in enc_to_dig_port() function
      drm/i915: Use ddi_update_pipe in intel_dp_mst
      drm/i915: Factor out HDCP shim functions from dp for use by dp_mst
      drm/i915: Plumb port through hdcp init
      drm/i915: Add connector to hdcp_shim->check_link()
      drm/mst: Add support for QUERY_STREAM_ENCRYPTION_STATUS MST sideband message
      drm/i915: Print HDCP version info for all connectors
      drm/i915: Add HDCP 1.4 support for MST connectors

Swathi Dhanavanthri (1):
      drm/i915/tgl, rkl: Make Wa_1606700617/22010271021 permanent

Ville Syrjälä (41):
      drm/i915: Nuke dpio_phy_iosf_port[]
      drm/i915: Kill unused savePCH_PORT_HOTPLUG
      drm/i915: Nuke the magic FBC_CONTROL save/restore
      drm/i915: Nuke MI_ARB_STATE save/restore
      drm/i915: Nuke CACHE_MODE_0 save/restore
      drm/i915: Fix g4x+ sprite dotclock limit for upscaling
      drm/i915: Use fb->format->is_yuv for the g4x+ sprite RGB vs. YUV check
      drm/i915: Reduce INTEL_DISPLAY_ENABLED to just removing the outputs
      drm/i915: Reduce INTEL_DISPLAY_ENABLED to just treat outputs as disconnected
      drm/i915: Add more AUX CHs to the enum
      drm/i915: Add PORT_{H,I} to intel_port_to_power_domain()
      drm/i915: Add AUX_CH_{H,I} power domain handling
      drm/i915: Add VBT DVO ports H and I
      drm/i915: Add VBT AUX CH H and I
      drm/i915: Nuke the redundant TC/TBT HPD bit defines
      drm/i915: Configure GEN11_{TBT,TC}_HOTPLUG_CTL for ports TC5/6
      drm/i915: Split icp_hpd_detection_setup() into ddi vs. tc parts
      drm/i915: Move hpd_pin setup to encoder init
      drm/i915: Introduce HPD_PORT_TC<n>
      drm/i915: Introduce intel_hpd_hotplug_irqs()
      drm/i915: Nuke pointless variable
      drm/dp: Dump downstream facing port caps
      drm/i915/lspcon: Do not send infoframes to non-HDMI sinks
      drm/dp: Define protocol converter DPCD registers
      drm/dp: Define more downstream facing port caps
      drm/i915: Reworkd DFP max bpc handling
      drm/dp: Add helpers to identify downstream facing port types
      drm/dp: Pimp drm_dp_downstream_max_bpc()
      drm/dp: Redo drm_dp_downstream_max_clock() as drm_dp_downstream_max_dotclock()
      drm/i915: Reworkd DP DFP clock handling
      drm/dp: Add drm_dp_downstream_{min,max}_tmds_clock()
      drm/i915: Deal with TMDS DFP clock limits
      drm/i915: Configure DP 1.3+ protocol converted HDMI mode
      drm/dp: Add drm_dp_downstream_mode()
      drm/i915: Handle downstream facing ports w/o EDID
      drm/i915: Extract intel_hdmi_has_audio()
      drm/i915: DP->HDMI TMDS clock limits vs. deep color
      drm/dp: Add helpers for DFP YCbCr 4:2:0 handling
      drm/i915: Do YCbCr 444->420 conversion via DP protocol converters
      drm/i915: Remove the old global state stuff
      drm/i915: Nuke force_min_cdclk_changed

Yan Zhao (4):
      drm/i915/gvt: rename F_IN_CTX flag to F_SR_IN_CTX
      drm/i915/gvt: remove flag F_CMD_ACCESSED
      drm/i915/gvt: add/modify interfaces for flag F_CMD_ACCESS
      drm/i915/gvt: remove F_CMD_ACCESS flag for some registers

 drivers/acpi/acpi_lpss.c                           |   22 +-
 drivers/gpu/drm/drm_dp_helper.c                    |  394 ++++++-
 drivers/gpu/drm/drm_dp_mst_topology.c              |  150 +++
 drivers/gpu/drm/drm_edid.c                         |   28 +
 drivers/gpu/drm/i915/Makefile                      |    1 +
 drivers/gpu/drm/i915/display/icl_dsi.c             |    1 +
 drivers/gpu/drm/i915/display/intel_atomic.c        |   39 -
 drivers/gpu/drm/i915/display/intel_atomic.h        |    4 -
 drivers/gpu/drm/i915/display/intel_audio.c         |    5 -
 drivers/gpu/drm/i915/display/intel_bios.c          |   10 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_cdclk.h         |    1 -
 drivers/gpu/drm/i915/display/intel_crt.c           |    3 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |  190 +++-
 drivers/gpu/drm/i915/display/intel_ddi.h           |    2 +
 drivers/gpu/drm/i915/display/intel_display.c       |  134 ++-
 drivers/gpu/drm/i915/display/intel_display.h       |    6 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   36 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |    2 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   48 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 1078 +++++++-------------
 drivers/gpu/drm/i915/display/intel_dp.h            |   12 +
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c       |  703 +++++++++++++
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   23 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   35 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |    6 +
 drivers/gpu/drm/i915/display/intel_fbdev.c         |    3 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |  208 ++--
 drivers/gpu/drm/i915/display/intel_hdcp.h          |    2 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |  117 ++-
 drivers/gpu/drm/i915/display/intel_hdmi.h          |    2 +
 drivers/gpu/drm/i915/display/intel_hotplug.c       |   28 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  106 +-
 drivers/gpu/drm/i915/display/intel_panel.h         |    2 +
 drivers/gpu/drm/i915/display/intel_psr.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    6 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |    9 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |    3 +
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   10 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |    1 +
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |    2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   35 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |    6 +-
 drivers/gpu/drm/i915/gvt/gvt.h                     |   44 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |   32 +-
 drivers/gpu/drm/i915/gvt/mmio.c                    |    3 +
 drivers/gpu/drm/i915/gvt/mmio_context.c            |    2 +-
 drivers/gpu/drm/i915/i915_drv.c                    |  155 +--
 drivers/gpu/drm/i915/i915_drv.h                    |   66 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  227 ++---
 drivers/gpu/drm/i915/i915_reg.h                    |   38 +-
 drivers/gpu/drm/i915/i915_suspend.c                |   46 +-
 drivers/gpu/drm/i915/intel_device_info.c           |    8 +
 drivers/gpu/drm/i915/intel_pm.c                    |    2 +-
 drivers/gpu/drm/i915/intel_sideband.c              |   16 +-
 drivers/gpu/drm/i915/intel_uncore.c                |    3 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   12 +-
 drivers/gpu/drm/nouveau/nouveau_dp.c               |    4 +-
 drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c |   17 +
 drivers/pwm/pwm-crc.c                              |  128 ++-
 drivers/pwm/pwm-lpss-platform.c                    |    1 -
 drivers/pwm/pwm-lpss.c                             |   85 +-
 drivers/pwm/pwm-lpss.h                             |    3 -
 include/drm/drm_dp_helper.h                        |   66 +-
 include/drm/drm_dp_mst_helper.h                    |   44 +
 include/drm/drm_edid.h                             |    4 +
 include/drm/i915_pciids.h                          |   14 +-
 69 files changed, 2861 insertions(+), 1648 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_hdcp.c
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-08-26 23:27 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2020-08-26 23:27 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

here goes the first pull request towards 5.10:

As requested, the gem patches have been separated into
a drm-intel/topic/drm-intel-gem-next that will be sent separately
by the gem team later.

Thanks,
Rodrigo.

drm-intel-next-2020-08-24-1:
UAPI Changes:

- Introduce a mechanism to extend execbuf2 (Lionel)
- Add syncobj timeline support (Lionel)

Driver Changes:

- Limit stolen mem usage on the compressed frame buffer (Ville)
- Some clean-up around display's cdclk (Ville)
- Some DDI changes for better DP link training according
  to spec (Imre)
- Provide the perf pmu.module (Chris)
- Remove dobious Valleyview PCI IDs (Alexei)
- Add new display power saving feature for gen12+ called
  HOBL (Jose)
- Move SKL's clock gating w/a to skl_init_clock_gating() (Ville)
- Rocket Lake display additions (Matt)
- Selftest: temporarily downgrade on severity of frequency
            scaling tests (Chris)
- Introduce a new display workaround for fixing FLR related
  issues on new PCH. (Jose)
- Temporarily disable FBC on TGL. It was the culprit of random
  underruns. (Uma).
- Copy default modparams to mock i915_device (Chris)
- Add compiler paranoia for checking HWSP values (Chris)
- Remove useless gen check before calling intel_rps_boost (Chris)
- Fix a null pointer dereference (Chris)
- Add a couple of missing i915_active_fini() (Chris)
- Update TGL display power's bw_buddy table according to
  update spec (Matt)
- Fix couple wrong return values (Tianjia)
- Selftest: Avoid passing random 0 into ilog2 (George)
- Many Tiger Lake display fixes and improvements for Type-C and
  DP compliance (Imre, Jose)
- Start the addition of PSR2 selective fetch (Jose)
- Update a few DMC and HuC firmware versions (Jose)
- Add gen11+ w/a to fix underuns (Matt)
- Fix cmd parser desc matching with mask (Mika)
The following changes since commit 62975d27d647a40c58d3b96c29b911fc4f33c310:

  drm/ttm: revert "drm/ttm: make TT creation purely optional v3" (2020-08-12 13:26:28 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-08-24-1

for you to fetch changes up to ced026e959bec5046afa310d6474e147b6294da2:

  drm/i915: Update DRIVER_DATE to 20200824 (2020-08-24 14:26:38 -0400)

----------------------------------------------------------------
UAPI Changes:

- Introduce a mechanism to extend execbuf2 (Lionel)
- Add syncobj timeline support (Lionel)

Driver Changes:

- Limit stolen mem usage on the compressed frame buffer (Ville)
- Some clean-up around display's cdclk (Ville)
- Some DDI changes for better DP link training according
  to spec (Imre)
- Provide the perf pmu.module (Chris)
- Remove dobious Valleyview PCI IDs (Alexei)
- Add new display power saving feature for gen12+ called
  HOBL (Jose)
- Move SKL's clock gating w/a to skl_init_clock_gating() (Ville)
- Rocket Lake display additions (Matt)
- Selftest: temporarily downgrade on severity of frequency
            scaling tests (Chris)
- Introduce a new display workaround for fixing FLR related
  issues on new PCH. (Jose)
- Temporarily disable FBC on TGL. It was the culprit of random
  underruns. (Uma).
- Copy default modparams to mock i915_device (Chris)
- Add compiler paranoia for checking HWSP values (Chris)
- Remove useless gen check before calling intel_rps_boost (Chris)
- Fix a null pointer dereference (Chris)
- Add a couple of missing i915_active_fini() (Chris)
- Update TGL display power's bw_buddy table according to
  update spec (Matt)
- Fix couple wrong return values (Tianjia)
- Selftest: Avoid passing random 0 into ilog2 (George)
- Many Tiger Lake display fixes and improvements for Type-C and
  DP compliance (Imre, Jose)
- Start the addition of PSR2 selective fetch (Jose)
- Update a few DMC and HuC firmware versions (Jose)
- Add gen11+ w/a to fix underuns (Matt)
- Fix cmd parser desc matching with mask (Mika)

----------------------------------------------------------------
Alexei Podtelezhnikov (1):
      drm/i915: Remove dubious Valleyview PCI IDs

Chris Wilson (7):
      drm/i915: Provide the perf pmu.module
      drm/i915/selftests: Downgrade severity of CS/SRM frequency scaling tests
      drm/i915: Copy default modparams to mock i915_device
      drm/i915/selftests: Add compiler paranoia for checking HWSP values
      drm/i915: Remove gen check before calling intel_rps_boost
      drm/i915/display: Check for an LPSP encoder before dereferencing
      drm/i915: Add a couple of missing i915_active_fini()

George Spelvin (1):
      drm/i915/selftests: Avoid passing a random 0 into ilog2

Imre Deak (4):
      drm/i915/ddi: Don't frob the DP link scramble disabling flag
      drm/i915/ddi: Don't rewrite DDI_BUF_CTL reg during DP link training
      drm/i915/tgl: Make sure TC-cold is blocked before enabling TC AUX power wells
      drm/i915/tgl: Fix TC-cold block/unblock sequence

José Roberto de Souza (8):
      drm/i915/display: Implement HOBL
      drm/i915: Implement WA 14011294188
      drm/i915/tgl: Set subplatforms
      drm/i915/tgl: Add new voltage swing table
      drm/i915: Initial implementation of PSR2 selective fetch
      drm/i915/display: Implement WA 1408330847
      drm/i915: Update TGL and RKL DMC firmware versions
      drm/i915: Update TGL and RKL HuC firmware versions

Lionel Landwerlin (2):
      drm/i915: introduce a mechanism to extend execbuf2
      drm/i915: add syncobj timeline support

Matt Atwood (1):
      drm/i915: Apply Wa_14011264657:gen11+

Matt Roper (8):
      drm/i915/rkl: Handle new DPCLKA_CFGCR0 layout
      drm/i915/rkl: Add initial workarounds
      drm/i915/rkl: Add DPLL4 support
      drm/i915/rkl: Handle HTI
      drm/i915/rkl: Add Wa_14011224835 for PHY B initialization
      drm/i915: Update bw_buddy pagemask table
      Revert "drm/i915/rkl: Add Wa_14011224835 for PHY B initialization"
      drm/i915/kbl: Fix revision ID checks

Mika Kuoppala (1):
      drm/i915: Fix cmd parser desc matching with masks

Rodrigo Vivi (1):
      drm/i915: Update DRIVER_DATE to 20200824

Tianjia Zhang (2):
      drm/i915: Fix wrong return value
      drm/i915: Fix wrong return value in intel_atomic_check()

Uma Shankar (1):
      drm/i915/display/fbc: Disable fbc by default on TGL

Ville Syrjälä (5):
      drm/i915/fbc: Limit cfb to the first 256MiB of stolen on g4x+
      drm/i915: Pack struct intel_cdclk_vals
      drm/i915: Fix some whitespace
      drm/i915: Make i830 .get_cdclk() assignment less confusing
      drm/i915: Move WaDisableDopClockGating:skl to skl_init_clock_gating()

 drivers/gpu/drm/i915/display/intel_cdclk.c         |  11 +-
 drivers/gpu/drm/i915/display/intel_cdclk.h         |   2 +-
 drivers/gpu/drm/i915/display/intel_csr.c           |   8 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           | 111 ++++++-
 drivers/gpu/drm/i915/display/intel_display.c       |  90 ++++-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  10 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  30 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   6 +
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  19 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  52 ++-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  17 +
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |   2 +
 drivers/gpu/drm/i915/display/intel_psr.c           | 110 +++++-
 drivers/gpu/drm/i915/display/intel_psr.h           |   5 +
 drivers/gpu/drm/i915/display/intel_sprite.c        |   5 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     | 367 ++++++++++++++++-----
 drivers/gpu/drm/i915/gt/intel_lrc.c                |   2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        | 113 +++++--
 .../gpu/drm/i915/gt/selftest_engine_heartbeat.c    |   5 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             |   4 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |  24 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |   4 +-
 drivers/gpu/drm/i915/i915_active.c                 |   7 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c             |  14 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   5 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  54 ++-
 drivers/gpu/drm/i915/i915_getparam.c               |   1 +
 drivers/gpu/drm/i915/i915_params.c                 |   5 +
 drivers/gpu/drm/i915/i915_params.h                 |   1 +
 drivers/gpu/drm/i915/i915_pci.c                    |   1 +
 drivers/gpu/drm/i915/i915_pmu.c                    |   7 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  32 +-
 drivers/gpu/drm/i915/i915_request.c                |   7 +-
 drivers/gpu/drm/i915/intel_device_info.c           |  19 ++
 drivers/gpu/drm/i915/intel_device_info.h           |   1 +
 drivers/gpu/drm/i915/intel_pm.c                    |  14 +-
 drivers/gpu/drm/i915/selftests/i915_buddy.c        |  18 +-
 drivers/gpu/drm/i915/selftests/i915_request.c      |   2 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   3 +
 include/drm/i915_pciids.h                          |   4 +-
 include/uapi/drm/i915_drm.h                        |  59 +++-
 41 files changed, 978 insertions(+), 273 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2020-07-15 13:33 ` Jani Nikula
@ 2020-07-15 14:05   ` Daniel Vetter
  0 siblings, 0 replies; 252+ messages in thread
From: Daniel Vetter @ 2020-07-15 14:05 UTC (permalink / raw)
  To: Jani Nikula, Lyude
  Cc: DRM maintainer tools announcements, discussion, and development,
	intel-gfx, dri-devel, Rodrigo Vivi, Sean Paul

On Wed, Jul 15, 2020 at 3:34 PM Jani Nikula <jani.nikula@intel.com> wrote:
>
>
> Argh, failed to mention:
>
> On Wed, 15 Jul 2020, Jani Nikula <jani.nikula@intel.com> wrote:
> > Lee Shawn C (1):
> >       drm/i915/mst: filter out the display mode exceed sink's capability
>
> The above depends on:
>
> > Lyude Paul (1):
> >       drm/probe_helper: Add drm_connector_helper_funcs.mode_valid_ctx
>
> Which has changes outside of i915:
>
> >  drivers/gpu/drm/drm_crtc_helper_internal.h         |   7 +-
> >  drivers/gpu/drm/drm_probe_helper.c                 |  97 +--
>
> and does not have an explicit ack recorded, though drm-misc maintainers
> have been Cc'd. :(
>
> I decided they were benign enough, but needed to be mentioned.

Yeah looks all fine, adding Lyude just as fyi.
-Daniel

>
> BR,
> Jani.
>
>
> --
> Jani Nikula, Intel Open Source Graphics Center



-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2020-07-15 13:19 Jani Nikula
@ 2020-07-15 13:33 ` Jani Nikula
  2020-07-15 14:05   ` Daniel Vetter
  0 siblings, 1 reply; 252+ messages in thread
From: Jani Nikula @ 2020-07-15 13:33 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, intel-gfx, dri-devel, Rodrigo Vivi, Sean Paul


Argh, failed to mention:

On Wed, 15 Jul 2020, Jani Nikula <jani.nikula@intel.com> wrote:
> Lee Shawn C (1):
>       drm/i915/mst: filter out the display mode exceed sink's capability

The above depends on:

> Lyude Paul (1):
>       drm/probe_helper: Add drm_connector_helper_funcs.mode_valid_ctx

Which has changes outside of i915:

>  drivers/gpu/drm/drm_crtc_helper_internal.h         |   7 +-
>  drivers/gpu/drm/drm_probe_helper.c                 |  97 +--

and does not have an explicit ack recorded, though drm-misc maintainers
have been Cc'd. :(

I decided they were benign enough, but needed to be mentioned.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-07-15 13:19 Jani Nikula
  2020-07-15 13:33 ` Jani Nikula
  0 siblings, 1 reply; 252+ messages in thread
From: Jani Nikula @ 2020-07-15 13:19 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: , dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

The 2nd and presumably the last i915 feature pull for v5.9.

drm-intel-next-2020-07-15:
drm/i915 features for v5.9, batch #2

Highlights:
- Very early DG1 enabling (Abdiel, Lucas, Anusha)

Gem/GT:
- Fix spinlock recursion on signaling a signaled request (Chris)
- Perf: Use GTT when saving/restoring engine GPR (Umesh Nerlige Ramappa)

- SSEU refactoring, debugfs move under gt/ (Daniele, Venkata Sandeep Dhanalakota)
- Various GT refactoring and cleanup, preparation for future changes (Daniele)
- Adjust HuC state accordingly after GuC fetch error (Michał Winiarski)
- UC debugfs updates (Michał Winiarski)
- Only revoke the GGTT mmappings on aperture detiling changes (Chris)
- Only revoke mmap handlers if active (Chris)
- Split the context's obj:vma lut into its own mutex (Chris)
- Various memory, mmap and performance optimisations (Chris)
- Improve system stability in case of false CS events (Chris)
- Various refactorings and cleanup (Chris)
- Always reset the engine on execlist failures (Chris)
- Trace placement of timeline HWSP (Chris)
- Update dma-attributes for our sg DMA (Chris)

Display:
- TGL CDCLK workaround tweaks to unbreak 8K display support (Stanislav)
- A number of FBC fixes, along with i865 FBC enabling (Ville)
- Validate MST modes against PBN limits (Lyude, Shawn Lee)
- Do not access non-existing swizzle registers (Lucas)
- Revert GEN11+ HBR3 rate fix that caused issues on TGL (Matt Atwood)
- Update TGL+ combo phy initialization to match spec update (José)
- Fix HDCP Content Protection property state machine (Anshuman)
- Fix HDCP revoked keys handling (Ram)
- Improve DDI BUF status checks and waits (Manasi)
- Various SDVO+HDMI+DVI fixes around colorimetry, clocking, pixel repeat etc. (Ville)
- DP voltage swing function refactoring (José)
- WARN if max vswing/pre-emphasis violates the DP spec (Ville)

Other:
- Add new EHL PCI IDs (José)
- Unify struct intel_digital_port variable naming (Lucas)
- Various taint updates to aid debugging and improve CI (Michał Winiarski)
- Straggler conversions to new mmio register accessors (Daniele)

BR,
Jani.

The following changes since commit d524b87f77364db096855d7eb714ffacec974ddf:

  drm/i915: Update DRIVER_DATE to 20200702 (2020-07-02 21:25:28 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-07-15

for you to fetch changes up to e57bd05ec0d2d82d63725dedf9f5a063f879de25:

  drm/i915: Update DRIVER_DATE to 20200715 (2020-07-15 14:18:02 +0300)

----------------------------------------------------------------
drm/i915 features for v5.9, batch #2

Highlights:
- Very early DG1 enabling (Abdiel, Lucas, Anusha)

Gem/GT:
- Fix spinlock recursion on signaling a signaled request (Chris)
- Perf: Use GTT when saving/restoring engine GPR (Umesh Nerlige Ramappa)

- SSEU refactoring, debugfs move under gt/ (Daniele, Venkata Sandeep Dhanalakota)
- Various GT refactoring and cleanup, preparation for future changes (Daniele)
- Adjust HuC state accordingly after GuC fetch error (Michał Winiarski)
- UC debugfs updates (Michał Winiarski)
- Only revoke the GGTT mmappings on aperture detiling changes (Chris)
- Only revoke mmap handlers if active (Chris)
- Split the context's obj:vma lut into its own mutex (Chris)
- Various memory, mmap and performance optimisations (Chris)
- Improve system stability in case of false CS events (Chris)
- Various refactorings and cleanup (Chris)
- Always reset the engine on execlist failures (Chris)
- Trace placement of timeline HWSP (Chris)
- Update dma-attributes for our sg DMA (Chris)

Display:
- TGL CDCLK workaround tweaks to unbreak 8K display support (Stanislav)
- A number of FBC fixes, along with i865 FBC enabling (Ville)
- Validate MST modes against PBN limits (Lyude, Shawn Lee)
- Do not access non-existing swizzle registers (Lucas)
- Revert GEN11+ HBR3 rate fix that caused issues on TGL (Matt Atwood)
- Update TGL+ combo phy initialization to match spec update (José)
- Fix HDCP Content Protection property state machine (Anshuman)
- Fix HDCP revoked keys handling (Ram)
- Improve DDI BUF status checks and waits (Manasi)
- Various SDVO+HDMI+DVI fixes around colorimetry, clocking, pixel repeat etc. (Ville)
- DP voltage swing function refactoring (José)
- WARN if max vswing/pre-emphasis violates the DP spec (Ville)

Other:
- Add new EHL PCI IDs (José)
- Unify struct intel_digital_port variable naming (Lucas)
- Various taint updates to aid debugging and improve CI (Michał Winiarski)
- Straggler conversions to new mmio register accessors (Daniele)

----------------------------------------------------------------
Abdiel Janulgue (2):
      drm/i915/dg1: add initial DG-1 definitions
      drm/i915/dg1: Add DG1 PCI IDs

Anshuman Gupta (1):
      drm/i915/hdcp: Update CP as per the kernel internal state

Anusha Srivatsa (1):
      drm/i915/dg1: Remove SHPD_FILTER_CNT register programming

Chris Wilson (22):
      drm/i915/gem: Only revoke the GGTT mmappings on aperture detiling changes
      drm/i915/gem: Only revoke mmap handlers if active
      drm/i915/gem: Drop forced struct_mutex from shrinker_taints_mutex
      drm/i915: Also drop vm.ref along error paths for vma construction
      drm/i915/gem: Split the context's obj:vma lut into its own mutex
      drm/i915: Export ppgtt_bind_vma
      drm/i915/gt: Pin the rings before marking active
      drm/i915: Update dma-attributes for our sg DMA
      drm/i915/gem: Unpin idle contexts from kswapd reclaim
      drm/i915/gt: Replace opencoded i915_gem_object_pin_map()
      drm/i915: Release shortlived maps of longlived objects
      drm/i915: Remove i915_gem_object_get_dirty_page()
      drm/i915/gt: Optimise aliasing-ppgtt allocations
      drm/i915/selftest: Check that GPR are restored across noa_wait
      drm/i915/gt: Be defensive in the face of false CS events
      drm/i915: Pull printing GT capabilities on error to err_print_gt
      drm/i915/gt: Always reset the engine, even if inactive, on execlists failure
      drm/i915/gt: Ignore irq enabling on the virtual engines
      drm/i915/gt: Only swap to a random sibling once upon creation
      drm/i915: Skip signaling a signaled request
      drm/i915/gt: Trace placement of timeline HWSP
      drm/i915/gt: Assert the kernel context is using the HWSP

Colin Ian King (1):
      drm/i915/selftest: fix an error return path where err is not being set

Dan Carpenter (1):
      drm/i915/selftest: Fix an error code in live_noa_gpr()

Daniele Ceraolo Spurio (8):
      drm/i915: Convert device_info to uncore/de_read
      drm/i915: Use the gt in HAS_ENGINE
      drm/i915: Move engine-related mmio init to engines_init_mmio
      drm/i915: Move the engine mask to intel_gt_info
      drm/i915: Introduce gt_init_mmio
      drm/i915/sseu: Move sseu detection and dump to intel_sseu
      drm/i915: gt-fy sseu debugfs
      drm/i915: Move sseu debugfs under gt/

Flavio Suligoi (1):
      drm/i915: Fix spelling mistake in i915_reg.h

Jani Nikula (1):
      drm/i915: Update DRIVER_DATE to 20200715

José Roberto de Souza (6):
      drm/i915/display: Implement new combo phy initialization step
      drm/i915/ehl: Add new PCI ids
      drm/i915/tgl: Implement WAs 18011464164 and 22010931296
      drm/i915/display: Replace drm_i915_private in voltage swing functions by intel_encoder
      drm/i915/display: Remove port and phy from voltage swing functions
      drm/i915/bios: Parse HOBL parameter

Lee Shawn C (1):
      drm/i915/mst: filter out the display mode exceed sink's capability

Lucas De Marchi (4):
      drm/i915/display: prefer dig_port to reference intel_digital_port
      drm/i915: do not read swizzle info if unavailable
      drm/i915/dg1: add support for the master unit interrupt
      drm/i915/dg1: Add fake PCH

Lyude Paul (1):
      drm/probe_helper: Add drm_connector_helper_funcs.mode_valid_ctx

Maarten Lankhorst (1):
      drm/i915: Move cec_notifier to intel_hdmi_connector_unregister, v2.

Manasi Navare (2):
      drm/i915/dp: Helper for checking DDI_BUF_CTL Idle status
      drm/i915/dp: Helper to check for DDI BUF status to get active

Matt Atwood (1):
      Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"

Michał Winiarski (6):
      drm/i915/guc: Expand guc_info debugfs with more information
      drm/i915: Reboot CI if we get wedged during driver init
      drm/i915: Print caller when tainting for CI
      drm/i915: Don't taint when using fault injection
      drm/i915/uc: Extract uc usage details into separate debugfs
      drm/i915/huc: Adjust HuC state accordingly after GuC fetch error

Ramalingam C (1):
      drm/i915/hdcp: Fix the return handling of drm_hdcp_check_ksvs_revoked

Stanislav Lisovskiy (1):
      drm/i915/tgl: Clamp min_cdclk to max_cdclk_freq to unblock 8K

Stuart Summers (1):
      drm/i915: Add has_master_unit_irq flag

Sudeep Holla (1):
      drm/i915/selftests: Fix compare functions provided for sorting

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Use GTT when saving/restoring engine GPR

Venkata Sandeep Dhanalakota (1):
      drm/i915/sseu: Move sseu_info under gt_info

Ville Syrjälä (16):
      drm/i915/fbc: Use the correct plane stride
      drm/i915/fbc: Fix nuke for pre-snb platforms
      drm/i915/fbc: Enable fbc on i865
      drm/i915/fbc: Allow FBC to recompress after a 3D workload on i85x/i865
      drm/i915/sdvo: Fix SDVO colorimetry bit defines
      drm/i915/sdvo: Implement limited color range for SDVO HDMI properly
      drm/i915: Reject DRM_MODE_FLAG_DBLCLK with DVI sinks
      drm/i915/sdvo: Make SDVO deal with HDMI pixel repeat
      drm/i915/sdvo: Make .get_modes() return the number of modes
      drm/i915/dvo: Make .get_modes() return the number of modes
      drm/i915: Move all FBC w/as to .init_clock_gating()
      drm/i915: Don't do WaFbcTurnOffFbcWatermark for glk
      drm/i915: Limit WaFbcHighMemBwCorruptionAvoidance to skl and bxt
      drm/i915: Document FBC related w/as more thoroughly
      drm/i915: WARN if max vswing/pre-emphasis violates the DP spec
      drm/i915: Recalculate FBC w/a stride when needed

YueHaibing (1):
      drm/i915: Remove unused inline function drain_delayed_work()

 drivers/gpu/drm/drm_crtc_helper_internal.h         |   7 +-
 drivers/gpu/drm/drm_probe_helper.c                 |  97 +--
 drivers/gpu/drm/i915/Makefile                      |   1 +
 drivers/gpu/drm/i915/display/intel_bios.c          |   3 +
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  11 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |  25 +
 drivers/gpu/drm/i915/display/intel_ddi.c           | 348 ++++++-----
 drivers/gpu/drm/i915/display/intel_display.c       |  12 +-
 drivers/gpu/drm/i915/display/intel_display.h       |   2 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  12 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |   4 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  40 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 366 ++++++------
 drivers/gpu/drm/i915/display/intel_dp.h            |   4 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   9 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c        | 129 ++--
 drivers/gpu/drm/i915/display/intel_dp_mst.h        |   6 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |  38 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |  14 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  98 +++-
 drivers/gpu/drm/i915/display/intel_hdcp.c          | 153 ++---
 drivers/gpu/drm/i915/display/intel_hdmi.c          | 277 +++++----
 drivers/gpu/drm/i915/display/intel_hdmi.h          |   6 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |   8 +-
 drivers/gpu/drm/i915/display/intel_lspcon.h        |   2 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |   4 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          | 145 +++--
 drivers/gpu/drm/i915/display/intel_sdvo_regs.h     |   8 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   1 +
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   8 +-
 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c     |   9 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  18 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |  22 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |  15 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.h           |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |  41 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |   6 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |  29 +-
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c       |  36 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   2 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |   5 +-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |   4 +-
 drivers/gpu/drm/i915/gt/debugfs_gt.c               |   2 +
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c               |  22 +-
 drivers/gpu/drm/i915/gt/gen7_renderclear.c         |   2 +-
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |   7 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |  12 +-
 drivers/gpu/drm/i915/gt/intel_context_sseu.c       |   2 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  91 ++-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   1 +
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   4 +
 drivers/gpu/drm/i915/gt/intel_engine_user.c        |   2 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |  49 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |  18 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |  17 +-
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |   5 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   2 +-
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   9 +-
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |  11 +
 drivers/gpu/drm/i915/gt/intel_gtt.h                |  13 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  92 +--
 drivers/gpu/drm/i915/gt/intel_ppgtt.c              |  19 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |   2 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |  23 +-
 drivers/gpu/drm/i915/gt/intel_reset.h              |  10 +-
 drivers/gpu/drm/i915/gt/intel_reset_types.h        |   7 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   4 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |   3 +-
 drivers/gpu/drm/i915/gt/intel_sseu.c               | 591 ++++++++++++++++++-
 drivers/gpu/drm/i915/gt/intel_sseu.h               |  10 +-
 drivers/gpu/drm/i915/gt/intel_sseu_debugfs.c       | 306 ++++++++++
 drivers/gpu/drm/i915/gt/intel_sseu_debugfs.h       |  17 +
 drivers/gpu/drm/i915/gt/intel_timeline.c           |   7 +
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |  21 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |   8 +-
 drivers/gpu/drm/i915/gt/selftest_rc6.c             |   2 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             |   8 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |  13 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |  10 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  11 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.c      |  29 +
 drivers/gpu/drm/i915/gvt/handlers.c                |   4 +-
 drivers/gpu/drm/i915/gvt/interrupt.c               |   2 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c            |   2 +-
 drivers/gpu/drm/i915/i915_debugfs.c                | 286 +--------
 drivers/gpu/drm/i915/i915_drv.c                    |   9 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  32 +-
 drivers/gpu/drm/i915/i915_gem.h                    |   2 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |   2 +
 drivers/gpu/drm/i915/i915_getparam.c               |   2 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |  34 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |   3 +
 drivers/gpu/drm/i915/i915_irq.c                    |  59 +-
 drivers/gpu/drm/i915/i915_pci.c                    |  55 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  14 +-
 drivers/gpu/drm/i915/i915_query.c                  |   2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  18 +-
 drivers/gpu/drm/i915/i915_request.c                |  23 +-
 drivers/gpu/drm/i915/i915_utils.c                  |  10 +
 drivers/gpu/drm/i915/i915_utils.h                  |  16 +-
 drivers/gpu/drm/i915/i915_vma.c                    |  24 +-
 drivers/gpu/drm/i915/i915_vma_types.h              |   1 -
 drivers/gpu/drm/i915/intel_device_info.c           | 653 +--------------------
 drivers/gpu/drm/i915/intel_device_info.h           |  16 +-
 drivers/gpu/drm/i915/intel_pch.c                   |   6 +
 drivers/gpu/drm/i915/intel_pch.h                   |   4 +
 drivers/gpu/drm/i915/intel_pm.c                    | 108 +++-
 drivers/gpu/drm/i915/intel_uncore.c                |  20 +-
 drivers/gpu/drm/i915/intel_uncore.h                |   4 +-
 drivers/gpu/drm/i915/selftests/i915_perf.c         | 133 +++++
 drivers/gpu/drm/i915/selftests/i915_request.c      |   2 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   3 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.c          |  12 +-
 include/drm/drm_modeset_helper_vtables.h           |  42 ++
 include/drm/i915_pciids.h                          |   8 +
 117 files changed, 2989 insertions(+), 2115 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_sseu_debugfs.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_sseu_debugfs.h

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-07-02 18:29 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2020-07-02 18:29 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: , dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

Here's the first batch of i915 features for v5.9.


BR,
Jani.


drm-intel-next-2020-07-02:
drm/i915 features for v5.9

Highlights:
- Rocket Lake (RKL) platform enabling (Matt Roper, Lucas, José, Aditya)

Gem/GT:
- Numerous selftest fixes and improvements (Chris)
- TGL, RKL, EHL workaround updates (Matts Atwood and Roper, Clint, Swathi Dhanavanthri, Chris)
- Retry faulthandlers on ENOSPC to avoid oomkiller (Chris)
- Numerous refactorings and cleanups (Chris)
- Several GT fixes around init/suspend/resume/shutdown (Chris)
- Whitelist CTX_TIMESTAMP register on non-RCS (Chris)
- Track if an engine requires forcewake w/a (Chris)
- Locking improvements (Chris)
- Timeslicing improvements (Chris)
- Add a safety submission flush in the heartbeat (Chris)
- Flush gen3 relocs harder (Chris)
- Discard a misplaced GGTT vma (Chris)
- Reduce relocation paths to async GPU relocations only (Chris)
- It's all build up with no pay off (Chris' own words...)

Display:
- A plethora of DP MST fixes (Imre)
- Implement proper dbuf global state (Ville)
- Consider dbuf bandwidth when calculating CDCLK (Stan)
- FBC fixes and refactoring (Ville)
- PSR fixes and improvements (José, Gwan-gyeong)
- Cursor size fixes (Ville)
- Overlay color and gamma fixes (Ville)
- Fix and improve FSB and HRAWCLK read out (Ville)
- Pre allocate and late cleanup of DSB cmd buffer (Animesh)
- Stop using mode->private_flags (Ville)
- Add plane color encoding support for YCBCR_BT2020 (Kishore Kadiyala)
- Update TGL Type-C DP and DKL HBR and HBR+ vswing tables (José)
- Fix DSI connector init error path (Vivek)
- A plethora of DP vswing/preemph fixes and refactoring (Ville)
- Fix TGL DKL vswing sequence selection (Vandita)
- Fix ICL hotplug interrupt disabling after storm detection (Imre)
- Retry HDCP link integrity check on failure (Oliver Barta)
- Fix TBT DPLL fractional divider (Imre)
- Fix ICL+ HBR3 source rate (Matt Atwood)
- Fix gen2 spurious underruns (Ville)
- Fix potential NULL dereference, some spelling fixes (Colin Ian King)
- Fix NULL dereference on encoder state probe (Chris)

Other:
- Backmerge to get mmap locking API (Jani)
- Distinguish Comet Lake from Coffee Lake (Chris)
- Various compiler warning fixes (Arnd Bergmann, Nathan Chancellor)
- WARN* conversions to drm_WARN* (Pankaj)
- Switch to device specific parameters with debugfs access (Jani)
- Fix agp/intel error path leak (Qiushi Wu)
- Forcewake power optimization (Chris)
- Irq handler optimization (Chris)

BR,
Jani.

The following changes since commit 0a19b068acc47d05212f03e494381926dc0381e2:

  Merge tag 'drm-misc-next-2020-06-19' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-06-24 15:45:51 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-07-02

for you to fetch changes up to d524b87f77364db096855d7eb714ffacec974ddf:

  drm/i915: Update DRIVER_DATE to 20200702 (2020-07-02 21:25:28 +0300)

----------------------------------------------------------------
drm/i915 features for v5.9

Highlights:
- Rocket Lake (RKL) platform enabling (Matt Roper, Lucas, José, Aditya)

Gem/GT:
- Numerous selftest fixes and improvements (Chris)
- TGL, RKL, EHL workaround updates (Matts Atwood and Roper, Clint, Swathi Dhanavanthri, Chris)
- Retry faulthandlers on ENOSPC to avoid oomkiller (Chris)
- Numerous refactorings and cleanups (Chris)
- Several GT fixes around init/suspend/resume/shutdown (Chris)
- Whitelist CTX_TIMESTAMP register on non-RCS (Chris)
- Track if an engine requires forcewake w/a (Chris)
- Locking improvements (Chris)
- Timeslicing improvements (Chris)
- Add a safety submission flush in the heartbeat (Chris)
- Flush gen3 relocs harder (Chris)
- Discard a misplaced GGTT vma (Chris)
- Reduce relocation paths to async GPU relocations only (Chris)
- It's all build up with no pay off (Chris' own words...)

Display:
- A plethora of DP MST fixes (Imre)
- Implement proper dbuf global state (Ville)
- Consider dbuf bandwidth when calculating CDCLK (Stan)
- FBC fixes and refactoring (Ville)
- PSR fixes and improvements (José, Gwan-gyeong)
- Cursor size fixes (Ville)
- Overlay color and gamma fixes (Ville)
- Fix and improve FSB and HRAWCLK read out (Ville)
- Pre allocate and late cleanup of DSB cmd buffer (Animesh)
- Stop using mode->private_flags (Ville)
- Add plane color encoding support for YCBCR_BT2020 (Kishore Kadiyala)
- Update TGL Type-C DP and DKL HBR and HBR+ vswing tables (José)
- Fix DSI connector init error path (Vivek)
- A plethora of DP vswing/preemph fixes and refactoring (Ville)
- Fix TGL DKL vswing sequence selection (Vandita)
- Fix ICL hotplug interrupt disabling after storm detection (Imre)
- Retry HDCP link integrity check on failure (Oliver Barta)
- Fix TBT DPLL fractional divider (Imre)
- Fix ICL+ HBR3 source rate (Matt Atwood)
- Fix gen2 spurious underruns (Ville)
- Fix potential NULL dereference, some spelling fixes (Colin Ian King)
- Fix NULL dereference on encoder state probe (Chris)

Other:
- Backmerge to get mmap locking API (Jani)
- Distinguish Comet Lake from Coffee Lake (Chris)
- Various compiler warning fixes (Arnd Bergmann, Nathan Chancellor)
- WARN* conversions to drm_WARN* (Pankaj)
- Switch to device specific parameters with debugfs access (Jani)
- Fix agp/intel error path leak (Qiushi Wu)
- Forcewake power optimization (Chris)
- Irq handler optimization (Chris)

----------------------------------------------------------------
Aditya Swarup (1):
      drm/i915/rkl: Don't try to read out DSI transcoders

Animesh Manna (1):
      drm/i915/dsb: Pre allocate and late cleanup of cmd buffer

Arnd Bergmann (3):
      drm/i915: avoid unused scale_user_to_hw() warning
      drm/i915/pmu: avoid an maybe-uninitialized warning
      drm/i915: work around false-positive maybe-uninitialized warning

Chris Wilson (96):
      drm/i915/gem: Retry faulthandlers on ENOSPC
      drm/i915/selftests: Refactor sibling selection
      drm/i915/gt: Reuse the tasklet priority for virtual as their siblings
      drm/i915/display: Return error from dbuf allocation failure
      drm/i915/selftests: Measure dispatch latency
      drm/i915: Don't set queue-priority hint when supressing the reschedule
      drm/i915/selftests: Change priority overflow detection
      drm/i915/selftests: Restore to default heartbeat
      drm/i915/selftests: Check for an initial-breadcrumb in wait_for_submit()
      drm/i915/selftests: Add tests for timeslicing virtual engines
      drm/i915/gt: Kick virtual siblings on timeslice out
      drm/i915/gt: Incorporate the virtual engine into timeslicing
      drm/i915/gt: Remove errant assertion in __intel_context_do_pin
      drm/i915/selftests: Measure CS_TIMESTAMP
      drm/i915/selftests: Flush the submission, not cancel it!
      drm/i915: Disable semaphore inter-engine sync without timeslicing
      drm/i915: Avoid using rq->engine after free during i915_fence_release
      drm/i915: Remove PIN_UPDATE for i915_vma_pin
      drm/i915/gem: Avoid iterating an empty list
      drm/i915/gt: Cancel the flush worker more thoroughly
      drm/i915/gem: Suppress some random warnings
      drm/i915/gt: Stop cross-polluting PIN_GLOBAL with PIN_USER with no-ppgtt
      drm/i915/display: Fix early deref of 'dsb'
      drm/i915/gt: Force the GT reset on shutdown
      drm/i915/execlists: Shortcircuit queue_prio() for no internal levels
      drm/i915: Improve execute_cb struct packing
      drm/i915/display: Only query DP state of a DDI encoder
      drm/i915: Reorder await_execution before await_request
      drm/i915/gt: Do not schedule normal requests immediately along virtual
      drm/i915/gt: Clear LOCAL_BIND from shared GGTT on resume
      drm/i915/gt: Prevent timeslicing into unpreemptable requests
      drm/i915/gt: Restore both GGTT bindings on resume
      drm/i915/gt: Remove local entries from GGTT on suspend
      drm/i915/gt: Don't declare hangs if engine is stalled
      drm/i915/gt: Start timeslice on partial submission
      drm/i915: Add a few asserts around handling of i915_request_is_active()
      drm/i915: Check for awaits on still currently executing requests
      drm/i915/gem: Taint all shrinkable object locks
      drm/i915/gem: Give each object class a friendly name
      drm/i915: Handle very early engine initialisation failure
      drm/i915: Relinquish forcewake immediately after manual grouping
      drm/i915: Trim the ironlake+ irq handler
      drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
      drm/i915/gt: Split low level gen2-7 CS emitters
      drm/i915/gt: Move legacy context wa to intel_workarounds
      drm/i915/selftests: Ignore autoincrementing timestamp on verfifying whitelists
      drm/i915: Identify Cometlake platform
      drm/i915/gt: Make the CTX_TIMESTAMP readable on !rcs
      drm/i915/gt: Suppress the error message for GT init failure on error injection
      drm/i915: Drop i915_request.i915 backpointer
      drm/i915/selftests: Exercise all copy engines with the blt routines
      drm/i915/gem: Mark the buffer pool as active for the cmdparser
      drm/i915: Trim set_timer_ms() intervals
      drm/i915/gt: Track if an engine requires forcewake w/a
      drm/i915/gem: Async GPU relocations only
      drm/i915/gt: Include the engine's fw-domains in the debug info
      drm/i915/gt: Set timeslicing priority from queue
      drm/i915/gt: Always check to enable timeslicing if not submitting
      drm/i915: Discard a misplaced GGTT vma
      drm/i915: Correct discard i915_vma_compare assertion
      drm/i915/gem: Delete unused code
      drm/i915/selftests: Make the hanging request non-preemptible
      drm/i915/gt: Incrementally check for rewinding
      drm/i915/selftests: Teach hang-self to target only itself
      drm/i915/gt: Include context status in debug dumps
      drm/i915/selftests: Remove live_suppress_wait_preempt
      drm/i915/gt: Move hsw GT workarounds from init_clock_gating to workarounds
      drm/i915/gt: Move ivb GT workarounds from init_clock_gating to workarounds
      drm/i915/gt: Move vlv GT workarounds from init_clock_gating to workarounds
      drm/i915/gt: Move snb GT workarounds from init_clock_gating to workarounds
      drm/i915/gt: Move ilk GT workarounds from init_clock_gating to workarounds
      drm/i915/gt: Move gen4 GT workarounds from init_clock_gating to workarounds
      drm/i915: Leave vma intact as they are discarded
      drm/i915/execlists: Lift opportunistic process_csb to before engine lock
      drm/i915/selftests: Trim execlists runtime
      drm/i915/gt: Flush gen3 relocs harder, again
      drm/i915/selftests: Disable preemptive heartbeats over preemption tests
      drm/i915/selftests: Dump engine state and trace upon hanging after reset
      drm/i915/gt: Add a safety submission flush in the heartbeat
      drm/i915/gt: Don't flush the tasklet if not setup
      drm/i915: Mark up inline getters as taking a const i915_request
      drm/i915/selftests: Exercise far preemption rollbacks
      drm/i915/selftests: Use friendly request names for live_timeslice_rewind
      drm/i915/selftests: Check preemption rollback of different ring queue depths
      drm/i915/selftests: Enable selftesting of busy-stats
      drm/i915/gt: Always report the sample time for busy-stats
      drm/i915/gt: Initialise rps timestamp
      drm/i915/gt: Show the culmative runtime as part of the engine info
      drm/i915/gvt: Drop redundant prepare_write/pin_pages
      drm/i915/gt: Replace manual kmap_atomic() with pin_map for renderstate
      drm/i915: Skip stale object handle for debugfs per-file-stats
      drm/i915/gem: Avoid kmalloc under i915->mm_lock
      drm/i915/gem: Move obj->lut_list under its own lock
      drm/i915/gt: Harden the heartbeat against a stuck driver
      drm/i915/gt: Move the heartbeat into the high priority system wq
      drm/i915: Drop vm.ref for duplicate vma on construction

Clint Taylor (1):
      drm/i915/tgl: Implement WA_16011163337

Colin Ian King (3):
      drm/i915/selftests: fix spelling mistake "submited" -> "submitted"
      drm/i915: fix a couple of spelling mistakes in kernel parameter help text
      drm/i915/display: fix missing null check on allocated dsb object

Gustavo A. R. Silva (2):
      drm/i915/selftests: Fix inconsistent IS_ERR and PTR_ERR
      drm/i915/query: Use struct_size() helper

Gwan-gyeong Mun (1):
      drm/i915/psr: Program default IO buffer Wake and Fast Wake

Imre Deak (13):
      drm/i915: Fix AUX power domain toggling across TypeC mode resets
      drm/i915/icl: Disable DIP on MST ports with the transcoder clock still on
      drm/i915: Fix the i915_dsc_fec_support debugfs file for DP MST connectors
      drm/i915/dp_mst: Fix disabling MST on a port
      drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
      drm/i915/tgl+: Use the correct DP_TP_* register instances in MST encoders
      drm/i915/dp_mst: Disable link training fallback on MST links
      drm/i915/dp_mst: Move clearing the ACT sent flag closer to its polling
      drm/i915/dp_mst: Clear only the ACT sent flag from DP_TP_STATUS
      drm/i915/dp_mst: Clear the ACT sent flag during encoder disabling too
      drm/i915/dp_mst: Enable VC payload allocation after transcoder is enabled
      drm/i915/tgl+: Fix TBT DPLL fractional divider for 38.4MHz ref clock
      drm/i915/icl+: Simplify combo/TBT PLL calculation call-chain

Jani Nikula (7):
      drm/i915/params: don't expose inject_probe_failure in debugfs
      drm/i915/params: fix i915.fake_lmem_start module param sysfs permissions
      drm/i915/params: prevent changing module params runtime
      drm/i915/params: fix i915.reset module param type
      drm/i915/params: switch to device specific parameters
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20200702

José Roberto de Souza (7):
      drm/i915/tgl: Update TC DP vswing table
      drm/i915/tgl: Add HBR and HBR2+ voltage swing table
      drm/i915/rkl: Disable PSR2
      drm/i915: Add psr_safest_params
      drm/i915: Add plane damage clips property
      drm/i915: Reorder intel_psr2_config_valid()
      drm/i915: Add PSR2 selective fetch registers

Kees Cook (1):
      drm/i915: Fix comments mentioning typo in IS_ENABLED()

Khaled Almahallawy (1):
      drm/i915/tc: fix the reset of ln0

Kishore Kadiyala (1):
      drm/i915: Add Plane color encoding support for YCBCR_BT2020

Lucas De Marchi (2):
      drm/i915/rkl: provide port/phy mapping for vbt
      drm/i915/display: remove alias to dig_port

Matt Atwood (3):
      drm/i915/ehl: Wa_22010271021
      drm/i915/gen12: implement Wa_14011508470
      drm/i915/dp: Correctly advertise HBR3 for GEN11+

Matt Roper (18):
      drm/i915/rkl: Add RKL platform info and PCI ids
      drm/i915/rkl: Re-use TGL GuC/HuC firmware
      drm/i915/rkl: Load DMC firmware for Rocket Lake
      drm/i915/rkl: Add PCH support
      x86/gpu: add RKL stolen memory support
      drm/i915/rkl: Update memory bandwidth parameters
      drm/i915/rkl: Limit number of universal planes to 5
      drm/i915/rkl: Add power well support
      drm/i915/rkl: RKL only uses PHY_MISC for PHY's A and B
      drm/i915/rkl: Set transcoder mask properly
      drm/i915/rkl: Add DDC pin mapping
      drm/i915/rkl: Handle comp master/slave relationships for PHYs
      drm/i915/rkl: Setup ports/phys
      drm/i915/rkl: Don't try to access transcoder D
      drm/i915: Restore DP-E to VBT mapping table
      drm/i915/rkl: RKL uses ABOX0 for pixel transfers
      drm/i915/rkl: Update TGP's pin mapping when paired with RKL
      drm/i915: Extend Wa_14010685332 to all ICP+ PCH's

Nathan Chancellor (1):
      drm/i915: Mark check_shadow_context_ppgtt as maybe unused

Oliver Barta (1):
      drm/i915: HDCP: retry link integrity check on failure

Pankaj Bharadiya (9):
      drm/i915/display/display_power: Prefer drm_WARN_ON over WARN_ON
      drm/i915/display/dp: Prefer drm_WARN* over WARN*
      drm/i915/display/sdvo: Prefer drm_WARN* over WARN*
      drm/i915/display/tc: Prefer drm_WARN_ON over WARN_ON
      drm/i915/gem: Prefer drm_WARN* over WARN*
      drm/i915/i915_drv: Prefer drm_WARN_ON over WARN_ON
      drm/i915/pmu: Prefer drm_WARN_ON over WARN_ON
      drm/i915/pm: Prefer drm_WARN_ON over WARN_ON
      drm/i915/runtime_pm: Prefer drm_WARN* over WARN*

Qiushi Wu (1):
      agp/intel: Fix a memory leak on module initialisation failure

Rodrigo Vivi (1):
      drm/i915: Include asm sources for {ivb, hsw}_clear_kernel.c

Stanislav Lisovskiy (10):
      drm/i915: Decouple cdclk calculation from modeset checks
      drm/i915: Extract cdclk requirements checking to separate function
      drm/i915: Check plane configuration properly
      drm/i915: Plane configuration affects CDCLK in Gen11+
      drm/i915: Introduce for_each_dbuf_slice_in_mask macro
      drm/i915: Adjust CDCLK accordingly to our DBuf bw needs
      drm/i915: Remove unneeded hack now for CDCLK
      drm/i915: Fix includes and local vars order
      drm/i915: Fix wrong CDCLK adjustment changes
      Revert "drm/i915: Remove unneeded hack now for CDCLK"

Swathi Dhanavanthri (1):
      drm/i915/ehl: Extend w/a 14010685332 to JSP/MCC

Tvrtko Ursulin (2):
      drm/i915: Adjust the sentinel assert to match implementation
      drm/i915: Remove redundant i915_request_await_object in blit clears

Vandita Kulkarni (1):
      drm/i915/display: Fix the encoder type check

Ville Syrjälä (34):
      drm/i915: Fix max cursor size for i915g/gm
      drm/i915: Fix overlay colorkey for 30bpp and 8bpp
      drm/i915: Configure overlay cc_out precision based on crtc gamma config
      drm/i915: Enable pipe gamma for the overlay
      drm/i915: Protect overlay colorkey macro arguments
      drm/i915: Make skl_compute_dbuf_slices() behave consistently for all platforms
      drm/i915: Polish some dbuf debugs
      drm/i915: Unify the low level dbuf code
      drm/i915: Introduce proper dbuf state
      drm/i915: Nuke skl_ddb_get_hw_state()
      drm/i915: Move the dbuf pre/post plane update
      drm/i915: Clean up dbuf debugs during .atomic_check()
      drm/i915: Fix dbuf slice mask when turning off all the pipes
      drm/i915: Fix 400 MHz FSB readout on elk
      drm/i915: Document our lackluster FSB frequency readout
      drm/i915: Read out hrawclk on all gen3+ platforms
      drm/i915: Stop using mode->private_flags
      drm/i915: Replace I915_MODE_FLAG_INHERITED with a boolean
      drm/i915: Fix global state use-after-frees with a refcount
      drm/i915: Fix cpt/ppt max pre-emphasis
      drm/i915: Fix ibx max vswing/preemph
      drm/i915: Fix ivb cpu edp vswing
      drm/i915: Add {preemph,voltage}_max() vfuncs
      drm/i915: Reverse preemph vs. voltage swing preference
      drm/i915: Replace some hand rolled max()s
      drm/i915: Fix DP_TRAIN_MAX_{PRE_EMPHASIS,SWING}_REACHED handling
      drm/i915: Clamp linetime wm to <64usec
      drm/i915/fbc: Fix fence_y_offset handling
      drm/i915/fbc: Don't clear busy_bits for origin==GTT
      drm/i915/fbc: Parametrize FBC_CONTROL
      drm/i915/fbc: Store the fbc1 compression interval in the params
      drm/i915/fbc: Reduce fbc1 compression interval to 1 second
      drm/i915: Suppress spurious underruns on gen2
      drm/i915: Fix g4x fbc watermark enable

Vivek Kasireddy (1):
      drm/i915/dsi: Dont forget to clean up the connector on error (v2)

 arch/x86/kernel/early-quirks.c                     |   1 +
 drivers/char/agp/intel-gtt.c                       |   4 +-
 drivers/dma-buf/selftests.h                        |   2 +-
 drivers/gpu/drm/i915/Makefile                      |   2 +
 drivers/gpu/drm/i915/display/icl_dsi.c             |  14 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   4 +
 drivers/gpu/drm/i915/display/intel_bios.c          |  78 +-
 drivers/gpu/drm/i915/display/intel_bw.c            | 151 +++-
 drivers/gpu/drm/i915/display/intel_bw.h            |  10 +
 drivers/gpu/drm/i915/display/intel_cdclk.c         | 100 ++-
 drivers/gpu/drm/i915/display/intel_color.c         |  66 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |  55 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   4 +-
 drivers/gpu/drm/i915/display/intel_csr.c           |  20 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           | 143 ++--
 drivers/gpu/drm/i915/display/intel_ddi.h           |   3 -
 drivers/gpu/drm/i915/display/intel_display.c       | 357 +++++---
 drivers/gpu/drm/i915/display/intel_display.h       |   8 +
 .../gpu/drm/i915/display/intel_display_debugfs.c   |   5 +-
 drivers/gpu/drm/i915/display/intel_display_power.c | 373 +++++++--
 drivers/gpu/drm/i915/display/intel_display_power.h |   7 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  33 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 233 +++---
 drivers/gpu/drm/i915/display/intel_dp.h            |   4 -
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |   4 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  36 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |  46 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  77 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           | 256 +++---
 drivers/gpu/drm/i915/display/intel_dsb.h           |  17 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  71 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   7 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |  41 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |   9 +
 drivers/gpu/drm/i915/display/intel_lvds.c          |   4 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |   2 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |  30 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |   4 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  94 ++-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |  21 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  30 +-
 drivers/gpu/drm/i915/display/intel_sprite.h        |  11 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |  14 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |   4 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   4 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   6 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  10 +-
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     | 325 +------
 drivers/gpu/drm/i915/gem/i915_gem_internal.c       |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c           |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |  27 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c     |  52 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |   3 +
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        | 134 ++-
 .../gpu/drm/i915/gem/selftests/huge_gem_object.c   |   1 +
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    | 145 +---
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |   3 -
 .../drm/i915/gem/selftests/i915_gem_execbuffer.c   |  21 +-
 .../drm/i915/gem/selftests/i915_gem_object_blt.c   |  55 +-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |  37 +
 drivers/gpu/drm/i915/gem/selftests/mock_context.h  |   4 +
 drivers/gpu/drm/i915/gt/gen2_engine_cs.c           | 329 ++++++++
 drivers/gpu/drm/i915/gt/gen2_engine_cs.h           |  38 +
 drivers/gpu/drm/i915/gt/gen6_engine_cs.c           | 455 ++++++++++
 drivers/gpu/drm/i915/gt/gen6_engine_cs.h           |  39 +
 drivers/gpu/drm/i915/gt/intel_context_sseu.c       |   2 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |   4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  69 +-
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |  41 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |  12 +
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |  46 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   5 +
 drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c     |   3 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   4 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  57 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |  29 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |   6 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    | 866 +------------------
 drivers/gpu/drm/i915/gt/intel_rps.c                |  11 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |  91 +-
 drivers/gpu/drm/i915/gt/selftest_engine_cs.c       |   2 +-
 .../gpu/drm/i915/gt/selftest_engine_heartbeat.c    |  53 +-
 .../gpu/drm/i915/gt/selftest_engine_heartbeat.h    |  14 +
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c       | 101 +++
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           | 132 +++
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |  85 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             | 931 +++++++++++++--------
 drivers/gpu/drm/i915/gt/selftest_mocs.c            |   2 +-
 drivers/gpu/drm/i915/gt/selftest_rc6.c             |   9 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             |  68 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |  25 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |  17 +
 drivers/gpu/drm/i915/gt/shaders/README             |  46 +
 .../gpu/drm/i915/gt/shaders/clear_kernel/hsw.asm   | 119 +++
 .../gpu/drm/i915/gt/shaders/clear_kernel/ivb.asm   | 117 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |  15 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |   4 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  20 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |  37 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |  14 +-
 drivers/gpu/drm/i915/gvt/display.c                 |  30 +-
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |   1 +
 drivers/gpu/drm/i915/gvt/edid.c                    |   2 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |  17 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |  55 +-
 drivers/gpu/drm/i915/gvt/scheduler.h               |   2 -
 drivers/gpu/drm/i915/i915_debugfs.c                |   4 +-
 drivers/gpu/drm/i915/i915_debugfs_params.c         |   7 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   9 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  56 +-
 drivers/gpu/drm/i915/i915_gem.c                    |  18 +
 drivers/gpu/drm/i915/i915_gem_gtt.h                |   1 -
 drivers/gpu/drm/i915/i915_getparam.c               |   2 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   4 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  77 +-
 drivers/gpu/drm/i915/i915_params.c                 |  43 +-
 drivers/gpu/drm/i915/i915_params.h                 |   1 +
 drivers/gpu/drm/i915/i915_pci.c                    |  40 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |  17 +-
 drivers/gpu/drm/i915/i915_query.c                  |   3 +-
 drivers/gpu/drm/i915/i915_reg.h                    | 190 ++++-
 drivers/gpu/drm/i915/i915_request.c                |  40 +-
 drivers/gpu/drm/i915/i915_request.h                |  11 +-
 drivers/gpu/drm/i915/i915_trace.h                  |  10 +-
 drivers/gpu/drm/i915/i915_utils.c                  |   2 +-
 drivers/gpu/drm/i915/i915_vma.c                    |  72 +-
 drivers/gpu/drm/i915/i915_vma.h                    |   1 +
 drivers/gpu/drm/i915/intel_device_info.c           |   7 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   5 +
 drivers/gpu/drm/i915/intel_gvt.c                   |  10 +-
 drivers/gpu/drm/i915/intel_pch.c                   |  42 +-
 drivers/gpu/drm/i915/intel_pm.c                    | 414 ++++++---
 drivers/gpu/drm/i915/intel_pm.h                    |  29 +-
 drivers/gpu/drm/i915/intel_region_lmem.c           |   6 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c            |  39 +-
 drivers/gpu/drm/i915/intel_uncore.c                |  10 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   1 +
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |   4 +-
 .../gpu/drm/i915/selftests/i915_mock_selftests.h   |   4 +-
 drivers/gpu/drm/i915/selftests/i915_perf.c         |   2 +-
 .../gpu/drm/i915/selftests/i915_perf_selftests.h   |   2 +-
 drivers/gpu/drm/i915/selftests/i915_request.c      | 871 ++++++++++++++++++-
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |  18 +-
 drivers/gpu/drm/i915/selftests/mock_region.c       |   1 +
 include/drm/i915_pciids.h                          |   9 +
 150 files changed, 6046 insertions(+), 3356 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/gen2_engine_cs.c
 create mode 100644 drivers/gpu/drm/i915/gt/gen2_engine_cs.h
 create mode 100644 drivers/gpu/drm/i915/gt/gen6_engine_cs.c
 create mode 100644 drivers/gpu/drm/i915/gt/gen6_engine_cs.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.h
 create mode 100644 drivers/gpu/drm/i915/gt/shaders/README
 create mode 100644 drivers/gpu/drm/i915/gt/shaders/clear_kernel/hsw.asm
 create mode 100644 drivers/gpu/drm/i915/gt/shaders/clear_kernel/ivb.asm

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-05-15 16:07 Joonas Lahtinen
  0 siblings, 0 replies; 252+ messages in thread
From: Joonas Lahtinen @ 2020-05-15 16:07 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave & Daniel,

Here's the last batch heading to v5.8. Indeed a lot of
enabling and fixes building on the previous prepping.

One cross-subsystem patch to video/hdmi for DRM infoframe
unpacking. One sysfs patch to add readout and ability to
restore of kernel compilation time default engine timeouts
by user.

Re-enabling Cherryview full-ppGTT after PTE flush
workaround, hopefully for good now. Missing display and GT
workarounds and plenty of other robustness fixes for
Tigerlake added. SAGV support for Tigerlake.

Display WA for Gen9/GLK, missing WA for ICP/ICL, further
work on the DP SDPs and HDMI infoframes. Optimizations on
the GT side to mitigate the soft-rc6 and general performance
of timeslicing.

The usual bunch of CI found corner case bugfixes on GT side,
overall debugging and selftest improvements.

Also includes GVT pull: support for ppgtt update by LRI
command which gvt replaces by shadow ppgtt, another small
optimization for shadow ctx and one workload destroy cleanup.

Regards, Joonas

PS. Next Thu is a public holiday here so expect a smaller
drm-intel-next-fixes PR earlier.

***

drm-intel-next-2020-05-15:

UAPI Changes:

- drm/i915: Show per-engine default property values in sysfs

    By providing the default values configured into the kernel via sysfs, it
    is much more convenient for userspace to restore those sane defaults, or
    at least know what are considered good baseline. This is useful, for
    example, to cleanup after any failed userspace prior to commencing new
    jobs.

Cross-subsystem Changes:

- video/hdmi: Add Unpack only function for DRM infoframe
- Includes pull request gvt-next-2020-05-12

Driver Changes:

- Restore Cherryview back to full-ppgtt (Chris, Mika)
- Document locking guidelines for i915 (Chris, Daniel, Joonas)
- Fix GitLab #1746: Handle idling during i915_gem_evict_something busy loops (Chris)
- Display WA #1105: Require linear fb stride to be multiple of 512 bytes on
  gen9/glk (Ville)
- Add Wa_14010685332 for ICP/ICL (Matt R)
- Restrict w/a 1607087056 for EHL/JSL (Swathi)
- Fix interrupt handling for DP AUX transactions on Tigerlake (Imre)
- Revert "drm/i915/tgl: Include ro parts of l3 to invalidate" (Mika)
- Fix HDC pipeline flush hardware bit on Gen12 (Mika)
- Flush L3 when flushing render on Gen12 (Mika)
- Invalidate aux table entries forcibly between BB on Gen12 (Mika)
- Add aux table invalidate for all engines on Gen12 (Mika)
- Force pte cacheline to main memory Gen8+ (Mika)
- Add and enable TGL+ SAGV support (Stanislav)
- Implement vm_ops->access on i915 mmaps for GDB (Chris, Kristian)
- Replace zero-length array with flexible-array (Gustavo)
- Improve batch buffer pool effectiveness to mitigate soft-rc6 hit (Chris)
- Remove wait priority boosting (Chris)
- Keep driver module referenced when PMU is active (Chris)
- Sanitize RPS interrupts upon resume (Chris)
- Extend pcode read timeout to 20 ms (Chris)
- Wait for ACT sent before enabling MST pipe (Ville)
- Extend support to async relocations to SNB (Chris)
- Remove CNL pre-prod workarounds (Ville)
- Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled (Sultan)
- Record the active CCID from before reset (Chris)
- Mark concurrent submissions with a weak-dependency (Chris)
- Peel dma-fence-chains for await to allow engine-to-engine sync (Lionel)
- Prevent using semaphores to chain up to external fences (Chris)
- Fix GLK watermark calculations (Ville)
- Emit await(batch) before MI_BB_START (Chris)
- Reset execlists registers before HWSP (Chris)
- Drop no-semaphore boosting in favor of fast timeslicing (Chris)
- Fix enabled infoframe states of lspcon (Gwan-gyeong)
- Program DP SDPs on pipe updates (Gwan-gyeong)
- Stop sending DP SDPs on ddi disable (Gwan-gyeong)
- Store CS timestamp frequency in Hz (Ville)

- Remove unused HAS_FWTABLE macro (Pascal)
- Use batchbuffer chaining for relocations to save ring space (Chris)
- Try different engines for relocs if MI ops not supported (Chris, Tvrtko)
- Lazily acquire the device wakeref for freeing objects (Chris)
- Streamline display code arithmetics around rounding etc. (Ville)
- Use bw state for per crtc SAGV evaluation (Stanislav)
- Track active_pipes in bw_state (Stanislav)
- Nuke mode.vrefresh usage (Ville)
- Warn if the FBC is still writing to stolen on removal (Chris)
- Added new PCode commands prepping for QGV rescricting (Stansilav)
- Stop holding onto the pinned_default_state (Chris)
- Propagate error from completed fences (Chris)
- Ignore submit-fences on the same timeline (Chris)
- Pull waiting on an external dma-fence into its routine (Chris)
- Replace the hardcoded I915_FENCE_TIMEOUT with Kconfig (Chris)
- Mark up the racy read of execlists->context_tag (Chris)
- Tidy up the return handling for completed dma-fences (Chris)
- Introduce skl_plane_wm_level accessor (Stanislav)
- Extract SKL SAGV checking (Stanislav)
- Make active_pipes check skl specific (Stanislav)
- Suspend tasklets before resume sanitization (Chris)
- Remove redundant exec_fence (Chris)
- Mark the addition of the initial-breadcrumb in the request (Chris)
- Transfer old virtual breadcrumbs to irq_worker (Chris)
- Read the DP SDPs from the video DIP (Gwan-gyeong)
- Program DP SDPs with computed configs (Gwan-gyeong)
- Add state readout for DP VSC and DP HDR Metadata Infoframe SDP
  (Gwan-gyeong)
- Add compute routine for DP PSR VSC SDP (Gwan-gyeong)
- Use new DP VSC SDP compute routine on PSR (Gwan-gyeong)
- Restrict qgv points which don't have enough bandwidth. (Stanislav)
- Nuke pointless div by 64bit (Ville)

- Static checker code fixes (Nathan, Mika, Chris)
- Add logging function for DP VSC SDP (Gwan-gyeong)
- Include HDMI DRM infoframe, DP HDR metadata and DP VSC SDP in the
  crtc state dump (Gwan-gyeong)
- Make timeslicing explicit engine property (Chris, Tvrtko)
- Selftest and debugging improvements (Chris)
- Align variable names with BSpec (Ville)
- Tidy up gen8+ breadcrumb emission code (Chris)
- Turn intel_digital_port_connected() in a vfunc (Ville)
- Use stashed away hpd isr bits in intel_digital_port_connected() (Ville)
- Extract i915_cs_timestamp_{ns_to_ticks,tick_to_ns}() (Ville)

The following changes since commit 230982d8d8df7f9d9aa216840ea2db1df6ad5d37:

  drm/i915: Update DRIVER_DATE to 20200430 (2020-04-30 11:13:21 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-05-15

for you to fetch changes up to 3a36aa237e4ed04553c0998cf5f47eda3e206e4f:

  drm/i915: Update DRIVER_DATE to 20200515 (2020-05-15 14:49:24 +0300)

----------------------------------------------------------------

UAPI Changes:

- drm/i915: Show per-engine default property values in sysfs

    By providing the default values configured into the kernel via sysfs, it
    is much more convenient for userspace to restore those sane defaults, or
    at least know what are considered good baseline. This is useful, for
    example, to cleanup after any failed userspace prior to commencing new
    jobs.

Cross-subsystem Changes:

- video/hdmi: Add Unpack only function for DRM infoframe
- Includes pull request gvt-next-2020-05-12

Driver Changes:

- Restore Cherryview back to full-ppgtt (Chris, Mika)
- Document locking guidelines for i915 (Chris, Daniel, Joonas)
- Fix GitLab #1746: Handle idling during i915_gem_evict_something busy loops (Chris)
- Display WA #1105: Require linear fb stride to be multiple of 512 bytes on
  gen9/glk (Ville)
- Add Wa_14010685332 for ICP/ICL (Matt R)
- Restrict w/a 1607087056 for EHL/JSL (Swathi)
- Fix interrupt handling for DP AUX transactions on Tigerlake (Imre)
- Revert "drm/i915/tgl: Include ro parts of l3 to invalidate" (Mika)
- Fix HDC pipeline flush hardware bit on Gen12 (Mika)
- Flush L3 when flushing render on Gen12 (Mika)
- Invalidate aux table entries forcibly between BB on Gen12 (Mika)
- Add aux table invalidate for all engines on Gen12 (Mika)
- Force pte cacheline to main memory Gen8+ (Mika)
- Add and enable TGL+ SAGV support (Stanislav)
- Implement vm_ops->access on i915 mmaps for GDB (Chris, Kristian)
- Replace zero-length array with flexible-array (Gustavo)
- Improve batch buffer pool effectiveness to mitigate soft-rc6 hit (Chris)
- Remove wait priority boosting (Chris)
- Keep driver module referenced when PMU is active (Chris)
- Sanitize RPS interrupts upon resume (Chris)
- Extend pcode read timeout to 20 ms (Chris)
- Wait for ACT sent before enabling MST pipe (Ville)
- Extend support to async relocations to SNB (Chris)
- Remove CNL pre-prod workarounds (Ville)
- Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled (Sultan)
- Record the active CCID from before reset (Chris)
- Mark concurrent submissions with a weak-dependency (Chris)
- Peel dma-fence-chains for await to allow engine-to-engine sync (Lionel)
- Prevent using semaphores to chain up to external fences (Chris)
- Fix GLK watermark calculations (Ville)
- Emit await(batch) before MI_BB_START (Chris)
- Reset execlists registers before HWSP (Chris)
- Drop no-semaphore boosting in favor of fast timeslicing (Chris)
- Fix enabled infoframe states of lspcon (Gwan-gyeong)
- Program DP SDPs on pipe updates (Gwan-gyeong)
- Stop sending DP SDPs on ddi disable (Gwan-gyeong)
- Store CS timestamp frequency in Hz (Ville)

- Remove unused HAS_FWTABLE macro (Pascal)
- Use batchbuffer chaining for relocations to save ring space (Chris)
- Try different engines for relocs if MI ops not supported (Chris, Tvrtko)
- Lazily acquire the device wakeref for freeing objects (Chris)
- Streamline display code arithmetics around rounding etc. (Ville)
- Use bw state for per crtc SAGV evaluation (Stanislav)
- Track active_pipes in bw_state (Stanislav)
- Nuke mode.vrefresh usage (Ville)
- Warn if the FBC is still writing to stolen on removal (Chris)
- Added new PCode commands prepping for QGV rescricting (Stansilav)
- Stop holding onto the pinned_default_state (Chris)
- Propagate error from completed fences (Chris)
- Ignore submit-fences on the same timeline (Chris)
- Pull waiting on an external dma-fence into its routine (Chris)
- Replace the hardcoded I915_FENCE_TIMEOUT with Kconfig (Chris)
- Mark up the racy read of execlists->context_tag (Chris)
- Tidy up the return handling for completed dma-fences (Chris)
- Introduce skl_plane_wm_level accessor (Stanislav)
- Extract SKL SAGV checking (Stanislav)
- Make active_pipes check skl specific (Stanislav)
- Suspend tasklets before resume sanitization (Chris)
- Remove redundant exec_fence (Chris)
- Mark the addition of the initial-breadcrumb in the request (Chris)
- Transfer old virtual breadcrumbs to irq_worker (Chris)
- Read the DP SDPs from the video DIP (Gwan-gyeong)
- Program DP SDPs with computed configs (Gwan-gyeong)
- Add state readout for DP VSC and DP HDR Metadata Infoframe SDP
  (Gwan-gyeong)
- Add compute routine for DP PSR VSC SDP (Gwan-gyeong)
- Use new DP VSC SDP compute routine on PSR (Gwan-gyeong)
- Restrict qgv points which don't have enough bandwidth. (Stanislav)
- Nuke pointless div by 64bit (Ville)

- Static checker code fixes (Nathan, Mika, Chris)
- Add logging function for DP VSC SDP (Gwan-gyeong)
- Include HDMI DRM infoframe, DP HDR metadata and DP VSC SDP in the
  crtc state dump (Gwan-gyeong)
- Make timeslicing explicit engine property (Chris, Tvrtko)
- Selftest and debugging improvements (Chris)
- Align variable names with BSpec (Ville)
- Tidy up gen8+ breadcrumb emission code (Chris)
- Turn intel_digital_port_connected() in a vfunc (Ville)
- Use stashed away hpd isr bits in intel_digital_port_connected() (Ville)
- Extract i915_cs_timestamp_{ns_to_ticks,tick_to_ns}() (Ville)

----------------------------------------------------------------
Chris Wilson (40):
      drm/i915/gt: Move the batch buffer pool from the engine to the gt
      drm/i915/pmu: Keep a reference to module while active
      drm/i915/gt: Make timeslicing an explicit engine property
      drm/i915: Implement vm_ops->access for gdb access into mmaps
      drm/i915/gem: Use chained reloc batches
      drm/i915/gem: Use a single chained reloc batches for a single execbuf
      drm/i915/gem: Try an alternate engine for relocations
      drm/i915/gt: Sanitize RPS interrupts upon resume
      drm/i915/gem: Lazily acquire the device wakeref for freeing objects
      drm/i915: Allow some leniency in PCU reads
      drm/i915/gem: Specify address type for chained reloc batches
      drm/i915/gem: Implement legacy MI_STORE_DATA_IMM
      drm/i915/display: Warn if the FBC is still writing to stolen on removal
      drm/i915/selftests: Repeat the rps clock frequency measurement
      drm/i915/gt: Small tidy of gen8+ breadcrumb emission
      drm/i915/execlists: Record the active CCID from before reset
      drm/i915/gt: Stop holding onto the pinned_default_state
      drm/i915: Propagate error from completed fences
      drm/i915: Mark concurrent submissions with a weak-dependency
      drm/i915: Remove wait priority boosting
      drm/i915: Ignore submit-fences on the same timeline
      drm/i915: Pull waiting on an external dma-fence into its routine
      drm/i915/gt: Improve precision on defer_request assert
      drm/i915: Prevent using semaphores to chain up to external fences
      drm/i915: Replace the hardcoded I915_FENCE_TIMEOUT
      drm/i915/gt: Mark up the racy read of execlists->context_tag
      drm/i915: Tidy awaiting on dma-fences
      drm/i915: Emit await(batch) before MI_BB_START
      drm/i915/selftests: Always flush before unpining after writing
      drm/i915/gt: Restore Cherryview back to full-ppgtt
      drm/i915: Handle idling during i915_gem_evict_something busy loops
      drm/i915/gt: Reset execlists registers before HWSP
      drm/i915/gt: Suspend tasklets before resume sanitization
      drm/i915/gem: Remove redundant exec_fence
      drm/i915: Mark the addition of the initial-breadcrumb in the request
      drm/i915: Drop I915_RESET_TIMEOUT and friends
      drm/i915: Drop no-semaphore boosting
      drm/i915: Show per-engine default property values in sysfs
      drm/i915/selftests: Always call the provided engine->emit_init_breadcrumb
      drm/i915/gt: Transfer old virtual breadcrumbs to irq_worker

Gustavo A. R. Silva (1):
      drm/i915: Replace zero-length array with flexible-array

Gwan-gyeong Mun (14):
      video/hdmi: Add Unpack only function for DRM infoframe
      drm/i915/dp: Read out DP SDPs
      drm: Add logging function for DP VSC SDP
      drm/i915: Include HDMI DRM infoframe in the crtc state dump
      drm/i915: Include DP HDR Metadata Infoframe SDP in the crtc state dump
      drm/i915: Include DP VSC SDP in the crtc state dump
      drm/i915: Program DP SDPs with computed configs
      drm/i915: Add state readout for DP HDR Metadata Infoframe SDP
      drm/i915: Add state readout for DP VSC SDP
      drm/i915: Fix enabled infoframe states of lspcon
      drm/i915: Program DP SDPs on pipe updates
      drm/i915: Stop sending DP SDPs on ddi disable
      drm/i915/dp: Add compute routine for DP PSR VSC SDP
      drm/i915/psr: Use new DP VSC SDP compute routine on PSR

Imre Deak (1):
      drm/i915/tgl+: Fix interrupt handling for DP AUX transactions

Joonas Lahtinen (3):
      Merge tag 'gvt-next-2020-05-12' of https://github.com/intel/gvt-linux into drm-intel-next-queued
      drm/i915: Document locking guidelines
      drm/i915: Update DRIVER_DATE to 20200515

Lionel Landwerlin (1):
      drm/i915: Peel dma-fence-chains for await

Matt Roper (1):
      drm/i915/icp: Add Wa_14010685332

Mika Kuoppala (7):
      Revert "drm/i915/tgl: Include ro parts of l3 to invalidate"
      drm/i915/gen12: Fix HDC pipeline flush
      drm/i915/gen12: Flush L3
      drm/i915/gen12: Invalidate aux table entries forcibly
      drm/i915/gen12: Add aux table invalidate for all engines
      drm/i915: Make intel_timeline_init static
      drm/i915/gt: Force pte cacheline to main memory

Nathan Chancellor (1):
      drm/i915: Remove duplicate inline specifier on write_pte

Pascal Terjan (1):
      drm/i915: Remove unused HAS_FWTABLE macro

Stanislav Lisovskiy (10):
      drm/i915: Use bw state for per crtc SAGV evaluation
      drm/i915: Track active_pipes in bw_state
      drm/i915: Rename bw_state to new_bw_state
      drm/i915: Added required new PCode commands
      drm/i915: Introduce skl_plane_wm_level accessor.
      drm/i915: Extract skl SAGV checking
      drm/i915: Make active_pipes check skl specific
      drm/i915: Add TGL+ SAGV support
      drm/i915: Restrict qgv points which don't have enough bandwidth.
      drm/i915: Enable SAGV support for Gen12

Sultan Alsawaf (1):
      drm/i915: Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled

Swathi Dhanavanthri (1):
      drm/i915/ehl: Restrict w/a 1607087056 for EHL/JSL

Ville Syrjälä (13):
      drm/i915/fbc: Require linear fb stride to be multiple of 512 bytes on gen9/glk
      drm/i915: Remove cnl pre-prod workarounds
      drm/i915: Nuke mode.vrefresh usage
      drm/i915: Rename variables to be consistent with bspec
      drm/i915: Streamline the artihmetic
      drm/i915/mst: Wait for ACT sent before enabling the pipe
      drm/i915: Fix glk watermark calculations
      drm/i915: Turn intel_digital_port_connected() in a vfunc
      drm/i915: Stash hpd status bits under dev_priv
      drm/i915: Use stashed away hpd isr bits in intel_digital_port_connected()
      drm/i915: Nuke pointless div by 64bit
      drm/i915: Store CS timestamp frequency in Hz
      drm/i915: Extract i915_cs_timestamp_{ns_to_ticks,tick_to_ns}()

Zhenyu Wang (3):
      drm/i915/gvt: move workload destroy out of execlist complete
      drm/i915/gvt: Support PPGTT table load command
      drm/i915/gvt: use context lrc_reg_state for shadow ppgtt override

 Documentation/gpu/i915.rst                         |  46 ++
 drivers/gpu/drm/drm_dp_helper.c                    | 174 ++++++
 drivers/gpu/drm/i915/Kconfig.profile               |  12 +
 drivers/gpu/drm/i915/Makefile                      |   3 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |  77 +--
 drivers/gpu/drm/i915/display/intel_bw.c            | 161 ++++--
 drivers/gpu/drm/i915/display/intel_bw.h            |  18 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |  60 ++-
 drivers/gpu/drm/i915/display/intel_display.c       |  85 ++-
 drivers/gpu/drm/i915/display/intel_display_types.h |   3 +
 drivers/gpu/drm/i915/display/intel_dp.c            | 594 ++++++++-------------
 drivers/gpu/drm/i915/display/intel_dp.h            |  15 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   9 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  12 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |   2 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  58 +-
 drivers/gpu/drm/i915/display/intel_psr.h           |   6 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |   7 +-
 drivers/gpu/drm/i915/display/intel_tc.h            |   3 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_clflush.c        |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c     |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     | 478 +++++++++++------
 drivers/gpu/drm/i915/gem/i915_gem_fence.c          |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |  34 ++
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   3 -
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c     |  26 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.h     |   1 -
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   1 +
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |  31 +-
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |   2 +
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  49 +-
 .../drm/i915/gem/selftests/i915_gem_execbuffer.c   | 171 ++++++
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 124 +++++
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c |  26 +-
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c               |  15 +-
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |  52 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |  46 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   6 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |  16 +-
 drivers/gpu/drm/i915/gt/intel_engine_pool.h        |  34 --
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |  36 +-
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |   3 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   3 +
 ...{intel_engine_pool.c => intel_gt_buffer_pool.c} | 114 ++--
 drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.h     |  37 ++
 ...e_pool_types.h => intel_gt_buffer_pool_types.h} |  15 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |  10 +-
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |  11 +
 drivers/gpu/drm/i915/gt/intel_lrc.c                | 320 +++++++----
 drivers/gpu/drm/i915/gt/intel_rc6.c                |   8 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |  16 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |   5 +-
 drivers/gpu/drm/i915/gt/intel_rps.h                |   1 +
 drivers/gpu/drm/i915/gt/intel_timeline.c           |   8 +-
 drivers/gpu/drm/i915/gt/intel_timeline.h           |   5 -
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |  28 +-
 drivers/gpu/drm/i915/gt/mock_engine.c              |   2 -
 drivers/gpu/drm/i915/gt/selftest_context.c         |  12 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  86 ++-
 drivers/gpu/drm/i915/gt/selftest_ring_submission.c |   2 +
 drivers/gpu/drm/i915/gt/selftest_rps.c             |  56 +-
 drivers/gpu/drm/i915/gt/sysfs_engines.c            |  94 ++++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |   2 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |  45 ++
 drivers/gpu/drm/i915/gvt/execlist.c                |   2 -
 drivers/gpu/drm/i915/gvt/gtt.c                     |   1 +
 drivers/gpu/drm/i915/gvt/gtt.h                     |   1 +
 drivers/gpu/drm/i915/gvt/handlers.c                |   2 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               | 115 +++-
 drivers/gpu/drm/i915/gvt/scheduler.h               |   1 +
 drivers/gpu/drm/i915/i915_config.c                 |  15 +
 drivers/gpu/drm/i915/i915_debugfs.c                |  11 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  37 +-
 drivers/gpu/drm/i915/i915_gem_evict.c              |  26 +-
 drivers/gpu/drm/i915/i915_getparam.c               |   2 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |   2 +-
 drivers/gpu/drm/i915/i915_irq.c                    | 227 ++++----
 drivers/gpu/drm/i915/i915_pci.c                    |   2 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  12 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   5 +-
 drivers/gpu/drm/i915/i915_priolist_types.h         |   7 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  13 +
 drivers/gpu/drm/i915/i915_request.c                | 127 +++--
 drivers/gpu/drm/i915/i915_request.h                |  28 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |  29 +-
 drivers/gpu/drm/i915/i915_scheduler.h              |   3 +-
 drivers/gpu/drm/i915/i915_scheduler_types.h        |   3 +-
 drivers/gpu/drm/i915/i915_selftest.h               |   2 +
 drivers/gpu/drm/i915/i915_sw_fence.c               |  10 +-
 drivers/gpu/drm/i915/intel_device_info.c           |  34 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   2 +-
 drivers/gpu/drm/i915/intel_pm.c                    | 328 +++++++++---
 drivers/gpu/drm/i915/intel_pm.h                    |   4 +-
 drivers/gpu/drm/i915/intel_sideband.c              |   4 +-
 drivers/gpu/drm/i915/intel_uncore.c                |   5 -
 drivers/gpu/drm/i915/intel_wopcm.c                 |   3 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |   1 +
 drivers/gpu/drm/i915/selftests/i915_perf.c         |   6 +-
 drivers/gpu/drm/i915/selftests/i915_request.c      |  37 +-
 drivers/gpu/drm/i915/selftests/i915_selftest.c     |  29 +
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |   3 +-
 drivers/video/hdmi.c                               |  65 ++-
 include/drm/drm_dp_helper.h                        |   3 +
 include/linux/hdmi.h                               |   2 +
 105 files changed, 3097 insertions(+), 1505 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
 delete mode 100644 drivers/gpu/drm/i915/gt/intel_engine_pool.h
 rename drivers/gpu/drm/i915/gt/{intel_engine_pool.c => intel_gt_buffer_pool.c} (53%)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.h
 rename drivers/gpu/drm/i915/gt/{intel_engine_pool_types.h => intel_gt_buffer_pool_types.h} (54%)
 create mode 100644 drivers/gpu/drm/i915/i915_config.c
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2020-05-14  1:28   ` Dave Airlie
@ 2020-05-14 14:55     ` Joonas Lahtinen
  0 siblings, 0 replies; 252+ messages in thread
From: Joonas Lahtinen @ 2020-05-14 14:55 UTC (permalink / raw)
  To: Dave Airlie, Tomi Sarvela, Martin Peres, Arkadiusz Hiler
  Cc: DRM maintainer tools announcements, discussion, and development,
	Daniel Vetter, dri-devel, Rodrigo Vivi, Sean Paul,
	Intel Graphics Development

Quoting Dave Airlie (2020-05-14 04:28:17)
> On Thu, 14 May 2020 at 03:10, Joonas Lahtinen
> <joonas.lahtinen@linux.intel.com> wrote:
> >
> > Ping for merging this? If there are no issues, I'd prefer to pull in
> > next gvt-next and tag the final pull sooner than later.
> 
> Can you check that I'm correct and this isn;'t in patchwork. I've
> checked both the dri-devel and intel-gfx patchworks for it.

We don't have drm-intel-next going to CI separately as it's a point in
time from drm-intel-next-queued. dinq testing seems to be daily today,
but indeed, I do get a for that day 404:

https://intel-gfx-ci.01.org/tree/drm-intel-next-queued/dinq-20200430/combined-alt.html

I could not locate drm-tip results for that DRIVER_DATE update either.

Tomi and Arek, can you take a look?

All drm-intel-next-fixes tags will still get a separate run, so should
be easier to find.

Regards, Joonas

> Dave.
> >
> > Regards, Joonas
> >
> > Quoting Joonas Lahtinen (2020-04-30 15:49:04)
> > > Hi Dave & Daniel,
> > >
> > > Fix for performance regression GitLab #1698: Iris Plus 655 and
> > > 4K screen. Missing workarounds for Tigerlake, and a fix for
> > > DP display audio WA. Unbreaking enable_dpcd_backlight, fixes
> > > to power code for Icelake+.
> > >
> > > Improvements to the soft-RC6 code to improve power efficiency,
> > > a fix for the timestamp corruption on Tigerlake and plenty of
> > > smaller fixes for CI found corner cases.
> > >
> > > Lots of refactoring that prep for upcoming changes, so I expect
> > > the next PR to be quite busy.
> > >
> > > Includes gvt-next-2020-04-22: Removes left non-upstream xen support
> > > bits which will be kept out of tree instead. And several guest
> > > context shadow optimizations.
> > >
> > > Regards, Joonas
> > >
> > > PS. Noticed the ack for locking rules, thanks! Will merge it.
> > >
> > > ***
> > >
> > > drm-intel-next-2020-04-30:
> > >
> > > Driver Changes:
> > >
> > > - Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
> > >   Iris Plus 655 and 4K screen (Chris)
> > > - Add Wa_14011059788 for Tigerlake (Matt A)
> > > - Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
> > > - Use indirect ctx bb to load cmd buffer control value
> > >   from context image to avoid corruption (Mika)
> > > - Enable DP Display Audio WA (Uma, Jani)
> > > - Update forcewake firmware ranges for Icelake (Radhakrishna)
> > > - Add missing deinitialization cases of load failure for display (Jose)
> > > - Implement TC cold sequences for Icelake and Tigerlake (Jose)
> > > - Unbreak enable_dpcd_backlight modparam (Lyude)
> > > - Move the late flush_submission in retire to the end (Chris)
> > > - Demote "Reducing compressed framebufer size" message to info (Peter)
> > > - Push MST link retraining to the hotplug work (Ville)
> > > - Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
> > > - Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
> > > - Fix skl+ non-scaled pfit modes (Ville)
> > > - Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
> > > - Sanitize GT first before poisoning HWSP (Chris)
> > > - Fix up clock RPS frequency readout (Chris)
> > > - Avoid reusing the same logical CCID (Chris)
> > > - Avoid dereferencing a dead context (Chris)
> > > - Always enable busy-stats for execlists (Chris)
> > > - Apply the aggressive downclocking to parking (Chris)
> > > - Restore aggressive post-boost downclocking (Chris)
> > >
> > > - Scrub execlists state on resume (Chris)
> > > - Add debugfs attributes for LPSP (Ansuman)
> > > - Improvements to kernel selftests (Chris, Mika)
> > > - Add tiled blits selftest (Zbigniew)
> > > - Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
> > > - Add pre/post plane updates for SAGV (Stanislav)
> > > - Add ICL PG3 PW ID for EHL (Anshuman)
> > > - Fix Sphinx build duplicate label warning (Jani)
> > > - Error log non-zero audio power refcount after unbind (Jani)
> > > - Remove object_is_locked assertion from unpin_from_display_plane (Chris)
> > > - Use single set of AUX powerwell ops for gen11+ (Matt R)
> > > - Prefer drm_WARN_ON over WARN_ON (Pankaj)
> > > - Poison residual state [HWSP] across resume (Chris, Tvrtko)
> > > - Convert request-before-CS assertion to debug (Chris)
> > > - Carefully order virtual_submission_tasklet (Chris)
> > > - Check carefully for an idle engine in wait-for-idle (Chris)
> > > - Only close vma we open (Chris)
> > > - Trace RPS events (Chris)
> > > - Use the RPM config register to determine clk frequencies (Chris)
> > > - Drop rq->ring->vma peeking from error capture (Chris)
> > > - Check preempt-timeout target before submit_ports (Chris)
> > > - Check HWSP cacheline is valid before acquiring (Chris)
> > > - Use proper fault mask in interrupt postinstall too (Matt R)
> > > - Keep a no-frills swappable copy of the default context state (Chris)
> > >
> > > - Add atomic helpers for bandwidth (Stanislav)
> > > - Refactor setting dma info to a common helper from device info (Michael)
> > > - Refactor DDI transcoder code for clairty (Ville)
> > > - Extend PG3 power well ID to ICL (Anshuman)
> > > - Refactor PFIT code for readability and future extensibility (Ville)
> > > - Clarify code split between intel_ddi.c and intel_dp.c (Ville)
> > > - Move out code to return the digital_port of the aux ch (Jose)
> > > - Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
> > > - Remove superfluous inlines and dead code (Jani)
> > > - Re-disable -Wframe-address from top-level Makefile (Nick)
> > > - Static checker and spelling fixes (Colin, Nathan)
> > > - Split long lines (Ville)
> > >
> > > The following changes since commit b06ef327e26367b9286a2079b31cde8d2161c0d8:
> > >
> > >   drm/i915: Update DRIVER_DATE to 20200417 (2020-04-17 09:35:00 +0300)
> > >
> > > are available in the Git repository at:
> > >
> > >   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-04-30
> > >
> > > for you to fetch changes up to 230982d8d8df7f9d9aa216840ea2db1df6ad5d37:
> > >
> > >   drm/i915: Update DRIVER_DATE to 20200430 (2020-04-30 11:13:21 +0300)
> > >
> > > ----------------------------------------------------------------
> > > Driver Changes:
> > >
> > > - Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
> > >   Iris Plus 655 and 4K screen (Chris)
> > > - Add Wa_14011059788 for Tigerlake (Matt A)
> > > - Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
> > > - Use indirect ctx bb to load cmd buffer control value
> > >   from context image to avoid corruption (Mika)
> > > - Enable DP Display Audio WA (Uma, Jani)
> > > - Update forcewake firmware ranges for Icelake (Radhakrishna)
> > > - Add missing deinitialization cases of load failure for display (Jose)
> > > - Implement TC cold sequences for Icelake and Tigerlake (Jose)
> > > - Unbreak enable_dpcd_backlight modparam (Lyude)
> > > - Move the late flush_submission in retire to the end (Chris)
> > > - Demote "Reducing compressed framebufer size" message to info (Peter)
> > > - Push MST link retraining to the hotplug work (Ville)
> > > - Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
> > > - Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
> > > - Fix skl+ non-scaled pfit modes (Ville)
> > > - Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
> > > - Sanitize GT first before poisoning HWSP (Chris)
> > > - Fix up clock RPS frequency readout (Chris)
> > > - Avoid reusing the same logical CCID (Chris)
> > > - Avoid dereferencing a dead context (Chris)
> > > - Always enable busy-stats for execlists (Chris)
> > > - Apply the aggressive downclocking to parking (Chris)
> > > - Restore aggressive post-boost downclocking (Chris)
> > >
> > > - Scrub execlists state on resume (Chris)
> > > - Add debugfs attributes for LPSP (Ansuman)
> > > - Improvements to kernel selftests (Chris, Mika)
> > > - Add tiled blits selftest (Zbigniew)
> > > - Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
> > > - Add pre/post plane updates for SAGV (Stanislav)
> > > - Add ICL PG3 PW ID for EHL (Anshuman)
> > > - Fix Sphinx build duplicate label warning (Jani)
> > > - Error log non-zero audio power refcount after unbind (Jani)
> > > - Remove object_is_locked assertion from unpin_from_display_plane (Chris)
> > > - Use single set of AUX powerwell ops for gen11+ (Matt R)
> > > - Prefer drm_WARN_ON over WARN_ON (Pankaj)
> > > - Poison residual state [HWSP] across resume (Chris, Tvrtko)
> > > - Convert request-before-CS assertion to debug (Chris)
> > > - Carefully order virtual_submission_tasklet (Chris)
> > > - Check carefully for an idle engine in wait-for-idle (Chris)
> > > - Only close vma we open (Chris)
> > > - Trace RPS events (Chris)
> > > - Use the RPM config register to determine clk frequencies (Chris)
> > > - Drop rq->ring->vma peeking from error capture (Chris)
> > > - Check preempt-timeout target before submit_ports (Chris)
> > > - Check HWSP cacheline is valid before acquiring (Chris)
> > > - Use proper fault mask in interrupt postinstall too (Matt R)
> > > - Keep a no-frills swappable copy of the default context state (Chris)
> > >
> > > - Add atomic helpers for bandwidth (Stanislav)
> > > - Refactor setting dma info to a common helper from device info (Michael)
> > > - Refactor DDI transcoder code for clairty (Ville)
> > > - Extend PG3 power well ID to ICL (Anshuman)
> > > - Refactor PFIT code for readability and future extensibility (Ville)
> > > - Clarify code split between intel_ddi.c and intel_dp.c (Ville)
> > > - Move out code to return the digital_port of the aux ch (Jose)
> > > - Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
> > > - Remove superfluous inlines and dead code (Jani)
> > > - Re-disable -Wframe-address from top-level Makefile (Nick)
> > > - Static checker and spelling fixes (Colin, Nathan)
> > > - Split long lines (Ville)
> > >
> > > ----------------------------------------------------------------
> > > Anshuman Gupta (5):
> > >       drm/i915: Power well id for ICL PG3
> > >       drm/i915: Add i915_lpsp_capability debugfs
> > >       drm/i915: Add connector dbgfs for all connectors
> > >       drm/i915: Add i915_lpsp_status debugfs attribute
> > >       drm/i915: Add ICL PG3 PW ID for EHL
> > >
> > > Chris Wilson (46):
> > >       drm/i915/gt: Scrub execlists state on resume
> > >       drm/i915/selftests: Delay spinner before waiting for an interrupt
> > >       drm/i915/selftests: Take the engine wakeref around __rps_up_interrupt
> > >       drm/i915/selftests: Move gpu energy measurement into its own little lib
> > >       drm/i915/selftests: Check power consumption at min/max frequencies
> > >       drm/i915/gem: Remove object_is_locked assertion from unpin_from_display_plane
> > >       drm/i915/gt: Move the late flush_submission in retire to the end
> > >       drm/i915/selftests: Verify frequency scaling with RPS
> > >       drm/i915/selftests: Skip energy consumption tests if not controlling freq
> > >       drm/i915/selftests: Check RPS controls
> > >       drm/i915/selftests: Split RPS frequency measurement
> > >       drm/i915/selftests: Show the pcode frequency table on error
> > >       drm/i915/selftests: Exercise dynamic reclocking with RPS
> > >       drm/i915/selftests: Show the pstate limits on any failure to reset min
> > >       drm/i915/selftests: Show the full scaling curve on failure
> > >       drm/i915/selftests: Disable C-states when measuring RPS frequency response
> > >       drm/i915/gt: Poison residual state [HWSP] across resume.
> > >       drm/i915/selftests: Unroll the CS frequency loop
> > >       drm/i915/selftests: Disable heartbeat around RPS interrupt testing
> > >       drm/i915/selftests: Try to detect rollback during batchbuffer preemption
> > >       drm/i915/gem: Hold obj->vma.lock over for_each_ggtt_vma()
> > >       drm/i915/execlists: Drop request-before-CS assertion
> > >       drm/i915/gt: Carefully order virtual_submission_tasklet
> > >       drm/i915/gt: Check carefully for an idle engine in wait-for-idle
> > >       drm/i915/selftests: Add request throughput measurement to perf
> > >       drm/i915: Only close vma we open
> > >       drm/i915/gt: Prefer soft-rc6 over RPS DOWN_TIMEOUT
> > >       drm/i915/gt: Trace RPS events
> > >       drm/i915/gt: Use the RPM config register to determine clk frequencies
> > >       drm/i915: Drop rq->ring->vma peeking from error capture
> > >       drm/i915/execlists: Check preempt-timeout target before submit_ports
> > >       drm/i915/gt: Check cacheline is valid before acquiring
> > >       drm/i915/gt: Sanitize GT first
> > >       drm/i915/gt: Fix up clock frequency
> > >       drm/i915/selftests: Tweak the tolerance for clock ticks to 12.5%
> > >       drm/i915/execlists: Avoid reusing the same logical CCID
> > >       drm/i915/execlists: Track inflight CCID
> > >       drm/i915/execlists: Verify we don't submit two identical CCIDs
> > >       drm/i915: Avoid dereferencing a dead context
> > >       drm/i915/gt: Keep a no-frills swappable copy of the default context state
> > >       drm/i915/gt: Always enable busy-stats for execlists
> > >       drm/i915/gt: Move rps.enabled/active to flags
> > >       drm/i915/gt: Track use of RPS interrupts in flags
> > >       drm/i915/gt: Switch to manual evaluation of RPS
> > >       drm/i915/gt: Apply the aggressive downclocking to parking
> > >       drm/i915/gt: Restore aggressive post-boost downclocking
> > >
> > > Christoph Hellwig (1):
> > >       i915/gvt: remove unused xen bits
> > >
> > > Colin Ian King (2):
> > >       drm/i915: remove redundant assignment to variable test_result
> > >       drm/i915/gt: fix spelling mistake "evalution" -> "evaluation"
> > >
> > > Dan Carpenter (1):
> > >       drm/i915/selftests: fix error handling in __live_lrc_indirect_ctx_bb()
> > >
> > > Imre Deak (1):
> > >       drm/i915/icl: Fix timeout handling during TypeC AUX power well enabling
> > >
> > > Jani Nikula (5):
> > >       drm/i915: fix Sphinx build duplicate label warning
> > >       drm/i915/audio: error log non-zero audio power refcount after unbind
> > >       drm/i915/hdmi: remove unused intel_hdmi_hdcp2_protocol()
> > >       drm/i915: drop a bunch of superfluous inlines
> > >       drm/i915/audio: fix compressed_bpp check
> > >
> > > Joonas Lahtinen (2):
> > >       Merge tag 'gvt-next-2020-04-22' of https://github.com/intel/gvt-linux into drm-intel-next-queued
> > >       drm/i915: Update DRIVER_DATE to 20200430
> > >
> > > José Roberto de Souza (10):
> > >       drm/i915: Add missing deinitialization cases of load failure
> > >       drm/i915/display: Move out code to return the digital_port of the aux ch
> > >       drm/i915/display: Add intel_legacy_aux_to_power_domain()
> > >       drm/i915/display: Split hsw_power_well_enable() into two
> > >       drm/i915/tc/icl: Implement TC cold sequences
> > >       drm/i915/tc: Skip ref held check for TC legacy aux power wells
> > >       drm/i915/tc/tgl: Implement TC cold sequences
> > >       drm/i915/tc: Catch TC users accessing FIA registers without enable aux
> > >       drm/i915/tc: Do not warn when aux power well of static TC ports timeout
> > >       drm/i915/display: Load DP_TP_CTL/STATUS offset before use it
> > >
> > > Lyude Paul (1):
> > >       drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam
> > >
> > > Matt Atwood (1):
> > >       drm/i915/tgl: Wa_14011059788
> > >
> > > Matt Roper (2):
> > >       drm/i915: Use single set of AUX powerwell ops for gen11+
> > >       drm/i915: Use proper fault mask in interrupt postinstall too
> > >
> > > Michael J. Ruhl (1):
> > >       drm/i915: Refactor setting dma info to a common helper
> > >
> > > Mika Kuoppala (6):
> > >       drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed
> > >       drm/i915: Make define for lrc state offset
> > >       drm/i915: Add engine scratch register to live_lrc_fixed
> > >       drm/i915: Add per ctx batchbuffer wa for timestamp
> > >       drm/i915: Add live selftests for indirect ctx batchbuffers
> > >       drm/i915: Use indirect ctx bb to mend CMD_BUF_CCTL
> > >
> > > Nathan Chancellor (1):
> > >       drm/i915/gt: Avoid uninitialized use of rpcurupei in frequency_show
> > >
> > > Nick Desaulniers (1):
> > >       drm/i915: re-disable -Wframe-address
> > >
> > > Pankaj Bharadiya (9):
> > >       drm/i915/display/icl_dsi: Prefer drm_WARN_ON over WARN_ON
> > >       drm/i915/display/atomic_plane: Prefer drm_WARN_ON over WARN_ON
> > >       drm/i915/display/ddi: Prefer drm_WARN* over WARN*
> > >       drm/i915/display/display: Prefer drm_WARN_ON over WARN_ON
> > >       drm/i915/display/dpll_mgr: Prefer drm_WARN_ON over WARN_ON
> > >       drm/i915/display/frontbuffer: Prefer drm_WARN_ON over WARN_ON
> > >       drm/i915/display/global_state: Prefer drm_WARN* over WARN*
> > >       drm/i915/display/overlay: Prefer drm_WARN_ON over WARN_ON
> > >       drm/i915/display/vlv_dsi: Prefer drm_WARN_ON over WARN_ON
> > >
> > > Peter Jones (1):
> > >       Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()
> > >
> > > Radhakrishna Sripada (1):
> > >       drm/i915/icl: Update forcewake firmware ranges
> > >
> > > Stanislav Lisovskiy (3):
> > >       drm/i915: Add intel_atomic_get_bw_*_state helpers
> > >       drm/i915: Prepare to extract gen specific functions from intel_can_enable_sagv
> > >       drm/i915: Add pre/post plane updates for SAGV
> > >
> > > Uma Shankar (1):
> > >       drm/i915/display: Enable DP Display Audio WA
> > >
> > > Ville Syrjälä (16):
> > >       drm/i915: Pass encoder to intel_ddi_enable_pipe_clock()
> > >       drm/i915: Move the TRANS_DDI_FUNC_CTL enable to a later point
> > >       drm/i915: Push TRANS_DDI_FUNC_CTL into the encoder->enable() hook
> > >       drm/i915: Pass encoder all the way to intel_ddi_transcoder_func_reg_val_get()
> > >       drm/i915: Flatten intel_dp_check_mst_status() a bit
> > >       drm/i915: Push MST link retraining to the hotplug work
> > >       drm/i915: Fix skl+ non-scaled pfit modes
> > >       drm/i915: Flatten a bunch of the pfit functions
> > >       drm/i915: Use drm_rect to store the pfit window pos/size
> > >       drm/i915: s/pipe_config/crtc_state/ in pfit functions
> > >       drm/i915: Pass connector state to pfit calculations
> > >       drm/i915: Have pfit calculations return an error code
> > >       drm/i915: Introduce .set_link_train() vfunc
> > >       drm/i915: Introduce .set_signal_levels() vfunc
> > >       drm/i915: Introduce .set_idle_link_train() vfunc
> > >       drm/i915: Split some long lines
> > >
> > > Xiyu Yang (1):
> > >       drm/i915/selftests: Fix i915_address_space refcnt leak
> > >
> > > Yan Zhao (3):
> > >       drm/i915/gvt: access shadow ctx via its virtual address directly
> > >       drm/i915/gvt: combine access to consecutive guest context pages
> > >       drm/i915/gvt: skip populate shadow context if guest context not changed
> > >
> > > Zbigniew Kempczy\u0144ski (1):
> > >       drm/i915/selftests: Add tiled blits selftest
> > >
> > >  drivers/char/agp/intel-gtt.c                       |   17 +-
> > >  drivers/gpu/drm/i915/Makefile                      |    6 +-
> > >  drivers/gpu/drm/i915/display/icl_dsi.c             |   21 +-
> > >  drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    4 +-
> > >  drivers/gpu/drm/i915/display/intel_audio.c         |  145 +++
> > >  drivers/gpu/drm/i915/display/intel_bw.c            |   24 +-
> > >  drivers/gpu/drm/i915/display/intel_bw.h            |    9 +
> > >  drivers/gpu/drm/i915/display/intel_connector.c     |    3 +
> > >  drivers/gpu/drm/i915/display/intel_crt.c           |    4 +-
> > >  drivers/gpu/drm/i915/display/intel_ddi.c           |  244 +++--
> > >  drivers/gpu/drm/i915/display/intel_ddi.h           |    6 +-
> > >  drivers/gpu/drm/i915/display/intel_display.c       |  374 ++++---
> > >  drivers/gpu/drm/i915/display/intel_display.h       |    3 +-
> > >  .../gpu/drm/i915/display/intel_display_debugfs.c   |  100 ++
> > >  drivers/gpu/drm/i915/display/intel_display_power.c |  534 ++++-----
> > >  drivers/gpu/drm/i915/display/intel_display_power.h |    5 +-
> > >  drivers/gpu/drm/i915/display/intel_display_types.h |    6 +-
> > >  drivers/gpu/drm/i915/display/intel_dp.c            |  608 ++++++-----
> > >  .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |    1 +
> > >  drivers/gpu/drm/i915/display/intel_dp_mst.c        |    4 +-
> > >  drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |    8 +-
> > >  drivers/gpu/drm/i915/display/intel_dsb.c           |    6 +-
> > >  drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    2 +-
> > >  drivers/gpu/drm/i915/display/intel_fbc.c           |    5 +-
> > >  drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    6 +-
> > >  drivers/gpu/drm/i915/display/intel_global_state.c  |    4 +-
> > >  drivers/gpu/drm/i915/display/intel_gmbus.c         |    3 +-
> > >  drivers/gpu/drm/i915/display/intel_hdcp.c          |   23 +-
> > >  drivers/gpu/drm/i915/display/intel_hdmi.c          |   56 +-
> > >  drivers/gpu/drm/i915/display/intel_lvds.c          |   16 +-
> > >  drivers/gpu/drm/i915/display/intel_overlay.c       |    6 +-
> > >  drivers/gpu/drm/i915/display/intel_panel.c         |  140 +--
> > >  drivers/gpu/drm/i915/display/intel_panel.h         |   10 +-
> > >  drivers/gpu/drm/i915/display/intel_tc.c            |   95 +-
> > >  drivers/gpu/drm/i915/display/vlv_dsi.c             |   11 +-
> > >  drivers/gpu/drm/i915/gem/i915_gem_context.c        |    4 +-
> > >  drivers/gpu/drm/i915/gem/i915_gem_domain.c         |    7 +-
> > >  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    2 +-
> > >  drivers/gpu/drm/i915/gem/i915_gem_object.c         |    4 +-
> > >  drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   20 +-
> > >  drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   95 +-
> > >  .../drm/i915/gem/selftests/i915_gem_client_blt.c   |  595 ++++++++++
> > >  .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |    1 -
> > >  drivers/gpu/drm/i915/gt/debugfs_gt_pm.c            |   64 +-
> > >  drivers/gpu/drm/i915/gt/intel_context_sseu.c       |    3 +-
> > >  drivers/gpu/drm/i915/gt/intel_context_types.h      |   10 +-
> > >  drivers/gpu/drm/i915/gt/intel_engine.h             |    3 -
> > >  drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   82 +-
> > >  drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   10 +-
> > >  drivers/gpu/drm/i915/gt/intel_engine_types.h       |   41 +-
> > >  drivers/gpu/drm/i915/gt/intel_ggtt.c               |   15 -
> > >  drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |    3 +-
> > >  drivers/gpu/drm/i915/gt/intel_gt.c                 |   63 +-
> > >  drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c     |  102 ++
> > >  drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h     |   27 +
> > >  drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   10 +-
> > >  drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   20 +-
> > >  drivers/gpu/drm/i915/gt/intel_gt_types.h           |    9 +-
> > >  drivers/gpu/drm/i915/gt/intel_lrc.c                |  703 ++++++++----
> > >  drivers/gpu/drm/i915/gt/intel_lrc.h                |    1 +
> > >  drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |    6 +-
> > >  drivers/gpu/drm/i915/gt/intel_renderstate.c        |    4 +-
> > >  drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   16 +-
> > >  drivers/gpu/drm/i915/gt/intel_rps.c                |  350 ++++--
> > >  drivers/gpu/drm/i915/gt/intel_rps.h                |   60 ++
> > >  drivers/gpu/drm/i915/gt/intel_rps_types.h          |   14 +-
> > >  drivers/gpu/drm/i915/gt/intel_timeline.c           |   19 +-
> > >  drivers/gpu/drm/i915/gt/intel_timeline.h           |    2 +
> > >  drivers/gpu/drm/i915/gt/selftest_context.c         |    2 +-
> > >  drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |    6 +
> > >  drivers/gpu/drm/i915/gt/selftest_lrc.c             |  534 ++++++++-
> > >  drivers/gpu/drm/i915/gt/selftest_rc6.c             |   25 +-
> > >  drivers/gpu/drm/i915/gt/selftest_rps.c             | 1134 +++++++++++++++++++-
> > >  drivers/gpu/drm/i915/gt/selftest_rps.h             |    6 +
> > >  drivers/gpu/drm/i915/gt/shmem_utils.c              |  173 +++
> > >  drivers/gpu/drm/i915/gt/shmem_utils.h              |   23 +
> > >  drivers/gpu/drm/i915/gt/st_shmem_utils.c           |   63 ++
> > >  drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    2 +-
> > >  drivers/gpu/drm/i915/gvt/gtt.c                     |   15 +
> > >  drivers/gpu/drm/i915/gvt/gvt.c                     |    1 -
> > >  drivers/gpu/drm/i915/gvt/gvt.h                     |    5 +
> > >  drivers/gpu/drm/i915/gvt/hypercall.h               |    2 -
> > >  drivers/gpu/drm/i915/gvt/scheduler.c               |  136 ++-
> > >  drivers/gpu/drm/i915/i915_debugfs.c                |   39 +-
> > >  drivers/gpu/drm/i915/i915_drv.c                    |  119 +-
> > >  drivers/gpu/drm/i915/i915_drv.h                    |    4 +-
> > >  drivers/gpu/drm/i915/i915_gpu_error.c              |   43 +-
> > >  drivers/gpu/drm/i915/i915_gpu_error.h              |    1 -
> > >  drivers/gpu/drm/i915/i915_irq.c                    |    6 +-
> > >  drivers/gpu/drm/i915/i915_pci.c                    |   14 +
> > >  drivers/gpu/drm/i915/i915_perf.c                   |    8 +-
> > >  drivers/gpu/drm/i915/i915_pmu.c                    |   32 +-
> > >  drivers/gpu/drm/i915/i915_reg.h                    |   54 +-
> > >  drivers/gpu/drm/i915/i915_vma.c                    |   38 +-
> > >  drivers/gpu/drm/i915/intel_device_info.c           |    1 +
> > >  drivers/gpu/drm/i915/intel_device_info.h           |    2 +
> > >  drivers/gpu/drm/i915/intel_pm.c                    |   88 +-
> > >  drivers/gpu/drm/i915/intel_pm.h                    |    2 +
> > >  drivers/gpu/drm/i915/intel_sideband.c              |    4 +-
> > >  drivers/gpu/drm/i915/intel_uncore.c                |   31 +-
> > >  drivers/gpu/drm/i915/intel_wopcm.c                 |   22 +-
> > >  drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   32 +-
> > >  .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    1 +
> > >  .../gpu/drm/i915/selftests/i915_perf_selftests.h   |    1 +
> > >  drivers/gpu/drm/i915/selftests/i915_request.c      |  572 +++++++++-
> > >  drivers/gpu/drm/i915/selftests/i915_vma.c          |    2 +-
> > >  drivers/gpu/drm/i915/selftests/librapl.c           |   24 +
> > >  drivers/gpu/drm/i915/selftests/librapl.h           |   13 +
> > >  108 files changed, 6193 insertions(+), 1961 deletions(-)
> > >  create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c
> > >  create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h
> > >  create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.c
> > >  create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.h
> > >  create mode 100644 drivers/gpu/drm/i915/gt/st_shmem_utils.c
> > >  create mode 100644 drivers/gpu/drm/i915/selftests/librapl.c
> > >  create mode 100644 drivers/gpu/drm/i915/selftests/librapl.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2020-05-13 17:10 ` Joonas Lahtinen
@ 2020-05-14  1:28   ` Dave Airlie
  2020-05-14 14:55     ` Joonas Lahtinen
  0 siblings, 1 reply; 252+ messages in thread
From: Dave Airlie @ 2020-05-14  1:28 UTC (permalink / raw)
  To: Joonas Lahtinen
  Cc: DRM maintainer tools announcements, discussion, and development,
	Daniel Vetter, dri-devel, Rodrigo Vivi, Sean Paul,
	Intel Graphics Development

On Thu, 14 May 2020 at 03:10, Joonas Lahtinen
<joonas.lahtinen@linux.intel.com> wrote:
>
> Ping for merging this? If there are no issues, I'd prefer to pull in
> next gvt-next and tag the final pull sooner than later.

Can you check that I'm correct and this isn;'t in patchwork. I've
checked both the dri-devel and intel-gfx patchworks for it.

Dave.
>
> Regards, Joonas
>
> Quoting Joonas Lahtinen (2020-04-30 15:49:04)
> > Hi Dave & Daniel,
> >
> > Fix for performance regression GitLab #1698: Iris Plus 655 and
> > 4K screen. Missing workarounds for Tigerlake, and a fix for
> > DP display audio WA. Unbreaking enable_dpcd_backlight, fixes
> > to power code for Icelake+.
> >
> > Improvements to the soft-RC6 code to improve power efficiency,
> > a fix for the timestamp corruption on Tigerlake and plenty of
> > smaller fixes for CI found corner cases.
> >
> > Lots of refactoring that prep for upcoming changes, so I expect
> > the next PR to be quite busy.
> >
> > Includes gvt-next-2020-04-22: Removes left non-upstream xen support
> > bits which will be kept out of tree instead. And several guest
> > context shadow optimizations.
> >
> > Regards, Joonas
> >
> > PS. Noticed the ack for locking rules, thanks! Will merge it.
> >
> > ***
> >
> > drm-intel-next-2020-04-30:
> >
> > Driver Changes:
> >
> > - Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
> >   Iris Plus 655 and 4K screen (Chris)
> > - Add Wa_14011059788 for Tigerlake (Matt A)
> > - Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
> > - Use indirect ctx bb to load cmd buffer control value
> >   from context image to avoid corruption (Mika)
> > - Enable DP Display Audio WA (Uma, Jani)
> > - Update forcewake firmware ranges for Icelake (Radhakrishna)
> > - Add missing deinitialization cases of load failure for display (Jose)
> > - Implement TC cold sequences for Icelake and Tigerlake (Jose)
> > - Unbreak enable_dpcd_backlight modparam (Lyude)
> > - Move the late flush_submission in retire to the end (Chris)
> > - Demote "Reducing compressed framebufer size" message to info (Peter)
> > - Push MST link retraining to the hotplug work (Ville)
> > - Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
> > - Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
> > - Fix skl+ non-scaled pfit modes (Ville)
> > - Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
> > - Sanitize GT first before poisoning HWSP (Chris)
> > - Fix up clock RPS frequency readout (Chris)
> > - Avoid reusing the same logical CCID (Chris)
> > - Avoid dereferencing a dead context (Chris)
> > - Always enable busy-stats for execlists (Chris)
> > - Apply the aggressive downclocking to parking (Chris)
> > - Restore aggressive post-boost downclocking (Chris)
> >
> > - Scrub execlists state on resume (Chris)
> > - Add debugfs attributes for LPSP (Ansuman)
> > - Improvements to kernel selftests (Chris, Mika)
> > - Add tiled blits selftest (Zbigniew)
> > - Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
> > - Add pre/post plane updates for SAGV (Stanislav)
> > - Add ICL PG3 PW ID for EHL (Anshuman)
> > - Fix Sphinx build duplicate label warning (Jani)
> > - Error log non-zero audio power refcount after unbind (Jani)
> > - Remove object_is_locked assertion from unpin_from_display_plane (Chris)
> > - Use single set of AUX powerwell ops for gen11+ (Matt R)
> > - Prefer drm_WARN_ON over WARN_ON (Pankaj)
> > - Poison residual state [HWSP] across resume (Chris, Tvrtko)
> > - Convert request-before-CS assertion to debug (Chris)
> > - Carefully order virtual_submission_tasklet (Chris)
> > - Check carefully for an idle engine in wait-for-idle (Chris)
> > - Only close vma we open (Chris)
> > - Trace RPS events (Chris)
> > - Use the RPM config register to determine clk frequencies (Chris)
> > - Drop rq->ring->vma peeking from error capture (Chris)
> > - Check preempt-timeout target before submit_ports (Chris)
> > - Check HWSP cacheline is valid before acquiring (Chris)
> > - Use proper fault mask in interrupt postinstall too (Matt R)
> > - Keep a no-frills swappable copy of the default context state (Chris)
> >
> > - Add atomic helpers for bandwidth (Stanislav)
> > - Refactor setting dma info to a common helper from device info (Michael)
> > - Refactor DDI transcoder code for clairty (Ville)
> > - Extend PG3 power well ID to ICL (Anshuman)
> > - Refactor PFIT code for readability and future extensibility (Ville)
> > - Clarify code split between intel_ddi.c and intel_dp.c (Ville)
> > - Move out code to return the digital_port of the aux ch (Jose)
> > - Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
> > - Remove superfluous inlines and dead code (Jani)
> > - Re-disable -Wframe-address from top-level Makefile (Nick)
> > - Static checker and spelling fixes (Colin, Nathan)
> > - Split long lines (Ville)
> >
> > The following changes since commit b06ef327e26367b9286a2079b31cde8d2161c0d8:
> >
> >   drm/i915: Update DRIVER_DATE to 20200417 (2020-04-17 09:35:00 +0300)
> >
> > are available in the Git repository at:
> >
> >   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-04-30
> >
> > for you to fetch changes up to 230982d8d8df7f9d9aa216840ea2db1df6ad5d37:
> >
> >   drm/i915: Update DRIVER_DATE to 20200430 (2020-04-30 11:13:21 +0300)
> >
> > ----------------------------------------------------------------
> > Driver Changes:
> >
> > - Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
> >   Iris Plus 655 and 4K screen (Chris)
> > - Add Wa_14011059788 for Tigerlake (Matt A)
> > - Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
> > - Use indirect ctx bb to load cmd buffer control value
> >   from context image to avoid corruption (Mika)
> > - Enable DP Display Audio WA (Uma, Jani)
> > - Update forcewake firmware ranges for Icelake (Radhakrishna)
> > - Add missing deinitialization cases of load failure for display (Jose)
> > - Implement TC cold sequences for Icelake and Tigerlake (Jose)
> > - Unbreak enable_dpcd_backlight modparam (Lyude)
> > - Move the late flush_submission in retire to the end (Chris)
> > - Demote "Reducing compressed framebufer size" message to info (Peter)
> > - Push MST link retraining to the hotplug work (Ville)
> > - Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
> > - Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
> > - Fix skl+ non-scaled pfit modes (Ville)
> > - Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
> > - Sanitize GT first before poisoning HWSP (Chris)
> > - Fix up clock RPS frequency readout (Chris)
> > - Avoid reusing the same logical CCID (Chris)
> > - Avoid dereferencing a dead context (Chris)
> > - Always enable busy-stats for execlists (Chris)
> > - Apply the aggressive downclocking to parking (Chris)
> > - Restore aggressive post-boost downclocking (Chris)
> >
> > - Scrub execlists state on resume (Chris)
> > - Add debugfs attributes for LPSP (Ansuman)
> > - Improvements to kernel selftests (Chris, Mika)
> > - Add tiled blits selftest (Zbigniew)
> > - Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
> > - Add pre/post plane updates for SAGV (Stanislav)
> > - Add ICL PG3 PW ID for EHL (Anshuman)
> > - Fix Sphinx build duplicate label warning (Jani)
> > - Error log non-zero audio power refcount after unbind (Jani)
> > - Remove object_is_locked assertion from unpin_from_display_plane (Chris)
> > - Use single set of AUX powerwell ops for gen11+ (Matt R)
> > - Prefer drm_WARN_ON over WARN_ON (Pankaj)
> > - Poison residual state [HWSP] across resume (Chris, Tvrtko)
> > - Convert request-before-CS assertion to debug (Chris)
> > - Carefully order virtual_submission_tasklet (Chris)
> > - Check carefully for an idle engine in wait-for-idle (Chris)
> > - Only close vma we open (Chris)
> > - Trace RPS events (Chris)
> > - Use the RPM config register to determine clk frequencies (Chris)
> > - Drop rq->ring->vma peeking from error capture (Chris)
> > - Check preempt-timeout target before submit_ports (Chris)
> > - Check HWSP cacheline is valid before acquiring (Chris)
> > - Use proper fault mask in interrupt postinstall too (Matt R)
> > - Keep a no-frills swappable copy of the default context state (Chris)
> >
> > - Add atomic helpers for bandwidth (Stanislav)
> > - Refactor setting dma info to a common helper from device info (Michael)
> > - Refactor DDI transcoder code for clairty (Ville)
> > - Extend PG3 power well ID to ICL (Anshuman)
> > - Refactor PFIT code for readability and future extensibility (Ville)
> > - Clarify code split between intel_ddi.c and intel_dp.c (Ville)
> > - Move out code to return the digital_port of the aux ch (Jose)
> > - Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
> > - Remove superfluous inlines and dead code (Jani)
> > - Re-disable -Wframe-address from top-level Makefile (Nick)
> > - Static checker and spelling fixes (Colin, Nathan)
> > - Split long lines (Ville)
> >
> > ----------------------------------------------------------------
> > Anshuman Gupta (5):
> >       drm/i915: Power well id for ICL PG3
> >       drm/i915: Add i915_lpsp_capability debugfs
> >       drm/i915: Add connector dbgfs for all connectors
> >       drm/i915: Add i915_lpsp_status debugfs attribute
> >       drm/i915: Add ICL PG3 PW ID for EHL
> >
> > Chris Wilson (46):
> >       drm/i915/gt: Scrub execlists state on resume
> >       drm/i915/selftests: Delay spinner before waiting for an interrupt
> >       drm/i915/selftests: Take the engine wakeref around __rps_up_interrupt
> >       drm/i915/selftests: Move gpu energy measurement into its own little lib
> >       drm/i915/selftests: Check power consumption at min/max frequencies
> >       drm/i915/gem: Remove object_is_locked assertion from unpin_from_display_plane
> >       drm/i915/gt: Move the late flush_submission in retire to the end
> >       drm/i915/selftests: Verify frequency scaling with RPS
> >       drm/i915/selftests: Skip energy consumption tests if not controlling freq
> >       drm/i915/selftests: Check RPS controls
> >       drm/i915/selftests: Split RPS frequency measurement
> >       drm/i915/selftests: Show the pcode frequency table on error
> >       drm/i915/selftests: Exercise dynamic reclocking with RPS
> >       drm/i915/selftests: Show the pstate limits on any failure to reset min
> >       drm/i915/selftests: Show the full scaling curve on failure
> >       drm/i915/selftests: Disable C-states when measuring RPS frequency response
> >       drm/i915/gt: Poison residual state [HWSP] across resume.
> >       drm/i915/selftests: Unroll the CS frequency loop
> >       drm/i915/selftests: Disable heartbeat around RPS interrupt testing
> >       drm/i915/selftests: Try to detect rollback during batchbuffer preemption
> >       drm/i915/gem: Hold obj->vma.lock over for_each_ggtt_vma()
> >       drm/i915/execlists: Drop request-before-CS assertion
> >       drm/i915/gt: Carefully order virtual_submission_tasklet
> >       drm/i915/gt: Check carefully for an idle engine in wait-for-idle
> >       drm/i915/selftests: Add request throughput measurement to perf
> >       drm/i915: Only close vma we open
> >       drm/i915/gt: Prefer soft-rc6 over RPS DOWN_TIMEOUT
> >       drm/i915/gt: Trace RPS events
> >       drm/i915/gt: Use the RPM config register to determine clk frequencies
> >       drm/i915: Drop rq->ring->vma peeking from error capture
> >       drm/i915/execlists: Check preempt-timeout target before submit_ports
> >       drm/i915/gt: Check cacheline is valid before acquiring
> >       drm/i915/gt: Sanitize GT first
> >       drm/i915/gt: Fix up clock frequency
> >       drm/i915/selftests: Tweak the tolerance for clock ticks to 12.5%
> >       drm/i915/execlists: Avoid reusing the same logical CCID
> >       drm/i915/execlists: Track inflight CCID
> >       drm/i915/execlists: Verify we don't submit two identical CCIDs
> >       drm/i915: Avoid dereferencing a dead context
> >       drm/i915/gt: Keep a no-frills swappable copy of the default context state
> >       drm/i915/gt: Always enable busy-stats for execlists
> >       drm/i915/gt: Move rps.enabled/active to flags
> >       drm/i915/gt: Track use of RPS interrupts in flags
> >       drm/i915/gt: Switch to manual evaluation of RPS
> >       drm/i915/gt: Apply the aggressive downclocking to parking
> >       drm/i915/gt: Restore aggressive post-boost downclocking
> >
> > Christoph Hellwig (1):
> >       i915/gvt: remove unused xen bits
> >
> > Colin Ian King (2):
> >       drm/i915: remove redundant assignment to variable test_result
> >       drm/i915/gt: fix spelling mistake "evalution" -> "evaluation"
> >
> > Dan Carpenter (1):
> >       drm/i915/selftests: fix error handling in __live_lrc_indirect_ctx_bb()
> >
> > Imre Deak (1):
> >       drm/i915/icl: Fix timeout handling during TypeC AUX power well enabling
> >
> > Jani Nikula (5):
> >       drm/i915: fix Sphinx build duplicate label warning
> >       drm/i915/audio: error log non-zero audio power refcount after unbind
> >       drm/i915/hdmi: remove unused intel_hdmi_hdcp2_protocol()
> >       drm/i915: drop a bunch of superfluous inlines
> >       drm/i915/audio: fix compressed_bpp check
> >
> > Joonas Lahtinen (2):
> >       Merge tag 'gvt-next-2020-04-22' of https://github.com/intel/gvt-linux into drm-intel-next-queued
> >       drm/i915: Update DRIVER_DATE to 20200430
> >
> > José Roberto de Souza (10):
> >       drm/i915: Add missing deinitialization cases of load failure
> >       drm/i915/display: Move out code to return the digital_port of the aux ch
> >       drm/i915/display: Add intel_legacy_aux_to_power_domain()
> >       drm/i915/display: Split hsw_power_well_enable() into two
> >       drm/i915/tc/icl: Implement TC cold sequences
> >       drm/i915/tc: Skip ref held check for TC legacy aux power wells
> >       drm/i915/tc/tgl: Implement TC cold sequences
> >       drm/i915/tc: Catch TC users accessing FIA registers without enable aux
> >       drm/i915/tc: Do not warn when aux power well of static TC ports timeout
> >       drm/i915/display: Load DP_TP_CTL/STATUS offset before use it
> >
> > Lyude Paul (1):
> >       drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam
> >
> > Matt Atwood (1):
> >       drm/i915/tgl: Wa_14011059788
> >
> > Matt Roper (2):
> >       drm/i915: Use single set of AUX powerwell ops for gen11+
> >       drm/i915: Use proper fault mask in interrupt postinstall too
> >
> > Michael J. Ruhl (1):
> >       drm/i915: Refactor setting dma info to a common helper
> >
> > Mika Kuoppala (6):
> >       drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed
> >       drm/i915: Make define for lrc state offset
> >       drm/i915: Add engine scratch register to live_lrc_fixed
> >       drm/i915: Add per ctx batchbuffer wa for timestamp
> >       drm/i915: Add live selftests for indirect ctx batchbuffers
> >       drm/i915: Use indirect ctx bb to mend CMD_BUF_CCTL
> >
> > Nathan Chancellor (1):
> >       drm/i915/gt: Avoid uninitialized use of rpcurupei in frequency_show
> >
> > Nick Desaulniers (1):
> >       drm/i915: re-disable -Wframe-address
> >
> > Pankaj Bharadiya (9):
> >       drm/i915/display/icl_dsi: Prefer drm_WARN_ON over WARN_ON
> >       drm/i915/display/atomic_plane: Prefer drm_WARN_ON over WARN_ON
> >       drm/i915/display/ddi: Prefer drm_WARN* over WARN*
> >       drm/i915/display/display: Prefer drm_WARN_ON over WARN_ON
> >       drm/i915/display/dpll_mgr: Prefer drm_WARN_ON over WARN_ON
> >       drm/i915/display/frontbuffer: Prefer drm_WARN_ON over WARN_ON
> >       drm/i915/display/global_state: Prefer drm_WARN* over WARN*
> >       drm/i915/display/overlay: Prefer drm_WARN_ON over WARN_ON
> >       drm/i915/display/vlv_dsi: Prefer drm_WARN_ON over WARN_ON
> >
> > Peter Jones (1):
> >       Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()
> >
> > Radhakrishna Sripada (1):
> >       drm/i915/icl: Update forcewake firmware ranges
> >
> > Stanislav Lisovskiy (3):
> >       drm/i915: Add intel_atomic_get_bw_*_state helpers
> >       drm/i915: Prepare to extract gen specific functions from intel_can_enable_sagv
> >       drm/i915: Add pre/post plane updates for SAGV
> >
> > Uma Shankar (1):
> >       drm/i915/display: Enable DP Display Audio WA
> >
> > Ville Syrjälä (16):
> >       drm/i915: Pass encoder to intel_ddi_enable_pipe_clock()
> >       drm/i915: Move the TRANS_DDI_FUNC_CTL enable to a later point
> >       drm/i915: Push TRANS_DDI_FUNC_CTL into the encoder->enable() hook
> >       drm/i915: Pass encoder all the way to intel_ddi_transcoder_func_reg_val_get()
> >       drm/i915: Flatten intel_dp_check_mst_status() a bit
> >       drm/i915: Push MST link retraining to the hotplug work
> >       drm/i915: Fix skl+ non-scaled pfit modes
> >       drm/i915: Flatten a bunch of the pfit functions
> >       drm/i915: Use drm_rect to store the pfit window pos/size
> >       drm/i915: s/pipe_config/crtc_state/ in pfit functions
> >       drm/i915: Pass connector state to pfit calculations
> >       drm/i915: Have pfit calculations return an error code
> >       drm/i915: Introduce .set_link_train() vfunc
> >       drm/i915: Introduce .set_signal_levels() vfunc
> >       drm/i915: Introduce .set_idle_link_train() vfunc
> >       drm/i915: Split some long lines
> >
> > Xiyu Yang (1):
> >       drm/i915/selftests: Fix i915_address_space refcnt leak
> >
> > Yan Zhao (3):
> >       drm/i915/gvt: access shadow ctx via its virtual address directly
> >       drm/i915/gvt: combine access to consecutive guest context pages
> >       drm/i915/gvt: skip populate shadow context if guest context not changed
> >
> > Zbigniew Kempczy\u0144ski (1):
> >       drm/i915/selftests: Add tiled blits selftest
> >
> >  drivers/char/agp/intel-gtt.c                       |   17 +-
> >  drivers/gpu/drm/i915/Makefile                      |    6 +-
> >  drivers/gpu/drm/i915/display/icl_dsi.c             |   21 +-
> >  drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    4 +-
> >  drivers/gpu/drm/i915/display/intel_audio.c         |  145 +++
> >  drivers/gpu/drm/i915/display/intel_bw.c            |   24 +-
> >  drivers/gpu/drm/i915/display/intel_bw.h            |    9 +
> >  drivers/gpu/drm/i915/display/intel_connector.c     |    3 +
> >  drivers/gpu/drm/i915/display/intel_crt.c           |    4 +-
> >  drivers/gpu/drm/i915/display/intel_ddi.c           |  244 +++--
> >  drivers/gpu/drm/i915/display/intel_ddi.h           |    6 +-
> >  drivers/gpu/drm/i915/display/intel_display.c       |  374 ++++---
> >  drivers/gpu/drm/i915/display/intel_display.h       |    3 +-
> >  .../gpu/drm/i915/display/intel_display_debugfs.c   |  100 ++
> >  drivers/gpu/drm/i915/display/intel_display_power.c |  534 ++++-----
> >  drivers/gpu/drm/i915/display/intel_display_power.h |    5 +-
> >  drivers/gpu/drm/i915/display/intel_display_types.h |    6 +-
> >  drivers/gpu/drm/i915/display/intel_dp.c            |  608 ++++++-----
> >  .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |    1 +
> >  drivers/gpu/drm/i915/display/intel_dp_mst.c        |    4 +-
> >  drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |    8 +-
> >  drivers/gpu/drm/i915/display/intel_dsb.c           |    6 +-
> >  drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    2 +-
> >  drivers/gpu/drm/i915/display/intel_fbc.c           |    5 +-
> >  drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    6 +-
> >  drivers/gpu/drm/i915/display/intel_global_state.c  |    4 +-
> >  drivers/gpu/drm/i915/display/intel_gmbus.c         |    3 +-
> >  drivers/gpu/drm/i915/display/intel_hdcp.c          |   23 +-
> >  drivers/gpu/drm/i915/display/intel_hdmi.c          |   56 +-
> >  drivers/gpu/drm/i915/display/intel_lvds.c          |   16 +-
> >  drivers/gpu/drm/i915/display/intel_overlay.c       |    6 +-
> >  drivers/gpu/drm/i915/display/intel_panel.c         |  140 +--
> >  drivers/gpu/drm/i915/display/intel_panel.h         |   10 +-
> >  drivers/gpu/drm/i915/display/intel_tc.c            |   95 +-
> >  drivers/gpu/drm/i915/display/vlv_dsi.c             |   11 +-
> >  drivers/gpu/drm/i915/gem/i915_gem_context.c        |    4 +-
> >  drivers/gpu/drm/i915/gem/i915_gem_domain.c         |    7 +-
> >  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    2 +-
> >  drivers/gpu/drm/i915/gem/i915_gem_object.c         |    4 +-
> >  drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   20 +-
> >  drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   95 +-
> >  .../drm/i915/gem/selftests/i915_gem_client_blt.c   |  595 ++++++++++
> >  .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |    1 -
> >  drivers/gpu/drm/i915/gt/debugfs_gt_pm.c            |   64 +-
> >  drivers/gpu/drm/i915/gt/intel_context_sseu.c       |    3 +-
> >  drivers/gpu/drm/i915/gt/intel_context_types.h      |   10 +-
> >  drivers/gpu/drm/i915/gt/intel_engine.h             |    3 -
> >  drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   82 +-
> >  drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   10 +-
> >  drivers/gpu/drm/i915/gt/intel_engine_types.h       |   41 +-
> >  drivers/gpu/drm/i915/gt/intel_ggtt.c               |   15 -
> >  drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |    3 +-
> >  drivers/gpu/drm/i915/gt/intel_gt.c                 |   63 +-
> >  drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c     |  102 ++
> >  drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h     |   27 +
> >  drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   10 +-
> >  drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   20 +-
> >  drivers/gpu/drm/i915/gt/intel_gt_types.h           |    9 +-
> >  drivers/gpu/drm/i915/gt/intel_lrc.c                |  703 ++++++++----
> >  drivers/gpu/drm/i915/gt/intel_lrc.h                |    1 +
> >  drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |    6 +-
> >  drivers/gpu/drm/i915/gt/intel_renderstate.c        |    4 +-
> >  drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   16 +-
> >  drivers/gpu/drm/i915/gt/intel_rps.c                |  350 ++++--
> >  drivers/gpu/drm/i915/gt/intel_rps.h                |   60 ++
> >  drivers/gpu/drm/i915/gt/intel_rps_types.h          |   14 +-
> >  drivers/gpu/drm/i915/gt/intel_timeline.c           |   19 +-
> >  drivers/gpu/drm/i915/gt/intel_timeline.h           |    2 +
> >  drivers/gpu/drm/i915/gt/selftest_context.c         |    2 +-
> >  drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |    6 +
> >  drivers/gpu/drm/i915/gt/selftest_lrc.c             |  534 ++++++++-
> >  drivers/gpu/drm/i915/gt/selftest_rc6.c             |   25 +-
> >  drivers/gpu/drm/i915/gt/selftest_rps.c             | 1134 +++++++++++++++++++-
> >  drivers/gpu/drm/i915/gt/selftest_rps.h             |    6 +
> >  drivers/gpu/drm/i915/gt/shmem_utils.c              |  173 +++
> >  drivers/gpu/drm/i915/gt/shmem_utils.h              |   23 +
> >  drivers/gpu/drm/i915/gt/st_shmem_utils.c           |   63 ++
> >  drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    2 +-
> >  drivers/gpu/drm/i915/gvt/gtt.c                     |   15 +
> >  drivers/gpu/drm/i915/gvt/gvt.c                     |    1 -
> >  drivers/gpu/drm/i915/gvt/gvt.h                     |    5 +
> >  drivers/gpu/drm/i915/gvt/hypercall.h               |    2 -
> >  drivers/gpu/drm/i915/gvt/scheduler.c               |  136 ++-
> >  drivers/gpu/drm/i915/i915_debugfs.c                |   39 +-
> >  drivers/gpu/drm/i915/i915_drv.c                    |  119 +-
> >  drivers/gpu/drm/i915/i915_drv.h                    |    4 +-
> >  drivers/gpu/drm/i915/i915_gpu_error.c              |   43 +-
> >  drivers/gpu/drm/i915/i915_gpu_error.h              |    1 -
> >  drivers/gpu/drm/i915/i915_irq.c                    |    6 +-
> >  drivers/gpu/drm/i915/i915_pci.c                    |   14 +
> >  drivers/gpu/drm/i915/i915_perf.c                   |    8 +-
> >  drivers/gpu/drm/i915/i915_pmu.c                    |   32 +-
> >  drivers/gpu/drm/i915/i915_reg.h                    |   54 +-
> >  drivers/gpu/drm/i915/i915_vma.c                    |   38 +-
> >  drivers/gpu/drm/i915/intel_device_info.c           |    1 +
> >  drivers/gpu/drm/i915/intel_device_info.h           |    2 +
> >  drivers/gpu/drm/i915/intel_pm.c                    |   88 +-
> >  drivers/gpu/drm/i915/intel_pm.h                    |    2 +
> >  drivers/gpu/drm/i915/intel_sideband.c              |    4 +-
> >  drivers/gpu/drm/i915/intel_uncore.c                |   31 +-
> >  drivers/gpu/drm/i915/intel_wopcm.c                 |   22 +-
> >  drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   32 +-
> >  .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    1 +
> >  .../gpu/drm/i915/selftests/i915_perf_selftests.h   |    1 +
> >  drivers/gpu/drm/i915/selftests/i915_request.c      |  572 +++++++++-
> >  drivers/gpu/drm/i915/selftests/i915_vma.c          |    2 +-
> >  drivers/gpu/drm/i915/selftests/librapl.c           |   24 +
> >  drivers/gpu/drm/i915/selftests/librapl.h           |   13 +
> >  108 files changed, 6193 insertions(+), 1961 deletions(-)
> >  create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c
> >  create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h
> >  create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.c
> >  create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.h
> >  create mode 100644 drivers/gpu/drm/i915/gt/st_shmem_utils.c
> >  create mode 100644 drivers/gpu/drm/i915/selftests/librapl.c
> >  create mode 100644 drivers/gpu/drm/i915/selftests/librapl.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2020-04-30 12:49 Joonas Lahtinen
@ 2020-05-13 17:10 ` Joonas Lahtinen
  2020-05-14  1:28   ` Dave Airlie
  0 siblings, 1 reply; 252+ messages in thread
From: Joonas Lahtinen @ 2020-05-13 17:10 UTC (permalink / raw)
  To: Daniel Vetter, Dave Airlie
  Cc: dim-tools, intel-gfx, dri-devel, Rodrigo Vivi, Sean Paul

Ping for merging this? If there are no issues, I'd prefer to pull in
next gvt-next and tag the final pull sooner than later.

Regards, Joonas

Quoting Joonas Lahtinen (2020-04-30 15:49:04)
> Hi Dave & Daniel,
> 
> Fix for performance regression GitLab #1698: Iris Plus 655 and
> 4K screen. Missing workarounds for Tigerlake, and a fix for
> DP display audio WA. Unbreaking enable_dpcd_backlight, fixes
> to power code for Icelake+.
> 
> Improvements to the soft-RC6 code to improve power efficiency,
> a fix for the timestamp corruption on Tigerlake and plenty of
> smaller fixes for CI found corner cases.
> 
> Lots of refactoring that prep for upcoming changes, so I expect
> the next PR to be quite busy.
> 
> Includes gvt-next-2020-04-22: Removes left non-upstream xen support
> bits which will be kept out of tree instead. And several guest
> context shadow optimizations.
> 
> Regards, Joonas
> 
> PS. Noticed the ack for locking rules, thanks! Will merge it.
> 
> ***
> 
> drm-intel-next-2020-04-30:
> 
> Driver Changes:
> 
> - Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
>   Iris Plus 655 and 4K screen (Chris)
> - Add Wa_14011059788 for Tigerlake (Matt A)
> - Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
> - Use indirect ctx bb to load cmd buffer control value
>   from context image to avoid corruption (Mika)
> - Enable DP Display Audio WA (Uma, Jani)
> - Update forcewake firmware ranges for Icelake (Radhakrishna)
> - Add missing deinitialization cases of load failure for display (Jose)
> - Implement TC cold sequences for Icelake and Tigerlake (Jose)
> - Unbreak enable_dpcd_backlight modparam (Lyude)
> - Move the late flush_submission in retire to the end (Chris)
> - Demote "Reducing compressed framebufer size" message to info (Peter)
> - Push MST link retraining to the hotplug work (Ville)
> - Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
> - Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
> - Fix skl+ non-scaled pfit modes (Ville)
> - Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
> - Sanitize GT first before poisoning HWSP (Chris)
> - Fix up clock RPS frequency readout (Chris)
> - Avoid reusing the same logical CCID (Chris)
> - Avoid dereferencing a dead context (Chris)
> - Always enable busy-stats for execlists (Chris)
> - Apply the aggressive downclocking to parking (Chris)
> - Restore aggressive post-boost downclocking (Chris)
> 
> - Scrub execlists state on resume (Chris)
> - Add debugfs attributes for LPSP (Ansuman)
> - Improvements to kernel selftests (Chris, Mika)
> - Add tiled blits selftest (Zbigniew)
> - Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
> - Add pre/post plane updates for SAGV (Stanislav)
> - Add ICL PG3 PW ID for EHL (Anshuman)
> - Fix Sphinx build duplicate label warning (Jani)
> - Error log non-zero audio power refcount after unbind (Jani)
> - Remove object_is_locked assertion from unpin_from_display_plane (Chris)
> - Use single set of AUX powerwell ops for gen11+ (Matt R)
> - Prefer drm_WARN_ON over WARN_ON (Pankaj)
> - Poison residual state [HWSP] across resume (Chris, Tvrtko)
> - Convert request-before-CS assertion to debug (Chris)
> - Carefully order virtual_submission_tasklet (Chris)
> - Check carefully for an idle engine in wait-for-idle (Chris)
> - Only close vma we open (Chris)
> - Trace RPS events (Chris)
> - Use the RPM config register to determine clk frequencies (Chris)
> - Drop rq->ring->vma peeking from error capture (Chris)
> - Check preempt-timeout target before submit_ports (Chris)
> - Check HWSP cacheline is valid before acquiring (Chris)
> - Use proper fault mask in interrupt postinstall too (Matt R)
> - Keep a no-frills swappable copy of the default context state (Chris)
> 
> - Add atomic helpers for bandwidth (Stanislav)
> - Refactor setting dma info to a common helper from device info (Michael)
> - Refactor DDI transcoder code for clairty (Ville)
> - Extend PG3 power well ID to ICL (Anshuman)
> - Refactor PFIT code for readability and future extensibility (Ville)
> - Clarify code split between intel_ddi.c and intel_dp.c (Ville)
> - Move out code to return the digital_port of the aux ch (Jose)
> - Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
> - Remove superfluous inlines and dead code (Jani)
> - Re-disable -Wframe-address from top-level Makefile (Nick)
> - Static checker and spelling fixes (Colin, Nathan)
> - Split long lines (Ville)
> 
> The following changes since commit b06ef327e26367b9286a2079b31cde8d2161c0d8:
> 
>   drm/i915: Update DRIVER_DATE to 20200417 (2020-04-17 09:35:00 +0300)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-04-30
> 
> for you to fetch changes up to 230982d8d8df7f9d9aa216840ea2db1df6ad5d37:
> 
>   drm/i915: Update DRIVER_DATE to 20200430 (2020-04-30 11:13:21 +0300)
> 
> ----------------------------------------------------------------
> Driver Changes:
> 
> - Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
>   Iris Plus 655 and 4K screen (Chris)
> - Add Wa_14011059788 for Tigerlake (Matt A)
> - Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
> - Use indirect ctx bb to load cmd buffer control value
>   from context image to avoid corruption (Mika)
> - Enable DP Display Audio WA (Uma, Jani)
> - Update forcewake firmware ranges for Icelake (Radhakrishna)
> - Add missing deinitialization cases of load failure for display (Jose)
> - Implement TC cold sequences for Icelake and Tigerlake (Jose)
> - Unbreak enable_dpcd_backlight modparam (Lyude)
> - Move the late flush_submission in retire to the end (Chris)
> - Demote "Reducing compressed framebufer size" message to info (Peter)
> - Push MST link retraining to the hotplug work (Ville)
> - Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
> - Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
> - Fix skl+ non-scaled pfit modes (Ville)
> - Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
> - Sanitize GT first before poisoning HWSP (Chris)
> - Fix up clock RPS frequency readout (Chris)
> - Avoid reusing the same logical CCID (Chris)
> - Avoid dereferencing a dead context (Chris)
> - Always enable busy-stats for execlists (Chris)
> - Apply the aggressive downclocking to parking (Chris)
> - Restore aggressive post-boost downclocking (Chris)
> 
> - Scrub execlists state on resume (Chris)
> - Add debugfs attributes for LPSP (Ansuman)
> - Improvements to kernel selftests (Chris, Mika)
> - Add tiled blits selftest (Zbigniew)
> - Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
> - Add pre/post plane updates for SAGV (Stanislav)
> - Add ICL PG3 PW ID for EHL (Anshuman)
> - Fix Sphinx build duplicate label warning (Jani)
> - Error log non-zero audio power refcount after unbind (Jani)
> - Remove object_is_locked assertion from unpin_from_display_plane (Chris)
> - Use single set of AUX powerwell ops for gen11+ (Matt R)
> - Prefer drm_WARN_ON over WARN_ON (Pankaj)
> - Poison residual state [HWSP] across resume (Chris, Tvrtko)
> - Convert request-before-CS assertion to debug (Chris)
> - Carefully order virtual_submission_tasklet (Chris)
> - Check carefully for an idle engine in wait-for-idle (Chris)
> - Only close vma we open (Chris)
> - Trace RPS events (Chris)
> - Use the RPM config register to determine clk frequencies (Chris)
> - Drop rq->ring->vma peeking from error capture (Chris)
> - Check preempt-timeout target before submit_ports (Chris)
> - Check HWSP cacheline is valid before acquiring (Chris)
> - Use proper fault mask in interrupt postinstall too (Matt R)
> - Keep a no-frills swappable copy of the default context state (Chris)
> 
> - Add atomic helpers for bandwidth (Stanislav)
> - Refactor setting dma info to a common helper from device info (Michael)
> - Refactor DDI transcoder code for clairty (Ville)
> - Extend PG3 power well ID to ICL (Anshuman)
> - Refactor PFIT code for readability and future extensibility (Ville)
> - Clarify code split between intel_ddi.c and intel_dp.c (Ville)
> - Move out code to return the digital_port of the aux ch (Jose)
> - Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
> - Remove superfluous inlines and dead code (Jani)
> - Re-disable -Wframe-address from top-level Makefile (Nick)
> - Static checker and spelling fixes (Colin, Nathan)
> - Split long lines (Ville)
> 
> ----------------------------------------------------------------
> Anshuman Gupta (5):
>       drm/i915: Power well id for ICL PG3
>       drm/i915: Add i915_lpsp_capability debugfs
>       drm/i915: Add connector dbgfs for all connectors
>       drm/i915: Add i915_lpsp_status debugfs attribute
>       drm/i915: Add ICL PG3 PW ID for EHL
> 
> Chris Wilson (46):
>       drm/i915/gt: Scrub execlists state on resume
>       drm/i915/selftests: Delay spinner before waiting for an interrupt
>       drm/i915/selftests: Take the engine wakeref around __rps_up_interrupt
>       drm/i915/selftests: Move gpu energy measurement into its own little lib
>       drm/i915/selftests: Check power consumption at min/max frequencies
>       drm/i915/gem: Remove object_is_locked assertion from unpin_from_display_plane
>       drm/i915/gt: Move the late flush_submission in retire to the end
>       drm/i915/selftests: Verify frequency scaling with RPS
>       drm/i915/selftests: Skip energy consumption tests if not controlling freq
>       drm/i915/selftests: Check RPS controls
>       drm/i915/selftests: Split RPS frequency measurement
>       drm/i915/selftests: Show the pcode frequency table on error
>       drm/i915/selftests: Exercise dynamic reclocking with RPS
>       drm/i915/selftests: Show the pstate limits on any failure to reset min
>       drm/i915/selftests: Show the full scaling curve on failure
>       drm/i915/selftests: Disable C-states when measuring RPS frequency response
>       drm/i915/gt: Poison residual state [HWSP] across resume.
>       drm/i915/selftests: Unroll the CS frequency loop
>       drm/i915/selftests: Disable heartbeat around RPS interrupt testing
>       drm/i915/selftests: Try to detect rollback during batchbuffer preemption
>       drm/i915/gem: Hold obj->vma.lock over for_each_ggtt_vma()
>       drm/i915/execlists: Drop request-before-CS assertion
>       drm/i915/gt: Carefully order virtual_submission_tasklet
>       drm/i915/gt: Check carefully for an idle engine in wait-for-idle
>       drm/i915/selftests: Add request throughput measurement to perf
>       drm/i915: Only close vma we open
>       drm/i915/gt: Prefer soft-rc6 over RPS DOWN_TIMEOUT
>       drm/i915/gt: Trace RPS events
>       drm/i915/gt: Use the RPM config register to determine clk frequencies
>       drm/i915: Drop rq->ring->vma peeking from error capture
>       drm/i915/execlists: Check preempt-timeout target before submit_ports
>       drm/i915/gt: Check cacheline is valid before acquiring
>       drm/i915/gt: Sanitize GT first
>       drm/i915/gt: Fix up clock frequency
>       drm/i915/selftests: Tweak the tolerance for clock ticks to 12.5%
>       drm/i915/execlists: Avoid reusing the same logical CCID
>       drm/i915/execlists: Track inflight CCID
>       drm/i915/execlists: Verify we don't submit two identical CCIDs
>       drm/i915: Avoid dereferencing a dead context
>       drm/i915/gt: Keep a no-frills swappable copy of the default context state
>       drm/i915/gt: Always enable busy-stats for execlists
>       drm/i915/gt: Move rps.enabled/active to flags
>       drm/i915/gt: Track use of RPS interrupts in flags
>       drm/i915/gt: Switch to manual evaluation of RPS
>       drm/i915/gt: Apply the aggressive downclocking to parking
>       drm/i915/gt: Restore aggressive post-boost downclocking
> 
> Christoph Hellwig (1):
>       i915/gvt: remove unused xen bits
> 
> Colin Ian King (2):
>       drm/i915: remove redundant assignment to variable test_result
>       drm/i915/gt: fix spelling mistake "evalution" -> "evaluation"
> 
> Dan Carpenter (1):
>       drm/i915/selftests: fix error handling in __live_lrc_indirect_ctx_bb()
> 
> Imre Deak (1):
>       drm/i915/icl: Fix timeout handling during TypeC AUX power well enabling
> 
> Jani Nikula (5):
>       drm/i915: fix Sphinx build duplicate label warning
>       drm/i915/audio: error log non-zero audio power refcount after unbind
>       drm/i915/hdmi: remove unused intel_hdmi_hdcp2_protocol()
>       drm/i915: drop a bunch of superfluous inlines
>       drm/i915/audio: fix compressed_bpp check
> 
> Joonas Lahtinen (2):
>       Merge tag 'gvt-next-2020-04-22' of https://github.com/intel/gvt-linux into drm-intel-next-queued
>       drm/i915: Update DRIVER_DATE to 20200430
> 
> José Roberto de Souza (10):
>       drm/i915: Add missing deinitialization cases of load failure
>       drm/i915/display: Move out code to return the digital_port of the aux ch
>       drm/i915/display: Add intel_legacy_aux_to_power_domain()
>       drm/i915/display: Split hsw_power_well_enable() into two
>       drm/i915/tc/icl: Implement TC cold sequences
>       drm/i915/tc: Skip ref held check for TC legacy aux power wells
>       drm/i915/tc/tgl: Implement TC cold sequences
>       drm/i915/tc: Catch TC users accessing FIA registers without enable aux
>       drm/i915/tc: Do not warn when aux power well of static TC ports timeout
>       drm/i915/display: Load DP_TP_CTL/STATUS offset before use it
> 
> Lyude Paul (1):
>       drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam
> 
> Matt Atwood (1):
>       drm/i915/tgl: Wa_14011059788
> 
> Matt Roper (2):
>       drm/i915: Use single set of AUX powerwell ops for gen11+
>       drm/i915: Use proper fault mask in interrupt postinstall too
> 
> Michael J. Ruhl (1):
>       drm/i915: Refactor setting dma info to a common helper
> 
> Mika Kuoppala (6):
>       drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed
>       drm/i915: Make define for lrc state offset
>       drm/i915: Add engine scratch register to live_lrc_fixed
>       drm/i915: Add per ctx batchbuffer wa for timestamp
>       drm/i915: Add live selftests for indirect ctx batchbuffers
>       drm/i915: Use indirect ctx bb to mend CMD_BUF_CCTL
> 
> Nathan Chancellor (1):
>       drm/i915/gt: Avoid uninitialized use of rpcurupei in frequency_show
> 
> Nick Desaulniers (1):
>       drm/i915: re-disable -Wframe-address
> 
> Pankaj Bharadiya (9):
>       drm/i915/display/icl_dsi: Prefer drm_WARN_ON over WARN_ON
>       drm/i915/display/atomic_plane: Prefer drm_WARN_ON over WARN_ON
>       drm/i915/display/ddi: Prefer drm_WARN* over WARN*
>       drm/i915/display/display: Prefer drm_WARN_ON over WARN_ON
>       drm/i915/display/dpll_mgr: Prefer drm_WARN_ON over WARN_ON
>       drm/i915/display/frontbuffer: Prefer drm_WARN_ON over WARN_ON
>       drm/i915/display/global_state: Prefer drm_WARN* over WARN*
>       drm/i915/display/overlay: Prefer drm_WARN_ON over WARN_ON
>       drm/i915/display/vlv_dsi: Prefer drm_WARN_ON over WARN_ON
> 
> Peter Jones (1):
>       Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()
> 
> Radhakrishna Sripada (1):
>       drm/i915/icl: Update forcewake firmware ranges
> 
> Stanislav Lisovskiy (3):
>       drm/i915: Add intel_atomic_get_bw_*_state helpers
>       drm/i915: Prepare to extract gen specific functions from intel_can_enable_sagv
>       drm/i915: Add pre/post plane updates for SAGV
> 
> Uma Shankar (1):
>       drm/i915/display: Enable DP Display Audio WA
> 
> Ville Syrjälä (16):
>       drm/i915: Pass encoder to intel_ddi_enable_pipe_clock()
>       drm/i915: Move the TRANS_DDI_FUNC_CTL enable to a later point
>       drm/i915: Push TRANS_DDI_FUNC_CTL into the encoder->enable() hook
>       drm/i915: Pass encoder all the way to intel_ddi_transcoder_func_reg_val_get()
>       drm/i915: Flatten intel_dp_check_mst_status() a bit
>       drm/i915: Push MST link retraining to the hotplug work
>       drm/i915: Fix skl+ non-scaled pfit modes
>       drm/i915: Flatten a bunch of the pfit functions
>       drm/i915: Use drm_rect to store the pfit window pos/size
>       drm/i915: s/pipe_config/crtc_state/ in pfit functions
>       drm/i915: Pass connector state to pfit calculations
>       drm/i915: Have pfit calculations return an error code
>       drm/i915: Introduce .set_link_train() vfunc
>       drm/i915: Introduce .set_signal_levels() vfunc
>       drm/i915: Introduce .set_idle_link_train() vfunc
>       drm/i915: Split some long lines
> 
> Xiyu Yang (1):
>       drm/i915/selftests: Fix i915_address_space refcnt leak
> 
> Yan Zhao (3):
>       drm/i915/gvt: access shadow ctx via its virtual address directly
>       drm/i915/gvt: combine access to consecutive guest context pages
>       drm/i915/gvt: skip populate shadow context if guest context not changed
> 
> Zbigniew Kempczy\u0144ski (1):
>       drm/i915/selftests: Add tiled blits selftest
> 
>  drivers/char/agp/intel-gtt.c                       |   17 +-
>  drivers/gpu/drm/i915/Makefile                      |    6 +-
>  drivers/gpu/drm/i915/display/icl_dsi.c             |   21 +-
>  drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    4 +-
>  drivers/gpu/drm/i915/display/intel_audio.c         |  145 +++
>  drivers/gpu/drm/i915/display/intel_bw.c            |   24 +-
>  drivers/gpu/drm/i915/display/intel_bw.h            |    9 +
>  drivers/gpu/drm/i915/display/intel_connector.c     |    3 +
>  drivers/gpu/drm/i915/display/intel_crt.c           |    4 +-
>  drivers/gpu/drm/i915/display/intel_ddi.c           |  244 +++--
>  drivers/gpu/drm/i915/display/intel_ddi.h           |    6 +-
>  drivers/gpu/drm/i915/display/intel_display.c       |  374 ++++---
>  drivers/gpu/drm/i915/display/intel_display.h       |    3 +-
>  .../gpu/drm/i915/display/intel_display_debugfs.c   |  100 ++
>  drivers/gpu/drm/i915/display/intel_display_power.c |  534 ++++-----
>  drivers/gpu/drm/i915/display/intel_display_power.h |    5 +-
>  drivers/gpu/drm/i915/display/intel_display_types.h |    6 +-
>  drivers/gpu/drm/i915/display/intel_dp.c            |  608 ++++++-----
>  .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |    1 +
>  drivers/gpu/drm/i915/display/intel_dp_mst.c        |    4 +-
>  drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |    8 +-
>  drivers/gpu/drm/i915/display/intel_dsb.c           |    6 +-
>  drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    2 +-
>  drivers/gpu/drm/i915/display/intel_fbc.c           |    5 +-
>  drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    6 +-
>  drivers/gpu/drm/i915/display/intel_global_state.c  |    4 +-
>  drivers/gpu/drm/i915/display/intel_gmbus.c         |    3 +-
>  drivers/gpu/drm/i915/display/intel_hdcp.c          |   23 +-
>  drivers/gpu/drm/i915/display/intel_hdmi.c          |   56 +-
>  drivers/gpu/drm/i915/display/intel_lvds.c          |   16 +-
>  drivers/gpu/drm/i915/display/intel_overlay.c       |    6 +-
>  drivers/gpu/drm/i915/display/intel_panel.c         |  140 +--
>  drivers/gpu/drm/i915/display/intel_panel.h         |   10 +-
>  drivers/gpu/drm/i915/display/intel_tc.c            |   95 +-
>  drivers/gpu/drm/i915/display/vlv_dsi.c             |   11 +-
>  drivers/gpu/drm/i915/gem/i915_gem_context.c        |    4 +-
>  drivers/gpu/drm/i915/gem/i915_gem_domain.c         |    7 +-
>  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    2 +-
>  drivers/gpu/drm/i915/gem/i915_gem_object.c         |    4 +-
>  drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   20 +-
>  drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   95 +-
>  .../drm/i915/gem/selftests/i915_gem_client_blt.c   |  595 ++++++++++
>  .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |    1 -
>  drivers/gpu/drm/i915/gt/debugfs_gt_pm.c            |   64 +-
>  drivers/gpu/drm/i915/gt/intel_context_sseu.c       |    3 +-
>  drivers/gpu/drm/i915/gt/intel_context_types.h      |   10 +-
>  drivers/gpu/drm/i915/gt/intel_engine.h             |    3 -
>  drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   82 +-
>  drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   10 +-
>  drivers/gpu/drm/i915/gt/intel_engine_types.h       |   41 +-
>  drivers/gpu/drm/i915/gt/intel_ggtt.c               |   15 -
>  drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |    3 +-
>  drivers/gpu/drm/i915/gt/intel_gt.c                 |   63 +-
>  drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c     |  102 ++
>  drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h     |   27 +
>  drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   10 +-
>  drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   20 +-
>  drivers/gpu/drm/i915/gt/intel_gt_types.h           |    9 +-
>  drivers/gpu/drm/i915/gt/intel_lrc.c                |  703 ++++++++----
>  drivers/gpu/drm/i915/gt/intel_lrc.h                |    1 +
>  drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |    6 +-
>  drivers/gpu/drm/i915/gt/intel_renderstate.c        |    4 +-
>  drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   16 +-
>  drivers/gpu/drm/i915/gt/intel_rps.c                |  350 ++++--
>  drivers/gpu/drm/i915/gt/intel_rps.h                |   60 ++
>  drivers/gpu/drm/i915/gt/intel_rps_types.h          |   14 +-
>  drivers/gpu/drm/i915/gt/intel_timeline.c           |   19 +-
>  drivers/gpu/drm/i915/gt/intel_timeline.h           |    2 +
>  drivers/gpu/drm/i915/gt/selftest_context.c         |    2 +-
>  drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |    6 +
>  drivers/gpu/drm/i915/gt/selftest_lrc.c             |  534 ++++++++-
>  drivers/gpu/drm/i915/gt/selftest_rc6.c             |   25 +-
>  drivers/gpu/drm/i915/gt/selftest_rps.c             | 1134 +++++++++++++++++++-
>  drivers/gpu/drm/i915/gt/selftest_rps.h             |    6 +
>  drivers/gpu/drm/i915/gt/shmem_utils.c              |  173 +++
>  drivers/gpu/drm/i915/gt/shmem_utils.h              |   23 +
>  drivers/gpu/drm/i915/gt/st_shmem_utils.c           |   63 ++
>  drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    2 +-
>  drivers/gpu/drm/i915/gvt/gtt.c                     |   15 +
>  drivers/gpu/drm/i915/gvt/gvt.c                     |    1 -
>  drivers/gpu/drm/i915/gvt/gvt.h                     |    5 +
>  drivers/gpu/drm/i915/gvt/hypercall.h               |    2 -
>  drivers/gpu/drm/i915/gvt/scheduler.c               |  136 ++-
>  drivers/gpu/drm/i915/i915_debugfs.c                |   39 +-
>  drivers/gpu/drm/i915/i915_drv.c                    |  119 +-
>  drivers/gpu/drm/i915/i915_drv.h                    |    4 +-
>  drivers/gpu/drm/i915/i915_gpu_error.c              |   43 +-
>  drivers/gpu/drm/i915/i915_gpu_error.h              |    1 -
>  drivers/gpu/drm/i915/i915_irq.c                    |    6 +-
>  drivers/gpu/drm/i915/i915_pci.c                    |   14 +
>  drivers/gpu/drm/i915/i915_perf.c                   |    8 +-
>  drivers/gpu/drm/i915/i915_pmu.c                    |   32 +-
>  drivers/gpu/drm/i915/i915_reg.h                    |   54 +-
>  drivers/gpu/drm/i915/i915_vma.c                    |   38 +-
>  drivers/gpu/drm/i915/intel_device_info.c           |    1 +
>  drivers/gpu/drm/i915/intel_device_info.h           |    2 +
>  drivers/gpu/drm/i915/intel_pm.c                    |   88 +-
>  drivers/gpu/drm/i915/intel_pm.h                    |    2 +
>  drivers/gpu/drm/i915/intel_sideband.c              |    4 +-
>  drivers/gpu/drm/i915/intel_uncore.c                |   31 +-
>  drivers/gpu/drm/i915/intel_wopcm.c                 |   22 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   32 +-
>  .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    1 +
>  .../gpu/drm/i915/selftests/i915_perf_selftests.h   |    1 +
>  drivers/gpu/drm/i915/selftests/i915_request.c      |  572 +++++++++-
>  drivers/gpu/drm/i915/selftests/i915_vma.c          |    2 +-
>  drivers/gpu/drm/i915/selftests/librapl.c           |   24 +
>  drivers/gpu/drm/i915/selftests/librapl.h           |   13 +
>  108 files changed, 6193 insertions(+), 1961 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c
>  create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h
>  create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.c
>  create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.h
>  create mode 100644 drivers/gpu/drm/i915/gt/st_shmem_utils.c
>  create mode 100644 drivers/gpu/drm/i915/selftests/librapl.c
>  create mode 100644 drivers/gpu/drm/i915/selftests/librapl.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-04-30 12:49 Joonas Lahtinen
  2020-05-13 17:10 ` Joonas Lahtinen
  0 siblings, 1 reply; 252+ messages in thread
From: Joonas Lahtinen @ 2020-04-30 12:49 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave & Daniel,

Fix for performance regression GitLab #1698: Iris Plus 655 and
4K screen. Missing workarounds for Tigerlake, and a fix for
DP display audio WA. Unbreaking enable_dpcd_backlight, fixes
to power code for Icelake+.

Improvements to the soft-RC6 code to improve power efficiency,
a fix for the timestamp corruption on Tigerlake and plenty of
smaller fixes for CI found corner cases.

Lots of refactoring that prep for upcoming changes, so I expect
the next PR to be quite busy.

Includes gvt-next-2020-04-22: Removes left non-upstream xen support
bits which will be kept out of tree instead. And several guest
context shadow optimizations.

Regards, Joonas

PS. Noticed the ack for locking rules, thanks! Will merge it.

***

drm-intel-next-2020-04-30:

Driver Changes:

- Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
  Iris Plus 655 and 4K screen (Chris)
- Add Wa_14011059788 for Tigerlake (Matt A)
- Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
- Use indirect ctx bb to load cmd buffer control value
  from context image to avoid corruption (Mika)
- Enable DP Display Audio WA (Uma, Jani)
- Update forcewake firmware ranges for Icelake (Radhakrishna)
- Add missing deinitialization cases of load failure for display (Jose)
- Implement TC cold sequences for Icelake and Tigerlake (Jose)
- Unbreak enable_dpcd_backlight modparam (Lyude)
- Move the late flush_submission in retire to the end (Chris)
- Demote "Reducing compressed framebufer size" message to info (Peter)
- Push MST link retraining to the hotplug work (Ville)
- Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
- Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
- Fix skl+ non-scaled pfit modes (Ville)
- Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
- Sanitize GT first before poisoning HWSP (Chris)
- Fix up clock RPS frequency readout (Chris)
- Avoid reusing the same logical CCID (Chris)
- Avoid dereferencing a dead context (Chris)
- Always enable busy-stats for execlists (Chris)
- Apply the aggressive downclocking to parking (Chris)
- Restore aggressive post-boost downclocking (Chris)

- Scrub execlists state on resume (Chris)
- Add debugfs attributes for LPSP (Ansuman)
- Improvements to kernel selftests (Chris, Mika)
- Add tiled blits selftest (Zbigniew)
- Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
- Add pre/post plane updates for SAGV (Stanislav)
- Add ICL PG3 PW ID for EHL (Anshuman)
- Fix Sphinx build duplicate label warning (Jani)
- Error log non-zero audio power refcount after unbind (Jani)
- Remove object_is_locked assertion from unpin_from_display_plane (Chris)
- Use single set of AUX powerwell ops for gen11+ (Matt R)
- Prefer drm_WARN_ON over WARN_ON (Pankaj)
- Poison residual state [HWSP] across resume (Chris, Tvrtko)
- Convert request-before-CS assertion to debug (Chris)
- Carefully order virtual_submission_tasklet (Chris)
- Check carefully for an idle engine in wait-for-idle (Chris)
- Only close vma we open (Chris)
- Trace RPS events (Chris)
- Use the RPM config register to determine clk frequencies (Chris)
- Drop rq->ring->vma peeking from error capture (Chris)
- Check preempt-timeout target before submit_ports (Chris)
- Check HWSP cacheline is valid before acquiring (Chris)
- Use proper fault mask in interrupt postinstall too (Matt R)
- Keep a no-frills swappable copy of the default context state (Chris)

- Add atomic helpers for bandwidth (Stanislav)
- Refactor setting dma info to a common helper from device info (Michael)
- Refactor DDI transcoder code for clairty (Ville)
- Extend PG3 power well ID to ICL (Anshuman)
- Refactor PFIT code for readability and future extensibility (Ville)
- Clarify code split between intel_ddi.c and intel_dp.c (Ville)
- Move out code to return the digital_port of the aux ch (Jose)
- Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
- Remove superfluous inlines and dead code (Jani)
- Re-disable -Wframe-address from top-level Makefile (Nick)
- Static checker and spelling fixes (Colin, Nathan)
- Split long lines (Ville)

The following changes since commit b06ef327e26367b9286a2079b31cde8d2161c0d8:

  drm/i915: Update DRIVER_DATE to 20200417 (2020-04-17 09:35:00 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-04-30

for you to fetch changes up to 230982d8d8df7f9d9aa216840ea2db1df6ad5d37:

  drm/i915: Update DRIVER_DATE to 20200430 (2020-04-30 11:13:21 +0300)

----------------------------------------------------------------
Driver Changes:

- Fix GitLab #1698: Performance regression with Linux 5.7-rc1 on
  Iris Plus 655 and 4K screen (Chris)
- Add Wa_14011059788 for Tigerlake (Matt A)
- Add per ctx batchbuffer wa for timestamp for Gen12 (Mika)
- Use indirect ctx bb to load cmd buffer control value
  from context image to avoid corruption (Mika)
- Enable DP Display Audio WA (Uma, Jani)
- Update forcewake firmware ranges for Icelake (Radhakrishna)
- Add missing deinitialization cases of load failure for display (Jose)
- Implement TC cold sequences for Icelake and Tigerlake (Jose)
- Unbreak enable_dpcd_backlight modparam (Lyude)
- Move the late flush_submission in retire to the end (Chris)
- Demote "Reducing compressed framebufer size" message to info (Peter)
- Push MST link retraining to the hotplug work (Ville)
- Hold obj->vma.lock over for_each_ggtt_vma() (Chris)
- Fix timeout handling during TypeC AUX power well enabling for ICL (Imre)
- Fix skl+ non-scaled pfit modes (Ville)
- Prefer soft-rc6 over RPS DOWN_TIMEOUT (Chris)
- Sanitize GT first before poisoning HWSP (Chris)
- Fix up clock RPS frequency readout (Chris)
- Avoid reusing the same logical CCID (Chris)
- Avoid dereferencing a dead context (Chris)
- Always enable busy-stats for execlists (Chris)
- Apply the aggressive downclocking to parking (Chris)
- Restore aggressive post-boost downclocking (Chris)

- Scrub execlists state on resume (Chris)
- Add debugfs attributes for LPSP (Ansuman)
- Improvements to kernel selftests (Chris, Mika)
- Add tiled blits selftest (Zbigniew)
- Fix error handling in __live_lrc_indirect_ctx_bb() (Dan)
- Add pre/post plane updates for SAGV (Stanislav)
- Add ICL PG3 PW ID for EHL (Anshuman)
- Fix Sphinx build duplicate label warning (Jani)
- Error log non-zero audio power refcount after unbind (Jani)
- Remove object_is_locked assertion from unpin_from_display_plane (Chris)
- Use single set of AUX powerwell ops for gen11+ (Matt R)
- Prefer drm_WARN_ON over WARN_ON (Pankaj)
- Poison residual state [HWSP] across resume (Chris, Tvrtko)
- Convert request-before-CS assertion to debug (Chris)
- Carefully order virtual_submission_tasklet (Chris)
- Check carefully for an idle engine in wait-for-idle (Chris)
- Only close vma we open (Chris)
- Trace RPS events (Chris)
- Use the RPM config register to determine clk frequencies (Chris)
- Drop rq->ring->vma peeking from error capture (Chris)
- Check preempt-timeout target before submit_ports (Chris)
- Check HWSP cacheline is valid before acquiring (Chris)
- Use proper fault mask in interrupt postinstall too (Matt R)
- Keep a no-frills swappable copy of the default context state (Chris)

- Add atomic helpers for bandwidth (Stanislav)
- Refactor setting dma info to a common helper from device info (Michael)
- Refactor DDI transcoder code for clairty (Ville)
- Extend PG3 power well ID to ICL (Anshuman)
- Refactor PFIT code for readability and future extensibility (Ville)
- Clarify code split between intel_ddi.c and intel_dp.c (Ville)
- Move out code to return the digital_port of the aux ch (Jose)
- Move rps.enabled/active  and use of RPS interrupts to flags (Chris)
- Remove superfluous inlines and dead code (Jani)
- Re-disable -Wframe-address from top-level Makefile (Nick)
- Static checker and spelling fixes (Colin, Nathan)
- Split long lines (Ville)

----------------------------------------------------------------
Anshuman Gupta (5):
      drm/i915: Power well id for ICL PG3
      drm/i915: Add i915_lpsp_capability debugfs
      drm/i915: Add connector dbgfs for all connectors
      drm/i915: Add i915_lpsp_status debugfs attribute
      drm/i915: Add ICL PG3 PW ID for EHL

Chris Wilson (46):
      drm/i915/gt: Scrub execlists state on resume
      drm/i915/selftests: Delay spinner before waiting for an interrupt
      drm/i915/selftests: Take the engine wakeref around __rps_up_interrupt
      drm/i915/selftests: Move gpu energy measurement into its own little lib
      drm/i915/selftests: Check power consumption at min/max frequencies
      drm/i915/gem: Remove object_is_locked assertion from unpin_from_display_plane
      drm/i915/gt: Move the late flush_submission in retire to the end
      drm/i915/selftests: Verify frequency scaling with RPS
      drm/i915/selftests: Skip energy consumption tests if not controlling freq
      drm/i915/selftests: Check RPS controls
      drm/i915/selftests: Split RPS frequency measurement
      drm/i915/selftests: Show the pcode frequency table on error
      drm/i915/selftests: Exercise dynamic reclocking with RPS
      drm/i915/selftests: Show the pstate limits on any failure to reset min
      drm/i915/selftests: Show the full scaling curve on failure
      drm/i915/selftests: Disable C-states when measuring RPS frequency response
      drm/i915/gt: Poison residual state [HWSP] across resume.
      drm/i915/selftests: Unroll the CS frequency loop
      drm/i915/selftests: Disable heartbeat around RPS interrupt testing
      drm/i915/selftests: Try to detect rollback during batchbuffer preemption
      drm/i915/gem: Hold obj->vma.lock over for_each_ggtt_vma()
      drm/i915/execlists: Drop request-before-CS assertion
      drm/i915/gt: Carefully order virtual_submission_tasklet
      drm/i915/gt: Check carefully for an idle engine in wait-for-idle
      drm/i915/selftests: Add request throughput measurement to perf
      drm/i915: Only close vma we open
      drm/i915/gt: Prefer soft-rc6 over RPS DOWN_TIMEOUT
      drm/i915/gt: Trace RPS events
      drm/i915/gt: Use the RPM config register to determine clk frequencies
      drm/i915: Drop rq->ring->vma peeking from error capture
      drm/i915/execlists: Check preempt-timeout target before submit_ports
      drm/i915/gt: Check cacheline is valid before acquiring
      drm/i915/gt: Sanitize GT first
      drm/i915/gt: Fix up clock frequency
      drm/i915/selftests: Tweak the tolerance for clock ticks to 12.5%
      drm/i915/execlists: Avoid reusing the same logical CCID
      drm/i915/execlists: Track inflight CCID
      drm/i915/execlists: Verify we don't submit two identical CCIDs
      drm/i915: Avoid dereferencing a dead context
      drm/i915/gt: Keep a no-frills swappable copy of the default context state
      drm/i915/gt: Always enable busy-stats for execlists
      drm/i915/gt: Move rps.enabled/active to flags
      drm/i915/gt: Track use of RPS interrupts in flags
      drm/i915/gt: Switch to manual evaluation of RPS
      drm/i915/gt: Apply the aggressive downclocking to parking
      drm/i915/gt: Restore aggressive post-boost downclocking

Christoph Hellwig (1):
      i915/gvt: remove unused xen bits

Colin Ian King (2):
      drm/i915: remove redundant assignment to variable test_result
      drm/i915/gt: fix spelling mistake "evalution" -> "evaluation"

Dan Carpenter (1):
      drm/i915/selftests: fix error handling in __live_lrc_indirect_ctx_bb()

Imre Deak (1):
      drm/i915/icl: Fix timeout handling during TypeC AUX power well enabling

Jani Nikula (5):
      drm/i915: fix Sphinx build duplicate label warning
      drm/i915/audio: error log non-zero audio power refcount after unbind
      drm/i915/hdmi: remove unused intel_hdmi_hdcp2_protocol()
      drm/i915: drop a bunch of superfluous inlines
      drm/i915/audio: fix compressed_bpp check

Joonas Lahtinen (2):
      Merge tag 'gvt-next-2020-04-22' of https://github.com/intel/gvt-linux into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20200430

José Roberto de Souza (10):
      drm/i915: Add missing deinitialization cases of load failure
      drm/i915/display: Move out code to return the digital_port of the aux ch
      drm/i915/display: Add intel_legacy_aux_to_power_domain()
      drm/i915/display: Split hsw_power_well_enable() into two
      drm/i915/tc/icl: Implement TC cold sequences
      drm/i915/tc: Skip ref held check for TC legacy aux power wells
      drm/i915/tc/tgl: Implement TC cold sequences
      drm/i915/tc: Catch TC users accessing FIA registers without enable aux
      drm/i915/tc: Do not warn when aux power well of static TC ports timeout
      drm/i915/display: Load DP_TP_CTL/STATUS offset before use it

Lyude Paul (1):
      drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam

Matt Atwood (1):
      drm/i915/tgl: Wa_14011059788

Matt Roper (2):
      drm/i915: Use single set of AUX powerwell ops for gen11+
      drm/i915: Use proper fault mask in interrupt postinstall too

Michael J. Ruhl (1):
      drm/i915: Refactor setting dma info to a common helper

Mika Kuoppala (6):
      drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed
      drm/i915: Make define for lrc state offset
      drm/i915: Add engine scratch register to live_lrc_fixed
      drm/i915: Add per ctx batchbuffer wa for timestamp
      drm/i915: Add live selftests for indirect ctx batchbuffers
      drm/i915: Use indirect ctx bb to mend CMD_BUF_CCTL

Nathan Chancellor (1):
      drm/i915/gt: Avoid uninitialized use of rpcurupei in frequency_show

Nick Desaulniers (1):
      drm/i915: re-disable -Wframe-address

Pankaj Bharadiya (9):
      drm/i915/display/icl_dsi: Prefer drm_WARN_ON over WARN_ON
      drm/i915/display/atomic_plane: Prefer drm_WARN_ON over WARN_ON
      drm/i915/display/ddi: Prefer drm_WARN* over WARN*
      drm/i915/display/display: Prefer drm_WARN_ON over WARN_ON
      drm/i915/display/dpll_mgr: Prefer drm_WARN_ON over WARN_ON
      drm/i915/display/frontbuffer: Prefer drm_WARN_ON over WARN_ON
      drm/i915/display/global_state: Prefer drm_WARN* over WARN*
      drm/i915/display/overlay: Prefer drm_WARN_ON over WARN_ON
      drm/i915/display/vlv_dsi: Prefer drm_WARN_ON over WARN_ON

Peter Jones (1):
      Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()

Radhakrishna Sripada (1):
      drm/i915/icl: Update forcewake firmware ranges

Stanislav Lisovskiy (3):
      drm/i915: Add intel_atomic_get_bw_*_state helpers
      drm/i915: Prepare to extract gen specific functions from intel_can_enable_sagv
      drm/i915: Add pre/post plane updates for SAGV

Uma Shankar (1):
      drm/i915/display: Enable DP Display Audio WA

Ville Syrjälä (16):
      drm/i915: Pass encoder to intel_ddi_enable_pipe_clock()
      drm/i915: Move the TRANS_DDI_FUNC_CTL enable to a later point
      drm/i915: Push TRANS_DDI_FUNC_CTL into the encoder->enable() hook
      drm/i915: Pass encoder all the way to intel_ddi_transcoder_func_reg_val_get()
      drm/i915: Flatten intel_dp_check_mst_status() a bit
      drm/i915: Push MST link retraining to the hotplug work
      drm/i915: Fix skl+ non-scaled pfit modes
      drm/i915: Flatten a bunch of the pfit functions
      drm/i915: Use drm_rect to store the pfit window pos/size
      drm/i915: s/pipe_config/crtc_state/ in pfit functions
      drm/i915: Pass connector state to pfit calculations
      drm/i915: Have pfit calculations return an error code
      drm/i915: Introduce .set_link_train() vfunc
      drm/i915: Introduce .set_signal_levels() vfunc
      drm/i915: Introduce .set_idle_link_train() vfunc
      drm/i915: Split some long lines

Xiyu Yang (1):
      drm/i915/selftests: Fix i915_address_space refcnt leak

Yan Zhao (3):
      drm/i915/gvt: access shadow ctx via its virtual address directly
      drm/i915/gvt: combine access to consecutive guest context pages
      drm/i915/gvt: skip populate shadow context if guest context not changed

Zbigniew Kempczyński (1):
      drm/i915/selftests: Add tiled blits selftest

 drivers/char/agp/intel-gtt.c                       |   17 +-
 drivers/gpu/drm/i915/Makefile                      |    6 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   21 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    4 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |  145 +++
 drivers/gpu/drm/i915/display/intel_bw.c            |   24 +-
 drivers/gpu/drm/i915/display/intel_bw.h            |    9 +
 drivers/gpu/drm/i915/display/intel_connector.c     |    3 +
 drivers/gpu/drm/i915/display/intel_crt.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  244 +++--
 drivers/gpu/drm/i915/display/intel_ddi.h           |    6 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  374 ++++---
 drivers/gpu/drm/i915/display/intel_display.h       |    3 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  100 ++
 drivers/gpu/drm/i915/display/intel_display_power.c |  534 ++++-----
 drivers/gpu/drm/i915/display/intel_display_power.h |    5 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |    6 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  608 ++++++-----
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |    1 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |    4 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |    8 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           |    6 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    2 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |    5 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |    6 +-
 drivers/gpu/drm/i915/display/intel_global_state.c  |    4 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         |    3 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   23 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   56 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |   16 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |    6 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  140 +--
 drivers/gpu/drm/i915/display/intel_panel.h         |   10 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |   95 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   11 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_domain.c         |    7 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   20 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   95 +-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |  595 ++++++++++
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |    1 -
 drivers/gpu/drm/i915/gt/debugfs_gt_pm.c            |   64 +-
 drivers/gpu/drm/i915/gt/intel_context_sseu.c       |    3 +-
 drivers/gpu/drm/i915/gt/intel_context_types.h      |   10 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |    3 -
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   82 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   10 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   41 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   15 -
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |    3 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   63 +-
 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c     |  102 ++
 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h     |   27 +
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   10 +-
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   20 +-
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |    9 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  703 ++++++++----
 drivers/gpu/drm/i915/gt/intel_lrc.h                |    1 +
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |    6 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |    4 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   16 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |  350 ++++--
 drivers/gpu/drm/i915/gt/intel_rps.h                |   60 ++
 drivers/gpu/drm/i915/gt/intel_rps_types.h          |   14 +-
 drivers/gpu/drm/i915/gt/intel_timeline.c           |   19 +-
 drivers/gpu/drm/i915/gt/intel_timeline.h           |    2 +
 drivers/gpu/drm/i915/gt/selftest_context.c         |    2 +-
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |    6 +
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  534 ++++++++-
 drivers/gpu/drm/i915/gt/selftest_rc6.c             |   25 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             | 1134 +++++++++++++++++++-
 drivers/gpu/drm/i915/gt/selftest_rps.h             |    6 +
 drivers/gpu/drm/i915/gt/shmem_utils.c              |  173 +++
 drivers/gpu/drm/i915/gt/shmem_utils.h              |   23 +
 drivers/gpu/drm/i915/gt/st_shmem_utils.c           |   63 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    2 +-
 drivers/gpu/drm/i915/gvt/gtt.c                     |   15 +
 drivers/gpu/drm/i915/gvt/gvt.c                     |    1 -
 drivers/gpu/drm/i915/gvt/gvt.h                     |    5 +
 drivers/gpu/drm/i915/gvt/hypercall.h               |    2 -
 drivers/gpu/drm/i915/gvt/scheduler.c               |  136 ++-
 drivers/gpu/drm/i915/i915_debugfs.c                |   39 +-
 drivers/gpu/drm/i915/i915_drv.c                    |  119 +-
 drivers/gpu/drm/i915/i915_drv.h                    |    4 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   43 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |    1 -
 drivers/gpu/drm/i915/i915_irq.c                    |    6 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   14 +
 drivers/gpu/drm/i915/i915_perf.c                   |    8 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   32 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   54 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   38 +-
 drivers/gpu/drm/i915/intel_device_info.c           |    1 +
 drivers/gpu/drm/i915/intel_device_info.h           |    2 +
 drivers/gpu/drm/i915/intel_pm.c                    |   88 +-
 drivers/gpu/drm/i915/intel_pm.h                    |    2 +
 drivers/gpu/drm/i915/intel_sideband.c              |    4 +-
 drivers/gpu/drm/i915/intel_uncore.c                |   31 +-
 drivers/gpu/drm/i915/intel_wopcm.c                 |   22 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   32 +-
 .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    1 +
 .../gpu/drm/i915/selftests/i915_perf_selftests.h   |    1 +
 drivers/gpu/drm/i915/selftests/i915_request.c      |  572 +++++++++-
 drivers/gpu/drm/i915/selftests/i915_vma.c          |    2 +-
 drivers/gpu/drm/i915/selftests/librapl.c           |   24 +
 drivers/gpu/drm/i915/selftests/librapl.h           |   13 +
 108 files changed, 6193 insertions(+), 1961 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.h
 create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.c
 create mode 100644 drivers/gpu/drm/i915/gt/shmem_utils.h
 create mode 100644 drivers/gpu/drm/i915/gt/st_shmem_utils.c
 create mode 100644 drivers/gpu/drm/i915/selftests/librapl.c
 create mode 100644 drivers/gpu/drm/i915/selftests/librapl.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-04-17 11:15 Joonas Lahtinen
  0 siblings, 0 replies; 252+ messages in thread
From: Joonas Lahtinen @ 2020-04-17 11:15 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave & Daniel,

This pull contains a backmerge of drm-next and pulls the phy-compliance
branch from Maarten.

On the uAPI front, drop some machine generated perf OA configs from
915 now that they mostly passed from userspace. Add new perf OA interfaces
to limit CPU overhead and to allow benchmarking full EU performance (instead
of always limiting to half EUs for media compatibility).

Missing workarounds for Elkhartlake, more Tigerlake PCI IDs, workarounds
and fixes.

Fix for 5k dual DP displays on Skylake, support for Apple 15" BMP 2017 (v3)
display. Type-C display hot plug made more resilent. YUV444 for SKL+.

Improvements to soft-RC6 mitigation, general power management and yielding
a GPU timeslice when on user semaphore.

An audio fixes for Gen9+ and one targeting JSL.

Then the usual refactorings, and fixes to CI found issues.

Regards, Joonas

***

drm-intel-next-2020-04-17:

UAPI Changes:

- drm/i915/perf: introduce global sseu pinning
  Allow userspace to request at perf/OA open full SSEU configuration
  on the system to be able to benchmark 3D workloads, at the cost of not
  being able to run media workloads. (Lionel)

  Userspace changes: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4021

- drm/i915/perf: add new open param to configure polling of OA buffer
  Let application choose how often the OA buffer should be checked on
  the CPU side for data availability for choosig between CPU overhead
  and realtime nature of data.

  Userspace changes: https://patchwork.freedesktop.org/series/74655/

  (i915 perf recorder is a tool to capture i915 perf data for viewing
  in GPUVis.)

- drm/i915/perf: remove generated code
  Removal of the machine generated perf/OA test configurations from i915.
  Used by Mesa v17.1-18.0, and shortly replaced by userspace supplied OA
  configurations. Removal of configs causes affected Mesa versions to
  fall back to earlier kernel behaviour (potentially missing metrics).
  (Lionel)

Cross-subsystem Changes:

- Backmerge of drm-next

- Includes tag 'topic/phy-compliance-2020-04-08' from
  git://anongit.freedesktop.org/drm/drm-misc

Driver Changes:

- Fix for GitLab issue #27: Support 5k tiled dual DP display on SKL (Ville)
- Fix https://github.com/thesofproject/linux/issues/1719: Broken audio after
  S3 resume on JSL platforms. (Kai)
- Add new Tigerlake PCI IDs (Swathi D.)
- Add missing Tigerlake W/As (Matt R.)
- Extended Wa_2006604312 to EHL (Matt A)
- Add DPCD link_rate quirk for Apple 15" MBP 2017 (v3) (Mario)
- Make Wa_14010229206 apply to all Tigerlake steppings (Swathi d)
- Extend hotplug detect retry on TypeC connectors to 5 seconds (Imre)
- Yield the timeslice if caught waiting on a user semaphore (Chris)
- Limit the residual W/A batch to Haswell due to instability on IVB/BYT (Chris)
- TBT AUX should use TC power well ops on Tigerlake (Matt R)
- Update PMINTRMSK holding fw to make it effective for RPS (Francisco, Chris)
- Add YUV444 packed format support for skl+ (Stanislav)
- Invalidate OA TLB when closing perf stream to avoid corruption (Umesh)
- HDCP: fix Ri prime check done during link check (Oliver)
- Rearm heartbeat on sysfs interval change (Chris)
- Fix crtc nv12 etc. plane bitmasks for DPMS off (Ville)
- Treat idling as a RPS downclock event (Chris)
- Leave rps->cur_freq on unpark (Chris)
- Ignore short pulse when EDP panel powered off (Anshuman)
- Keep the engine awake until the next jiffie, to avoid ping-pong on
  moderate load (Chris)
- Select the deepest available parking mode for rc6 on IVB (Chris)
- Optimizations to direct submission execlist path (Chris)
- Avoid NULL pointer dereference at intel_read_infoframe() (Chris)
- Fix mode private_flags comparison at atomic_check (Uma, Ville)
- Use forced codec wake on all gen9+ platforms (Kai)
- Schedule oa_config after modifying the contexts (Chris, Lionel)
- Explicitly reset both reg and context runtime on GPU reset (Chris)
- Don't enable DDI IO power on a TypeC port in TBT mode (Imre)
- Fixes to TGL, ICL and EHL vswing tables (Jose)
- Fill all the unused space in the GGTT (Chris, imre)
- Ignore readonly failures when updating relocs (Chris)
- Attempt to find free space earlier for non-pinned VMAs (Chris)
- Only wait for GPU activity before unbinding a GGTT fence (Chris)
- Avoid data loss on small userspace perf OA polling (Ashutosh)
- Watch out for unevictable nodes during eviction (Matt A)
- Reinforce the barrier after GTT updates for Ironlake (Chris)

- Convert various parts of driver to use drm_device based logging (Wambui, Jani)
- Avoid dereferencing already closed context for engine (Chris)
- Enable non-contiguous pipe fusing (Anshuman)
- Add HW readout of Gamma LUT on ICL (Swati S.)
- Use explicit flag to mark unreachable intel_context (Chris)
- Cancel a hung context if already closed (Chris)
- Add DP VSC/HDR SDP data structures and write routines (Gwan-gyeong)
- Report context-is-closed prior to pinning at execbuf (Chris)
- Mark timeline->cacheline as destroyed after rcu grace period (Chris)
- Avoid live-lock with i915_vma_parked() (Chris)
- Avoid gem_context->mutex for simple vma lookup (Chris)
- Rely on direct submission to the queue (Chris)
- Configure DSI transcoder to operate in TE GATE command mode (Vandita)
- Add DI vblank calculation for command mode (Vandita)
- Disable periodic command mode if programmed by GOP (Vandita)
- Use private flags to indicate TE in cmd mode (Vandita)
- Make fences a nice-to-have for FBC on GEN9+ (Jose)
- Fix work queuing issue with mixed virtual engine/physical engine
  submissions (Chris)
- Drop final few uses of drm_i915_private.engine (Chris)
- Return early after MISSING_CASE for write_dp_sdp (Chris)
- Include port sync state in the state dump (Ville)
- ELSP workaround switching back to a completed context (Chris)
- Include priority info in trace_ports (Chris)
- Allow for different modes of interruptible i915_active_wait (Chris)
- Split eb_vma into its own allocation (Chris)
- Don't read perf head/tail pointers outside critical section (Lionel)
- Pause CS flow before execlists reset (Chris)
- Make fence revocation unequivocal (Chris)
- Drop cached obj->bind_count (Chris)
- Peek at the next submission for error interrupts (Chris)
- Utilize rcu iteration of context engines (Chris)
- Keep a per-engine request pool for power management ops (Chris)
- Refactor port sync code into normal modeset flow (Ville)
- Check current i915_vma.pin_count status first on unbind (Chris)
- Free request pool from virtual engines (Chris)
- Flush all the reloc_gpu batch (Chris)
- Make exclusive awaits on i915_active optional and allow async waits (Chris)
- Wait until the context is finally retired before releasing engines (Chris)

- Prefer '%ps' for printing function symbol names (Chris)
- Allow setting generic data pointer on intel GT debugfs (Andi)
- Constify DP link computation code more (Ville)
- Simplify MST master transcoder computation (Ville)
- Move TRANS_DDI_FUNC_CTL2 programming where it belongs (Ville)
- Move icl_get_trans_port_sync_config() into the DDI code (Ville)
- Add definitions for VRR registers and bits (Aditya)
- Refactor hardware fence code (Chris)
- Start passing latency as parameter to WM calculation (Stanislav)
- Kernel selftest and debug tracing improvements (Matt A, Chris, Mika)
- Fixes to CI found corner cases and lockdep splats (Chris)
- Overall fixes and refactoring to GEM code (Chris)
- Overall fixes and refactoring to display code (Ville)
- GuC/HuC code improvements (Daniele, Michal Wa)
- Static code checker fixes (Nathan, Ville, Colin, Chris)
- Fix spelling mistake (Chen)
The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136:

  Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-04-17

for you to fetch changes up to b06ef327e26367b9286a2079b31cde8d2161c0d8:

  drm/i915: Update DRIVER_DATE to 20200417 (2020-04-17 09:35:00 +0300)

----------------------------------------------------------------
UAPI Changes:

- drm/i915/perf: introduce global sseu pinning
  Allow userspace to request at perf/OA open full SSEU configuration
  on the system to be able to benchmark 3D workloads, at the cost of not
  being able to run media workloads. (Lionel)

  Userspace changes: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4021

- drm/i915/perf: add new open param to configure polling of OA buffer
  Let application choose how often the OA buffer should be checked on
  the CPU side for data availability for choosig between CPU overhead
  and realtime nature of data.

  Userspace changes: https://patchwork.freedesktop.org/series/74655/

  (i915 perf recorder is a tool to capture i915 perf data for viewing
  in GPUVis.)

- drm/i915/perf: remove generated code
  Removal of the machine generated perf/OA test configurations from i915.
  Used by Mesa v17.1-18.0, and shortly replaced by userspace supplied OA
  configurations. Removal of configs causes affected Mesa versions to
  fall back to earlier kernel behaviour (potentially missing metrics).
  (Lionel)

Cross-subsystem Changes:

- Backmerge of drm-next

- Includes tag 'topic/phy-compliance-2020-04-08' from
  git://anongit.freedesktop.org/drm/drm-misc

Driver Changes:

- Fix for GitLab issue #27: Support 5k tiled dual DP display on SKL (Ville)
- Fix https://github.com/thesofproject/linux/issues/1719: Broken audio after
  S3 resume on JSL platforms. (Kai)
- Add new Tigerlake PCI IDs (Swathi D.)
- Add missing Tigerlake W/As (Matt R.)
- Extended Wa_2006604312 to EHL (Matt A)
- Add DPCD link_rate quirk for Apple 15" MBP 2017 (v3) (Mario)
- Make Wa_14010229206 apply to all Tigerlake steppings (Swathi d)
- Extend hotplug detect retry on TypeC connectors to 5 seconds (Imre)
- Yield the timeslice if caught waiting on a user semaphore (Chris)
- Limit the residual W/A batch to Haswell due to instability on IVB/BYT (Chris)
- TBT AUX should use TC power well ops on Tigerlake (Matt R)
- Update PMINTRMSK holding fw to make it effective for RPS (Francisco, Chris)
- Add YUV444 packed format support for skl+ (Stanislav)
- Invalidate OA TLB when closing perf stream to avoid corruption (Umesh)
- HDCP: fix Ri prime check done during link check (Oliver)
- Rearm heartbeat on sysfs interval change (Chris)
- Fix crtc nv12 etc. plane bitmasks for DPMS off (Ville)
- Treat idling as a RPS downclock event (Chris)
- Leave rps->cur_freq on unpark (Chris)
- Ignore short pulse when EDP panel powered off (Anshuman)
- Keep the engine awake until the next jiffie, to avoid ping-pong on
  moderate load (Chris)
- Select the deepest available parking mode for rc6 on IVB (Chris)
- Optimizations to direct submission execlist path (Chris)
- Avoid NULL pointer dereference at intel_read_infoframe() (Chris)
- Fix mode private_flags comparison at atomic_check (Uma, Ville)
- Use forced codec wake on all gen9+ platforms (Kai)
- Schedule oa_config after modifying the contexts (Chris, Lionel)
- Explicitly reset both reg and context runtime on GPU reset (Chris)
- Don't enable DDI IO power on a TypeC port in TBT mode (Imre)
- Fixes to TGL, ICL and EHL vswing tables (Jose)
- Fill all the unused space in the GGTT (Chris, imre)
- Ignore readonly failures when updating relocs (Chris)
- Attempt to find free space earlier for non-pinned VMAs (Chris)
- Only wait for GPU activity before unbinding a GGTT fence (Chris)
- Avoid data loss on small userspace perf OA polling (Ashutosh)
- Watch out for unevictable nodes during eviction (Matt A)
- Reinforce the barrier after GTT updates for Ironlake (Chris)

- Convert various parts of driver to use drm_device based logging (Wambui, Jani)
- Avoid dereferencing already closed context for engine (Chris)
- Enable non-contiguous pipe fusing (Anshuman)
- Add HW readout of Gamma LUT on ICL (Swati S.)
- Use explicit flag to mark unreachable intel_context (Chris)
- Cancel a hung context if already closed (Chris)
- Add DP VSC/HDR SDP data structures and write routines (Gwan-gyeong)
- Report context-is-closed prior to pinning at execbuf (Chris)
- Mark timeline->cacheline as destroyed after rcu grace period (Chris)
- Avoid live-lock with i915_vma_parked() (Chris)
- Avoid gem_context->mutex for simple vma lookup (Chris)
- Rely on direct submission to the queue (Chris)
- Configure DSI transcoder to operate in TE GATE command mode (Vandita)
- Add DI vblank calculation for command mode (Vandita)
- Disable periodic command mode if programmed by GOP (Vandita)
- Use private flags to indicate TE in cmd mode (Vandita)
- Make fences a nice-to-have for FBC on GEN9+ (Jose)
- Fix work queuing issue with mixed virtual engine/physical engine
  submissions (Chris)
- Drop final few uses of drm_i915_private.engine (Chris)
- Return early after MISSING_CASE for write_dp_sdp (Chris)
- Include port sync state in the state dump (Ville)
- ELSP workaround switching back to a completed context (Chris)
- Include priority info in trace_ports (Chris)
- Allow for different modes of interruptible i915_active_wait (Chris)
- Split eb_vma into its own allocation (Chris)
- Don't read perf head/tail pointers outside critical section (Lionel)
- Pause CS flow before execlists reset (Chris)
- Make fence revocation unequivocal (Chris)
- Drop cached obj->bind_count (Chris)
- Peek at the next submission for error interrupts (Chris)
- Utilize rcu iteration of context engines (Chris)
- Keep a per-engine request pool for power management ops (Chris)
- Refactor port sync code into normal modeset flow (Ville)
- Check current i915_vma.pin_count status first on unbind (Chris)
- Free request pool from virtual engines (Chris)
- Flush all the reloc_gpu batch (Chris)
- Make exclusive awaits on i915_active optional and allow async waits (Chris)
- Wait until the context is finally retired before releasing engines (Chris)

- Prefer '%ps' for printing function symbol names (Chris)
- Allow setting generic data pointer on intel GT debugfs (Andi)
- Constify DP link computation code more (Ville)
- Simplify MST master transcoder computation (Ville)
- Move TRANS_DDI_FUNC_CTL2 programming where it belongs (Ville)
- Move icl_get_trans_port_sync_config() into the DDI code (Ville)
- Add definitions for VRR registers and bits (Aditya)
- Refactor hardware fence code (Chris)
- Start passing latency as parameter to WM calculation (Stanislav)
- Kernel selftest and debug tracing improvements (Matt A, Chris, Mika)
- Fixes to CI found corner cases and lockdep splats (Chris)
- Overall fixes and refactoring to GEM code (Chris)
- Overall fixes and refactoring to display code (Ville)
- GuC/HuC code improvements (Daniele, Michal Wa)
- Static code checker fixes (Nathan, Ville, Colin, Chris)
- Fix spelling mistake (Chen)

----------------------------------------------------------------
Aditya Swarup (1):
      drm/i915/tgl: Add definitions for VRR registers and bits

Andi Shyti (1):
      drm/i915/gt: allow setting generic data pointer

Animesh Manna (7):
      drm/amd/display: Align macro name as per DP spec
      drm/dp: get/set phy compliance pattern
      drm/i915/dp: Made intel_dp_adjust_train() non-static
      drm/i915/dp: Preparation for DP phy compliance auto test
      drm/i915/dp: Add debugfs entry for DP phy compliance
      drm/i915/dp: Register definition for DP compliance register
      drm/i915/dp: Program vswing, pre-emphasis, test-pattern

Anshuman Gupta (2):
      drm/i915: Enable non-contiguous pipe fusing
      drm/i915/edp: Ignore short pulse when panel powered off

Ashutosh Dixit (1):
      drm/i915/perf: Do not clear pollin for small user read buffers

Chen Zhou (1):
      drm/i915/gt: fix spelling mistake "undeflow" -> "underflow"

Chris Wilson (80):
      drm/i915/gt: Restrict gen7 w/a batch to Haswell
      drm/i915: Move GGTT fence registers under gt/
      drm/i915/gt: Pull restoration of GGTT fences underneath the GT
      drm/i915: Remove manual save/resume of fence register state
      drm/i915/gt: Allocate i915_fence_reg array
      drm/i915/gt: Restore check for invalid vma for fencing
      drm/i915/gem: Check for a closed context when looking up an engine
      drm/i915: Fix up documentation paths after file moving
      drm/i915/gt: Always reschedule the new heartbeat
      drm/i915: Prefer '%ps' for printing function symbol names
      drm/i915: Use explicit flag to mark unreachable intel_context
      drm/i915/gt: Cancel a hung context if already closed
      drm/i915/gt: Report context-is-closed prior to pinning
      drm/i915/gt: Use the correct err_unlock unwind path for a closed context
      drm/i915/gt: Treat idling as a RPS downclock event
      drm/i915/gt: Leave rps->cur_freq on unpark
      drm/i915/gt: Mark timeline->cacheline as destroyed after rcu grace period
      drm/i915: Avoid live-lock with i915_vma_parked()
      drm/i915/gem: Avoid gem_context->mutex for simple vma lookup
      drm/i915: Rely on direct submission to the queue
      drm/i915: Extend intel_wakeref to support delayed puts
      drm/i915/gt: Delay release of engine-pm after last retirement
      drm/i915/gt: Only delay the context barrier pm
      drm/i915/gt: Select the deepest available parking mode for rc6
      drm/i915/execlists: Drop setting sibling priority hint on virtual engines
      drm/i915/selftests: Measure the energy consumed while in RC6
      drm/i915/execlists: Pull tasklet interrupt-bh local to direct submission
      drm/i915: Immediately execute the fenced work
      drm/i915/gt: Stage the transfer of the virtual breadcrumb
      drm/i915: Drop final few uses of drm_i915_private.engine
      drm/i915/display: Remove useless but deadly local
      drm/i915/display: Return early after MISSING_CASE for write_dp_sdp
      drm/i915: Differentiate between aliasing-ppgtt and ggtt pinning
      drm/i915/execlists: Workaround switching back to a completed context
      drm/i915/execlists: Include priority info in trace_ports
      drm/i915/selftests: Check timeout before flush and cond checks
      drm/i915: Allow for different modes of interruptible i915_active_wait
      drm/i915: Wrap i915_active in a simple kreffed struct
      drm/i915/perf: Schedule oa_config after modifying the contexts
      drm/i915/gem: Split eb_vma into its own allocation
      drm/i915/execlists: Explicitly reset both reg and context runtime
      drm/i915/execlists: Double check breadcrumb before crying foul
      drm/i915: Defer kicking the tasklet until all rescheduling is complete
      drm/i915/gt: Include a few tracek for timeslicing
      drm/i915/selftests: Tidy up an error message for live_error_interrupt
      drm/i915/execlists: Pause CS flow before reset
      drm/i915/gt: Include the execlists CCID of each port in the engine dump
      drm/i915/gt: Fill all the unused space in the GGTT
      drm/i915/gem: Ignore readonly failures when updating relocs
      drm/i915/gt: Align engine dump active/pending
      drm/i915/gem: Try allocating va from free space
      drm/i915/gt: Only wait for GPU activity before unbinding a GGTT fence
      drm/i915/gt: Store the fence details on the fence
      drm/i915/gt: Make fence revocation unequivocal
      drm/i915/gem: Drop cached obj->bind_count
      drm/i915/uc: Cleanup kerneldoc warnings
      drm/i915/execlists: Peek at the next submission for error interrupts
      drm/i915/gem: Utilize rcu iteration of context engines
      drm/i915/selftests: Check for has-reset before testing hostile contexts
      drm/i915: Keep a per-engine request pool
      drm/i915: Avoid setting timer->expires to 0
      drm/i915: Revoke mmap before fence
      drm/i915: Check current i915_vma.pin_count status first on unbind
      drm/i915/selftests: Wait until we start timeslicing after a submit
      drm/i915/gt: Free request pool from virtual engines
      drm/i915/gem: Flush all the reloc_gpu batch
      drm/i915/gem: Take DBG_FORCE_RELOC into account prior to using reloc_gpu
      drm/i915: Make exclusive awaits on i915_active optional
      drm/i915: Allow asynchronous waits on the i915_active barriers
      drm/i915/gem: Wait until the context is finally retired before releasing engines
      drm/i915/gem: Promote 'remain' to unsigned long
      drm/i915/gt: Yield the timeslice if caught waiting on a user semaphore
      drm/i915/selftests: Drop vestigal timeslicing assert
      drm/i915/gt: Mark up racy read of intel_ring.head
      drm/i915/gt: Mark up racy check of breadcrumb irq enabled
      drm/i915/selftests: Take an explicit ref for rq->batch
      drm/i915/selftests: Check for an already completed timeslice
      agp/intel: Reinforce the barrier after GTT updates
      drm/i915/selftests: Exercise basic RPS interrupt generation
      drm/i915/gt: Update PMINTRMSK holding fw

Colin Ian King (1):
      drm/i915: remove redundant assignment to variable err

Daniele Ceraolo Spurio (5):
      drm/i915/guc: drop stage_pool debugfs
      drm/i915/huc: make "support huc" reflect HW capabilities
      drm/i915/debugfs: move uC printers and update debugfs file names
      drm/i915/uc: Move uC debugfs to its own folder under GT
      drm/i915/uc: do not free err log on uc_fini

Gwan-gyeong Mun (4):
      drm: Add DP1.4 VSC SDP Payload related Data Structures
      drm/i915/dp: Add compute routine for DP VSC SDP
      drm/i915/dp: Add compute routine for DP HDR Metadata Infoframe SDP
      drm/i915/dp: Add writing of DP SDPs

Imre Deak (3):
      drm/i915/icl+: Don't enable DDI IO power on a TypeC port in TBT mode
      drm/i915: Add a retry counter for hotplug detect retries
      drm/i915: Extend hotplug detect retry on TypeC connectors to 5 seconds

Jani Nikula (30):
      drm/i915/ddi: use struct drm_device based logging
      drm/i915/display_power: use struct drm_device based logging
      drm/i915/dp_aux_backlight: use struct drm_device based logging
      drm/i915/dp_mst: use struct drm_device based logging
      drm/i915/dsi: use struct drm_device based logging
      drm/i915/hdmi: use struct drm_device based logging
      drm/i915/dsi: use struct drm_device based logging
      drm/i915/connector: use MISSING_CASE instead of logging
      drm/i915/tv: use struct drm_device based logging
      drm/i915/display: clean up intel_PLL_is_valid()
      drm/i915/display: use struct drm_device based logging
      drm/i915/psr: use struct drm_device based logging
      drm/i915/wopcm: convert to drm device based logging
      drm/i915/audio: use struct drm_device based logging
      drm/i915/panel: use struct drm_device based logging
      drm/i915/tc: use struct drm_device based logging
      drm/i915/dp: use struct drm_device based logging
      drm/i915/crt: use struct drm_device based logging
      drm/i915/debugfs: use struct drm_device based logging
      drm/i915/bw: use struct drm_device based logging
      drm/i915/state: use struct drm_device based logging
      drm/i915/switcheroo: use struct drm_device based logging
      drm/i915/uc: prefer struct drm_device based logging
      drm/i915/error: prefer struct drm_device based logging
      drm/i915/pmu: prefer struct drm_device based logging
      drm/i915/dram: prefer struct drm_device based logging
      drm/i915/uncore: prefer struct drm_device based logging
      drm/i915/stolen: prefer struct drm_device based logging
      drm/i915/gt: prefer struct drm_device based logging
      drm/i915/uc: prefer struct drm_device based logging

Joonas Lahtinen (3):
      Merge drm/drm-next into drm-intel-next-queued
      Merge tag 'topic/phy-compliance-2020-04-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20200417

José Roberto de Souza (4):
      drm/i915/display/fbc: Make fences a nice-to-have for GEN9+
      drm/i915/dp: Return the right vswing tables
      drm/i915/dp/ehl: Update vswing table for HBR and RBR
      drm/i915/tc/icl: Update TC vswing tables

Kai Vehmanen (2):
      drm/i915: use forced codec wake on all gen9+ platforms
      drm/i915: do AUD_FREQ_CNTRL state save on all gen9+ platforms

Lionel Landwerlin (7):
      drm/i915/perf: remove generated code
      drm/i915/perf: remove redundant power configuration register override
      drm/i915/perf: introduce global sseu pinning
      drm/i915/perf: rework aging tail workaround
      drm/i915/perf: move pollin setup to non hw specific code
      drm/i915/perf: add new open param to configure polling of OA buffer
      drm/i915/perf: don't read head/tail pointers outside critical section

Mario Kleiner (1):
      drm/i915/dp: Add dpcd link_rate quirk for Apple 15" MBP 2017 (v3)

Matt Atwood (1):
      drm/i915/ehl: extended Wa_2006604312 to ehl

Matt Roper (4):
      drm/i915/tgl: Add Wa_14010477008:tgl
      drm/i915/tgl: Extend Wa_1409767108:tgl to B0 stepping
      drm/i915/tgl: Initialize multicast register steering for workarounds
      drm/i915/tgl: TBT AUX should use TC power well ops

Matthew Auld (3):
      drm/i915/selftests/perf: watch out for stolen objects
      drm/i915/selftests: mark huge_gem_object as not shrinkable
      drm/i915/evict: watch out for unevictable nodes

Michal Wajdeczko (2):
      drm/i915/huc: Add more errors for I915_PARAM_HUC_STATUS
      drm/i915/huc: Fix HuC register used in debugfs

Mika Kuoppala (1):
      drm/i915: Report all failed registers for ctx isolation

Nathan Chancellor (1):
      drm/i915: Cast remain to unsigned long in eb_relocate_vma

Oliver Barta (1):
      drm/i915: HDCP: fix Ri prime check done during link check

Stanislav Lisovskiy (2):
      drm/i915: Start passing latency as parameter
      drm/i915: Add YUV444 packed format support for skl+

Swathi Dhanavanthri (2):
      drm/i915/tgl: Add new PCI IDs to TGL
      drm/i915/tgl: Make Wa_14010229206 permanent

Swati Sharma (1):
      drm/i915/color: Extract icl_read_luts()

Uma Shankar (1):
      drm/i915/display: Fix mode private_flags comparison at atomic_check

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Invalidate OA TLB on when closing perf stream

Vandita Kulkarni (5):
      drm/i915/dsi: Configure transcoder operation for command mode.
      drm/i915/dsi: Add vblank calculation for command mode
      drm/i915/dsi: Add cmd mode flags in display mode private flags
      drm/i915/dsi: Add check for periodic command mode
      drm/i915/dsi: Use private flags to indicate TE in cmd mode

Ville Syrjälä (16):
      drm/i915: Fix crtc nv12 etc. plane bitmasks for DPMS off
      drm/i915: Get rid of silly void* from MST code
      drm: Constify adjusted_mode a bit
      drm/i915/mst: Use .compute_config_late() to compute master transcoder
      drm/i915: Move TRANS_DDI_FUNC_CTL2 programming where it belongs
      drm/i915: Drop usless master_transcoder assignments
      drm/i915: Move icl_get_trans_port_sync_config() into the DDI code
      drm/i915: Use REG_FIELD_PREP() & co. for TRANS_DDI_FUNC_CTL2
      drm/i915: Include port sync state in the state dump
      drm/i915: Store cpu_transcoder_mask in device info
      drm/i915: Implement port sync for SKL+
      drm/i915: Eliminate port sync copy pasta
      drm/i915: Fix port sync code to work with >2 pipes
      drm/i915: Do pipe updates after enables for everyone
      drm/i915: Pass atomic state to encoder hooks
      drm/i915: Move the port sync DP_TP_CTL stuff to the encoder hook

Wambui Karuga (10):
      drm/i915/fbc: convert to drm_device based logging macros.
      drm/i915/fbdev: convert to drm_device based logging.
      drm/i915/hdcp: convert to struct drm_device based logging.
      drm/i915/ggtt: convert to drm_device based logging macros.
      drm/i915/lrc: convert to struct drm_device based logging macros.
      drm/i915/rc6: convert to struct drm_device based logging macros.
      drm/i915/renderstate: use struct drm_device based logging macros.
      drm/i915/ring_submission: use drm_device based logging macros.
      drm/i915/rps: use struct drm_device based logging macros.
      drm/i915/workarounds: convert to drm_device based logging macros.

 Documentation/gpu/i915.rst                         |   6 +-
 drivers/char/agp/intel-gtt.c                       |   4 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   |   2 +-
 drivers/gpu/drm/drm_dp_helper.c                    |  96 +++
 drivers/gpu/drm/i915/Makefile                      |  23 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             | 167 +++-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |  21 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |   2 +
 drivers/gpu/drm/i915/display/intel_audio.c         |  18 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |   9 +-
 drivers/gpu/drm/i915/display/intel_color.c         | 121 ++-
 drivers/gpu/drm/i915/display/intel_connector.c     |   2 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |  36 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           | 522 ++++++++----
 drivers/gpu/drm/i915/display/intel_ddi.h           |   3 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 470 +++--------
 drivers/gpu/drm/i915/display/intel_display.h       |   8 +-
 .../gpu/drm/i915/display/intel_display_debugfs.c   |  12 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  36 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  39 +-
 drivers/gpu/drm/i915/display/intel_dp.c            | 932 +++++++++++++++++----
 drivers/gpu/drm/i915/display/intel_dp.h            |   4 +
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |  84 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   9 +-
 .../gpu/drm/i915/display/intel_dp_link_training.h  |   4 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c        | 153 ++--
 drivers/gpu/drm/i915/display/intel_dsi.c           |   9 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |  11 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |   9 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  84 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |  96 ++-
 drivers/gpu/drm/i915/display/intel_global_state.c  |   5 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   6 +-
 drivers/gpu/drm/i915/display/intel_hdcp.h          |   4 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          | 256 ++++--
 drivers/gpu/drm/i915/display/intel_hotplug.c       |  16 +-
 drivers/gpu/drm/i915/display/intel_hotplug.h       |   3 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |  22 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |   2 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  22 +-
 drivers/gpu/drm/i915/display/intel_panel.h         |   3 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  47 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |  22 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  25 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |  47 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |  15 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  15 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  85 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |   4 +
 drivers/gpu/drm/i915/gem/i915_gem_domain.c         |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     | 365 ++++----
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   1 -
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |   3 -
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   2 -
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c       |  18 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   4 +-
 .../gpu/drm/i915/gem/selftests/huge_gem_object.c   |   3 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |   2 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |   4 -
 .../gpu/drm/i915/gem/selftests/i915_gem_object.c   |   2 +-
 drivers/gpu/drm/i915/gt/debugfs_engines.c          |   2 +-
 drivers/gpu/drm/i915/gt/debugfs_gt.c               |  15 +-
 drivers/gpu/drm/i915/gt/debugfs_gt.h               |   9 +-
 drivers/gpu/drm/i915/gt/debugfs_gt_pm.c            |  10 +-
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |   6 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |   5 +
 drivers/gpu/drm/i915/gt/intel_engine.h             |   2 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          | 127 +--
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |   2 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   2 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.h          |   6 +
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |  12 +
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |  52 +-
 .../intel_ggtt_fencing.c}                          | 170 ++--
 .../intel_ggtt_fencing.h}                          |  17 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   3 +-
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |  15 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   5 +-
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   2 +-
 drivers/gpu/drm/i915/gt/intel_gtt.h                |   5 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                | 252 ++++--
 drivers/gpu/drm/i915/gt/intel_rc6.c                |  39 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |   2 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |  16 +-
 drivers/gpu/drm/i915/gt/intel_ring.h               |   5 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |  33 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                | 105 +--
 drivers/gpu/drm/i915/gt/intel_sseu.c               |  33 +-
 drivers/gpu/drm/i915/gt/intel_timeline.c           |  12 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |  21 +-
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |   2 +
 drivers/gpu/drm/i915/gt/selftest_lrc.c             | 117 ++-
 drivers/gpu/drm/i915/gt/selftest_rc6.c             |  45 +-
 drivers/gpu/drm/i915/gt/selftest_rps.c             | 223 +++++
 drivers/gpu/drm/i915/gt/selftest_rps.h             |  11 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |  46 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |   7 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.c     |  42 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.h     |  14 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |  14 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.h          |   1 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |  97 ++-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h         |   4 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c | 124 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.h |  15 +
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |  53 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.h             |   2 +
 drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.c     |  36 +
 drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.h     |  14 +
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c          |  17 -
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.h          |   1 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  35 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h              |   1 +
 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.c      |  30 +
 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.h      |  14 +
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |  56 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h           |   3 +-
 drivers/gpu/drm/i915/gvt/aperture_gm.c             |   2 +-
 drivers/gpu/drm/i915/i915_active.c                 | 137 ++-
 drivers/gpu/drm/i915/i915_active.h                 |  14 +-
 drivers/gpu/drm/i915/i915_debugfs.c                | 298 +------
 drivers/gpu/drm/i915/i915_drv.c                    |   4 -
 drivers/gpu/drm/i915/i915_drv.h                    |  13 +-
 drivers/gpu/drm/i915/i915_gem.c                    |  20 +-
 drivers/gpu/drm/i915/i915_gem_evict.c              |   7 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   2 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   8 +-
 drivers/gpu/drm/i915/i915_pci.c                    |  23 +-
 drivers/gpu/drm/i915/i915_perf.c                   | 628 +++++++-------
 drivers/gpu/drm/i915/i915_perf_types.h             |  46 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   4 +-
 drivers/gpu/drm/i915/i915_reg.h                    | 130 ++-
 drivers/gpu/drm/i915/i915_request.c                |  29 +-
 drivers/gpu/drm/i915/i915_request.h                |   2 +
 drivers/gpu/drm/i915/i915_scheduler.c              |  10 +
 drivers/gpu/drm/i915/i915_sw_fence.c               |   2 +-
 drivers/gpu/drm/i915/i915_sw_fence_work.c          |   5 +-
 drivers/gpu/drm/i915/i915_sw_fence_work.h          |  23 +
 drivers/gpu/drm/i915/i915_switcheroo.c             |   4 +-
 drivers/gpu/drm/i915/i915_utils.c                  |   3 +-
 drivers/gpu/drm/i915/i915_vma.c                    |  93 +-
 drivers/gpu/drm/i915/i915_vma.h                    |   4 +-
 drivers/gpu/drm/i915/intel_device_info.c           |  41 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   1 +
 drivers/gpu/drm/i915/intel_dram.c                  |   3 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  12 +-
 drivers/gpu/drm/i915/intel_uncore.c                |  24 +-
 drivers/gpu/drm/i915/intel_uncore.h                |   6 +-
 drivers/gpu/drm/i915/intel_wakeref.c               |  12 +-
 drivers/gpu/drm/i915/intel_wakeref.h               |  22 +-
 drivers/gpu/drm/i915/intel_wopcm.c                 |  22 +-
 drivers/gpu/drm/i915/oa/i915_oa_bdw.c              |  90 --
 drivers/gpu/drm/i915/oa/i915_oa_bdw.h              |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_bxt.c              |  88 --
 drivers/gpu/drm/i915/oa/i915_oa_bxt.h              |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.c           |  89 --
 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.h           |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.c           |  89 --
 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.h           |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_chv.c              |  89 --
 drivers/gpu/drm/i915/oa/i915_oa_chv.h              |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_cnl.c              | 101 ---
 drivers/gpu/drm/i915/oa/i915_oa_cnl.h              |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_glk.c              |  88 --
 drivers/gpu/drm/i915/oa/i915_oa_glk.h              |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_hsw.c              | 118 ---
 drivers/gpu/drm/i915/oa/i915_oa_hsw.h              |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_icl.c              |  98 ---
 drivers/gpu/drm/i915/oa/i915_oa_icl.h              |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.c           |  89 --
 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.h           |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.c           |  89 --
 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.h           |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.c           |  88 --
 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.h           |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.c           |  89 --
 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.h           |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.c           |  89 --
 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.h           |  16 -
 drivers/gpu/drm/i915/oa/i915_oa_tgl.c              | 121 ---
 drivers/gpu/drm/i915/oa/i915_oa_tgl.h              |  16 -
 drivers/gpu/drm/i915/selftests/i915_active.c       |  12 +-
 drivers/gpu/drm/i915/selftests/i915_gem.c          |   2 -
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |  26 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   1 -
 drivers/gpu/drm/i915/selftests/i915_perf.c         |  98 ++-
 drivers/gpu/drm/i915/selftests/i915_request.c      |  16 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   |   5 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   6 +-
 include/drm/drm_dp_helper.h                        | 170 +++-
 include/drm/i915_pciids.h                          |   8 +-
 include/uapi/drm/i915_drm.h                        |  24 +
 192 files changed, 5326 insertions(+), 4357 deletions(-)
 rename drivers/gpu/drm/i915/{i915_gem_fence_reg.c => gt/intel_ggtt_fencing.c} (88%)
 rename drivers/gpu/drm/i915/{i915_gem_fence_reg.h => gt/intel_ggtt_fencing.h} (86%)
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_rps.c
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_rps.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_bdw.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_bdw.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_bxt.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_bxt.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_chv.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_chv.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_cnl.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_cnl.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_glk.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_glk.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_hsw.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_hsw.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_icl.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_icl.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.h
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_tgl.c
 delete mode 100644 drivers/gpu/drm/i915/oa/i915_oa_tgl.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-02-25 18:58 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2020-02-25 18:58 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

I do regret for taking so long for this first pull request.
It accumulated over 400 patches with many code refactors, specially around
gpu hangs detection/recover/debugability; display watermark handling;
drm logs and warns; and our display conversion to use drm_i915_private *i915
with functions to modify registers instead the old global dev_priv with
I915_READ/WRITE mmio macros.

It also include fixes for Ice Lake and Elkhart Lake, and platform enabling
work for Tiger Lake.

I tried to do my best to capture the changes and bucketize them on the tag
description below.

Also right after doing the tag yesterday I tried a backmerge what generated
a conflict on i915/gt/intel_lrc.c. So I solved this by only going with the
latest we had on drm-intel-next-queued. It was simple, but I decided to do
an extra small tag in an attempt to make it smoother for you. I hope it helps,
but in the worst case it is just a matter of getting the latest version
on every chunk.

Here goes drm-intel-next-2020-02-25:
- A backmerge of drm-next solving conflicts on i915/gt/intel_lrc.c
- Clean up shadow batch after I915_EXEC_SECURE
- Drop assertion that active->fence is unchanged
drm-intel-next-2020-02-24-1:
- RC6 fixes - Chris
- Add extra slice common debug register - Lionel
- Align virtual engines uabi_class/instance with i915_drm.h - Tvrtko
- Avoid potential division by zero in computing CS timestamp - Chris
- Avoid using various globals - Michal Winiarski, Matt Auld
- Break up long lists of GEM object reclaim - Chris
- Check that the vma hasn't been closed before we insert it - Chris
- Consolidate SDVO HDMI force_dvi handling - Ville
- Conversion to new logging and warn macros and functions - Pankaj, Wambul, Chris
- DC3CO fixes - Jose
- Disable use of hwsp_cacheline for kernel_context - Chris
- Display IRQ pre/post uninstall refactor - Jani
- Display port sync refactor for robustness and fixes - Ville, Manasi
- Do not attempt to reprogram IA/ring frequencies for dgfx - Chris
- Drop alpha_support for good in favor of force_probe - Jani
- DSI ACPI related fixes and refactors - Vivek, Jani, Rajat
- Encoder refactor for flexibility to add more information, especiallly DSI related - Jani, Vandita
- Engine workarounds refactor for robustness around resue - Daniele
- FBC simplification and tracepoints
- Various fixes for build - Jani, Kees Cook, Chris, Zhang Xiaoxu
- Fix cmdparser - Chris
- Fix DRM_I915_GEM_MMAP_OFFFSET - Chris
- Fix i915_request flags - Chris
- Fix inconsistency between pfit enable and scaler freeing - Stanislav
- Fix inverted warn_on on display code - Chris
- Fix modeset locks in sanitize_watermarks - Ville
- Fix OA context id overlap with idle context id - Umesh
- Fix pipe and vblank enable for MST - Jani
- Fix VBT handling for timing parameters - Vandita
- Fixes o kernel doc - Chris, Ville
- Force full modeset whenever DSC is enabled at probe - Jani
- Various GEM locking simplification and fixes - Jani , Chris, Jose
  - Including some changes in preparation for making GEM execbuf parallel - Chris
- Gen11 pcode error codes - Matt Roper
- Gen8+ interrupt handler refactor - Chris
- Many fixes and improvements around GuC code - Daniele, Michal Wajdeczko
- i915 parameters improvements sfor flexible input and better debugability - Chris, Jani
- Ice Lake and Elkhart Lake Fixes and workarounds - Matt Roper, Jose, Vivek, Matt Atwood
- Improvements on execlists, requests and other areas, fixing hangs and also
  improving hang detection, recover and debugability - Chris
  - Also introducing offline GT error capture - Chris
- Introduce encoder->compute_config_late() to help MST - Ville
- Make dbuf configuration const - Jani
- Few misc clean ups - Ville, Chris
- Never allow userptr into the new mapping types - Janusz
- Poison rings after use and GTT scratch pages - Chris
- Protect signaler walk with RCU - Chris
- PSR fixes - Jose
- Pull sseu context updates under gt - Chris
- Read rawclk_freq earlier - Chris
- Refactor around VBT handling to allow geting information through the encoder - Jani
- Refactor l3cc/mocs availability - Chris
- Refactor to use intel_connector over drm_connector - Ville
- Remove i915_energy_uJ from debugfs - Tvrtko
- Remove lite restore defines - Mika Kuoppala
- Remove prefault_disable modparam - Chris
- Many selftests fixes and improvements - Chris
- Set intel_dp_set_m_n() for MST slaves - Jose
- Simplify hot plug pin handling and other fixes around pin and polled modes - Ville
- Skip CPU synchronization on dma-buf attachments - chris
- Skip global serialization of clear_range for bxt vtd - Chris
- Skip rmw for marked register - Chris
- Some other GEM Fixes - Chris
- Some small changes for satisfying static code analysis - Colin, Chris
- Suppress warnings for unused debugging locals
- Tiger Lake enabling, including re-enable -f RPS, workarounds and other display fixes and changes - Chris, Matt Roper, Mika Kuoppala, Anshuman, Jose, Radhakrishna, Rafael.
- Track hw reported context runtime - Tvrtko
- Update bug filling URL - Jani
- Use async bind for PIN_USER into bsw/bxt ggtt - Chris
- Use the kernel_context to measuer the breadcrumb size - Chris
- Userptr fixes and robustness for big pages - Matt Auld
- Various Display refactors and clean-ups, specially around logs and use of drm_i915_private - Jani, Ville
- Various display refactors and fixes, especially around cdclk, modeset, and encoder - Chris, Jani
- Various eDP/DP fixes around DPCD - Lyude
- Various fixes and refactors for better Display watermark handling - Ville, Stanislav
- Various other display refactors - Ville
- Various refactor for better handling of display plane states - Ville
- Wean off drm_pci_alloc/drm_pci_free - Chris
- Correctly terminate connector iteration- Ville
- Downgrade gen7 (ivb, byt, hsw) back to aliasing-ppgtt - Chris

Thanks,
Rodrigo.

The following changes since commit 1b245ec5b685ebf8e6e5d1e6b5bcc03b6608e8b0:

  Merge tag 'drm-misc-next-2020-02-10' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-02-21 05:44:40 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-02-25

for you to fetch changes up to 53e3ca6749186b5c147964bddc4eb47ba8b5f69e:

  drm/i915: Update DRIVER_DATE to 20200225 (2020-02-25 10:41:22 -0800)

----------------------------------------------------------------
- A backmerge of drm-next solving conflicts on i915/gt/intel_lrc.c
- Clean up shadow batch after I915_EXEC_SECURE
- Drop assertion that active->fence is unchanged

----------------------------------------------------------------
Anshuman Gupta (1):
      drm/i915: HDCP support on above PORT_E

Chris Wilson (119):
      drm/i915/pmu: Correct the rc6 offset upon enabling
      drm/i915/gt: Clear rc6 residency trackers across suspend
      drm/i915/gem: Take local vma references for the parser
      drm/i915/selftests: Add a mock i915_vma to the mock_ring
      drm/i915/gt: Use the BIT when checking the flags, not the index
      drm/i915/execlists: Leave resetting ring to intel_ring
      drm/i915/gt: Drop rogue space in the middle of GT_TRACE
      drm/i915: Keep track of request among the scheduling lists
      drm/i915/gt: Allow temporary suspension of inflight requests
      drm/i915/execlists: Offline error capture
      drm/i915: Include the debugfs params header for its own definition
      drm/i915: Fix typo in kerneldoc function name
      drm/i915: Satisfy smatch that a loop has at least one iteration
      drm/i915/gt: Report the currently active execlists request
      drm/i915/gt: Be paranoid and reset the GPU before release
      drm/i915/gem: Store mmap_offsets in an rbtree rather than a plain list
      drm/i915: Don't show the blank process name for internal/simulated errors
      drm/i915: Clear the GGTT_WRITE bit on unbinding the vma
      drm/i915/gt: Include a tell-tale for engine parking
      drm/i915/execlists: Take a reference while capturing the guilty request
      drm/i915/execlists: Reclaim the hanging virtual request
      drm/i915: Mark the removal of the i915_request from the sched.link
      drm/i915/gem: Convert vm idr to xarray
      drm/i915/gem: Detect overflow in calculating dumb buffer size
      drm/i915/selftests: Show the RC6 residency on parking failure
      drm/i915/gem: Prevent NULL pointer dereference on missing ctx->vm
      drm/i915: Check activity on i915_vma after confirming pin_count==0
      drm/i915: Wait on vma activity before taking the mutex
      drm/i915/gt: Flush engine parking before release
      drm/i915/gt: Poison GTT scratch pages
      drm/i915/tgl: Re-enable RPS
      drm/i915/display: Squelch kerneldoc complaints
      drm/i915: Stub out i915_gpu_coredump_put
      drm/i915: Remove 'prefault_disable' modparam
      drm/i915: Tighten atomicity of i915_active_acquire vs i915_active_release
      drm/i915: Restore the kernel context after verifying the w/a
      drm/i915/gt: Acquire ce->active before ce->pin_count/ce->pin_mutex
      drm/i915: Skip capturing errors from internal contexts
      drm/i915/gt: Reorganise gen8+ interrupt handler
      drm/i915/gt: Tidy repetition in declaring gen8+ interrupts
      drm/i915/gt: Lift set-wedged engine dumping out of user paths
      drm/i915/trace: i915_request.prio is a signed value
      drm/i915/selftests: Lock the drm_mm as we search
      drm/i915/execlist: Mark up racy read of execlists->pending[0]
      drm/i915/gt: Hook up CS_MASTER_ERROR_INTERRUPT
      drm/i915/execlists: Ignore discrepancies in pending[] across resets
      drm/i915/gt: Skip global serialisation of clear_range for bxt vtd
      drm/i915/fbc: __intel_fbc_cleanup_cfb() may be called multiple times
      drm/i915/gem: Tighten checks and acquiring the mmap object
      drm/i915/gt: Rename i915_gem_restore_ggtt_mappings() for its new placement
      drm/i915: Use the async worker to avoid reclaim tainting the ggtt->mutex
      drm/i915/gem: Require per-engine reset support for non-persistent contexts
      drm/i915/gt: Also use async bind for PIN_USER into bsw/bxt ggtt
      drm/i915/selftests: Also wait for the scratch buffer to be bound
      drm/i915/selftests: Disable heartbeat around hang tests
      drm/i915/gt: Skip rmw for masked registers
      drm/i915: Hold reference to previous active fence as we queue
      drm/i915: Initialise basic fence before acquiring seqno
      drm/i915/gt: Warn about the hidden i915_vma_pin in timeline_get_seqno
      drm/i915/audio: Skip the cdclk modeset if no pipes attached
      drm/i915/display: Fix NULL-crtc deref in calc_min_cdclk()
      drm/i915/display: Defer application of initial chv_phy_control
      drm/i915/selftests: Add a simple rollover test for the kernel context
      drm/i915/selftest: Ensure string fits within name[]
      drm/i915/gt: Pull sseu context updates under gt
      drm/i915: Wean off drm_pci_alloc/drm_pci_free
      drm/i915/gt: Fix rc6 on Ivybridge
      drm/i915/display: Explicitly cleanup initial_plane_config
      drm/i915/display: Be explicit in handling the preallocated vma
      drm/i915: Mark i915.reset as unsigned
      drm/i915: Flush execution tasklets before checking request status
      drm/i915/gt: Set the PP_DIR registers upon enabling ring submission
      drm/i915/gt: Prevent queuing retire workers on the virtual engine
      drm/i915/gt: Protect defer_request() from new waiters
      drm/i915/gt: Protect execlists_hold/unhold from new waiters
      drm/i915: Fix force-probe failure message
      drm/i915/gt: Use the kernel_context to measure the breadcrumb size
      drm/i915/gt: Only ignore already reset requests
      drm/i915/execlists: Always force a context reload when rewinding RING_TAIL
      drm/i915/gt: Fix hold/unhold recursion
      drm/i915/execlists: Ignore tracek for nop process_csb
      drm/i915/selftests: Remove erroneous intel_engine_pm_put
      drm/i915/selftests: Disable capturing forced error states
      drm/i915/selftests: Drop live_preempt_hang
      drm/i915/selftests: Trim blitter block size
      drm/i915: Skip CPU synchronisation on dmabuf attachments
      drm/i915/gt: Avoid resetting ring->head outside of its timeline mutex
      drm/i915/selftests: Relax timeout for error-interrupt reset processing
      drm/i915: Disable use of hwsp_cacheline for kernel_context
      drm/i915/gem: Don't leak non-persistent requests on changing engines
      drm/i915: Poison rings after use
      drm/i915/selftests: Sabotague the RING_HEAD
      drm/i915/selftests: Avoid choosing zero for phys_sz
      drm/i915/gt: Expand bad CS completion event debug
      drm/i915/gt: Suppress warnings for unused debugging locals
      drm/i915/selftests: Exercise timeslice rewinding
      drm/i915/selftests: Check for the error interrupt before we wait!
      drm/i915: Avoid potential division-by-zero in computing CS timestamp period
      drm/i915/gt: Rearrange code to silence compiler
      drm/i915/selftests: Mark the mock ring->vma as being in the GGTT
      drm/i915/selftests: Check for any sign of request starting in wait_for_submit()
      drm/i915/gt: Fix up missing error propagation for heartbeat pulses
      drm/i915/selftests: Flush tasklet on wait_for_submit()
      drm/i915/gt: Show the cumulative context runtime in engine debug
      drm/i915/gt: Refactor l3cc/mocs availability
      drm/i915: Read rawclk_freq earlier
      drm/i915/selftest: Analyse timestamp behaviour across context switches
      drm/i915/selftests: Mark GPR checking more hostile
      drm/i915/gt: Do not attempt to reprogram IA/ring frequencies for dgfx
      drm/i915/gt: Protect signaler walk with RCU
      drm/i915: Double check bumping after the spinlock
      drm/i915/gem: Break up long lists of object reclaim
      drm/i915: Check that the vma hasn't been closed before we insert it
      drm/i915: Avoid recursing onto active vma from the shrinker
      drm/i915/gt: Push the GPU cancellation to the backend
      drm/i915/display: Fix inverted WARN_ON
      drm/i915/gtt: Downgrade gen7 (ivb, byt, hsw) back to aliasing-ppgtt
      drm/i915/gem: Cleanup shadow batch after I915_EXEC_SECURE
      drm/i915: Drop assertion that active->fence is unchanged

Colin Ian King (1):
      drm/i915/gt: remove redundant assignment to variable dw

Daniele Ceraolo Spurio (11):
      drm/i915: extract engine WA programming to common resume function
      drm/i915: Move ringbuffer WAs to engine workaround list
      drm/i915/debugfs: Pass guc_log struct to i915_guc_log_info
      drm/i915/guc: Kill USES_GUC macro
      drm/i915/guc: Kill USES_GUC_SUBMISSION macro
      drm/i915/uc: Update the FW status on injected fetch error
      drm/i915/uc: autogenerate uC checker functions
      drm/i915/uc: Improve tracking of uC init status
      drm/i915/guc: Apply new uC status tracking to GuC submission as well
      drm/i915/uc: Abort early on uc_init failure
      drm/i915/uc: consolidate firmware cleanup

Jani Nikula (77):
      drm/i915/params: add i915 parameters to debugfs
      drm/i915/params: support bool values for int and uint params
      drm/i915/bios: add intel_bios_max_tmds_encoder()
      drm/i915/bios: add intel_bios_hdmi_level_shift()
      drm/i915/bios: intel_bios_dp_boost_level()
      drm/i915/bios: intel_bios_hdmi_boost_level()
      drm/i915/bios: add intel_bios_dp_max_link_rate()
      drm/i915/bios: add intel_bios_alternate_ddc_pin()
      drm/i915/bios: add intel_bios_port_supports_*()
      drm/i915/bios: check DDI port presence based on child device
      drm/i915: use intel_bios_is_port_present()
      drm/i915/dp: debug log max vswing and pre-emphasis
      drm/i915: drop alpha_support for good in favour of force_probe
      Merge tag 'topic/drm-warn-2020-01-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next-queued
      drm/i915: add display engine uncore helpers
      drm/i915/dmc: use intel uncore functions for forcewake register access
      drm/i915/irq: use intel de functions for forcewake register access
      drm/i915/pm: use intel de functions for forcewake register access
      drm/i915/audio: use intel_de_*() functions for register access
      drm/i915/cdclk: use intel_de_*() functions for register access
      drm/i915/color: use intel_de_*() functions for register access
      drm/i915/crt: use intel_de_*() functions for register access
      drm/i915/dpio_phy: use intel_de_*() functions for register access
      drm/i915/dpll_mgr: use intel_de_*() functions for register access
      drm/i915/dp_mst: use intel_de_*() functions for register access
      drm/i915/dsb: use intel_de_*() functions for register access
      drm/i915/dvo: use intel_de_*() functions for register access
      drm/i915/fbc: use intel_de_*() functions for register access
      drm/i915/fifo_underrun: use intel_de_*() functions for register access
      drm/i915/gmbus: use intel_de_*() functions for register access
      drm/i915/hdmi: use intel_de_*() functions for register access
      drm/i915/lpe_audio: use intel_de_*() functions for register access
      drm/i915/lvds: use intel_de_*() functions for register access
      drm/i915/overlay: use intel_de_*() functions for register access
      drm/i915/panel: use intel_de_*() functions for register access
      drm/i915/sdvo: use intel_de_*() functions for register access
      drm/i915/tv: use intel_de_*() functions for register access
      drm/i915/vga: use intel_de_*() functions for register access
      drm/i915/pipe_crc: use intel_de_*() functions for register access
      drm/i915/psr: use intel_de_*() functions for register access
      drm/i915/sprite: use intel_de_*() functions for register access
      drm/i915/vdsc: use intel_de_*() functions for register access
      drm/i915/vlv_dsi: use intel_de_*() functions for register access
      drm/i915/vlv_dsi_pll: use intel_de_*() functions for register access
      drm/i915/icl_dsi: use intel_de_*() functions for register access
      drm/i915/combo_phy: use intel_de_*() functions for register access
      drm/i915/ddi: use intel_de_*() functions for register access
      drm/i915/display: use intel_de_*() functions for register access
      drm/i915/display_power: use intel_de_*() functions for register access
      drm/i915/dp: use intel_de_*() functions for register access
      drm/i915/hdcp: use intel_de_*() functions for register access
      drm/i915/psr: use intel_de_*() functions for register access
      drm/i915/debugfs: remove i915_dpcd file
      drm/i915/debugfs: remove VBT data about DRRS
      drm/i915: move pipe, pch and vblank enable to encoders on DDI platforms
      drm/i915: move intel_dp_set_m_n() to encoder for DDI platforms
      drm/i915/hdcp: move update pipe code to hdcp
      drm/i915/mst: fix pipe and vblank enable
      drm/i915/psr: pass i915 to psr_global_enabled()
      drm/i915/hdmi: prefer to_i915() over drm->dev_private to get at i915
      drm/i915: register vga switcheroo later, unregister earlier
      drm/i915: switch i915_driver_probe() to use i915 local variable
      drm/i915: move intel_csr.[ch] under display/
      drm/i915: split out display debugfs to a separate file
      drm/i915/dsc: force full modeset whenever DSC is enabled at probe
      MAINTAINERS: Update drm/i915 bug filing URL
      drm/i915: Update drm/i915 bug filing URL
      drm/i915: split out vlv/chv specific suspend/resume code
      drm/i915: switch vlv_suspend to use intel uncore register accessors
      drm/i915/csr: use intel_de_*() functions for register access
      drm/i915/display: use intel_de_*() functions for register access
      drm/i915/gem: use spinlock_t instead of struct spinlock
      drm/i915: split intel_modeset_driver_remove() to pre/post irq uninstall
      drm/i915: split i915_driver_modeset_remove() to pre/post irq uninstall
      drm/i915: split i915_driver_modeset_probe() to pre/post irq install
      drm/i915: make dbuf configurations const
      drm/i915: fix header test with GCOV

Janusz Krzysztofik (1):
      drm/i915: Never allow userptr into the new mapping types

José Roberto de Souza (11):
      drm/i915/dp/tgl+: Update combo phy vswing tables
      drm/i915/vbt: Rename BDB_LVDS_POWER to BDB_LFP_POWER
      drm/i915/psr: Share the computation of idle frames
      drm/i915/dc3co: Do the full calculation of DC3CO exit only once
      drm/i915/dc3co: Avoid full modeset when EXITLINE needs to be changed
      drm/i915: Fix preallocated barrier list append
      drm/i915/display: Set TRANS_DDI_MODE_SELECT to default value when clearing DDI select
      drm/i915/display/ehl: Add HBR2 and HBR3 voltage swing table
      drm/i915/dc3co: Add description of how it works
      drm/i915/mst: Set intel_dp_set_m_n() for MST slaves
      drm/i915/psr: Force PSR probe only after full initialization

Kees Cook (1):
      drm/i915: Distribute switch variables for initialization

Lionel Landwerlin (1):
      drm/i915: add extra slice common debug registers

Lyude Paul (6):
      drm/i915: Fix eDP DPCD aux max backlight calculations
      drm/i915: Assume 100% brightness when not in DPCD control mode
      drm/i915: Fix DPCD register order in intel_dp_aux_enable_backlight()
      drm/i915: Auto detect DPCD backlight support by default
      drm/i915: Don't use VBT for detecting DPCD backlight controls
      Revert "drm/i915: Don't use VBT for detecting DPCD backlight controls"

Manasi Navare (3):
      drm/i915/dp: Do not set master_trans bit in bitmak if INVALID_TRANSCODER
      drm/i915/dp: Compute port sync crtc states post compute_config()
      drm/i915/dp: Add all tiled and port sync conns to modeset

Matt Atwood (1):
      drm/i915: add Wa_14010594013: icl,ehl

Matt Roper (6):
      drm/i915/gen11: Add additional pcode status values
      drm/i915/ehl: Update port clock voltage level requirements
      drm/i915/tgl: Update cdclk voltage level settings
      drm/i915: Program MBUS with rmw during initialization
      drm/i915/tgl: Program MBUS_ABOX{1,2}_CTL during display init
      drm/i915/tgl: Add Wa_22010178259:tgl

Matthew Auld (5):
      drm/i915/userptr: add user_size limit check
      drm/i915/userptr: fix size calculation
      drm/i915/selftests/perf: measure memcpy bw between regions
      drm/i915/selftests: drop igt_ppgtt_exhaust_huge
      drm/i915: remove the other slab_dependencies

Michal Wajdeczko (12):
      drm/i915/guc: Simpler CT message size calculation
      drm/i915/guc: Introduce CT_ERROR
      drm/i915/guc: Update CTB helpers to use CT_ERROR
      drm/i915/guc: Use correct name for last CT fence
      drm/i915/guc: Don't GEM_BUG_ON on corrupted G2H CTB
      drm/i915/guc: Don't pass CTB while writing
      drm/i915/guc: Don't pass CTB while reading
      drm/i915/guc: Switch to CT_ERROR in ct_read
      drm/i915/guc: Introduce CT_DEBUG
      drm/i915/guc: Don't GEM_BUG_ON on corrupted H2G CTB
      drm/i915/guc: Introduce guc_is_ready
      drm/i915/guc: Make sure to sanitize CT status

Michał Winiarski (2):
      drm/i915/pmu: Avoid using globals for CPU hotplug state
      drm/i915/pmu: Avoid using globals for PMU events

Mika Kuoppala (4):
      drm/i915: Disable tesselation clock gating on tgl A0
      drm/i915: Implement Wa_1607090982
      drm/i915: Remove lite restore defines
      drm/i915: Use engine wa list for Wa_1607090982

Pankaj Bharadiya (24):
      drm/i915/display: Make WARN* drm specific where encoder ptr is available
      drm/i915/gem: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/gt: Make WARN* drm specific where drm_priv ptr is available
      drm/i915: Make WARN* drm specific where drm_priv ptr is available
      drm/i915: Make WARN* drm specific where uncore or stream ptr is available
      drm/i915/display/icl_dsi: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/audio: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/crt: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/dpll_mgr: Make WARN* drm specific where drm_device ptr is available
      drm/i915/display/fbc: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/fbdev: Make WARN* drm specific where drm_device ptr is available
      drm/i915/display/hdmi: Make WARN* drm specific where drm_device ptr is available
      drm/i915/display/overlay: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/panel: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/psr: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/sdvo: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/tc: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display: Make WARN* drm specific where drm_device ptr is available
      drm/i915/display/cdclk: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/ddi: Make WARN* drm specific where drm_device ptr is available
      drm/i915/display/display: Make WARN* drm specific where drm_device ptr is available
      drm/i915/display/power: Make WARN* drm specific where drm_priv ptr is available
      drm/i915/display/dp: Make WARN* drm specific where drm_device ptr is available
      drm/i915/display/hdcp: Make WARN* drm specific where drm_priv ptr is available

Radhakrishna Sripada (1):
      drm/i915/tgl: Add Wa_1409825376 to tgl

Rafael Antognolli (1):
      drm/i915/tgl: Add Wa_1808121037 to tgl.

Rajat Jain (1):
      drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi

Rodrigo Vivi (5):
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20200224
      drm/i915: Update DRIVER_DATE to 20200224
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20200225

Stanislav Lisovskiy (8):
      drm/i915: Fix inconsistance between pfit.enable and scaler freeing
      drm/i915: Remove skl_ddl_allocation struct
      drm/i915: Move dbuf slice update to proper place
      drm/i915: Update dbuf slices only with full modeset
      drm/i915: Introduce parameterized DBUF_CTL
      drm/i915: Manipulate DBuf slices properly
      drm/i915: Correctly map DBUF slices to pipes
      drm/i915: Ensure no conflicts with BIOS when updating Dbuf

Tvrtko Ursulin (3):
      drm/i915: Align engine->uabi_class/instance with i915_drm.h
      drm/i915/debugfs: Remove i915_energy_uJ
      drm/i915: Track hw reported context runtime

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Fix OA context id overlap with idle context id

Vandita Kulkarni (2):
      drm/i915/bios: Fix the timing parameters
      drm/i915/dsi: Enable ICL DSI transcoder as part of encoder->enable

Ville Syrjälä (58):
      drm/i915: Make a copy of the ggtt view for slave plane
      drm/i915/fbc: Move the plane state check into the fbc functions
      drm/i915/fbc: Nuke fbc_supported()
      drm/i915/fbc: Add fbc tracepoints
      drm/i915: Fix post-fastset modeset check for port sync
      drm/i915: Clear most of crtc state when disabling the crtc
      drm/i915: Prefer to use the pipe to index the ddb entries
      drm/i915: Use PIPE_CONF_CHECK_X() for sync_mode_slaves_mask
      drm/i915: Move encoder variable to tighter scope
      drm/i915/sdvo: Reduce the size of the on stack buffers
      drm/i915: Consolidate HDMI force_dvi handling
      drm/i915/sdvo: Consolidate SDVO HDMI force_dvi handling
      drm/i915: Use intel_attached_encoder()
      drm/i915: Relocate intel_attached_dp()
      drm/i915: Use intel_attached_dp() instead of hand rolling it
      drm/i915: Rename conn_to_dig_port() to intel_attached_dig_port()
      drm/i915/hdcp: Clean up local variables
      drm/i915: Clear old hw.fb & co. from slave plane's state
      drm/i915: Stop looking at plane->state in intel_prepare_plane_fb()
      drm/i915: s/intel_state/state/ in intel_{prepare,cleanup}_plane_fb()
      drm/i915: Balance prepare_fb/cleanup_fb
      drm/i915: Cleanup properly if the implicit fence setup fails
      drm/i915: Fix modeset locks in sanitize_watermarks()
      drm/i915: Prefer intel_connector over drm_connector in hotplug code
      drm/i915: Include the AUX CH name in the debug messages
      drm/i915: Give aux channels a better name
      drm/i915: Polish WM_LINETIME register stuff
      drm/i915: Move linetime wms into the crtc state
      drm/i915: Nuke skl wm.dirty_pipes bitmask
      drm/i915: Move more cdclk state handling into the cdclk code
      drm/i915: Collect more cdclk state under the same roof
      drm/i915: s/need_cd2x_updare/can_cd2x_update/
      drm/i915: s/cdclk_state/cdclk_config/
      drm/i915: Simplify intel_set_cdclk_{pre,post}_plane_update() calling convention
      drm/i915: Extract intel_cdclk_state
      drm/i915: swap() the entire cdclk state
      drm/i915: s/init_cdclk/init_cdclk_hw/
      drm/i915: Move intel_atomic_state_free() into intel_atomic.c
      drm/i915: Introduce better global state handling
      drm/i915: Convert bandwidth state to global state
      drm/i915: Introduce intel_calc_active_pipes()
      drm/i915: Convert cdclk to global state
      drm/i915: Store active_pipes bitmask in cdclk state
      drm/i915: Introduce intel_connector_hpd_pin()
      drm/i915/crt: Configure connector->polled and encoder->hpd_pin consistently
      drm/i915: Mark ns2501 as LVDS without a fixed mode
      drm/i915/dvo: Mark TMDS DVO connectors as polled
      drm/i915: Sprinkle missing commas
      drm/i915: Don't use uninitialized 'ret'
      drm/i915: Fix the docs for intel_set_cdclk_post_plane_update()
      drm/i915: Force state->modeset=true when distrust_bios_wm==true
      drm/i915: Introduce encoder->compute_config_late()
      drm/i915: Add i9xx_lut_8()
      drm/i915/hpd: Replace the loop-within-loop with two independent loops
      drm/i915: Mark all HPD capabled connectors as such
      drm/i915: Parametrize PFIT_PIPE
      drm/i915: Use intel_de_write_fw() for skl+ scaler registers
      drm/i915: Correctly terminate connector iteration

Vivek Kasireddy (3):
      drm/i915/dsi: Lookup the i2c bus from ACPI NS only if CONFIG_ACPI=y (v2)
      drm/i915/dsi: Ensure that the ACPI adapter lookup overrides the bus num
      drm/i915/ehl: Ensure that the DDI selection MUX is programmed correctly

Wambui Karuga (48):
      drm/i915: conversion to new logging macros in i915/i915_vgpu.c
      drm/i915: conversion to new logging macros in i915/intel_csr.c
      drm/i915: conversion to new logging macros in i915/intel_device_info.c
      drm/i915: convert to new logging macros in i915/intel_gvt.c
      drm/i915: convert to new logging macros in i915/intel_memory_region.c
      drm/i915/atomic: use struct drm_device logging macros
      drm/i915/bios: convert to struct drm_device logging macros.
      drm/i915/audio: convert to struct drm_device logging macros.
      drm/i915/bw: convert to drm_device based logging macros
      drm/i915/cdclk: use new struct drm_device logging macros
      drm/i915/display: conversion to new struct drm_device logging macros.
      drm/i915/dsi: conversion to struct drm_device log macros.
      drm/i915/power: convert to struct drm_device macros in display/intel_display_power.c
      drm/i915/dp: conversion to struct drm_device logging macros.
      drm/i915/opregion: conversion to struct drm_device logging macros.
      drm/i915/hdcp: conversion to struct drm_device based logging macros.
      drm/i915/gem: initial conversion to new logging macros using coccinelle
      drm/i915/gem: manual conversion to struct drm_device logging macros.
      drm/i915/ggtt: use new drm logging macros in gt/intel_ggtt.c
      drm/i915/reset: conversion to new drm logging macros in gt/intel_reset.c
      drm/i915/engine_cs: use new drm logging macros in gt/intel_engine_cs.c
      drm/i915/gt: convert to new logging macros in gt/intel_gt.c
      drm/i915/ring: convert to new logging macros in gt/intel_ring_submission.c
      drm/i915/vlv_dsi_pll: conversion to struct drm_device logging macros.
      drm/i915/vlv_dsi: conversion to drm_device based logging macros.
      drm/i915/vga: conversion to drm_device based logging macros.
      drm/i915/vdsc: convert to struct drm_device based logging macros.
      drm/i915/tv: automatic conversion to drm_device based logging macros.
      drm/i915/tc: automatic conversion to drm_device based logging macros.
      drm/i915/sprite: automatic conversion to drm_device based logging macros
      drm/i915/sdvo: automatic conversion to drm_device based logging macros.
      drm/i915/quirks: automatic conversion to drm_device based logging macros.
      drm/i915/psr: automatic conversion to drm_device based logging macros.
      drm/i915/pipe_crc: automatic conversion to drm_device based logging macros.
      drm/i915/panel: automatic conversion to drm_device based logging macros.
      drm/i915: conversion to drm_device logging macros when drm_i915_private is present.
      drm/i915/debugfs: conversion to drm_device based logging macros.
      drm/i915/cmd_parser: conversion to struct drm_device logging macros.
      drm/i915/pci: conversion to drm_device based logging macros.
      drm/i915/dp_link_training: convert to drm_device based logging macros.
      drm/i915/atomic: conversion to drm_device based logging macros.
      drm/i915/color: conversion to drm_device based logging macros.
      drm/i915/crt: automatic conversion to drm_device based logging macros.
      drm/i915/dpll_mgr: convert to drm_device based logging macros.
      drm/i915/combo_phy: convert to struct drm_device logging macros.
      drm/i915/dsi_vbt: convert to drm_device based logging macros.
      drm/i915/dpio_phy: convert to drm_device based logging macros.
      drm/i915/perf: conversion to struct drm_device based logging macros.

Zhang Xiaoxu (1):
      drm/i915: Fix i915_error_state_store error defination

 MAINTAINERS                                        |    2 +-
 drivers/gpu/drm/i915/Kconfig                       |   12 +-
 drivers/gpu/drm/i915/Makefile                      |   15 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |  383 ++-
 drivers/gpu/drm/i915/display/intel_acpi.c          |   89 +
 drivers/gpu/drm/i915/display/intel_acpi.h          |    5 +
 drivers/gpu/drm/i915/display/intel_atomic.c        |   57 +-
 drivers/gpu/drm/i915/display/intel_atomic.h        |    5 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |   73 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |    5 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |  247 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  443 ++-
 drivers/gpu/drm/i915/display/intel_bios.h          |   11 +
 drivers/gpu/drm/i915/display/intel_bw.c            |   63 +-
 drivers/gpu/drm/i915/display/intel_bw.h            |    4 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         | 1084 +++---
 drivers/gpu/drm/i915/display/intel_cdclk.h         |   73 +-
 drivers/gpu/drm/i915/display/intel_color.c         |  222 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |  163 +-
 drivers/gpu/drm/i915/display/intel_connector.c     |    5 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |  127 +-
 drivers/gpu/drm/i915/{ => display}/intel_csr.c     |   42 +-
 drivers/gpu/drm/i915/{ => display}/intel_csr.h     |    0
 drivers/gpu/drm/i915/display/intel_ddi.c           |  944 +++---
 drivers/gpu/drm/i915/display/intel_de.h            |   72 +
 drivers/gpu/drm/i915/display/intel_display.c       | 3442 +++++++++++---------
 drivers/gpu/drm/i915/display/intel_display.h       |    7 +
 .../gpu/drm/i915/display/intel_display_debugfs.c   | 2129 ++++++++++++
 .../gpu/drm/i915/display/intel_display_debugfs.h   |   20 +
 drivers/gpu/drm/i915/display/intel_display_power.c |  737 +++--
 drivers/gpu/drm/i915/display/intel_display_power.h |    5 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   54 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  848 +++--
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |  169 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |   75 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   33 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |  108 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  677 ++--
 drivers/gpu/drm/i915/display/intel_dsb.c           |   30 +-
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |    6 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |  167 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |   49 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  202 +-
 drivers/gpu/drm/i915/display/intel_fbc.h           |   13 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   13 +-
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |   37 +-
 drivers/gpu/drm/i915/display/intel_global_state.c  |  223 ++
 drivers/gpu/drm/i915/display/intel_global_state.h  |   87 +
 drivers/gpu/drm/i915/display/intel_gmbus.c         |   77 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |  414 ++-
 drivers/gpu/drm/i915/display/intel_hdcp.h          |    5 +
 drivers/gpu/drm/i915/display/intel_hdmi.c          |  423 +--
 drivers/gpu/drm/i915/display/intel_hotplug.c       |  136 +-
 drivers/gpu/drm/i915/display/intel_lpe_audio.c     |   16 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |   64 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |  221 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |   57 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  389 ++-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c      |   34 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  386 ++-
 drivers/gpu/drm/i915/display/intel_psr.h           |    1 +
 drivers/gpu/drm/i915/display/intel_quirks.c        |   10 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |  113 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  385 ++-
 drivers/gpu/drm/i915/display/intel_tc.c            |   51 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |  164 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |    2 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |  443 ++-
 drivers/gpu/drm/i915/display/intel_vga.c           |   14 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  440 +--
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   96 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  368 ++-
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |   13 +-
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |    8 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |   66 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |    5 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |   98 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c             |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c       |   17 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |  135 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.h         |    1 -
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |   19 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |  102 -
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  163 +-
 .../drm/i915/gem/selftests/i915_gem_object_blt.c   |   74 +-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |    5 +-
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |    3 +
 drivers/gpu/drm/i915/gt/intel_context.c            |    9 +-
 drivers/gpu/drm/i915/gt/intel_context.h            |   20 +
 drivers/gpu/drm/i915/gt/intel_context_sseu.c       |   98 +
 drivers/gpu/drm/i915/gt/intel_context_types.h      |   12 +
 drivers/gpu/drm/i915/gt/intel_engine.h             |   22 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  145 +-
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |    8 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |    4 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   12 +-
 drivers/gpu/drm/i915/gt/intel_engine_user.c        |    3 +-
 drivers/gpu/drm/i915/gt/intel_ggtt.c               |   91 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   65 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |  117 +-
 drivers/gpu/drm/i915/gt/intel_gt_irq.h             |    3 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |    3 +
 drivers/gpu/drm/i915/gt/intel_gtt.c                |   36 +-
 drivers/gpu/drm/i915/gt/intel_gtt.h                |    4 +-
 drivers/gpu/drm/i915/gt/intel_llc.c                |    6 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  328 +-
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |    1 +
 drivers/gpu/drm/i915/gt/intel_mocs.c               |   76 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c                |   10 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |   83 +-
 drivers/gpu/drm/i915/gt/intel_ring.c               |    7 +-
 drivers/gpu/drm/i915/gt/intel_ring.h               |    8 +
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   87 +-
 drivers/gpu/drm/i915/gt/intel_ring_types.h         |    7 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |   20 +-
 drivers/gpu/drm/i915/gt/intel_timeline.c           |    6 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |  138 +-
 drivers/gpu/drm/i915/gt/intel_workarounds_types.h  |    4 +-
 drivers/gpu/drm/i915/gt/mock_engine.c              |    3 +
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |    2 +-
 drivers/gpu/drm/i915/gt/selftest_llc.c             |   11 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             | 1210 +++++--
 drivers/gpu/drm/i915/gt/selftest_mocs.c            |   24 +-
 drivers/gpu/drm/i915/gt/selftest_rc6.c             |    5 +-
 drivers/gpu/drm/i915/gt/selftest_reset.c           |    2 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |  188 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |    9 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |   30 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |   23 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c          |  255 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h          |    7 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    9 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.h  |   19 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |    7 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.h             |    8 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c          |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |   69 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h              |   62 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |    9 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h           |   18 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |    8 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |    3 +-
 drivers/gpu/drm/i915/i915_active.c                 |   16 +-
 drivers/gpu/drm/i915/i915_active.h                 |    3 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c             |   29 +-
 drivers/gpu/drm/i915/i915_debugfs.c                | 2302 +------------
 drivers/gpu/drm/i915/i915_debugfs.h                |    8 +-
 drivers/gpu/drm/i915/i915_debugfs_params.c         |  250 ++
 drivers/gpu/drm/i915/i915_debugfs_params.h         |   14 +
 drivers/gpu/drm/i915/i915_drv.c                    |  756 +----
 drivers/gpu/drm/i915/i915_drv.h                    |   98 +-
 drivers/gpu/drm/i915/i915_gem.c                    |   26 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.c          |   13 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |    3 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   34 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |    5 +
 drivers/gpu/drm/i915/i915_irq.c                    |  236 +-
 drivers/gpu/drm/i915/i915_params.c                 |   11 +-
 drivers/gpu/drm/i915/i915_params.h                 |   74 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   20 +-
 drivers/gpu/drm/i915/i915_perf.c                   |   80 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   65 +-
 drivers/gpu/drm/i915/i915_pmu.h                    |   11 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   42 +-
 drivers/gpu/drm/i915/i915_request.c                |   75 +-
 drivers/gpu/drm/i915/i915_request.h                |    2 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |   16 +-
 drivers/gpu/drm/i915/i915_sw_fence.c               |   17 +-
 drivers/gpu/drm/i915/i915_sw_fence.h               |    2 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |   19 +-
 drivers/gpu/drm/i915/i915_trace.h                  |   66 +-
 drivers/gpu/drm/i915/i915_utils.c                  |    5 +-
 drivers/gpu/drm/i915/i915_vgpu.c                   |   41 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   66 +-
 drivers/gpu/drm/i915/i915_vma.h                    |    2 +
 drivers/gpu/drm/i915/intel_device_info.c           |   44 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    4 +
 drivers/gpu/drm/i915/intel_gvt.c                   |   15 +-
 drivers/gpu/drm/i915/intel_memory_region.c         |    4 +-
 drivers/gpu/drm/i915/intel_pch.c                   |   66 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  642 ++--
 drivers/gpu/drm/i915/intel_pm.h                    |    5 +-
 drivers/gpu/drm/i915/intel_sideband.c              |   11 +-
 drivers/gpu/drm/i915/intel_uncore.c                |   54 +-
 drivers/gpu/drm/i915/selftests/i915_gem.c          |    6 +-
 .../gpu/drm/i915/selftests/i915_perf_selftests.h   |    1 +
 .../gpu/drm/i915/selftests/intel_memory_region.c   |  203 ++
 drivers/gpu/drm/i915/vlv_suspend.c                 |  489 +++
 drivers/gpu/drm/i915/vlv_suspend.h                 |   18 +
 196 files changed, 16273 insertions(+), 11429 deletions(-)
 rename drivers/gpu/drm/i915/{ => display}/intel_csr.c (94%)
 rename drivers/gpu/drm/i915/{ => display}/intel_csr.h (100%)
 create mode 100644 drivers/gpu/drm/i915/display/intel_de.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_debugfs.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_debugfs.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_global_state.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_global_state.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_context_sseu.c
 create mode 100644 drivers/gpu/drm/i915/i915_debugfs_params.c
 create mode 100644 drivers/gpu/drm/i915/i915_debugfs_params.h
 create mode 100644 drivers/gpu/drm/i915/vlv_suspend.c
 create mode 100644 drivers/gpu/drm/i915/vlv_suspend.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2020-01-14 12:05 ` Chris Wilson
@ 2020-01-14 12:15   ` Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2020-01-14 12:15 UTC (permalink / raw)
  To: Chris Wilson, Daniel Vetter, Dave Airlie
  Cc: Sean Paul, intel-gfx, dim-tools, dri-devel, Rodrigo Vivi

On Tue, 14 Jan 2020, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> Quoting Jani Nikula (2020-01-14 11:43:22)
>> 
>> Hi Dave & Daniel -
>> 
>> Last batch for v5.6, slightly delayed I'm afraid.
>
> I'd like to close https://gitlab.freedesktop.org/drm/intel/issues/738
> for 5.6, otherwise we'll have some more nasty emails from bewildered
> users/devs.
>
> https://patchwork.freedesktop.org/series/71951/

IMO seems small enough to go through drm-intel-next-fixes for v5.6. But
need to close the dinq floodgates already.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2020-01-14 11:43 Jani Nikula
@ 2020-01-14 12:05 ` Chris Wilson
  2020-01-14 12:15   ` Jani Nikula
  0 siblings, 1 reply; 252+ messages in thread
From: Chris Wilson @ 2020-01-14 12:05 UTC (permalink / raw)
  To: , Daniel Vetter, Dave Airlie, Jani Nikula
  Cc: , dim-tools, intel-gfx, dri-devel, Rodrigo Vivi, Sean Paul

Quoting Jani Nikula (2020-01-14 11:43:22)
> 
> Hi Dave & Daniel -
> 
> Last batch for v5.6, slightly delayed I'm afraid.

I'd like to close https://gitlab.freedesktop.org/drm/intel/issues/738
for 5.6, otherwise we'll have some more nasty emails from bewildered
users/devs.

https://patchwork.freedesktop.org/series/71951/
-Chris
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2020-01-14 11:43 Jani Nikula
  2020-01-14 12:05 ` Chris Wilson
  0 siblings, 1 reply; 252+ messages in thread
From: Jani Nikula @ 2020-01-14 11:43 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: , dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

Last batch for v5.6, slightly delayed I'm afraid.

drm-intel-next-2020-01-14:
Final drm/i915 features for v5.6:
- DP MST fixes (José)
- Fix intel_bw_state memory leak (Pankaj Bharadiya)
- Switch context id allocation to xarray (Tvrtko)
- ICL/EHL/TGL workarounds (Matt Roper, Tvrtko)
- Debugfs for LMEM details (Lukasz Fiedorowicz)
- Prefer platform acronyms over codenames in symbols (Lucas)
- Tiled and port sync mode fixes for fbdev and DP (Manasi)
- DSI panel and backlight enable GPIO fixes (Hans de Goede)
- Relax audio min CDCLK requirements on non-GLK (Kai Vehmanen)
- Plane alignment and dimension check fixes (Imre)
- Fix state checks for PSR (José)
- Remove ICL+ clock gating programming (José)
- Static checker fixes around bool usage (Ma Feng)
- Bring back tests for self-contained headers in i915 (Masahiro Yamada)
- Fix DP MST disable sequence (Ville)
- Start converting i915 to the new drm device based logging macros (Wambui Karuga)
- Add DSI VBT I2C sequence execution (Vivek Kasireddy)
- Start using function pointers and ops structs in uc code (Michal)
- Fix PMU names to not use colons or dashes (Tvrtko)
- TGL media decompression support (DK, Imre)
- Split i915_gem_gtt.[ch] to more manageable chunks (Matthew Auld)
- Create dumb buffers in LMEM where available (Ram)
- Extend mmap support for LMEM (Abdiel)
- Selftest updates (Chris)
- Hack bump up CDCLK on TGL to avoid underruns (Stan)
- Use intel_encoder and intel_connector more instead of drm counterparts (Ville)
- Build error fixes (Zhang Xiaoxu)
- Fixes related to GPU and engine initialization/resume (Chris)
- Support for prefaulting discontiguous objects (Abdiel)
- Support discontiguous LMEM object maps (Chris)
- Various GEM and GT improvements and fixes (Chris)
- Merge pinctrl dependencies branch for the DSI GPIO updates (Jani)
- Backmerge drm-next for new logging macros (Jani)

BR,
Jani.

The following changes since commit a566696cf9f27f701cd4a6426d46f112c180059c:

  Merge tag 'drm-misc-next-2020-01-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-01-09 10:53:58 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-01-14

for you to fetch changes up to f2221a50494037af98206713155c8d4f2e7bccaa:

  drm/i915: Update DRIVER_DATE to 20200114 (2020-01-14 13:39:38 +0200)

----------------------------------------------------------------
Final drm/i915 features for v5.6:
- DP MST fixes (José)
- Fix intel_bw_state memory leak (Pankaj Bharadiya)
- Switch context id allocation to xarray (Tvrtko)
- ICL/EHL/TGL workarounds (Matt Roper, Tvrtko)
- Debugfs for LMEM details (Lukasz Fiedorowicz)
- Prefer platform acronyms over codenames in symbols (Lucas)
- Tiled and port sync mode fixes for fbdev and DP (Manasi)
- DSI panel and backlight enable GPIO fixes (Hans de Goede)
- Relax audio min CDCLK requirements on non-GLK (Kai Vehmanen)
- Plane alignment and dimension check fixes (Imre)
- Fix state checks for PSR (José)
- Remove ICL+ clock gating programming (José)
- Static checker fixes around bool usage (Ma Feng)
- Bring back tests for self-contained headers in i915 (Masahiro Yamada)
- Fix DP MST disable sequence (Ville)
- Start converting i915 to the new drm device based logging macros (Wambui Karuga)
- Add DSI VBT I2C sequence execution (Vivek Kasireddy)
- Start using function pointers and ops structs in uc code (Michal)
- Fix PMU names to not use colons or dashes (Tvrtko)
- TGL media decompression support (DK, Imre)
- Split i915_gem_gtt.[ch] to more manageable chunks (Matthew Auld)
- Create dumb buffers in LMEM where available (Ram)
- Extend mmap support for LMEM (Abdiel)
- Selftest updates (Chris)
- Hack bump up CDCLK on TGL to avoid underruns (Stan)
- Use intel_encoder and intel_connector more instead of drm counterparts (Ville)
- Build error fixes (Zhang Xiaoxu)
- Fixes related to GPU and engine initialization/resume (Chris)
- Support for prefaulting discontiguous objects (Abdiel)
- Support discontiguous LMEM object maps (Chris)
- Various GEM and GT improvements and fixes (Chris)
- Merge pinctrl dependencies branch for the DSI GPIO updates (Jani)
- Backmerge drm-next for new logging macros (Jani)

----------------------------------------------------------------
Abdiel Janulgue (3):
      drm/i915: Introduce remap_io_sg() to prefault discontiguous objects
      drm/i915/gem: Extend mmap support for lmem
      drm/i915/selftests: Extend fault handler selftests to all memory regions

Chen Zhou (1):
      drm/i915/gtt: add missing include file asm/smp.h

Chris Wilson (55):
      drm/i915/gt: Tidy up checking active timelines during retirement
      drm/i915/gt: Flush other retirees inside intel_gt_retire_requests()
      drm/i915: Add spaces before compound GEM_TRACE
      drm/i915/gt: Stop poking at engine->serial at a high level
      drm/i915/gt: Apply sanitiization just before resume
      drm/i915/gt: Ignore incomplete engines after init failure
      drm/i915/selftests: Err out on coherency if initialisation failed
      drm/i915: Restore very early GPU reset
      drn/i915: Break up long i915_buddy_free_list() with a cond_resched()
      drm/i915/gt: Ensure that all new contexts clear STOP_RING
      drm/i915/gt: Avoid using tag 0 for the very first submission
      drm/i915/gt: Avoid using the GPU before initialisation
      drm/i915/gt: Do not restore invalid RS state
      drm/i915/selftests: Flush the context worker
      drm/i915/gt: Leave RING_BB_STATE to default value
      drm/i915/gt: Tweak flushes around ivb ppgtt
      drm/i915/gt: Restore coarse power gating
      drm/i915/gem: Drop local vma->vm_file reference
      drm/i915/gem: Single page objects are naturally contiguous
      drm/i915/gt: Flush ongoing retires during wait_for_idle
      drm/i915/gt: Include a bunch more rcs image state
      drm/i915/gt: Clear LRC image inline
      drm/i915/gt: Ignore stale context state upon resume
      drm/i915/gt: Discard stale context state from across idling
      drm/i915/gt: Always poison the kernel_context image before unparking
      drm/i915/gem: Support discontiguous lmem object maps
      drm/i915/selftests: Move igt_atomic_section[] out of the header
      drm/i915/selftests: Make headers self-contained
      drm/i915/selftests: Compare user mmap against GPU
      drm/i915/selftests: Fixup sparse __user annotation on local var
      drm/i915/selftests: Impose a timeout for request submission
      drm/i915: Merge i915_request.flags with i915_request.fence.flags
      drm/i915/gt: Convert the final GEM_TRACE to GT_TRACE and co
      drm/i915/gt: Drop mutex serialisation between context pin/unpin
      drm/i915/gt: Use memset_p to clear the ports
      drm/i915/gt: Mark up virtual engine uabi_instance
      drm/i915/gt: Take responsibility for engine->release as the last step
      drm/i915/gt: Always force restore freshly pinned contexts
      drm/i915/gt: Drop a defunct timeline assertion
      drm/i915: Early return for no-op i915_vma_pin_fence()
      drm/i915: Reduce warning for i915_vma_pin_iomap() without runtime-pm
      drm/i915: Pin the context as we work on it
      drm/i915/gt: Push context state allocation earlier
      drm/i915/gt: Pull context activation into central intel_context_pin()
      drm/i915/gt: runtime-pm is no longer required for ce->ops->pin()
      drm/i915/gt: Skip trying to unbind in restore_ggtt_mappings
      drm/i915/gt: Mark context->state vma as active while pinned
      drm/i915/gt: Mark ring->vma as active while pinned
      drm/i915: Start chopping up the GPU error capture
      drm/i915: Drop the shadow w/a batch buffer
      drm/i915: Drop the shadow ring state from the error capture
      drm/i915: Drop request list from error state
      drm/i915/gt: Hold rpm wakeref before taking ggtt->vm.mutex
      drm/i915: Correct typo in i915_vma_compress_finish stub
      drm/i915/gt: Always reset the timeslice after a context switch

Dan Carpenter (1):
      drm/i915: fix an error code in intel_modeset_all_tiles()

Dhinakaran Pandiyan (3):
      drm/framebuffer: Format modifier for Intel Gen-12 media compression
      drm/fb: Extend format_info member arrays to handle four planes
      drm/i915/tgl: Gen-12 display can decompress surfaces compressed by the media engine

Hans de Goede (5):
      pinctrl: Allow modules to use pinctrl_[un]register_mappings
      drm/i915/dsi: Move poking of panel-enable GPIO to intel_dsi_vbt.c
      drm/i915/dsi: Init panel-enable GPIO to low when the LCD is initially off (v2)
      drm/i915/dsi: Move Crystal Cove PMIC panel GPIO lookup from mfd to the i915 driver
      drm/i915/dsi: Control panel and backlight enable GPIOs on BYT

Imre Deak (4):
      drm/i915: Add support for non-power-of-2 FB plane alignment
      drm/i915/tgl: Make sure a semiplanar UV plane is tile row size aligned
      drm/i915: Add debug message for FB plane[0].offset!=0 error
      drm/i915: Make sure plane dims are correct for UV CCS planes

Jani Nikula (3):
      Merge branch 'ib-pinctrl-unreg-mappings' of git://git.kernel.org/.../linusw/linux-pinctrl into drm-intel-next-queued
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20200114

José Roberto de Souza (11):
      drm/i915/display: Share intel_connector_needs_modeset()
      drm/i915/tgl: Select master transcoder for MST stream
      drm/i915/display: Always enables MST master pipe first
      drm/i915/dp: Fix MST disable sequence
      drm/i915/display: Prepare for fastset external dependencies check
      drm/i915/mst: Force modeset on MST slaves when master needs a modeset
      drm/i915/display: Add comment to a function that probably can be removed
      drm/i915/display: Use external dependency loop for port sync
      drm/i915/display: Force the state compute phase once to enable PSR
      drm/i915/display/icl+: Do not program clockgating
      drm/i915/display: Fix warning about MST and DDI restrictions

Kai Vehmanen (1):
      drm/i915: Limit audio CDCLK>=2*BCLK constraint back to GLK only

Lucas De Marchi (10):
      drm/i915: simplify prefixes on device_info
      drm/i915: prefer 3-letter acronym for pineview
      drm/i915: prefer 3-letter acronym for haswell
      drm/i915: prefer 3-letter acronym for skylake
      drm/i915: prefer 3-letter acronym for cannonlake
      drm/i915: prefer 3-letter acronym for icelake
      drm/i915: prefer 3-letter acronym for ironlake
      drm/i915: prefer 3-letter acronym for broadwell
      drm/i915: prefer 3-letter acronym for ivybridge
      drm/i915: prefer 3-letter acronym for tigerlake

Lukasz Fiedorowicz (1):
      drm/i915/lmem: debugfs for LMEM details

Ma Feng (3):
      drm/i915: use true,false for bool variable in i915_debugfs.c
      drm/i915/dp: use true,false for bool variable in intel_dp.c
      drm/i915: use true,false for bool variable in intel_crt.c

Manasi Navare (5):
      drm: Handle connector tile support only for modes that match tile size
      drm/fbdev: Fallback to non tiled mode if all tiles not present
      drm/i915/dp: Make sure all tiled connectors get added to the state with full modeset
      drm/i915/dp: Make port sync mode assignments only if all tiles present
      drm/i915/dp: Disable Port sync mode correctly on teardown

Masahiro Yamada (1):
      drm/i915: reimplement header test feature

Matt Roper (5):
      drm/i915: Extend WaDisableDARBFClkGating to icl,ehl,tgl
      drm/i915: Add Wa_1408615072 and Wa_1407596294 to icl,ehl
      drm/i915/tgl: Extend Wa_1408615072 to tgl
      drm/i915/tgl: Assume future platforms will inherit TGL's SFC capability
      drm/i915: Add Wa_1407352427:icl,ehl

Matthew Auld (1):
      drm/i915/gtt: split up i915_gem_gtt

Michal Wajdeczko (4):
      drm/i915/uc: Add ops to intel_uc
      drm/i915/uc: Add init_fw/fini_fw to to intel_uc_ops
      drm/i915/uc: Add init/fini to to intel_uc_ops
      drm/i915/uc: Add sanitize to to intel_uc_ops

Pankaj Bharadiya (1):
      drm/i915/display: cleanup intel_bw_state on i915 module removal

Ramalingam C (2):
      drm/i915: lookup for mem_region of a mem_type
      drm/i915: Create dumb buffer from LMEM

Stanislav Lisovskiy (1):
      drm/i915: Bump up CDCLK to eliminate underruns on TGL

Tvrtko Ursulin (3):
      drm/i915: Switch context id allocation directly to xarray
      drm/i915: Revert "drm/i915/tgl: Wa_1607138340"
      drm/i915/pmu: Do not use colons or dashes in PMU names

Ville Syrjälä (5):
      drm/i915: Fix MST disable sequence
      drm/i915: Pass cpu_transcoder to assert_pipe_disabled() always
      drm/i915: Pass intel_connector to intel_attached_*()
      drm/i915: Pass intel_encoder to enc_to_*()
      drm/i915: Use the passed in encoder

Vivek Kasireddy (1):
      drm/i915/dsi: Parse the I2C element from the VBT MIPI sequence block (v3)

Wambui Karuga (5):
      drm/i915/pch: convert to using the drm_dbg_kms() macro.
      drm/i915/pm: use new struct drm_device logging macros.
      drm/i915/lmem: use new struct drm_device based logging macros.
      drm/i915/sideband: convert to using new struct drm_device logging macros
      drm/i915/uncore: use new struct drm_device based macros.

YueHaibing (1):
      drm/i915: Add missing include file <linux/math64.h>

Zhang Xiaoxu (2):
      drm/i915: Fix multiple definition of 'i915_vma_capture_finish'
      drm/i915: Fix too few arguments to function i915_capture_error_state

 arch/arm/mach-u300/core.c                          |    2 +-
 drivers/gpu/drm/drm_client_modeset.c               |   72 +
 drivers/gpu/drm/drm_fb_helper.c                    |    4 +-
 drivers/gpu/drm/i915/.gitignore                    |    1 +
 drivers/gpu/drm/i915/Makefile                      |   38 +-
 drivers/gpu/drm/i915/display/Makefile              |    6 -
 drivers/gpu/drm/i915/display/icl_dsi.c             |   63 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   34 +
 drivers/gpu/drm/i915/display/intel_atomic.h        |    6 +
 drivers/gpu/drm/i915/display/intel_audio.c         |    8 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |    5 +
 drivers/gpu/drm/i915/display/intel_bw.h            |    1 +
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   12 +
 drivers/gpu/drm/i915/display/intel_crt.c           |   26 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  218 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 1074 ++++--
 drivers/gpu/drm/i915/display/intel_display.h       |    7 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |    6 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   32 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  114 +-
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |   15 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |  202 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.h        |    5 +
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |   18 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |    4 +-
 drivers/gpu/drm/i915/display/intel_dsi.h           |   14 +-
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |    8 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |  229 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |    8 +-
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |   24 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   65 +-
 drivers/gpu/drm/i915/display/intel_hdmi.h          |    2 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |    4 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |    8 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c      |    2 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |   24 +
 drivers/gpu/drm/i915/display/intel_psr.h           |    5 +
 drivers/gpu/drm/i915/display/intel_sdvo.c          |   22 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |   55 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |    8 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    4 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   67 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   12 +-
 drivers/gpu/drm/i915/gem/Makefile                  |    5 -
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |   67 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |    1 -
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c           |   40 -
 drivers/gpu/drm/i915/gem/i915_gem_lmem.h           |    8 -
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |  102 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   79 +-
 drivers/gpu/drm/i915/gem/i915_gem_region.c         |    3 +
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |    2 +
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |    2 +
 .../gpu/drm/i915/gem/selftests/huge_gem_object.h   |    6 +
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   43 +-
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |   12 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |  428 ++-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |    3 +-
 .../gpu/drm/i915/gem/selftests/mock_gem_object.h   |    2 +
 drivers/gpu/drm/i915/gt/Makefile                   |    5 -
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c               |  482 +++
 drivers/gpu/drm/i915/gt/gen6_ppgtt.h               |   76 +
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c               |  723 ++++
 drivers/gpu/drm/i915/gt/gen8_ppgtt.h               |   13 +
 drivers/gpu/drm/i915/gt/intel_context.c            |  166 +-
 drivers/gpu/drm/i915/gt/intel_context.h            |   14 +-
 drivers/gpu/drm/i915/gt/intel_context_types.h      |    2 +
 drivers/gpu/drm/i915/gt/intel_engine.h             |    4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   12 +-
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |    2 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   30 +-
 drivers/gpu/drm/i915/gt/intel_engine_user.c        |    4 +
 drivers/gpu/drm/i915/gt/intel_ggtt.c               | 1486 ++++++++
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   15 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |    7 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   43 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h              |    2 -
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   22 +-
 drivers/gpu/drm/i915/gt/intel_gtt.c                |  598 ++++
 drivers/gpu/drm/i915/gt/intel_gtt.h                |  587 ++++
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  259 +-
 drivers/gpu/drm/i915/gt/intel_mocs.c               |   18 +-
 drivers/gpu/drm/i915/gt/intel_ppgtt.c              |  218 ++
 drivers/gpu/drm/i915/gt/intel_reset.c              |   37 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |   52 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |    2 +-
 drivers/gpu/drm/i915/gt/intel_timeline.c           |    1 -
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |    2 +-
 drivers/gpu/drm/i915/gt/mock_engine.c              |    7 +-
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |    4 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |   48 +-
 drivers/gpu/drm/i915/gt/uc/Makefile                |    5 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |   75 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h              |   36 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |    8 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |    2 +-
 drivers/gpu/drm/i915/i915_active.c                 |   19 +-
 drivers/gpu/drm/i915/i915_buddy.c                  |    4 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |   78 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   11 +-
 drivers/gpu/drm/i915/i915_drv.h                    |   32 +-
 drivers/gpu/drm/i915/i915_gem.c                    |   33 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.c          |    3 +
 drivers/gpu/drm/i915/i915_gem_gtt.c                | 3624 +-------------------
 drivers/gpu/drm/i915/i915_gem_gtt.h                |  630 +---
 drivers/gpu/drm/i915/i915_gpu_error.c              | 1212 +++----
 drivers/gpu/drm/i915/i915_gpu_error.h              |  329 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   18 +-
 drivers/gpu/drm/i915/i915_mm.c                     |   69 +
 drivers/gpu/drm/i915/i915_pci.c                    |  230 +-
 drivers/gpu/drm/i915/i915_perf.c                   |   15 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   11 +-
 drivers/gpu/drm/i915/i915_reg.h                    |   29 +-
 drivers/gpu/drm/i915/i915_request.c                |    1 -
 drivers/gpu/drm/i915/i915_request.h                |   45 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |    6 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   18 +-
 drivers/gpu/drm/i915/i915_vma.h                    |  140 +-
 drivers/gpu/drm/i915/i915_vma_types.h              |  294 ++
 drivers/gpu/drm/i915/intel_device_info.c           |   10 +-
 drivers/gpu/drm/i915/intel_memory_region.c         |   29 +-
 drivers/gpu/drm/i915/intel_memory_region.h         |   14 +
 drivers/gpu/drm/i915/intel_pch.c                   |   46 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  411 ++-
 drivers/gpu/drm/i915/intel_region_lmem.c           |   12 +-
 drivers/gpu/drm/i915/intel_sideband.c              |   29 +-
 drivers/gpu/drm/i915/intel_uncore.c                |   25 +-
 drivers/gpu/drm/i915/intel_wakeref.c               |    5 +-
 drivers/gpu/drm/i915/intel_wakeref.h               |    9 +-
 drivers/gpu/drm/i915/oa/Makefile                   |    7 -
 drivers/gpu/drm/i915/selftests/i915_gem.c          |    2 -
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   78 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    8 +-
 .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    8 +-
 .../gpu/drm/i915/selftests/i915_perf_selftests.h   |    8 +-
 drivers/gpu/drm/i915/selftests/i915_random.h       |    1 +
 drivers/gpu/drm/i915/selftests/igt_atomic.c        |   47 +
 drivers/gpu/drm/i915/selftests/igt_atomic.h        |   41 +-
 drivers/gpu/drm/i915/selftests/igt_live_test.h     |    2 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   |   33 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |    3 +
 drivers/gpu/drm/i915/selftests/mock_gtt.c          |    9 +-
 drivers/mfd/intel_soc_pmic_core.c                  |   19 -
 drivers/pinctrl/core.c                             |   41 +-
 drivers/pinctrl/core.h                             |    4 -
 drivers/pinctrl/devicetree.c                       |    4 +-
 include/drm/drm_fourcc.h                           |    8 +-
 include/linux/pinctrl/machine.h                    |    5 +
 include/uapi/drm/drm_fourcc.h                      |   13 +
 151 files changed, 9094 insertions(+), 7095 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/.gitignore
 delete mode 100644 drivers/gpu/drm/i915/display/Makefile
 delete mode 100644 drivers/gpu/drm/i915/gem/Makefile
 delete mode 100644 drivers/gpu/drm/i915/gt/Makefile
 create mode 100644 drivers/gpu/drm/i915/gt/gen6_ppgtt.c
 create mode 100644 drivers/gpu/drm/i915/gt/gen6_ppgtt.h
 create mode 100644 drivers/gpu/drm/i915/gt/gen8_ppgtt.c
 create mode 100644 drivers/gpu/drm/i915/gt/gen8_ppgtt.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ggtt.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gtt.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gtt.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ppgtt.c
 delete mode 100644 drivers/gpu/drm/i915/gt/uc/Makefile
 create mode 100644 drivers/gpu/drm/i915/i915_vma_types.h
 delete mode 100644 drivers/gpu/drm/i915/oa/Makefile
 create mode 100644 drivers/gpu/drm/i915/selftests/igt_atomic.c

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2019-12-23 17:53 Jani Nikula
  0 siblings, 0 replies; 252+ messages in thread
From: Jani Nikula @ 2019-12-23 17:53 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: , dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx


Hi Dave & Daniel -

The first, and huge, i915 feature pull for v5.6. We really need to fix
dim to allow continuous tagging, and properly handle multiple tags in a
single pull request. Writing changelogs for pulls like this becomes
daunting.

Consequently, the changelog below is more like a haphazard collection of
notes, I'm afraid. Content-wise it's mostly all right for i915 core and
display, but I fail at even attempting to adequately describe Chris'
amazing 200+ commits in gem/gt. A lot of it is tying loose ends after
the vulnerability fixes landed directly to v5.4.

Anyway, if you're not happy with the gifts, you're going to have to wait
until after the holidays for gift returns. Santa is busy now.


Seasons greetings,
Jani.


drm-intel-next-2019-12-23:
i915 features for v5.6:

- Separate hardware and uapi state (Maarten)

- Expose a number of sprite and plane formats (Ville)

- DDC symlink in HDMI connector sysfs directory (Andrzej Pietrasiewicz)

- Improve obj->mm.lock nesting lock annotation (Daniel)
  (Includes lockdep changes)

- Selftest improvements across the board (Chris)

- ICL/TGL VDSC support on DSI (Jani, Vandita)

- TGL DSB fixes (Animesh, Lucas, Tvrtko)

- VBT parsing improvements and fixes (Lucas, Matt, José, Jani, Dan Carpenter)

- Fix LPSS vs. PMIC PWM backlight use on BYT/CHT (Hans)
  (Includes ACPI+MFD changes)

- Display state, crtc, plane code refactoring (Ville)

- Set opregion chpd value to indicate the driver handles hotplug (Hans de Goede)

- DSI updates and fixes, TGL pipe D support, port mapping (José, Jani, Vandita)

- Make HDCP 2.2 support cover CFL (Juston Li)

- Fix CML PCI IDs and ULT (Shawn Lee)

- CMP-V PCH fix (Imre)

- TGL: Add another TGL PCH ID (James)

- EHL/JSL: Add new PCI IDs (James)

- Rename pipe update tracepoints (Ville)

- Fix FBC on GLK+ (Ville)

- GuC fixes and improvements (Daniele, Don Hiatt, Stuart Summers, Matthew Brost)

- Display debugfs improvements (Ville)

- Hotplug/irq fixes (Matt)

- PSR fixes and improvements (José)

- DRM_I915_GEM_MMAP_OFFSET ioctl (Abdiel)

- Static analysis fixes (Colin Ian King)

- Register sysctl path globally (Venkata Sandeep Dhanalakota)

- Introduce new macros for tracing (Venkata Sandeep Dhanalakota)

- Migrate gt towards intel_uncore_read/write (Andi)

- Add rps frequency translation helpers (Andi)

- Fix TGL transcoder clock off sequence (José)

- Fix TGL port A audio (Kai Vehmanen)

- TGL render decompression (DK)

- GEM/GT improvements and fixes across the board (Chris)

- Couple of backmerges (Jani)

BR,
Jani.

The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a:

  Linux 5.5-rc1 (2019-12-08 14:57:55 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-12-23

for you to fetch changes up to 3446c63a0f2a691fdc6fffaddc6e0c1285efc80c:

  drm/i915: Update DRIVER_DATE to 20191223 (2019-12-23 19:08:14 +0200)

----------------------------------------------------------------
i915 features for v5.6:

- Separate hardware and uapi state (Maarten)

- Expose a number of sprite and plane formats (Ville)

- DDC symlink in HDMI connector sysfs directory (Andrzej Pietrasiewicz)

- Improve obj->mm.lock nesting lock annotation (Daniel)
  (Includes lockdep changes)

- Selftest improvements across the board (Chris)

- ICL/TGL VDSC support on DSI (Jani, Vandita)

- TGL DSB fixes (Animesh, Lucas, Tvrtko)

- VBT parsing improvements and fixes (Lucas, Matt, José, Jani, Dan Carpenter)

- Fix LPSS vs. PMIC PWM backlight use on BYT/CHT (Hans)
  (Includes ACPI+MFD changes)

- Display state, crtc, plane code refactoring (Ville)

- Set opregion chpd value to indicate the driver handles hotplug (Hans de Goede)

- DSI updates and fixes, TGL pipe D support, port mapping (José, Jani, Vandita)

- Make HDCP 2.2 support cover CFL (Juston Li)

- Fix CML PCI IDs and ULT (Shawn Lee)

- CMP-V PCH fix (Imre)

- TGL: Add another TGL PCH ID (James)

- EHL/JSL: Add new PCI IDs (James)

- Rename pipe update tracepoints (Ville)

- Fix FBC on GLK+ (Ville)

- GuC fixes and improvements (Daniele, Don Hiatt, Stuart Summers, Matthew Brost)

- Display debugfs improvements (Ville)

- Hotplug/irq fixes (Matt)

- PSR fixes and improvements (José)

- DRM_I915_GEM_MMAP_OFFSET ioctl (Abdiel)

- Static analysis fixes (Colin Ian King)

- Register sysctl path globally (Venkata Sandeep Dhanalakota)

- Introduce new macros for tracing (Venkata Sandeep Dhanalakota)

- Migrate gt towards intel_uncore_read/write (Andi)

- Add rps frequency translation helpers (Andi)

- Fix TGL transcoder clock off sequence (José)

- Fix TGL port A audio (Kai Vehmanen)

- TGL render decompression (DK)

- GEM/GT improvements and fixes across the board (Chris)

- Couple of backmerges (Jani)

----------------------------------------------------------------
Abdiel Janulgue (1):
      drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET

Andi Shyti (4):
      drm/i915/gt: Replace I915_READ with intel_uncore_read
      drm/i915/gt: Replace I915_WRITE with its uncore counterpart
      drm/i915/rps: Add frequency translation helpers
      drm/i915/gt: Move pm debug files into a gt aware debugfs

Andrzej Pietrasiewicz (1):
      drm/i915: Provide ddc symlink in hdmi connector sysfs directory

Animesh Manna (1):
      drm/i915/dsb: Fix in mmio offset calculation of DSB instance

Bruce Chang (1):
      drm/i915: Avoid atomic context for error capture

Chris Wilson (212):
      drm/i915/selftests: Spin on all engines simultaneously
      drm/i915/gt: Pull timeline initialise to intel_gt_init_early
      drm/i915/gt: Call intel_gt_sanitize() directly
      drm/i915/gem: Leave reloading kernel context on resume to GT
      drm/i915/gt: Move user_forcewake application to GT
      drm/i915: Defer rc6 shutdown to suspend_late
      drm/i915/selftests: Add intel_gt_suspend_prepare
      drm/i915/perf: Reverse a ternary to make sparse happy
      drm/i915/selftests: Flush all active callbacks
      drm/i915/execlists: Verify context register state before execution
      drm/i915/execlists: Ignore the inactive kernel context in assert_pending_valid
      drm/i915/gt: Drop false assertion on user_forcewake
      drm/i915: Protect request peeking with RCU
      drm/i915/execlists: Reset CSB pointers by mmio as well
      drm/i915/gem: Early rejection of no-aperture map_ggtt
      drm/i915/gt: Only drop heartbeat.systole if the sole owner
      drm/i915/gem: Fix error path to unlock if the GEM context is closed
      drm/i915/gt: Cleanup heartbeat systole first
      drm/i915: Leave the aliasing-ppgtt size alone
      drm/i915/gt: Defer engine registration until fully initialised
      drm/i915/gem: Safely acquire the ctx->vm when copying
      drm: Move EXPORT_SYMBOL_FOR_TESTS_ONLY under a separate Kconfig
      drm: Expose a method for creating anonymous struct file around drm_minor
      drm/i915/selftests: Replace mock_file hackery with drm's true fake
      drm/i915/selftests: Wrap vm_mmap() around GEM objects
      drm/i915/selftests: Verify mmap_gtt revocation on unbinding
      drm/i915/selftests: Complete transition to a real struct file mock
      drm/i915/selftests: Mark up sole accessor to ctx->vm as being protected
      drm/i915/pmu: Cheat when reading the actual frequency to avoid fw
      drm/i915/pmu: Only use exclusive mmio access for gen7
      drm/i915/icl: Refine PG_HYSTERESIS
      drm/i915: Protect context while grabbing its name for the request
      drm/i915/gem: Embed context/timeline name inside the GEM context
      drm/i915/gem: Update context name on closing
      drm/i915: Show guilty context name on GPU reset
      drm/i915: Cancel context if it hangs after it is closed
      drm/i915/pmu: "Frequency" is reported as accumulated cycles
      drm/i915/selftests: Exercise parallel blit operations on a single ctx
      drm/i915/selftests: Fill all the drm_vma_manager holes
      drm/i915: Taint the kernel on dumping the GEM ftrace buffer
      drm/i915/execlists: Reduce barrier on context switch to a wmb()
      drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
      drm/i915/userptr: Handle unlocked gup retries
      drm/i915/execlists: Move reset_active() from schedule-out to schedule-in
      drm/i915/selftests: Perform some basic cycle counting of MI ops
      drm/i915/gem: Replace implicit dev_priv->uncore for stolen init
      drm/i915/gem: Pass mem region to preallocated stolen
      drm/i915: Remove leftover gem.pm_notifier member
      drm/i915/gt: Try an extra flush on the Haswell blitter
      drm/i915: Flush context free work on cleanup
      drm/i915/selftests: Remove unused local variable 'file'
      drm/i915/gt: Flush gen7 even harder
      drm/i915/gt: Invalidate as we write the gen7 breadcrumb
      drm/i915/fbdev: Restore physical addresses for fb_mmap()
      drm/i915/gt: Set unused mocs entry to follow PTE on tgl as on all others
      drm/i915/gt: Tidy up debug-warns for the mocs control table
      drm/i915/gt: Refactor mocs loops into single control macro
      drm/i915/selftests: Add coverage of mocs registers
      drm/i915: Split i915_active.mutex into an irq-safe spinlock for the rbtree
      drm/i915/gt: Wait for new requests in intel_gt_retire_requests()
      drm/i915/gem: Silence sparse for RCU protection inside the constructor
      drm/i915: Simplify NEEDS_WaRsDisableCoarsePowerGating
      drm/i915/gt: Use gt locals for accessing rc6
      drm/i915/gt: Flush retire.work timer object on unload
      drm/i915/selftests: Exercise long preemption chains
      drm/i915/selftests: Disable heartbeat around context barrier tests
      drm/i915/gt: Mention which device failed
      drm/i915/gem: Purge the sudden reappearance of i915_gem_object_pin()
      drm/i915/selftests: Add intel_gt_driver_late_release for mock device
      drm/i915/gt: Only wait for register chipset flush if active
      drm/i915/gt: Make intel_ring_unpin() safe for concurrent pint
      drm/i915/gem: Track ggtt writes from userspace on the bound vma
      drm/i915/gem: Merge GGTT vma flush into a single loop
      drm/i915/gem: Protect the obj->vma.list during iteration
      drm/i915/gt: Move new timelines to the end of active_list
      drm/i915/gt: Schedule next retirement worker first
      drm/i915/gt: Flush the requests after wedging on suspend
      drm/i915/gem: Manually dump the debug trace on GEM_BUG_ON
      drm/i915: Wait until the intel_wakeref idle callback is complete
      drm/i915/selftests: Exercise rc6 w/a handling
      drm/i915/selftests: Be explicit in ERR_PTR handling
      drm/i915/selftests: Take a ref to the request we wait upon
      drm/i915: Mark up the calling context for intel_wakeref_put()
      drm/i915/gt: Close race between engine_park and intel_gt_retire_requests
      drm/i915/gt: Unlock engine-pm after queuing the kernel context switch
      drm/i915/gt: Declare timeline.lock to be irq-free
      drm/i915/gt: Fixup config ifdeffery for pm_suspend_target_state
      Revert "drm/i915/gt: Wait for new requests in intel_gt_retire_requests()"
      drm/i915: Serialise with remote retirement
      drm/i915/gt: Hold request reference while waiting for w/a verification
      drm/i915/execlists: Lock the request while validating it during promotion
      drm/i915: Mark intel_wakeref_get() as a sleeper
      drm/i915/selftests: Always hold a reference on a waited upon request
      drm/i915/selftests: Shorten infinite wait for sseu
      drm/i915: Use a ctor for TYPESAFE_BY_RCU i915_request
      drm/i915/selftests: Force bonded submission to overlap
      drm/i915/selftests: Flush the active callbacks
      drm/i915/selftests: Include the subsubtest name for live_parallel_engines
      drm/i915: Switch kunmap() to take the page not vaddr
      drm/i915/gt: Mark the execlists->active as the primary volatile access
      drm/i915/execlists: Fixup cancel_port_requests()
      drm/i915: Serialise with engine-pm around requests on the kernel_context
      drm/i915/gt: Adapt engine_park synchronisation rules for engine_retire
      drm/i915/gt: Schedule request retirement when timeline idles
      drm/i915/selftests: Move mock_vma to the heap to reduce stack_frame
      drm/i915: Default to a more lenient forced preemption timeout
      drm/i915: Reduce nested prepare_remote_context() to a trylock
      drm/i915/gt: Manual rc6 entry upon parking
      drm/i915: Serialise i915_active_fence_set() with itself
      drm/i915/gt: Defer breadcrumb processing to after the irq handler
      drm/i915/gem: Excise the per-batch whitelist from the context
      drm/i915/selftests: Try to show where the pulse went
      drm/i915/selftests: Count the number of engines used
      drm/i915/selftests: Drop local vm reference!
      drm/i915/selftests: Use sgt_iter for huge_pages_free
      drm/i915/selftests: Always lock the drm_mm around insert/remove
      drm/i915/selftests: Wait only on the expected barrier
      Revert "drm/i915: use a separate context for gpu relocs"
      drm/i915/gem: Take timeline->mutex to walk list-of-requests
      drm/i915/execlists: Ensure the tasklet is decoupled upon shutdown
      drm/i915/selftests: Keep engine awake during live_coherency
      drm/i915/gen7: Re-enable full-ppgtt for ivb & hsw
      drm/i915/gt: Push the flush_pd before the set-context
      drm/i915: Serialise access to GFX_FLSH_CNTL
      drm/i915: Refactor gen6_flush_pd()
      drm/i915/gt: Use soft-rc6 for w/a protection
      drm/i915/gt: Simplify rc6 w/a application
      drm/i915/gem: Unbind all current vma on changing cache-level
      drm/i915: Specialise i915_active.work lock classes
      drm/i915: Serialise i915_active_wait() with its retirement
      drm/i915/gem: Take runtime-pm wakeref prior to unbinding
      drm/i915: Lift i915_vma_pin() out of intel_renderstate_emit()
      drm/i915/execlists: Add a couple more validity checks to assert_pending()
      drm/i915/execlists: Skip nested spinlock for validating pending
      drm/i915/gt: Track the context validity explicitly
      drm/i915/gem: Avoid parking the vma as we unbind
      drm/i915/gt: Set the PD again for Haswell
      drm/i915/gem: Try to flush pending unbind events
      drm/i915/gem: Hold the obj->vma.lock while walking the vma.list
      drm/i915/gem: Hook user-extensions upto MMAP_OFFSET_IOCTL
      drm/i915: Remove vestigal i915_gem_context locals from cmdparser
      drm/i915: Ignore most failures during evict-vm
      drm/i915: Try hard to bind the context
      drm/i915/gt: Bump the PP_DIR invalidation for Baytrail
      drm/i915/gem: Reinitialise the local list before repeating
      drm/i915/gt: Save irqstate around virtual_context_destroy
      drm/i915: Serialise i915_active_acquire() with __active_retire()
      drm/i915/gt: Trim gen6 ppgtt updates to PD cachelines
      drm/i915: Claim vma while under closed_lock in i915_vma_parked()
      drm/i915/gt: Acquire a GT wakeref for the breadcrumb interrupt
      drm/i915/gem: Flush the pwrite through the chipset before signaling
      drm/i915: Check for error before calling cmpxchg()
      drm/i915: Propagate errors on awaiting already signaled fences
      drm/i915: Propagate errors on awaiting already signaled dma-fences
      drm/i915/gem: Pin gen6_ppgtt prior to constructing the request
      drm/i915: Avoid calling i915_gem_object_unbind holding object lock
      drm/i915/gtt: Account for preallocation in asserts
      drm/i915/gt: Turn vm off then on again for gen7 mm switch
      drm/i915/gem: Comment on inability to check args.pad for MMAP_OFFSET
      drm/i915: Flesh out device_info pretty printer
      drm/i915/gem: Avoid rcu_barrier() from shrinker paths
      drm/i915: Change i915_vma_unbind() to report -EAGAIN on activity
      drm/i915/gt: Detect if we miss WaIdleLiteRestore
      drm/i915: Copy across scheduler behaviour flags across submit fences
      drm/i915/gt: Check we are the Ironlake IPS provider before deregistering
      drm/i915/gem: Wait on unbind barriers when invalidating userptr
      drm/i915/selftests: Show the i915_active on failure
      drm/i915: Use the i915_device name for identifying our request fences
      drm/i915/gt: Disable manual rc6 for Braswell/Baytrail
      drm/i915: Fix cmdparser drm.debug
      drm/i915: Remove redundant parameters from intel_engine_cmd_parser
      drm/i915: Simplify error escape from cmdparser
      drm/i915/gem: Tidy up error handling for eb_parse()
      drm/i915: Align start for memcpy_from_wc
      drm/i915/gt: Only ignore rc6 parking for PCU on byt/bsw
      drm/i915/gem: Prepare gen7 cmdparser for async execution
      drm/i915/gem: Asynchronous cmdparser
      drm/i915: Set fence_work.ops before dma_fence_init
      drm/i915/gt: Mark up ips_mchdev pointer access
      drm/i915: Use EAGAIN for trylock failures
      drm/i915/gem: Serialise object before changing cache-level
      drm/i915/gem: Apply lmem size restriction to get_pages
      drm/i915/gt: Tidy up full-ppgtt on Ivybridge
      drm/i915: Eliminate the trylock for awaiting an earlier request
      drm/i915/gt: Avoid multi-LRI on Sandybridge
      drm/i915/gem: Keep request alive while attaching fences
      drm/i915/gt: Eliminate the trylock for reading a timeline's hwsp
      drm/i915: Unpin vma->obj on early error
      drm/i915/pmu: Skip sampling engines if gt is asleep
      drm/i915: Hold reference to intel_frontbuffer as we track activity
      drm/i915/gt: Ratelimit display power w/a
      drm/i915/gt: Remove direct invocation of breadcrumb signaling
      drm/i915: Ratelimit i915_globals_park
      drm/i915/gt: Schedule request retirement when signaler idles
      drm/i915/gt: Track engine round-trip times
      drm/i915/gt: Use non-forcewake writes for RPS
      drm/i915/gt: Suppress threshold updates on RPS parking
      drm/i915/gt: Add breadcrumb retire to physical engine
      drm/i915/gt: Teach veng to defer the context allocation
      drm/i915: Drop GEM context as a direct link from i915_request
      drm/i915: Push the use-semaphore marker onto the intel_context
      drm/i915/execlists: Select arb on/off around batches based on preemption
      drm/i915/selftests: Setup engine->retire for mock_engine
      drm/i915: Remove i915->kernel_context
      drm/i915/gt: Repeat wait_for_idle for retirement workers
      drm/i915: Move i915_gem_init_contexts() earlier
      drm/i915/gt: Pull GT initialisation under intel_gt_init()
      drm/i915/gt: Pull intel_gt_init_hw() into intel_gt_resume()
      drm/i915/gt: Merge engine init/setup loops
      drm/i915: Add a simple is-bound check before unbinding
      drm/i915: Introduce a vma.kref
      drm/i915: Mark the GEM context link as RCU protected

Clint Taylor (1):
      drm/i915: Disable display interrupts during display IRQ handler

Colin Ian King (4):
      drm/i915/selftests: fix uninitialized variable sum when summing up values
      drm/i915/display: remove duplicated assignment to pointer crtc_state
      drm/i915: remove redundant checks for a null fb pointer
      drm/i915: fix uninitialized pointer reads on pointers to and from

Dan Carpenter (2):
      drm/i915/bios: fix off by one in parse_generic_dtd()
      drm/i915/selftests: remove a condition

Daniel Vetter (3):
      drm/i915: Switch obj->mm.lock lockdep annotations on its head
      lockdep: add might_lock_nested()
      drm/i915: use might_lock_nested in get_pages annotation

Daniele Ceraolo Spurio (11):
      drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
      drm/i915/guc: Drop leftover preemption code
      drm/i915/guc: add a helper to allocate and map guc vma
      drm/i915/guc: kill doorbell code and selftests
      drm/i915/guc: kill the GuC client
      drm/i915/guc: Merge communication_stop and communication_disable
      drm/i915/guc/ct: Drop guards in enable/disable calls
      drm/i915/guc/ct: Stop expecting multiple CT channels
      drm/i915/guc/ct: Group request-related variables in a sub-structure
      drm/i915/guc: Remove function pointers for send/receive calls
      drm/i915/guc: Unify notify() functions

Dhinakaran Pandiyan (6):
      drm/i915: Use intel_tile_height() instead of re-implementing
      drm/i915: Move CCS stride alignment W/A inside intel_fb_stride_alignment
      drm/i915: Extract framebufer CCS offset checks into a function
      drm/framebuffer: Format modifier for Intel Gen-12 render compression
      drm/i915/tgl: Gen-12 render decompression
      drm/i915: Skip rotated offset adjustment for unsupported modifiers

Don Hiatt (1):
      drm/i915/guc: Skip suspend/resume GuC action on platforms w/o GuC submission

Gwan-gyeong Mun (1):
      drm/i915: Split a setting of MSA to MST and SST

Hans de Goede (4):
      drm/i915: opregion: set opregion chpd value to indicate the driver handles hotplug
      ACPI / LPSS: Rename pwm_backlight pwm-lookup to pwm_soc_backlight
      mfd: intel_soc_pmic: Rename pwm_backlight pwm-lookup to pwm_pmic_backlight
      drm/i915: DSI: select correct PWM controller to use based on the VBT

Imre Deak (6):
      drm/i915: Fix detection for a CMP-V PCH
      drm/i915: Restore GT coarse power gating workaround
      drm/i915: Add helpers to select correct ccs/aux planes
      drm/i915/tgl: Make sure FBs have a correct CCS plane stride
      drm/i915: Make sure Y slave planes get all the required state
      drm/i915: Make sure CCS YUV semiplanar format checks work

James Ausmus (1):
      drm/i915/tgl: Add second TGL PCH ID

Jani Nikula (36):
      drm/i915: add for_each_port() and use it
      drm/i915: update rawclk also on resume
      drm/i915/dsc: make parameter arrays const
      drm/i915/dsc: clean up rc parameter table access
      drm/i915/dsc: split out encoder specific parts from DSC compute params
      drm/i915/dsc: rename functions for consistency
      drm/i915/display: only include intel_dp_link_training.h where needed
      drm/i915/bios: use a flag for vbt hdmi level shift presence
      drm/i915/bios: store child devices in a list
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: fix accidental static variable use
      Merge tag 'topic/drm-mipi-dsi-dsc-updates-2019-11-11' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next-queued
      drm/i915/bios: pass devdata to parse_ddi_port
      drm/i915/bios: parse compression parameters block
      drm/i915/bios: add support for querying DSC details for encoder
      drm/i915/dsc: move DP specific compute params to intel_dp.c
      drm/i915/dsc: move slice height calculation to encoder
      drm/i915/dsc: add support for computing and writing PPS for DSI encoders
      drm/i915/dsc: make DSC source support helper generic
      drm/i915/dsc: add basic hardware state readout support
      drm/i915/dsi: set pipe_bpp on ICL configure config
      drm/i915/dsi: abstract afe_clk calculation
      drm/i915/dsi: use afe_clk() instead of intel_dsi_bitrate()
      drm/i915/dsi: take compression into account in afe_clk()
      drm/i915/dsi: use compressed pixel format with DSC
      drm/i915/dsi: account for DSC in horizontal timings
      drm/i915/dsi: add support for DSC
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915/dsi: fix pipe D readout for DSI transcoders
      drm/i915/dsc: fix DSC register selection for ICL DSI transcoders
      drm/i915/dsc: clarify DSC support for pipe A on ICL
      drm/i915/dsc: fix DSC power domains for DSI
      drm/i915: fix comment for POWER_DOMAIN_TRANSCODER_VDSC_PW2
      drm/i915/selftests: make mock_context.h self-contained
      drm/i915/selftests: make mock_drm.h self-contained
      drm/i915: Update DRIVER_DATE to 20191223

José Roberto de Souza (18):
      drm/i915: Add for_each_new_intel_connector_in_state()
      drm/i915/display: Fix TRANS_DDI_MST_TRANSPORT_SELECT definition
      drm/i915/display/dsi: Add support to pipe D
      drm/i915/display/mst: Enable virtual channel payload allocation earlier
      drm/i915/mst: Check uapi enable not intel one during mst atomic check
      drm/i915/psr: Add bits per pixel limitation
      drm/i915/psr: Refactor psr short pulse handler
      drm/i915/psr: Enable ALPM lock timeout error interruption
      drm/i915/psr: Check if sink PSR capability changed
      drm/i915/vbt: Parse power conservation features block
      drm/i915/display: Suspend MST topology manager before destroy fbdev
      drm/i915/display: Check the old state to find port sync slave
      drm/i915/dp: Power down sink before disable pipe/transcoder clock
      drm/i915/display/mst: Move DPMS_OFF call to post_disable
      drm/i915: Add new EHL/JSL PCI ids
      drm/i915/display: Do not check for the ddb allocations of turned off pipes
      drm/i915/display/tgl: Fix the order of the step to turn transcoder clock off
      drm/i915/display: Refactor intel_commit_modeset_disables()

Juston Li (1):
      drm/i915: coffeelake supports hdcp2.2

Kai Vehmanen (1):
      drm/i915/dp: fix DP audio for PORT_A on gen12+

Lee Shawn C (2):
      drm/i915/cml: Remove unsupport PCI ID
      drm/i915/cml: Separate U series pci id from origianl list.

Lionel Landwerlin (3):
      drm/i915/perf: always consider holding preemption a privileged op
      drm/i915/perf: don't forget noa wait after oa config
      drm/i915/perf: Add preemption check while waiting for OA

Lucas De Marchi (18):
      drm/i915: add wrappers to get intel connector state
      drm/i915/tgl: do not enable transcoder clock twice on MST
      drm/i915: avoid reading DP_TP_CTL twice
      drm/i915: switch intel_ddi_init() to intel types
      drm/i915: do not warn late about hdmi on port A
      drm/i915/bios: rename bios to oprom when mapping pci rom
      drm/i915/bios: make sure to check vbt size
      drm/i915/tgl: allow DVI/HDMI on port A
      drm/i915/dsb: remove atomic operations
      drm/i915/dsb: fix extra warning on error path handling
      drm/i915/dsb: fix cmd_buf being wrongly set
      drm/i915/bios: do not discard address space
      drm/i915/bios: fold pci rom map/unmap into copy function
      drm/i915/bios: assume vbt is 4-byte aligned into oprom
      drm/i915/bios: remove extra debug messages
      drm/i915/display: move clk off sanitize to its own function
      drm/i915/display: use clk_off name to avoid double negation
      drm/i915/display: fix phy name

Maarten Lankhorst (12):
      drm/i915: Handle a few more cases for crtc hw/uapi split, v3.
      drm/i915: Add aliases for uapi and hw to crtc_state
      drm/i915: Perform manual conversions for crtc uapi/hw split, v2.
      drm/i915: Perform automated conversions for crtc uapi/hw split, base -> hw.
      drm/i915: Perform automated conversions for crtc uapi/hw split, base -> uapi.
      drm/i915: Complete crtc hw/uapi split, v6.
      drm/i915: Add aliases for uapi and hw to plane_state
      drm/i915: Perform manual conversions for plane uapi/hw split, v2.
      drm/i915: Perform automated conversions for plane uapi/hw split, base -> hw.
      drm/i915: Perform automated conversions for plane uapi/hw split, base -> uapi.
      drm/i915: Complete plane hw and uapi split, v2.
      drm/i915: Remove special case slave handling during hw programming, v3.

Mao Wenan (1):
      drm/i915/perf: drop pointless static qualifier in i915_perf_add_config_ioctl()

Masahiro Yamada (2):
      drm/i915: change to_mock() to an inline function
      drm/i915: make more headers self-contained

Matt Roper (15):
      drm/i915: Expand documentation for gen12 DP pre-enable sequence
      Revert "drm/i915/ehl: Update MOCS table for EHL"
      drm/i915/tgl: MOCS table update
      drm/i915/vbt: Parse panel options separately from timing data
      drm/i915/vbt: Handle generic DTD block
      drm/i915/ehl: Update voltage level checks
      drm/i915/tgl: Add DKL PHY vswing table for HDMI
      drm/i915: Handle SDEISR according to PCH rather than platform
      drm/i915/ehl: Make icp_digital_port_connected() use phy instead of port
      drm/i915: Program SHPD_FILTER_CNT on CNP+
      drm/i915/irq: Refactor gen11 display interrupt handling
      drm/i915/tgl: Program BW_BUDDY registers during display init
      drm/i915/ehl: Define EHL powerwells independently of ICL
      drm/i915/tgl: Drop Wa#1178
      drm/i915/icl: Cleanup combo PHY aux power well handlers

Matthew Auld (2):
      drm/i915/lmem: fixup fake lmem teardown
      drm/i915: make pool objects read-only

Matthew Brost (1):
      drm/i915/guc: Update uncore access path in flush_ggtt_writes

Maya Rashish (1):
      Correct function name in comment

Michal Wajdeczko (4):
      drm/i915/uc: Drop explicit i915 param in some uc_fw functions
      drm/i915/uc: Drop explicit gt param in some uc_fw functions
      drm/i915/uc: Drop explicit ggtt param in some uc_fw functions
      drm/i915: Improve i915_inject_probe_error macro

Michel Thierry (1):
      drm/i915/tgl: Implement Wa_1604555607

Niranjana Vishwanathapura (1):
      drm/i915: Remove unwanted rcu_read_lock/unlock

Radhakrishna Sripada (1):
      drm/i915/tgl: Wa_1606679103

Ramalingam C (1):
      drm/i915: FB backing gem obj should reside in LMEM

Stanislav Lisovskiy (1):
      drm/i915: Support more QGV points

Stuart Summers (3):
      Skip MCHBAR queries when display is not available
      drm/i915: Do not initialize display BW when display not available
      drm/i915: Use intel_gt_pm_put_async in GuC submission path

Tvrtko Ursulin (6):
      drm/i915/dsb: Remove PIN_MAPPABLE from the DSB object VMA
      drm/i915/query: Align flavour of engine data lookup
      drm/i915/pmu: Report frequency as zero while GPU is sleeping
      drm/i915: Improve execbuf debug
      drm/i915: Fix pid leak with banned clients
      drm/i915/pmu: Ensure monotonic rc6

Umesh Nerlige Ramappa (2):
      drm/i915/perf: Allow non-privileged access when OA buffer is not sampled
      drm/i915/perf: Configure OAR for specific context

Vandita Kulkarni (4):
      drm/i915/dsi: Define command mode registers
      drm/i915/dsi: Do not read the transcoder register.
      drm/i915/dsi: Fix state mismatch warns for horizontal timings with DSC
      drm/i915: Fix WARN_ON condition for cursor plane ddb allocation

Venkata Sandeep Dhanalakota (3):
      drm/i915/perf: Register sysctl path globally
      drm/i915: Introduce new macros for tracing
      drm/i915: Fix typecheck macro in GT_TRACE

Ville Syrjälä (74):
      drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
      drm/i915: Expose alpha formats on VLV/CHV primary planes
      drm/i915: Add missing 10bpc formats for pipe B sprites on CHV
      drm/i915: Expose C8 on VLV/CHV sprite planes
      drm/i915: Add 10bpc formats with alpha for icl+
      drm/i915: Sort format arrays consistently
      drm/i915: Eliminate redundancy in intel_primary_plane_create()
      drm/i915: Frob the correct crtc state in intel_crtc_disable_noatomic()
      drm/i915: Preload LUTs if the hw isn't currently using them
      drm/i915: Don't oops in dumb_create ioctl if we have no crtcs
      drm/i915: Do not override mode's aspect ratio with the prop value NONE
      drm/i915: Drop redundant aspec ratio prop value initialization
      drm/i915: Fix frame start delay programming
      drm/i915: Change intel_encoders_<hook>() calling convention
      drm/i915: Add intel_crtc_vblank_off()
      drm/i915: Move assert_vblank_disabled() into intel_crtc_vblank_on()
      drm/i915: Move crtc_state to tighter scope
      drm/i915: Pass intel_crtc to ironlake_fdi_disable()
      drm/i915: Change watermark hook calling convention
      drm/i915: Pass dev_priv to cpt_verify_modeset()
      drm/i915: s/intel_crtc/crtc/ in .crtc_enable() and .crtc_disable()
      drm/i915: s/pipe_config/new_crtc_state/ in .crtc_enable()
      drm/i915: Change .crtc_enable/disable() calling convention
      drm/i915: Don't set undefined bits in dirty_pipes
      drm/i915: Use the correct PCH transcoder for LPT/WPT in intel_sanitize_frame_start_delay()
      drm/i915: Switch intel_crtc_disable_noatomic() to intel_ types
      drm/i915: Use drm_rect to simplify plane {crtc,src}_{x,y,w,h} printing
      drm/i915: Switch to intel_ types in debugfs display_info
      drm/i915: Reorganize plane/fb dump in debugfs
      drm/i915: Refactor debugfs display info code
      drm/i915: Dump the mode for the crtc just the once
      drm/i915: Use drm_modeset_lock_all() in debugfs display info
      drm/i915: Use the canonical [CRTC:%d:%s]/etc. format in i915_display_info
      drm/i915: Dump both the uapi and hw states for crtcs and planes
      drm/i915: Stop using connector->encoder and encoder->crtc links in i915_display_info
      drm/i915: Clean up arguments to nv12/scaler w/a funcs
      drm/i915: Pass dev_priv to ilk_disable_lp_wm()
      drm/i915: s/pipe_config/new_crtc_state/ intel_{pre,post}_plane_update()
      drm/i915: Clean up intel_{pre,post}_plane_update()
      drm/i915: Clean up the gen2 "no planes -> underrun" workaround
      drm/i915: Nuke intel_pre_disable_primary_noatomic()
      drm/i915: Make intel_crtc_arm_fifo_underrun() functional on gen2
      drm/i915/fbc: Disable fbc by default on all glk+
      drm/i915/fbc: Nuke bogus single pipe fbc1 restriction
      drm/i915: Relocate intel_crtc_active()
      drm/i915/fbc: Remove the FBC_RT_BASE setup for ILK/SNB
      drm/i915/fbc: Precompute gen9 cfb stride w/a
      drm/i915/fbc: Track plane visibility
      drm/i915/fbc: Store fence_id directly in fbc cache/params
      drm/i915/fbc: Make fence_id optional for i965gm
      drm/i915/fbc: s/gen9 && !glk/gen9_bc || bxt/
      drm/i915/fbc: Nuke fbc.enabled
      drm/i915/fbc: Start using flip nuke
      drm/i915/fbc: Wait for vblank after FBC disable on glk+
      drm/i915/fbc: Enable fbc by default on glk+ once again
      drm/i915/fbc: Reallocate cfb if we need more of it
      drm/i915/hdcp: Nuke intel_hdcp_transcoder_config()
      drm/i915: ELiminate intel_pipe_to_cpu_transcoder() from assert_fdi_tx()
      drm/i915: Pass cpu transcoder to assert_pipe()
      drm/i915: Streamline skl_commit_modeset_enables()
      drm: Add __drm_atomic_helper_crtc_state_reset() & co.
      drm/i915: s/intel_crtc/crtc/ in intel_crtc_init()
      drm/i915: Introduce intel_crtc_{alloc,free}()
      drm/i915: Introduce intel_crtc_state_reset()
      drm/i915: Introduce intel_plane_state_reset()
      drm/i915: Call hsw_fdi_link_train() directly()
      drm/i915: Nuke .post_pll_disable() for DDI platforms
      drm/i915: Pass old crtc state to skylake_scaler_disable()
      drm/i915: Pass old crtc state to intel_crtc_vblank_off()
      drm/i915: Move stuff from haswell_crtc_disable() into encoder .post_disable()
      drm/i915/fbc: Reject PLANE_OFFSET.y%4!=0 on icl+ too
      drm/i915/fbc: Remove second redundant intel_fbc_pre_update() call
      drm/i915: Rename pipe update tracepoints
      drm/i915: Introduce intel_crtc_state_alloc()

zhengbin (1):
      drm/i915: Remove unneeded semicolon

 Documentation/gpu/i915.rst                         |    3 -
 drivers/acpi/acpi_lpss.c                           |   11 +-
 drivers/gpu/drm/Kconfig                            |    4 +
 drivers/gpu/drm/drm_atomic_state_helper.c          |   78 +-
 drivers/gpu/drm/drm_file.c                         |   42 +
 drivers/gpu/drm/drm_mipi_dsi.c                     |   57 +-
 drivers/gpu/drm/i915/Kconfig.debug                 |    2 +
 drivers/gpu/drm/i915/Makefile                      |    4 +
 drivers/gpu/drm/i915/display/icl_dsi.c             |  232 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   53 +-
 drivers/gpu/drm/i915/display/intel_atomic.h        |    2 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |  138 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |    5 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |   12 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |  563 +++-
 drivers/gpu/drm/i915/display/intel_bios.h          |    5 +
 drivers/gpu/drm/i915/display/intel_bw.c            |   31 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   20 +-
 drivers/gpu/drm/i915/display/intel_color.c         |  198 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   34 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  417 +--
 drivers/gpu/drm/i915/display/intel_ddi.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 3110 +++++++++++---------
 drivers/gpu/drm/i915/display/intel_display.h       |   46 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  228 +-
 drivers/gpu/drm/i915/display/intel_display_power.h |    2 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   75 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  152 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   81 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |   14 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   20 +-
 drivers/gpu/drm/i915/display/intel_dsb.c           |   37 +-
 drivers/gpu/drm/i915/display/intel_dsb.h           |    2 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |   14 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |  309 +-
 drivers/gpu/drm/i915/display/intel_fbc.h           |   11 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |   16 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.h   |   34 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   28 +-
 drivers/gpu/drm/i915/display/intel_hdcp.h          |    5 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   90 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |    4 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |   12 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |    7 +
 drivers/gpu/drm/i915/display/intel_overlay.c       |   29 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |   30 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c      |    6 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  153 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |   29 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  411 +--
 drivers/gpu/drm/i915/display/intel_tv.c            |    8 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   62 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |  303 +-
 drivers/gpu/drm/i915/display/intel_vdsc.h          |   11 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   30 +-
 drivers/gpu/drm/i915/gem/i915_gem_clflush.c        |   14 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  321 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |   48 +-
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |   28 +-
 drivers/gpu/drm/i915/gem/i915_gem_domain.c         |  188 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |  322 +-
 drivers/gpu/drm/i915/gem/i915_gem_ioctls.h         |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c           |    3 -
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |  471 ++-
 drivers/gpu/drm/i915/gem/i915_gem_mman.h           |   31 +
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   71 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |   57 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |   31 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   12 +-
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c             |   24 +-
 drivers/gpu/drm/i915/gem/i915_gem_region.c         |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c       |    5 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |  219 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |   24 +-
 .../gpu/drm/i915/gem/selftests/huge_gem_object.c   |   11 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   23 +-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |    2 +
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |    5 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  171 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |  319 +-
 .../drm/i915/gem/selftests/i915_gem_object_blt.c   |  125 +-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |   20 +-
 drivers/gpu/drm/i915/gem/selftests/mock_context.h  |    5 +-
 drivers/gpu/drm/i915/gem/selftests/mock_dmabuf.h   |    2 +-
 drivers/gpu/drm/i915/gt/debugfs_engines.c          |   36 +
 drivers/gpu/drm/i915/gt/debugfs_engines.h          |   14 +
 drivers/gpu/drm/i915/gt/debugfs_gt.c               |   42 +
 drivers/gpu/drm/i915/gt/debugfs_gt.h               |   39 +
 drivers/gpu/drm/i915/gt/debugfs_gt_pm.c            |  601 ++++
 drivers/gpu/drm/i915/gt/debugfs_gt_pm.h            |   14 +
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |   66 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |   69 +-
 drivers/gpu/drm/i915/gt/intel_context.h            |   73 +-
 drivers/gpu/drm/i915/gt/intel_context_types.h      |   10 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |   25 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  211 +-
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |   20 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   33 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.h          |   21 +
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   26 +-
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |   29 +
 drivers/gpu/drm/i915/gt/intel_gt.c                 |  275 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |    6 +
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |   12 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   46 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h              |    5 +
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   41 +-
 drivers/gpu/drm/i915/gt/intel_gt_requests.h        |    1 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |    7 +
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  433 +--
 drivers/gpu/drm/i915/gt/intel_lrc.h                |    7 +-
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |    4 +-
 drivers/gpu/drm/i915/gt/intel_mocs.c               |  161 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c                |  149 +-
 drivers/gpu/drm/i915/gt/intel_rc6.h                |    6 +-
 drivers/gpu/drm/i915/gt/intel_rc6_types.h          |    4 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |   97 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.h        |   17 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |  105 +-
 drivers/gpu/drm/i915/gt/intel_ring_submission.c    |  228 +-
 drivers/gpu/drm/i915/gt/intel_rps.c                |  121 +-
 drivers/gpu/drm/i915/gt/intel_rps.h                |    3 +-
 drivers/gpu/drm/i915/gt/intel_timeline.c           |   90 +-
 drivers/gpu/drm/i915/gt/intel_timeline.h           |    4 +-
 drivers/gpu/drm/i915/gt/intel_timeline_types.h     |   14 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   47 +-
 drivers/gpu/drm/i915/gt/mock_engine.c              |   50 +-
 drivers/gpu/drm/i915/gt/selftest_context.c         |  120 +-
 drivers/gpu/drm/i915/gt/selftest_engine_cs.c       |  360 ++-
 .../gpu/drm/i915/gt/selftest_engine_heartbeat.c    |   36 +-
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |   19 +
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |  178 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  560 +++-
 drivers/gpu/drm/i915/gt/selftest_mocs.c            |  419 +++
 drivers/gpu/drm/i915/gt/selftest_rc6.c             |  203 ++
 drivers/gpu/drm/i915/gt/selftest_rc6.h             |   13 +
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |    6 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |   72 +-
 drivers/gpu/drm/i915/gt/selftests/mock_timeline.c  |    2 +-
 drivers/gpu/drm/i915/gt/selftests/mock_timeline.h  |    2 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |   69 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |   46 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |   24 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c          |  309 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h          |   52 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h        |    1 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  733 +----
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.h  |   54 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c          |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |   68 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |   58 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h           |    5 +-
 drivers/gpu/drm/i915/gt/uc/selftest_guc.c          |  299 --
 drivers/gpu/drm/i915/gvt/cmd_parser.h              |    4 +
 drivers/gpu/drm/i915/gvt/display.h                 |    5 +
 drivers/gpu/drm/i915/gvt/edid.h                    |    4 +
 drivers/gpu/drm/i915/gvt/execlist.h                |    2 +
 drivers/gpu/drm/i915/gvt/fb_decoder.h              |    2 +
 drivers/gpu/drm/i915/gvt/gtt.c                     |    2 +-
 drivers/gpu/drm/i915/gvt/hypercall.h               |    4 +
 drivers/gpu/drm/i915/gvt/interrupt.h               |    3 +
 drivers/gpu/drm/i915/gvt/mmio.h                    |    2 +
 drivers/gpu/drm/i915/gvt/page_track.h              |    3 +
 drivers/gpu/drm/i915/gvt/sched_policy.h            |    3 +
 drivers/gpu/drm/i915/gvt/scheduler.c               |   43 +-
 drivers/gpu/drm/i915/i915_active.c                 |  123 +-
 drivers/gpu/drm/i915/i915_active.h                 |   28 +-
 drivers/gpu/drm/i915/i915_active_types.h           |   15 -
 drivers/gpu/drm/i915/i915_cmd_parser.c             |  318 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |  343 +--
 drivers/gpu/drm/i915/i915_drv.c                    |   28 +-
 drivers/gpu/drm/i915/i915_drv.h                    |   91 +-
 drivers/gpu/drm/i915/i915_gem.c                    |  346 +--
 drivers/gpu/drm/i915/i915_gem.h                    |    8 +-
 drivers/gpu/drm/i915/i915_gem_evict.c              |   39 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |   86 +-
 drivers/gpu/drm/i915/i915_gem_gtt.h                |    1 +
 drivers/gpu/drm/i915/i915_getparam.c               |    1 +
 drivers/gpu/drm/i915/i915_globals.c                |   53 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   47 +-
 drivers/gpu/drm/i915/i915_irq.c                    |   66 +-
 drivers/gpu/drm/i915/i915_memcpy.c                 |   75 +-
 drivers/gpu/drm/i915/i915_memcpy.h                 |    2 +
 drivers/gpu/drm/i915/i915_pci.c                    |   21 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  251 +-
 drivers/gpu/drm/i915/i915_perf.h                   |    2 +
 drivers/gpu/drm/i915/i915_perf_types.h             |    1 -
 drivers/gpu/drm/i915/i915_pmu.c                    |  136 +-
 drivers/gpu/drm/i915/i915_pmu.h                    |    2 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  149 +-
 drivers/gpu/drm/i915/i915_request.c                |  271 +-
 drivers/gpu/drm/i915/i915_request.h                |   27 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |   15 +-
 drivers/gpu/drm/i915/i915_scheduler.h              |    1 +
 drivers/gpu/drm/i915/i915_selftest.h               |    4 +
 drivers/gpu/drm/i915/i915_sw_fence.c               |   40 +-
 drivers/gpu/drm/i915/i915_sw_fence.h               |    5 +-
 drivers/gpu/drm/i915/i915_sw_fence_work.c          |   18 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |   31 +-
 drivers/gpu/drm/i915/i915_trace.h                  |    6 +-
 drivers/gpu/drm/i915/i915_utils.h                  |    2 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   84 +-
 drivers/gpu/drm/i915/i915_vma.h                    |   29 +-
 drivers/gpu/drm/i915/intel_device_info.c           |   35 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    9 +-
 drivers/gpu/drm/i915/intel_memory_region.c         |    3 +
 drivers/gpu/drm/i915/intel_pch.c                   |    1 +
 drivers/gpu/drm/i915/intel_pch.h                   |    1 +
 drivers/gpu/drm/i915/intel_pm.c                    |  323 +-
 drivers/gpu/drm/i915/intel_pm.h                    |    2 +-
 drivers/gpu/drm/i915/intel_region_lmem.c           |    6 +-
 drivers/gpu/drm/i915/intel_wakeref.h               |   19 +-
 drivers/gpu/drm/i915/selftests/i915_active.c       |   43 +-
 drivers/gpu/drm/i915/selftests/i915_gem.c          |    9 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |    8 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   31 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    4 +-
 drivers/gpu/drm/i915/selftests/i915_perf.c         |    2 +-
 .../gpu/drm/i915/selftests/i915_perf_selftests.h   |   13 +
 drivers/gpu/drm/i915/selftests/i915_request.c      |  129 +-
 drivers/gpu/drm/i915/selftests/i915_selftest.c     |   43 +
 drivers/gpu/drm/i915/selftests/igt_mmap.c          |   39 +
 drivers/gpu/drm/i915/selftests/igt_mmap.h          |   19 +
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |   40 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   |   10 +-
 drivers/gpu/drm/i915/selftests/mock_drm.c          |   73 -
 drivers/gpu/drm/i915/selftests/mock_drm.h          |   18 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   25 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.h          |    3 +
 drivers/gpu/drm/i915/selftests/mock_region.h       |    5 +
 drivers/gpu/drm/i915/selftests/mock_uncore.h       |    3 +
 drivers/gpu/drm/tiny/st7586.c                      |    2 +-
 drivers/mfd/intel_soc_pmic_core.c                  |    2 +-
 include/drm/drm_atomic_state_helper.h              |    6 +
 include/drm/drm_file.h                             |    3 +
 include/drm/drm_mipi_dsi.h                         |    4 +
 include/drm/drm_util.h                             |    2 +-
 include/drm/i915_pciids.h                          |   31 +-
 include/linux/lockdep.h                            |    8 +
 include/uapi/drm/drm_fourcc.h                      |   11 +
 include/uapi/drm/i915_drm.h                        |   32 +
 include/video/mipi_display.h                       |   24 +-
 245 files changed, 12691 insertions(+), 8009 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_mman.h
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_engines.c
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_engines.h
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt.c
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt.h
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt_pm.c
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt_pm.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_mocs.c
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_rc6.c
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_rc6.h
 delete mode 100644 drivers/gpu/drm/i915/gt/uc/selftest_guc.c
 create mode 100644 drivers/gpu/drm/i915/selftests/i915_perf_selftests.h
 create mode 100644 drivers/gpu/drm/i915/selftests/igt_mmap.c
 create mode 100644 drivers/gpu/drm/i915/selftests/igt_mmap.h
 delete mode 100644 drivers/gpu/drm/i915/selftests/mock_drm.c

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2019-11-01 10:47 ` Joonas Lahtinen
  0 siblings, 0 replies; 252+ messages in thread
From: Joonas Lahtinen @ 2019-11-01 10:47 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter; +Cc: dim-tools, dri-devel, Maxime Ripard, intel-gfx

Hi Dave & Daniel,

Here goes the final feature pull request for 5.5. 

Adding a new uAPI to support cleanup of long running workloads
when process is killed.

Adds fake lmem region code under DRM_I915_UNSTABLE Kconfig
protection to make iGFX behave like local memory device. For
testing non-mappable GGTT behavior and running kernel LMEM
selftests.

Still plenty of Tigerlake support patches, including perf
support. Adds HuC firmware for TGL. Adds a couple of new
PCH-CPU combos, SPT-AML CNL-CML.

Adds support for half float framebuffers, fix for Bugzilla
#112084: VGA monitor not working. Adds prep code for LMEM and
is_dgfx flag to device info for upcoming platforms.

Kconfig configurable timeouts for pre-emption, reset and
timeslicing.

We've cleaned up all i915 kerneldoc warnings and our CI will
report any new additions going forward.

Regards, Joonas

drm-intel-next-2019-11-01-1:

Driver Changes:

- Check against i915_selftest only under CONFIG_SELFTEST (Chris)
- Refine occupancy test in kill_context() (Chris)
- Start kthreads before stopping (Chris)

drm-intel-next-2019-11-01:

UAPI Changes:

- Make context persistence optional
  Allow userspace to tie the context lifetime to FD lifetime,
  effectively allowing Ctrl-C killing of a process to also clean
  up the hardware immediately.
  Compute changes: https://github.com/intel/compute-runtime/pull/228
  The compute driver is shipping in Ubuntu. uAPI acked by Mesa folks.

- Put future HW and their uAPIs under STAGING & BROKEN
  Introduces DRM_I915_UNSTABLE Kconfig menu for working on the new
  uAPI for future HW in upstream. We already disable driver loading
  by default the platform is deemed ready. This is a second level
  of protection based on compile time switch (STAGING & BROKEN).

- Under DRM_I915_UNSTABLE: Add the fake lmem region on iGFX
  Fake local memory region on integrated GPU through cmdline:
  memmap=2G$16G i915.fake_lmem_start=0x400000000
  Currently allows testing non-mappable GGTT behavior and running
  kernel selftest for local memory.

Driver Changes:

- Fix Bugzilla #112084: VGA external monitor not working (Ville)
- Add support for half float framebuffers (Ville)
- Add perf support on TGL (Lionel)
- Replace hangcheck by heartbeats (Chris)
- Allow SPT PCH on all AML devices (James)
- Add new CNL PCH for CML platform (Imre)
- Allow 100 ms (Kconfig) for workloads to exit before reset (Chris, Jon, Joonas)
- Forcibly pre-empt a context after 100 ms (Kconfig) of delay  (Chris)
- Make timeslice duration Kconfig configurable (Chris)
- Whitelist PS_(DEPTH|INVOCATION)_COUNT for Tigerlake (Tapani)
- Support creating LMEM objects in kernel (Matt A)
- Adjust the location of RING_MI_MODE in the context image for TGL (Chris)
- Handle AUX interrupts for TC ports (Matt R)
- Add support for devices without mappable GGTT aperture (Daniele)
- Rename "inject_load_failure" module parameter to "inject_probe_failure" (Janusz)
- Handle fused off HDCP, FBC, DMC and DSC (Jose)
- Add support to one DP-MST stream on Tigerlake (Lucas)
- Add HuC firmware (and GuC) for TGL (Daniele)
- Allow ICL+ DSI on any pipe (Ville)

- Check some transcoder timing minimum limits (Ville)
- Don't set queue_priority_hint if we don't kick the submission (Chris)
- Introduce barrier pulses along engines to flush idle/in-flight requests (Chris)
- Drop assertion that ce->pin_mutex guards state updates (Chris)
- Cancel banned contexts on schedule-out (Chris)
- Cancel contexts when hangchecking is disabled (Chris)
- Catch GTT fault errors for gen11+ planes (Matt R)
- Print in debugfs if PSR is not enabled because of sink (Jose)
- Do not set MOCS control values on dgfx (Lucas)
- Setup io-mapping for LMEM (Abdiel)
- Support kernel mapping of LMEM objects (Abdiel)
- Add LMEM selftests (Matt A)
- Initialise PMU spinlock before registering (Chris)
- Clear DKL_TX_PMD_LANE_SUS before program TC voltage swing (Jose)
- Flip interpretation of ips fmin/fmax to max rps (Chris)
- Add VBT compression parameter block definition (Jani)
- Limit the blitter sizes to ensure low preemption latency (Chris)
- Fixup block_size rounding on BLT (Matt A)
- Don't try to place HWS in non-existing mappable region (Michal Wa)
- Don't allocate the ring in stolen if we lack aperture (Matt A)
- Add AUX B & C to DC_OFF_POWER_DOMAINS for Tigerlake (Matt R)
- Avoid HPD poll detect triggering a new detect cycle (Imre)
- Document the userspace fail with possible_crtcs (Ville)
- Drop lrc header page now unused by GuC (Daniele)
- Do not switch aux to TBT mode for non-TC ports (Jose)

- Restructure code to avoid depending on i915 but smaller structs (Chris, Tvrtko, Andi)
- Remove pm park/unpark notifications (Chris)
- Avoid lockdep cross-contamination between object types (Chris)
- Restructure DSC code (Jani)
- Fix dead locking in early workload shadow (Zhenyu)
- Split the legacy submission backend from the common CS ring buffer (Chris)
- Move intel_engine_context_in/out into intel_lrc.c (Tvrtko)
- Describe perf/wakeref structure members in documentation (Anna)
- Update renamed header files names in documentation (Anna)
- Add debugs to distingiush a cd2x update from a full cdclk pll update (Ville)
- Rework atomic global state locking (Ville)
- Allow planes to declare their minimum acceptable cdclk (Ville)
- Eliminate skl_check_pipe_max_pixel_rate() and simplify skl_max_scale() (Ville)
- Making loglevel of PSR2/SU logs same (Ap)
- Capture aux page table error register (Lionel)
- Add is_dgfx to device info (Jose)
- Split gen11_irq_handler to make it shareable (Lucas)
- Encapsulate kconfig constant values inside boolean predicates (Chris)
- Split memory_region initialisation into its own file (Chris)
- Use _PICK() for CHICKEN_TRANS() and add CHICKEN_TRANS_D (Ville)
- Add perf helper macros for comparing with whitelisted registers (Umesh)
- Fix i915_inject_load_error() name to read *_probe_* (Janusz)
- Drop unused AUX register offsets (Matt R)
- Provide more information on DP AUX failures (Matt R)
- Add GAM/SFC instdone to error state (Mika)
- Always track callers to intel_rps_mark_interactive() (Chris)
- Nuke 'mode' argument to intel_get_load_detect_pipe() (Ville)
- Simplify LVDS crtc_mask and pipe_mask setup (Ville)
- Stop frobbing crtc->base.mode (Ville)
- Do s/crtc_mask/pipe_mask/ (Ville)
- Split detaching and removing the vma (Chris)

- Selftest improvements (Chris, Tvrtko, Mika, Matt A, Lionel)
- GuC code improvements (Rob, Andi, Daniele)

The following changes since commit ce53908bba6fa6e905d8fe81da4591d3e7a65878:

  drm/i915: Update DRIVER_DATE to 20191021 (2019-10-21 12:56:07 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-11-01-1

for you to fetch changes up to 1883e2999f045e1fd6f76a7f30288a5312085289:

  drm/i915: Update DRIVER_DATE to 20191101 (2019-11-01 12:41:13 +0200)

----------------------------------------------------------------
Driver Changes:

- Check against i915_selftest only under CONFIG_SELFTEST (Chris)
- Refine occupancy test in kill_context() (Chris)
- Start kthreads before stopping (Chris)

----------------------------------------------------------------
Abdiel Janulgue (2):
      drm/i915: setup io-mapping for LMEM
      drm/i915/lmem: support kernel mapping

Andi Shyti (2):
      drm/i915: Extract GT render power state management
      drm/i915: Extract the GuC interrupt handlers

Anna Karas (4):
      drm/i915/perf: Describe structure members in documentation
      doc: Update header files names
      drm/i915: Describe structure member in documentation
      drm/i915/tgl: Fix doc not corresponding to code

Ap Kamal (1):
      drm/i915: Making loglevel of PSR2/SU logs same.

Chris Wilson (52):
      drm/i915: Don't set queue_priority_hint if we don't kick the submission
      drm/i915/selftests: Use all physical engines for i915_active
      drm/i915/gt: Introduce barrier pulses along engines
      drm/i915: Lift i915_vma_parked() onto the gt
      drm/i915: Remove pm park/unpark notifications
      drm/i915/selftests: Set vm->gt backpointer for mock_ppgtt
      drm/i915/selftests: Make the mman object busy everywhere
      drm/i915: Drop assertion that ce->pin_mutex guards state updates
      drm/i915/gem: Distinguish each object type
      drm/i915: Teach record_defaults to operate on the intel_gt
      drm/i915/selftests: Teach switch_to_context() to use the context
      drm/i915/selftests: Move uncore fw selftests to operate on intel_gt
      drm/i915/selftests: Synchronize checking active status with retirement
      drm/i915/selftests: Release ctx->engine_mutex after iteration
      drm/i915/gt: Try to more gracefully quiesce the system before resets
      drm/i915/execlists: Force preemption
      drm/i915/execlists: Cancel banned contexts on schedule-out
      drm/i915/gem: Cancel contexts when hangchecking is disabled
      drm/i915/gt: Replace hangcheck by heartbeats
      drm/i915/selftests: Flush interrupts before disabling tasklets
      drm/i915/selftests: Flush any i915_active callback work as well
      drm/i915/gt: Split intel_ring_submission
      drm/i915/selftests: Tweak the default subtest runtime
      drm/i915/selftests: Force ordering of context switches
      drm/i915/pmu: Initialise the spinlock before registering
      drm/i915: Encapsulate kconfig constant values inside boolean predicates
      drm/i915/tgl: Adjust the location of RING_MI_MODE in the context image
      drm/i915: Split memory_region initialisation into its own file
      drm/i915: Put future HW and their uAPIs under STAGING & BROKEN
      drm/i915/rps: Flip interpretation of ips fmin/fmax to max rps
      drm/i915/selftests: Measure basic throughput of blit routines
      drm/i915/selftests: Drop global engine lookup for gt selftests
      drm/i915/selftests: Check all blitter engines for client blt
      drm/i915/selftests: Use a random engine for GEM coherency tests
      drm/i915/gt: Tidy up rps irq handler to use intel_gt
      drm/i915/selftests: Select a random engine for testing memory regions
      drm/i915/selftests: Exercise adjusting rpcs over all render-class engines
      drm/i915/selftests: Check a few more fixed locations within the context image
      drm/i915/execlists: Simply walk back along request timeline on reset
      drm/i915/selftests: Initialise err in case there are no engines!
      drm/i915/selftests: Initialise ret
      drm/i915/display: Mark conn as initialised by iterator
      drm/i915/gem: Limit the blitter sizes to ensure low preemption latency
      drm/i915/gt: Make timeslice duration configurable
      drm/i915/gem: Make context persistence optional
      drm/i915/gt: Always track callers to intel_rps_mark_interactive()
      drm/i915/selftests: Assert that the idle_pulse is sent
      drm/i915/selftests: Pretty print the i915_active
      drm/i915: Split detaching and removing the vma
      drm/i915/gem: Refine occupancy test in kill_context()
      drm/i915/lmem: Check against i915_selftest only under CONFIG_SELFTEST
      drm/i915/selftests: Start kthreads before stopping

Daniele Ceraolo Spurio (7):
      drm/i915: define i915_ggtt_has_aperture
      drm/i915: do not map aperture if it is not available.
      drm/i915: set num_fence_regs to 0 if there is no aperture
      drm/i915: error capture with no ggtt slot
      drm/i915/uc: define GuC and HuC binaries for TGL
      drm/i915: drop lrc header page
      drm/i915/guc: drop guc shared area

Imre Deak (2):
      drm/i915: Add new CNL PCH ID seen on a CML platform
      drm/i915: Avoid HPD poll detect triggering a new detect cycle

James Ausmus (1):
      drm/i915/aml: Allow SPT PCH for all AML devices

Jani Nikula (3):
      drm/i915/dsc: rename crtc state dsc_params member to dsc
      drm/i915/dsc: move crtc state dp_dsc_cfg member under dsc as config
      drm/i915/bios: add compression parameter block definition

Janusz Krzysztofik (2):
      drm/i915: Fix i915_inject_load_error() name to read *_probe_*
      drm/i915: Rename "inject_load_failure" module parameter

Joonas Lahtinen (2):
      drm/i915: Update DRIVER_DATE to 20191101
      drm/i915: Update DRIVER_DATE to 20191101

José Roberto de Souza (9):
      drm/i915/display/psr: Print in debugfs if PSR is not enabled because of sink
      drm/i915: Add is_dgfx to device info
      drm/i915/tc: Clear DKL_TX_PMD_LANE_SUS before program voltage swing
      drm/i915: Add two spaces before the SKL_DFSM registers
      drm/i915/display: Handle fused off HDCP
      drm/i915/display: Check if FBC is fused off
      drm/i915/display/icl+: Check if DMC is fused off
      drm/i915/display/cnl+: Handle fused off DSC
      drm/i915/dp: Do not switch aux to TBT mode for non-TC ports

Lionel Landwerlin (3):
      drm/i915: capture aux page table error register
      drm/i915/tgl: Add perf support on TGL
      drm/i915/perf: ensure selftests select valid format

Lucas De Marchi (3):
      drm/i915: do not set MOCS control values on dgfx
      drm/i915: split gen11_irq_handler to make it shareable
      drm/i915/tgl: add support to one DP-MST stream

Matt Roper (5):
      drm/i915: Catch GTT fault errors for gen11+ planes
      drm/i915/tgl: Handle AUX interrupts for TC ports
      drm/i915: Drop unused AUX register offsets
      drm/i915/tgl: Add AUX B & C to DC_OFF_POWER_DOMAINS
      drm/i915: Provide more information on DP AUX failures

Matthew Auld (10):
      drm/i915: support creating LMEM objects
      drm/i915/selftests: add write-dword test for LMEM
      drm/i915/selftests: extend coverage to include LMEM huge-pages
      drm/i915/selftests: prefer random sizes for the huge-GTT-page smoke tests
      drm/i915/selftests: add sanity selftest for huge-GTT-pages
      drm/i915/selftests/blt: add some kthreads into the mix
      drm/i915/blt: fixup block_size rounding
      drm/i915: don't allocate the ring in stolen if we lack aperture
      drm/i915/selftests: check for missing aperture
      drm/i915/lmem: add the fake lmem region

Michal Wajdeczko (2):
      drm/i915/execlists: Use vfunc to check engine submission mode
      drm/i915: Don't try to place HWS in non-existing mappable region

Mika Kuoppala (3):
      drm/i915: Remove nonpriv flags when srm/lrm
      drm/i915/tgl: Add SFC instdone to error state
      drm/i915/tgl: Add gam instdone

Robert M. Fosha (2):
      drm/i915/guc: Enable guc logging on guc log relay write
      drm/i915/guc: Update H2G enable logging action definition

Stuart Summers (1):
      drm/i915: add new gen12 dgfx platform macro

Tapani Pälli (1):
      drm/i915/tgl: whitelist PS_(DEPTH|INVOCATION)_COUNT

Tvrtko Ursulin (13):
      drm/i915: Pass intel_gt to intel_engines_init_mmio
      drm/i915: Pass intel_gt to intel_setup_engine_capabilities
      drm/i915: Pass intel_gt to intel_engines_cleanup
      drm/i915: Pass intel_gt to intel_engines_setup
      drm/i915: Pass intel_gt to intel_engines_init
      drm/i915: Pass intel_gt to intel_engines_verify_workarounds
      drm/i915: Split drop caches into GT and i915 parts
      drm/i915/selftests: Convert eviction selftests to gt/ggtt
      drm/i915/selftests: Use GT engines in mock_gem_device
      drm/i915/selftests: Use GT engines in igt_live_test
      drm/i915/selftests: Use for_each_uabi_engine in contex selftests
      drm/i915: Convert PAT setup to uncore mmio
      drm/i915: Move intel_engine_context_in/out into intel_lrc.c

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Add helper macros for comparing with whitelisted registers

Ville Syrjälä (22):
      drm/i915: Check some transcoder timing minimum limits
      drm/i915: Add debugs to distingiush a cd2x update from a full cdclk pll update
      drm/i915: Rework global state locking
      drm/i915: Move check_digital_port_conflicts() earier
      drm/i915: Allow planes to declare their minimum acceptable cdclk
      drm/i915: Eliminate skl_check_pipe_max_pixel_rate()
      drm/i915: Simplify skl_max_scale()
      drm/i915: Add support for half float framebuffers for skl+
      drm/i915: Add support for half float framebuffers for gen4+ primary planes
      drm/i915: Add support for half float framebuffers for ivb+ sprites
      drm/i915: Add support for half float framebuffers on snb sprites
      drm/i915: Fix PCH reference clock for FDI on HSW/BDW
      drm/i915: Use _PICK() for CHICKEN_TRANS()
      drm/i915: Add CHICKEN_TRANS_D
      drm/i915: Fix i845/i865 cursor width
      drm/i915: Nuke 'mode' argument to intel_get_load_detect_pipe()
      drm/i915: Stop frobbing crtc->base.mode
      drm/i915: Simplify LVDS crtc_mask setup
      drm/i915: s/crtc_mask/pipe_mask/
      drm/i915: Allow ICL+ DSI on any pipe
      drm/i915: Simplify pipe_mask setup even further
      drm/i915/mst: Document the userspace fail with possible_crtcs

Zhenyu Wang (1):
      drm/i915/gvt: fix dead locking in early workload shadow

 Documentation/gpu/i915.rst                         |    6 +-
 drivers/gpu/drm/i915/Kconfig                       |    6 +
 drivers/gpu/drm/i915/Kconfig.debug                 |    1 +
 drivers/gpu/drm/i915/Kconfig.profile               |   49 +
 drivers/gpu/drm/i915/Kconfig.unstable              |   29 +
 drivers/gpu/drm/i915/Makefile                      |   15 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |    2 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   44 +
 drivers/gpu/drm/i915/display/intel_atomic.h        |    5 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |   39 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |    2 +
 drivers/gpu/drm/i915/display/intel_audio.c         |   10 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  123 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   13 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |   25 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  389 +++-
 drivers/gpu/drm/i915/display/intel_display.h       |    3 -
 drivers/gpu/drm/i915/display/intel_display_power.c |    2 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   20 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |   59 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   13 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   15 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    9 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |    2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   12 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |    1 +
 drivers/gpu/drm/i915/display/intel_psr.c           |   28 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  428 +++-
 drivers/gpu/drm/i915/display/intel_sprite.h        |    7 +
 drivers/gpu/drm/i915/display/intel_tv.c            |    4 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   52 +
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   74 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |    6 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  210 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |   15 +
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_internal.c       |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c           |   99 +
 drivers/gpu/drm/i915/gem/i915_gem_lmem.h           |   37 +
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |    5 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c     |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   41 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c             |   35 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.h             |    3 -
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |    3 +-
 .../gpu/drm/i915/gem/selftests/huge_gem_object.c   |    3 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |  319 ++-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |   30 +-
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |  174 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  178 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |   34 +-
 .../drm/i915/gem/selftests/i915_gem_object_blt.c   |  350 +++-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |    2 +
 drivers/gpu/drm/i915/gt/intel_context.c            |    1 +
 drivers/gpu/drm/i915/gt/intel_context.h            |    1 +
 drivers/gpu/drm/i915/gt/intel_engine.h             |  227 +--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   88 +-
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |  234 +++
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.h   |   23 +
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |    8 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   55 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   16 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |    4 -
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |    5 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   42 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h              |    6 -
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |   13 +-
 drivers/gpu/drm/i915/gt/intel_hangcheck.c          |  361 ----
 drivers/gpu/drm/i915/gt/intel_llc.c                |    2 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  382 +++-
 drivers/gpu/drm/i915/gt/intel_lrc.h                |   27 +-
 drivers/gpu/drm/i915/gt/intel_mocs.c               |    7 +
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |    1 +
 drivers/gpu/drm/i915/gt/intel_reset.c              |    3 +-
 drivers/gpu/drm/i915/gt/intel_ring.c               |  323 +++
 drivers/gpu/drm/i915/gt/intel_ring.h               |  131 ++
 ...{intel_ringbuffer.c => intel_ring_submission.c} |  309 +--
 drivers/gpu/drm/i915/gt/intel_ring_types.h         |   51 +
 drivers/gpu/drm/i915/gt/intel_rps.c                | 1872 +++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_rps.h                |   38 +
 drivers/gpu/drm/i915/gt/intel_rps_types.h          |   93 +
 drivers/gpu/drm/i915/gt/intel_timeline.c           |    6 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   21 +
 drivers/gpu/drm/i915/gt/mock_engine.c              |    1 +
 drivers/gpu/drm/i915/gt/selftest_context.c         |    3 -
 .../gpu/drm/i915/gt/selftest_engine_heartbeat.c    |  350 ++++
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |   28 +-
 drivers/gpu/drm/i915/gt/selftest_llc.c             |    7 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  536 ++++-
 drivers/gpu/drm/i915/gt/selftest_reset.c           |    2 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |    1 +
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |   10 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |  139 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |    2 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h        |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |   53 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h         |    4 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    9 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |    4 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |    6 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |   25 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |    2 +
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |    3 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |   17 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c            |    1 +
 drivers/gpu/drm/i915/gvt/scheduler.c               |    7 +-
 drivers/gpu/drm/i915/i915_active.c                 |    2 +
 drivers/gpu/drm/i915/i915_active.h                 |    2 +
 drivers/gpu/drm/i915/i915_debugfs.c                |  214 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   42 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  121 +-
 drivers/gpu/drm/i915/i915_gem.c                    |   36 +-
 drivers/gpu/drm/i915/i915_gem.h                    |   14 -
 drivers/gpu/drm/i915/i915_gem_fence_reg.c          |    6 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |  215 +-
 drivers/gpu/drm/i915/i915_gem_gtt.h                |    5 +
 drivers/gpu/drm/i915/i915_gpu_error.c              |  124 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |    5 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  485 +----
 drivers/gpu/drm/i915/i915_irq.h                    |   12 -
 drivers/gpu/drm/i915/i915_params.c                 |    9 +-
 drivers/gpu/drm/i915/i915_params.h                 |    5 +-
 drivers/gpu/drm/i915/i915_pci.c                    |    7 +
 drivers/gpu/drm/i915/i915_perf.c                   |  417 +++-
 drivers/gpu/drm/i915/i915_perf_types.h             |   31 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   47 +-
 drivers/gpu/drm/i915/i915_priolist_types.h         |    7 +
 drivers/gpu/drm/i915/i915_reg.h                    |  206 +-
 drivers/gpu/drm/i915/i915_request.c                |   10 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |   37 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |   74 +-
 drivers/gpu/drm/i915/i915_utils.c                  |   43 +-
 drivers/gpu/drm/i915/i915_utils.h                  |   34 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   69 +-
 drivers/gpu/drm/i915/i915_vma.h                    |    2 +-
 drivers/gpu/drm/i915/intel_device_info.c           |   13 +
 drivers/gpu/drm/i915/intel_device_info.h           |    3 +
 drivers/gpu/drm/i915/intel_memory_region.c         |   59 +
 drivers/gpu/drm/i915/intel_memory_region.h         |    9 +
 drivers/gpu/drm/i915/intel_pch.c                   |    4 +-
 drivers/gpu/drm/i915/intel_pch.h                   |    1 +
 drivers/gpu/drm/i915/intel_pm.c                    | 2126 ++------------------
 drivers/gpu/drm/i915/intel_pm.h                    |   24 -
 drivers/gpu/drm/i915/intel_region_lmem.c           |  132 ++
 drivers/gpu/drm/i915/intel_region_lmem.h           |   16 +
 drivers/gpu/drm/i915/oa/i915_oa_tgl.c              |  121 ++
 drivers/gpu/drm/i915/oa/i915_oa_tgl.h              |   16 +
 drivers/gpu/drm/i915/selftests/i915_active.c       |   48 +-
 drivers/gpu/drm/i915/selftests/i915_gem.c          |   33 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |  100 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |    6 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    2 +
 drivers/gpu/drm/i915/selftests/i915_perf.c         |    3 +-
 drivers/gpu/drm/i915/selftests/i915_request.c      |    4 +
 drivers/gpu/drm/i915/selftests/i915_selftest.c     |   15 +-
 drivers/gpu/drm/i915/selftests/igt_live_test.c     |    7 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   |  342 ++++
 drivers/gpu/drm/i915/selftests/intel_uncore.c      |   54 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   18 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.c          |    1 +
 drivers/gpu/drm/i915/selftests/mock_region.c       |    3 +-
 include/uapi/drm/i915_drm.h                        |   15 +
 172 files changed, 8936 insertions(+), 5163 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/Kconfig.unstable
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_lmem.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_lmem.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.h
 delete mode 100644 drivers/gpu/drm/i915/gt/intel_hangcheck.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ring.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ring.h
 rename drivers/gpu/drm/i915/gt/{intel_ringbuffer.c => intel_ring_submission.c} (88%)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ring_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rps.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rps.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rps_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c
 create mode 100644 drivers/gpu/drm/i915/intel_region_lmem.c
 create mode 100644 drivers/gpu/drm/i915/intel_region_lmem.h
 create mode 100644 drivers/gpu/drm/i915/oa/i915_oa_tgl.c
 create mode 100644 drivers/gpu/drm/i915/oa/i915_oa_tgl.h
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2019-11-01 10:47 ` Joonas Lahtinen
  0 siblings, 0 replies; 252+ messages in thread
From: Joonas Lahtinen @ 2019-11-01 10:47 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave & Daniel,

Here goes the final feature pull request for 5.5. 

Adding a new uAPI to support cleanup of long running workloads
when process is killed.

Adds fake lmem region code under DRM_I915_UNSTABLE Kconfig
protection to make iGFX behave like local memory device. For
testing non-mappable GGTT behavior and running kernel LMEM
selftests.

Still plenty of Tigerlake support patches, including perf
support. Adds HuC firmware for TGL. Adds a couple of new
PCH-CPU combos, SPT-AML CNL-CML.

Adds support for half float framebuffers, fix for Bugzilla
#112084: VGA monitor not working. Adds prep code for LMEM and
is_dgfx flag to device info for upcoming platforms.

Kconfig configurable timeouts for pre-emption, reset and
timeslicing.

We've cleaned up all i915 kerneldoc warnings and our CI will
report any new additions going forward.

Regards, Joonas

drm-intel-next-2019-11-01-1:

Driver Changes:

- Check against i915_selftest only under CONFIG_SELFTEST (Chris)
- Refine occupancy test in kill_context() (Chris)
- Start kthreads before stopping (Chris)

drm-intel-next-2019-11-01:

UAPI Changes:

- Make context persistence optional
  Allow userspace to tie the context lifetime to FD lifetime,
  effectively allowing Ctrl-C killing of a process to also clean
  up the hardware immediately.
  Compute changes: https://github.com/intel/compute-runtime/pull/228
  The compute driver is shipping in Ubuntu. uAPI acked by Mesa folks.

- Put future HW and their uAPIs under STAGING & BROKEN
  Introduces DRM_I915_UNSTABLE Kconfig menu for working on the new
  uAPI for future HW in upstream. We already disable driver loading
  by default the platform is deemed ready. This is a second level
  of protection based on compile time switch (STAGING & BROKEN).

- Under DRM_I915_UNSTABLE: Add the fake lmem region on iGFX
  Fake local memory region on integrated GPU through cmdline:
  memmap=2G$16G i915.fake_lmem_start=0x400000000
  Currently allows testing non-mappable GGTT behavior and running
  kernel selftest for local memory.

Driver Changes:

- Fix Bugzilla #112084: VGA external monitor not working (Ville)
- Add support for half float framebuffers (Ville)
- Add perf support on TGL (Lionel)
- Replace hangcheck by heartbeats (Chris)
- Allow SPT PCH on all AML devices (James)
- Add new CNL PCH for CML platform (Imre)
- Allow 100 ms (Kconfig) for workloads to exit before reset (Chris, Jon, Joonas)
- Forcibly pre-empt a context after 100 ms (Kconfig) of delay  (Chris)
- Make timeslice duration Kconfig configurable (Chris)
- Whitelist PS_(DEPTH|INVOCATION)_COUNT for Tigerlake (Tapani)
- Support creating LMEM objects in kernel (Matt A)
- Adjust the location of RING_MI_MODE in the context image for TGL (Chris)
- Handle AUX interrupts for TC ports (Matt R)
- Add support for devices without mappable GGTT aperture (Daniele)
- Rename "inject_load_failure" module parameter to "inject_probe_failure" (Janusz)
- Handle fused off HDCP, FBC, DMC and DSC (Jose)
- Add support to one DP-MST stream on Tigerlake (Lucas)
- Add HuC firmware (and GuC) for TGL (Daniele)
- Allow ICL+ DSI on any pipe (Ville)

- Check some transcoder timing minimum limits (Ville)
- Don't set queue_priority_hint if we don't kick the submission (Chris)
- Introduce barrier pulses along engines to flush idle/in-flight requests (Chris)
- Drop assertion that ce->pin_mutex guards state updates (Chris)
- Cancel banned contexts on schedule-out (Chris)
- Cancel contexts when hangchecking is disabled (Chris)
- Catch GTT fault errors for gen11+ planes (Matt R)
- Print in debugfs if PSR is not enabled because of sink (Jose)
- Do not set MOCS control values on dgfx (Lucas)
- Setup io-mapping for LMEM (Abdiel)
- Support kernel mapping of LMEM objects (Abdiel)
- Add LMEM selftests (Matt A)
- Initialise PMU spinlock before registering (Chris)
- Clear DKL_TX_PMD_LANE_SUS before program TC voltage swing (Jose)
- Flip interpretation of ips fmin/fmax to max rps (Chris)
- Add VBT compression parameter block definition (Jani)
- Limit the blitter sizes to ensure low preemption latency (Chris)
- Fixup block_size rounding on BLT (Matt A)
- Don't try to place HWS in non-existing mappable region (Michal Wa)
- Don't allocate the ring in stolen if we lack aperture (Matt A)
- Add AUX B & C to DC_OFF_POWER_DOMAINS for Tigerlake (Matt R)
- Avoid HPD poll detect triggering a new detect cycle (Imre)
- Document the userspace fail with possible_crtcs (Ville)
- Drop lrc header page now unused by GuC (Daniele)
- Do not switch aux to TBT mode for non-TC ports (Jose)

- Restructure code to avoid depending on i915 but smaller structs (Chris, Tvrtko, Andi)
- Remove pm park/unpark notifications (Chris)
- Avoid lockdep cross-contamination between object types (Chris)
- Restructure DSC code (Jani)
- Fix dead locking in early workload shadow (Zhenyu)
- Split the legacy submission backend from the common CS ring buffer (Chris)
- Move intel_engine_context_in/out into intel_lrc.c (Tvrtko)
- Describe perf/wakeref structure members in documentation (Anna)
- Update renamed header files names in documentation (Anna)
- Add debugs to distingiush a cd2x update from a full cdclk pll update (Ville)
- Rework atomic global state locking (Ville)
- Allow planes to declare their minimum acceptable cdclk (Ville)
- Eliminate skl_check_pipe_max_pixel_rate() and simplify skl_max_scale() (Ville)
- Making loglevel of PSR2/SU logs same (Ap)
- Capture aux page table error register (Lionel)
- Add is_dgfx to device info (Jose)
- Split gen11_irq_handler to make it shareable (Lucas)
- Encapsulate kconfig constant values inside boolean predicates (Chris)
- Split memory_region initialisation into its own file (Chris)
- Use _PICK() for CHICKEN_TRANS() and add CHICKEN_TRANS_D (Ville)
- Add perf helper macros for comparing with whitelisted registers (Umesh)
- Fix i915_inject_load_error() name to read *_probe_* (Janusz)
- Drop unused AUX register offsets (Matt R)
- Provide more information on DP AUX failures (Matt R)
- Add GAM/SFC instdone to error state (Mika)
- Always track callers to intel_rps_mark_interactive() (Chris)
- Nuke 'mode' argument to intel_get_load_detect_pipe() (Ville)
- Simplify LVDS crtc_mask and pipe_mask setup (Ville)
- Stop frobbing crtc->base.mode (Ville)
- Do s/crtc_mask/pipe_mask/ (Ville)
- Split detaching and removing the vma (Chris)

- Selftest improvements (Chris, Tvrtko, Mika, Matt A, Lionel)
- GuC code improvements (Rob, Andi, Daniele)

The following changes since commit ce53908bba6fa6e905d8fe81da4591d3e7a65878:

  drm/i915: Update DRIVER_DATE to 20191021 (2019-10-21 12:56:07 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-11-01-1

for you to fetch changes up to 1883e2999f045e1fd6f76a7f30288a5312085289:

  drm/i915: Update DRIVER_DATE to 20191101 (2019-11-01 12:41:13 +0200)

----------------------------------------------------------------
Driver Changes:

- Check against i915_selftest only under CONFIG_SELFTEST (Chris)
- Refine occupancy test in kill_context() (Chris)
- Start kthreads before stopping (Chris)

----------------------------------------------------------------
Abdiel Janulgue (2):
      drm/i915: setup io-mapping for LMEM
      drm/i915/lmem: support kernel mapping

Andi Shyti (2):
      drm/i915: Extract GT render power state management
      drm/i915: Extract the GuC interrupt handlers

Anna Karas (4):
      drm/i915/perf: Describe structure members in documentation
      doc: Update header files names
      drm/i915: Describe structure member in documentation
      drm/i915/tgl: Fix doc not corresponding to code

Ap Kamal (1):
      drm/i915: Making loglevel of PSR2/SU logs same.

Chris Wilson (52):
      drm/i915: Don't set queue_priority_hint if we don't kick the submission
      drm/i915/selftests: Use all physical engines for i915_active
      drm/i915/gt: Introduce barrier pulses along engines
      drm/i915: Lift i915_vma_parked() onto the gt
      drm/i915: Remove pm park/unpark notifications
      drm/i915/selftests: Set vm->gt backpointer for mock_ppgtt
      drm/i915/selftests: Make the mman object busy everywhere
      drm/i915: Drop assertion that ce->pin_mutex guards state updates
      drm/i915/gem: Distinguish each object type
      drm/i915: Teach record_defaults to operate on the intel_gt
      drm/i915/selftests: Teach switch_to_context() to use the context
      drm/i915/selftests: Move uncore fw selftests to operate on intel_gt
      drm/i915/selftests: Synchronize checking active status with retirement
      drm/i915/selftests: Release ctx->engine_mutex after iteration
      drm/i915/gt: Try to more gracefully quiesce the system before resets
      drm/i915/execlists: Force preemption
      drm/i915/execlists: Cancel banned contexts on schedule-out
      drm/i915/gem: Cancel contexts when hangchecking is disabled
      drm/i915/gt: Replace hangcheck by heartbeats
      drm/i915/selftests: Flush interrupts before disabling tasklets
      drm/i915/selftests: Flush any i915_active callback work as well
      drm/i915/gt: Split intel_ring_submission
      drm/i915/selftests: Tweak the default subtest runtime
      drm/i915/selftests: Force ordering of context switches
      drm/i915/pmu: Initialise the spinlock before registering
      drm/i915: Encapsulate kconfig constant values inside boolean predicates
      drm/i915/tgl: Adjust the location of RING_MI_MODE in the context image
      drm/i915: Split memory_region initialisation into its own file
      drm/i915: Put future HW and their uAPIs under STAGING & BROKEN
      drm/i915/rps: Flip interpretation of ips fmin/fmax to max rps
      drm/i915/selftests: Measure basic throughput of blit routines
      drm/i915/selftests: Drop global engine lookup for gt selftests
      drm/i915/selftests: Check all blitter engines for client blt
      drm/i915/selftests: Use a random engine for GEM coherency tests
      drm/i915/gt: Tidy up rps irq handler to use intel_gt
      drm/i915/selftests: Select a random engine for testing memory regions
      drm/i915/selftests: Exercise adjusting rpcs over all render-class engines
      drm/i915/selftests: Check a few more fixed locations within the context image
      drm/i915/execlists: Simply walk back along request timeline on reset
      drm/i915/selftests: Initialise err in case there are no engines!
      drm/i915/selftests: Initialise ret
      drm/i915/display: Mark conn as initialised by iterator
      drm/i915/gem: Limit the blitter sizes to ensure low preemption latency
      drm/i915/gt: Make timeslice duration configurable
      drm/i915/gem: Make context persistence optional
      drm/i915/gt: Always track callers to intel_rps_mark_interactive()
      drm/i915/selftests: Assert that the idle_pulse is sent
      drm/i915/selftests: Pretty print the i915_active
      drm/i915: Split detaching and removing the vma
      drm/i915/gem: Refine occupancy test in kill_context()
      drm/i915/lmem: Check against i915_selftest only under CONFIG_SELFTEST
      drm/i915/selftests: Start kthreads before stopping

Daniele Ceraolo Spurio (7):
      drm/i915: define i915_ggtt_has_aperture
      drm/i915: do not map aperture if it is not available.
      drm/i915: set num_fence_regs to 0 if there is no aperture
      drm/i915: error capture with no ggtt slot
      drm/i915/uc: define GuC and HuC binaries for TGL
      drm/i915: drop lrc header page
      drm/i915/guc: drop guc shared area

Imre Deak (2):
      drm/i915: Add new CNL PCH ID seen on a CML platform
      drm/i915: Avoid HPD poll detect triggering a new detect cycle

James Ausmus (1):
      drm/i915/aml: Allow SPT PCH for all AML devices

Jani Nikula (3):
      drm/i915/dsc: rename crtc state dsc_params member to dsc
      drm/i915/dsc: move crtc state dp_dsc_cfg member under dsc as config
      drm/i915/bios: add compression parameter block definition

Janusz Krzysztofik (2):
      drm/i915: Fix i915_inject_load_error() name to read *_probe_*
      drm/i915: Rename "inject_load_failure" module parameter

Joonas Lahtinen (2):
      drm/i915: Update DRIVER_DATE to 20191101
      drm/i915: Update DRIVER_DATE to 20191101

José Roberto de Souza (9):
      drm/i915/display/psr: Print in debugfs if PSR is not enabled because of sink
      drm/i915: Add is_dgfx to device info
      drm/i915/tc: Clear DKL_TX_PMD_LANE_SUS before program voltage swing
      drm/i915: Add two spaces before the SKL_DFSM registers
      drm/i915/display: Handle fused off HDCP
      drm/i915/display: Check if FBC is fused off
      drm/i915/display/icl+: Check if DMC is fused off
      drm/i915/display/cnl+: Handle fused off DSC
      drm/i915/dp: Do not switch aux to TBT mode for non-TC ports

Lionel Landwerlin (3):
      drm/i915: capture aux page table error register
      drm/i915/tgl: Add perf support on TGL
      drm/i915/perf: ensure selftests select valid format

Lucas De Marchi (3):
      drm/i915: do not set MOCS control values on dgfx
      drm/i915: split gen11_irq_handler to make it shareable
      drm/i915/tgl: add support to one DP-MST stream

Matt Roper (5):
      drm/i915: Catch GTT fault errors for gen11+ planes
      drm/i915/tgl: Handle AUX interrupts for TC ports
      drm/i915: Drop unused AUX register offsets
      drm/i915/tgl: Add AUX B & C to DC_OFF_POWER_DOMAINS
      drm/i915: Provide more information on DP AUX failures

Matthew Auld (10):
      drm/i915: support creating LMEM objects
      drm/i915/selftests: add write-dword test for LMEM
      drm/i915/selftests: extend coverage to include LMEM huge-pages
      drm/i915/selftests: prefer random sizes for the huge-GTT-page smoke tests
      drm/i915/selftests: add sanity selftest for huge-GTT-pages
      drm/i915/selftests/blt: add some kthreads into the mix
      drm/i915/blt: fixup block_size rounding
      drm/i915: don't allocate the ring in stolen if we lack aperture
      drm/i915/selftests: check for missing aperture
      drm/i915/lmem: add the fake lmem region

Michal Wajdeczko (2):
      drm/i915/execlists: Use vfunc to check engine submission mode
      drm/i915: Don't try to place HWS in non-existing mappable region

Mika Kuoppala (3):
      drm/i915: Remove nonpriv flags when srm/lrm
      drm/i915/tgl: Add SFC instdone to error state
      drm/i915/tgl: Add gam instdone

Robert M. Fosha (2):
      drm/i915/guc: Enable guc logging on guc log relay write
      drm/i915/guc: Update H2G enable logging action definition

Stuart Summers (1):
      drm/i915: add new gen12 dgfx platform macro

Tapani Pälli (1):
      drm/i915/tgl: whitelist PS_(DEPTH|INVOCATION)_COUNT

Tvrtko Ursulin (13):
      drm/i915: Pass intel_gt to intel_engines_init_mmio
      drm/i915: Pass intel_gt to intel_setup_engine_capabilities
      drm/i915: Pass intel_gt to intel_engines_cleanup
      drm/i915: Pass intel_gt to intel_engines_setup
      drm/i915: Pass intel_gt to intel_engines_init
      drm/i915: Pass intel_gt to intel_engines_verify_workarounds
      drm/i915: Split drop caches into GT and i915 parts
      drm/i915/selftests: Convert eviction selftests to gt/ggtt
      drm/i915/selftests: Use GT engines in mock_gem_device
      drm/i915/selftests: Use GT engines in igt_live_test
      drm/i915/selftests: Use for_each_uabi_engine in contex selftests
      drm/i915: Convert PAT setup to uncore mmio
      drm/i915: Move intel_engine_context_in/out into intel_lrc.c

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Add helper macros for comparing with whitelisted registers

Ville Syrjälä (22):
      drm/i915: Check some transcoder timing minimum limits
      drm/i915: Add debugs to distingiush a cd2x update from a full cdclk pll update
      drm/i915: Rework global state locking
      drm/i915: Move check_digital_port_conflicts() earier
      drm/i915: Allow planes to declare their minimum acceptable cdclk
      drm/i915: Eliminate skl_check_pipe_max_pixel_rate()
      drm/i915: Simplify skl_max_scale()
      drm/i915: Add support for half float framebuffers for skl+
      drm/i915: Add support for half float framebuffers for gen4+ primary planes
      drm/i915: Add support for half float framebuffers for ivb+ sprites
      drm/i915: Add support for half float framebuffers on snb sprites
      drm/i915: Fix PCH reference clock for FDI on HSW/BDW
      drm/i915: Use _PICK() for CHICKEN_TRANS()
      drm/i915: Add CHICKEN_TRANS_D
      drm/i915: Fix i845/i865 cursor width
      drm/i915: Nuke 'mode' argument to intel_get_load_detect_pipe()
      drm/i915: Stop frobbing crtc->base.mode
      drm/i915: Simplify LVDS crtc_mask setup
      drm/i915: s/crtc_mask/pipe_mask/
      drm/i915: Allow ICL+ DSI on any pipe
      drm/i915: Simplify pipe_mask setup even further
      drm/i915/mst: Document the userspace fail with possible_crtcs

Zhenyu Wang (1):
      drm/i915/gvt: fix dead locking in early workload shadow

 Documentation/gpu/i915.rst                         |    6 +-
 drivers/gpu/drm/i915/Kconfig                       |    6 +
 drivers/gpu/drm/i915/Kconfig.debug                 |    1 +
 drivers/gpu/drm/i915/Kconfig.profile               |   49 +
 drivers/gpu/drm/i915/Kconfig.unstable              |   29 +
 drivers/gpu/drm/i915/Makefile                      |   15 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |    2 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   44 +
 drivers/gpu/drm/i915/display/intel_atomic.h        |    5 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |   39 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |    2 +
 drivers/gpu/drm/i915/display/intel_audio.c         |   10 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |  123 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   13 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |   25 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  389 +++-
 drivers/gpu/drm/i915/display/intel_display.h       |    3 -
 drivers/gpu/drm/i915/display/intel_display_power.c |    2 +
 drivers/gpu/drm/i915/display/intel_display_types.h |   20 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |   59 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   13 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   15 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h      |    9 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |    2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   12 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |    1 +
 drivers/gpu/drm/i915/display/intel_psr.c           |   28 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |  428 +++-
 drivers/gpu/drm/i915/display/intel_sprite.h        |    7 +
 drivers/gpu/drm/i915/display/intel_tv.c            |    4 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |   52 +
 drivers/gpu/drm/i915/display/intel_vdsc.c          |   74 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |    6 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  210 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |   15 +
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c         |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_internal.c       |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c           |   99 +
 drivers/gpu/drm/i915/gem/i915_gem_lmem.h           |   37 +
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |    5 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c     |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   41 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c             |   35 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.h             |    3 -
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |    3 +-
 .../gpu/drm/i915/gem/selftests/huge_gem_object.c   |    3 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |  319 ++-
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |   30 +-
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |  174 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  178 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |   34 +-
 .../drm/i915/gem/selftests/i915_gem_object_blt.c   |  350 +++-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |    2 +
 drivers/gpu/drm/i915/gt/intel_context.c            |    1 +
 drivers/gpu/drm/i915/gt/intel_context.h            |    1 +
 drivers/gpu/drm/i915/gt/intel_engine.h             |  227 +--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   88 +-
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |  234 +++
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.h   |   23 +
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |    8 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   55 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   16 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |    4 -
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |    5 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   42 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h              |    6 -
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |   13 +-
 drivers/gpu/drm/i915/gt/intel_hangcheck.c          |  361 ----
 drivers/gpu/drm/i915/gt/intel_llc.c                |    2 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  382 +++-
 drivers/gpu/drm/i915/gt/intel_lrc.h                |   27 +-
 drivers/gpu/drm/i915/gt/intel_mocs.c               |    7 +
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |    1 +
 drivers/gpu/drm/i915/gt/intel_reset.c              |    3 +-
 drivers/gpu/drm/i915/gt/intel_ring.c               |  323 +++
 drivers/gpu/drm/i915/gt/intel_ring.h               |  131 ++
 ...{intel_ringbuffer.c => intel_ring_submission.c} |  309 +--
 drivers/gpu/drm/i915/gt/intel_ring_types.h         |   51 +
 drivers/gpu/drm/i915/gt/intel_rps.c                | 1872 +++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_rps.h                |   38 +
 drivers/gpu/drm/i915/gt/intel_rps_types.h          |   93 +
 drivers/gpu/drm/i915/gt/intel_timeline.c           |    6 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   21 +
 drivers/gpu/drm/i915/gt/mock_engine.c              |    1 +
 drivers/gpu/drm/i915/gt/selftest_context.c         |    3 -
 .../gpu/drm/i915/gt/selftest_engine_heartbeat.c    |  350 ++++
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |   28 +-
 drivers/gpu/drm/i915/gt/selftest_llc.c             |    7 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  536 ++++-
 drivers/gpu/drm/i915/gt/selftest_reset.c           |    2 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |    1 +
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |   10 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |  139 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |    2 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h        |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |   53 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h         |    4 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    9 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |    4 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |    6 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |   25 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |    2 +
 drivers/gpu/drm/i915/gvt/dmabuf.c                  |    3 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |   17 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c            |    1 +
 drivers/gpu/drm/i915/gvt/scheduler.c               |    7 +-
 drivers/gpu/drm/i915/i915_active.c                 |    2 +
 drivers/gpu/drm/i915/i915_active.h                 |    2 +
 drivers/gpu/drm/i915/i915_debugfs.c                |  214 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   42 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  121 +-
 drivers/gpu/drm/i915/i915_gem.c                    |   36 +-
 drivers/gpu/drm/i915/i915_gem.h                    |   14 -
 drivers/gpu/drm/i915/i915_gem_fence_reg.c          |    6 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |  215 +-
 drivers/gpu/drm/i915/i915_gem_gtt.h                |    5 +
 drivers/gpu/drm/i915/i915_gpu_error.c              |  124 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |    5 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  485 +----
 drivers/gpu/drm/i915/i915_irq.h                    |   12 -
 drivers/gpu/drm/i915/i915_params.c                 |    9 +-
 drivers/gpu/drm/i915/i915_params.h                 |    5 +-
 drivers/gpu/drm/i915/i915_pci.c                    |    7 +
 drivers/gpu/drm/i915/i915_perf.c                   |  417 +++-
 drivers/gpu/drm/i915/i915_perf_types.h             |   31 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |   47 +-
 drivers/gpu/drm/i915/i915_priolist_types.h         |    7 +
 drivers/gpu/drm/i915/i915_reg.h                    |  206 +-
 drivers/gpu/drm/i915/i915_request.c                |   10 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |   37 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |   74 +-
 drivers/gpu/drm/i915/i915_utils.c                  |   43 +-
 drivers/gpu/drm/i915/i915_utils.h                  |   34 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   69 +-
 drivers/gpu/drm/i915/i915_vma.h                    |    2 +-
 drivers/gpu/drm/i915/intel_device_info.c           |   13 +
 drivers/gpu/drm/i915/intel_device_info.h           |    3 +
 drivers/gpu/drm/i915/intel_memory_region.c         |   59 +
 drivers/gpu/drm/i915/intel_memory_region.h         |    9 +
 drivers/gpu/drm/i915/intel_pch.c                   |    4 +-
 drivers/gpu/drm/i915/intel_pch.h                   |    1 +
 drivers/gpu/drm/i915/intel_pm.c                    | 2126 ++------------------
 drivers/gpu/drm/i915/intel_pm.h                    |   24 -
 drivers/gpu/drm/i915/intel_region_lmem.c           |  132 ++
 drivers/gpu/drm/i915/intel_region_lmem.h           |   16 +
 drivers/gpu/drm/i915/oa/i915_oa_tgl.c              |  121 ++
 drivers/gpu/drm/i915/oa/i915_oa_tgl.h              |   16 +
 drivers/gpu/drm/i915/selftests/i915_active.c       |   48 +-
 drivers/gpu/drm/i915/selftests/i915_gem.c          |   33 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |  100 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |    6 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    2 +
 drivers/gpu/drm/i915/selftests/i915_perf.c         |    3 +-
 drivers/gpu/drm/i915/selftests/i915_request.c      |    4 +
 drivers/gpu/drm/i915/selftests/i915_selftest.c     |   15 +-
 drivers/gpu/drm/i915/selftests/igt_live_test.c     |    7 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   |  342 ++++
 drivers/gpu/drm/i915/selftests/intel_uncore.c      |   54 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   18 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.c          |    1 +
 drivers/gpu/drm/i915/selftests/mock_region.c       |    3 +-
 include/uapi/drm/i915_drm.h                        |   15 +
 172 files changed, 8936 insertions(+), 5163 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/Kconfig.unstable
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_lmem.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_lmem.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.h
 delete mode 100644 drivers/gpu/drm/i915/gt/intel_hangcheck.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ring.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ring.h
 rename drivers/gpu/drm/i915/gt/{intel_ringbuffer.c => intel_ring_submission.c} (88%)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_ring_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rps.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rps.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rps_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c
 create mode 100644 drivers/gpu/drm/i915/intel_region_lmem.c
 create mode 100644 drivers/gpu/drm/i915/intel_region_lmem.h
 create mode 100644 drivers/gpu/drm/i915/oa/i915_oa_tgl.c
 create mode 100644 drivers/gpu/drm/i915/oa/i915_oa_tgl.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2019-10-21 18:03 Joonas Lahtinen
  0 siblings, 0 replies; 252+ messages in thread
From: Joonas Lahtinen @ 2019-10-21 18:03 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave & Daniel,

Another feature pull, I'll send the final one next week.

New uAPI for OA features to support VK_INTEL_performance_query,
Mesa changes are at:

https://gitlab.freedesktop.org/mesa/mesa/merge_requests/932

Fixes for black/blue screen issues, Tigerlake enabling,
HDR for DP enabling (including drm-next backmerge). Transcoder
Port Sync for Icelake tiled displays.

This also has base intel_memory_region work that is prep for
local memory.

Regards, Joonas

***

drm-intel-next-2019-10-21:

UAPI Changes:

- Introduce a versioning of the i915-perf uapi (Lionel)
- Add support for perf configuration queries (Lionel)

  Allow listing perf configurations with IOCTL in addition
  to sysfs. This is useful in container usecases.

- Allow dynamic reconfiguration of the OA stream (Chris)

  Allows the OA stream to be reconfigured between
  batch buffers, giving greater flexibility in sampling.

- Allow holding preemption on filtered perf ctx

  Allow CAP_ADMIN to block pre-emption of a context
  to query performance counters without disturbances.

  Mesa changes: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/932

Cross-subsystem Changes:

- drm-next backmerge for HDR DP changes
  https://lists.freedesktop.org/archives/dri-devel/2019-September/236453.html

Driver Changes:

- Add DC3CO sleep state for Tigerlake (Anshuman)
- Tigerlake BCS engine support engine relative MMIO (Daniele)
- Simplify the Tigerlake LRC register list for !RCS (Daniele)
- Read SAGV block time from PCODE on Tigerlake (James)
- Add 12 missing Tigerlake workarounds (Mika)
- Enable DDI/Port G for Tigerlake (Khaled)

- Avoid hang in tsg,vfe units by keeping l3 clocks ICL+(Mika)
- Fix Bugzilla #111966: Favor last VBT child device (Ville)
- Fix blue/black screen on boot due to broken gamma (Swati)
- Add support of BT.2020 Colorimetry to DP MSA (Gwan-gyeong)
- Attach colorspace property to DP connector (Gwan-gyeong)
- Attach HDR metadata property to DP connector (Gwan-gyeong)
- Base intel_memory_region support prep for local memory (Matt A)
- Introduce Jasper Lake PCH (Matt R)
- Support multiple GPUs in PMU (Tvrtko)
- Fix MST oops due to MSA changes (Ville)
- Refuse modes with hdisplay==4096 on pre-HSW DP (Ville)
- Correct the PCH type in irq postinstall for JSP (Vivek)
- Save Master transcoder in slave's crtc_state for Transcoder Port Sync (Manasi)
- Enable TRANSCODER PORT SYNC for tiled displays across separate ports (Manasi)
- HW state readout for transcoder port sync config (Manasi)
- Enable master-slaves in trans port sync (Manasi)
- In port sync mode disable slaves first then master (Manasi)
- Fix port checks for MST support on gen >= 11 (Lucas)

- Flush submission tasklet before waiting/retiring (Chris)
- Flush tasklet submission before sleeping on i915_request_wait (Chris)
- Object pin reference counting fixes (Chris, Matt A)
- Clear semaphore immediately upon ELSP promotion (Chris)
- Child device size remains unchanged through VBT 229 (Matt R)
- Restore dropped 'interruptible' flag on retiring requests (Chris)
- Treat a busy timeline as 'active' while waiting (Chris)
- Clean up struct_mutex from perf (Chris)
- Update locking around execlists->active (Chris)
- Mark up expected execlist state during reset (Chris)
- Remove cursor use of properties for coordinates (Maarten)
- Only mark incomplete requests as -EIO on cancelling (Chris)
- Add an rcu_barrier option to i915_drop_caches (Chris)
- Replace perf global wakeref tracking with engine-pm (Chris)
- Prevent merging requests with conflicting flags (Chris)
- Allow for CS OA configs to be created lazily (Lionel)
- Implement active wait for noa configurations (Lionel)
- Execute OA configuration from command stream (Lionel)
- Prefer using the pinned_ctx for emitting delays on config (Chris)
- Port C's hotplug interrupt is associated with TC1 bits (Vivek, Matt R)
- Extend program of VSC Header and DB for Colorimetry Format (Gwan-gyeong)
- Fine-tune timeslicing of contexts (Chris)
- Do initial mocs configuration directly (Chris)
- Fix uninitialized variable on PMU error path (Tvrtko)
- Don't disable interrupts independently of the locking (Sebastian)
- Eliminate struct_mutext from GVT (Chris)

- Move perf types to their own header (Lionel)
- Drop list of perf streams (always size 1) (Lionel)
- Store the perf associated engine of a stream (Lionel)
- Make array hw_engine_mask static (Colin)
- Prefer shortest path to RPM/perf/GT instead of dev_priv (Chris, Tvrtko)
- Virtual request submission fixes (Chris)
- Selftest/CI improvements (Chris)
- Fix Kconfig indentation (Krzysztof)
- Give engine->kernel_context distinct timeline lock classes (Chris)
- Fix null pointer deref on selftest error path (Colin)
- Select DPLL's via mask (Matt R)
- Introduce and use intel_atomic_crtc_state_for_each_plane_state (Maarten)
- Use intel_plane_state in prepare and cleanup plane_fb (Maarten)
- Remove begin/finish_crtc_commit (Maarten)
- Move SAGV block time to dev_priv (James)
- Avoid polluting the i915_oa_config with error pointers (Chris)
- Squelch display kerneldoc warnings (Chris)
- Assert tasklet is locked for process_csb() (Chris)
- Switch to using DP_MSA_MISC_* defines (Ville)
- Stop using drm_atomic_helper_check_planes() (Ville)
- Make .modeset_calc_cdclk() mandatory (Ville)
- Use drm_rect_translate_to()/drm_rect_init() (Ville)
- Refactor timestamping constants update (Ville)
- Switch intel_legacy_cursor_update() to intel_ types (Ville)
- Prepare the connector/encoder mask readout for hw vs. uapi state split (Ville)
- Prepare the mode readout for hw vs. uapi state split (Ville)
- Move swizzle_bit under i915_ggtt (Chris)
- Improve microcontrollers documentation (Daniele)
- Move the cursor rotation handling into intel_cursor_check_surface() (Ville)
- Cleanups to pipe code (Ville)
- Shrink eDRAM ways/sets arrays for code size (Ville)
- Cleanups to HDCP2 timeout code (Ville)
- Restore full symmetry in i915_driver_modeset_probe/remove (Janusz)
- Simplify setting of ddi_io_power_domain (Lucas)
- Add pipe id/name to pipe mismatch logs (Lucas)
- Prettify MST debug message (Lucas)
- Extract GT ring management to separate files (Andi)

The following changes since commit 7ed093602e0e1b60a0fc074a9692687e7d2b723d:

  Merge tag 'drm-misc-next-2019-10-09-2' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-10-11 09:30:53 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-10-21

for you to fetch changes up to ce53908bba6fa6e905d8fe81da4591d3e7a65878:

  drm/i915: Update DRIVER_DATE to 20191021 (2019-10-21 12:56:07 +0300)

----------------------------------------------------------------
UAPI Changes:

- Introduce a versioning of the i915-perf uapi (Lionel)
- Add support for perf configuration queries (Lionel)

  Allow listing perf configurations with IOCTL in addition
  to sysfs. This is useful in container usecases.

- Allow dynamic reconfiguration of the OA stream (Chris)

  Allows the OA stream to be reconfigured between
  batch buffers, giving greater flexibility in sampling.

- Allow holding preemption on filtered perf ctx

  Allow CAP_ADMIN to block pre-emption of a context
  to query performance counters without disturbances.

  Mesa changes: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/932

Cross-subsystem Changes:

- drm-next backmerge for HDR DP changes
  https://lists.freedesktop.org/archives/dri-devel/2019-September/236453.html

Driver Changes:

- Add DC3CO sleep state for Tigerlake (Anshuman)
- Tigerlake BCS engine support engine relative MMIO (Daniele)
- Simplify the Tigerlake LRC register list for !RCS (Daniele)
- Read SAGV block time from PCODE on Tigerlake (James)
- Add 12 missing Tigerlake workarounds (Mika)
- Enable DDI/Port G for Tigerlake (Khaled)

- Avoid hang in tsg,vfe units by keeping l3 clocks ICL+(Mika)
- Fix Bugzilla #111966: Favor last VBT child device (Ville)
- Fix blue/black screen on boot due to broken gamma (Swati)
- Add support of BT.2020 Colorimetry to DP MSA (Gwan-gyeong)
- Attach colorspace property to DP connector (Gwan-gyeong)
- Attach HDR metadata property to DP connector (Gwan-gyeong)
- Base intel_memory_region support prep for local memory (Matt A)
- Introduce Jasper Lake PCH (Matt R)
- Support multiple GPUs in PMU (Tvrtko)
- Fix MST oops due to MSA changes (Ville)
- Refuse modes with hdisplay==4096 on pre-HSW DP (Ville)
- Correct the PCH type in irq postinstall for JSP (Vivek)
- Save Master transcoder in slave's crtc_state for Transcoder Port Sync (Manasi)
- Enable TRANSCODER PORT SYNC for tiled displays across separate ports (Manasi)
- HW state readout for transcoder port sync config (Manasi)
- Enable master-slaves in trans port sync (Manasi)
- In port sync mode disable slaves first then master (Manasi)
- Fix port checks for MST support on gen >= 11 (Lucas)

- Flush submission tasklet before waiting/retiring (Chris)
- Flush tasklet submission before sleeping on i915_request_wait (Chris)
- Object pin reference counting fixes (Chris, Matt A)
- Clear semaphore immediately upon ELSP promotion (Chris)
- Child device size remains unchanged through VBT 229 (Matt R)
- Restore dropped 'interruptible' flag on retiring requests (Chris)
- Treat a busy timeline as 'active' while waiting (Chris)
- Clean up struct_mutex from perf (Chris)
- Update locking around execlists->active (Chris)
- Mark up expected execlist state during reset (Chris)
- Remove cursor use of properties for coordinates (Maarten)
- Only mark incomplete requests as -EIO on cancelling (Chris)
- Add an rcu_barrier option to i915_drop_caches (Chris)
- Replace perf global wakeref tracking with engine-pm (Chris)
- Prevent merging requests with conflicting flags (Chris)
- Allow for CS OA configs to be created lazily (Lionel)
- Implement active wait for noa configurations (Lionel)
- Execute OA configuration from command stream (Lionel)
- Prefer using the pinned_ctx for emitting delays on config (Chris)
- Port C's hotplug interrupt is associated with TC1 bits (Vivek, Matt R)
- Extend program of VSC Header and DB for Colorimetry Format (Gwan-gyeong)
- Fine-tune timeslicing of contexts (Chris)
- Do initial mocs configuration directly (Chris)
- Fix uninitialized variable on PMU error path (Tvrtko)
- Don't disable interrupts independently of the locking (Sebastian)
- Eliminate struct_mutext from GVT (Chris)

- Move perf types to their own header (Lionel)
- Drop list of perf streams (always size 1) (Lionel)
- Store the perf associated engine of a stream (Lionel)
- Make array hw_engine_mask static (Colin)
- Prefer shortest path to RPM/perf/GT instead of dev_priv (Chris, Tvrtko)
- Virtual request submission fixes (Chris)
- Selftest/CI improvements (Chris)
- Fix Kconfig indentation (Krzysztof)
- Give engine->kernel_context distinct timeline lock classes (Chris)
- Fix null pointer deref on selftest error path (Colin)
- Select DPLL's via mask (Matt R)
- Introduce and use intel_atomic_crtc_state_for_each_plane_state (Maarten)
- Use intel_plane_state in prepare and cleanup plane_fb (Maarten)
- Remove begin/finish_crtc_commit (Maarten)
- Move SAGV block time to dev_priv (James)
- Avoid polluting the i915_oa_config with error pointers (Chris)
- Squelch display kerneldoc warnings (Chris)
- Assert tasklet is locked for process_csb() (Chris)
- Switch to using DP_MSA_MISC_* defines (Ville)
- Stop using drm_atomic_helper_check_planes() (Ville)
- Make .modeset_calc_cdclk() mandatory (Ville)
- Use drm_rect_translate_to()/drm_rect_init() (Ville)
- Refactor timestamping constants update (Ville)
- Switch intel_legacy_cursor_update() to intel_ types (Ville)
- Prepare the connector/encoder mask readout for hw vs. uapi state split (Ville)
- Prepare the mode readout for hw vs. uapi state split (Ville)
- Move swizzle_bit under i915_ggtt (Chris)
- Improve microcontrollers documentation (Daniele)
- Move the cursor rotation handling into intel_cursor_check_surface() (Ville)
- Cleanups to pipe code (Ville)
- Shrink eDRAM ways/sets arrays for code size (Ville)
- Cleanups to HDCP2 timeout code (Ville)
- Restore full symmetry in i915_driver_modeset_probe/remove (Janusz)
- Simplify setting of ddi_io_power_domain (Lucas)
- Add pipe id/name to pipe mismatch logs (Lucas)
- Prettify MST debug message (Lucas)
- Extract GT ring management to separate files (Andi)

----------------------------------------------------------------
Abdiel Janulgue (1):
      drm/i915: enumerate and init each supported region

Andi Shyti (1):
      drm/i915: Extract GT ring management

Anshuman Gupta (6):
      drm/i915/tgl: Add DC3CO required register and bits
      drm/i915/tgl: Add DC3CO mask to allowed_dc_mask and gen9_dc_mask
      drm/i915/tgl: Enable DC3CO state in "DC Off" power well
      drm/i915/tgl: Do modeset to enable and configure DC3CO exitline
      drm/i915/tgl: Switch between dc3co and dc5 based on display idleness
      drm/i915/tgl: Add DC3CO counter in i915_dmc_info

Chris Wilson (54):
      drm/i915/gt: Restore dropped 'interruptible' flag
      drm/i915/gt: Prefer local path to runtime powermanagement
      drm/i915/execlists: Fix annotation for decoupling virtual request
      drm/i915/selftests: Appease lockdep
      drm/i915/gt: Treat a busy timeline as 'active' while waiting
      drm/i915/perf: Wean ourselves off dev_priv
      drm/i915/perf: Set the exclusive stream under perf->lock
      drm/i915/execlists: Assign virtual_engine->uncore from first sibling
      drm/i915/selftests: Assign the mock_engine->uncore shortcut
      drm/i915/selftests: Assign the intel_runtime_pm pointer for mock_uncore
      drm/i915/gt: Flush submission tasklet before waiting/retiring
      drm/i915/gt: Give engine->kernel_context distinct timeline lock classes
      drm/i915/selftests: Hold request reference over waits
      drm/i915/execlists: Protect peeking at execlists->active
      drm/i915/gt: execlists->active is serialised by the tasklet
      drm/i915/gt: Warn CI about an unrecoverable wedge
      drm/i915/execlists: Mark up expected state during reset
      drm/i915/selftests: Check that registers are preserved between virtual engines
      drm/i915/perf: Store shortcut to intel_uncore
      drm/i915: Note the addition of timeslicing to the pretend scheduler
      drm/i915/execlists: Leave tell-tales as to why pending[] is bad
      drm/i915/execlists: Only mark incomplete requests as -EIO on cancelling
      drm/i915: Add an rcu_barrier option to i915_drop_caches
      drm/i915/selftests: Serialise write to scratch with its vma binding
      drm/i915/perf: Replace global wakeref tracking with engine-pm
      drm/i915/execlists: Prevent merging requests with conflicting flags
      drm/i915: Mark up "sentinel" requests
      drm/i915/perf: Prefer using the pinned_ctx for emitting delays on config
      drm/i915/perf: Avoid polluting the i915_oa_config with error pointers
      drm/i915/selftests: Fixup naked 64b divide
      drm/i915/display: Squelch kerneldoc warnings
      drm/i915/selftests: Check known register values within the context
      drm/i915/selftests: Check that GPR are cleared for new contexts
      drm/i915/execlists: Tweak virtual unsubmission
      drm/i915/execlists: Assert tasklet is locked for process_csb()
      drm/i915/perf: Allow dynamic reconfiguration of the OA stream
      drm/i915: Drop obj.page_pin_count after a failed vma->set_pages()
      drm/i915: Remove leftover vma->obj->pages_pin_count on insert/remove
      drm/i915/execlists: Clear semaphore immediately upon ELSP promotion
      drm/i915: Flush tasklet submission before sleeping on i915_request_wait
      drm/i915/selftests: Drop stale struct_mutex
      drm/i915/execlist: Trim immediate timeslice expiry
      drm/i915/selftests: Teach execlists to take intel_gt as its argument
      drm/i915/selftests: Teach guc to take intel_gt as its argument
      drm/i915/selftests: Teach workarounds to take intel_gt as its argument
      drm/i915/selftests: Teach timelines to take intel_gt as its argument
      drm/i915: Do initial mocs configuration directly
      drm/i915: Store i915_ggtt as the backpointer on fence registers
      drm/i915: Move swizzle_bit under i915_ggtt
      drm/i915/selftests: Teach requests to use all available engines
      drm/i915/execlists: Don't merely skip submission if maybe timeslicing
      drm/i915/selftests: Add the mock engine to the gt->engine[]
      drm/i915/gt: Convert the leftover for_each_engine(gt)
      drm/i915/gvt: Wean off struct_mutex

Colin Ian King (2):
      drm/i915: make array hw_engine_mask static, makes object smaller
      drm/i915/selftests: fix null pointer dereference on pointer data

Daniele Ceraolo Spurio (5):
      drm/i915/tgl: the BCS engine supports relative MMIO
      drm/i915/tgl: simplify the lrc register list for !RCS
      drm/i915: Add microcontrollers documentation section
      drm/i915/guc: improve documentation
      drm/i915/huc: improve documentation

Gwan-gyeong Mun (6):
      drm/i915/dp: Extend program of VSC Header and DB for Colorimetry Format
      drm/i915/dp: Add support of BT.2020 Colorimetry to DP MSA
      drm/i915/dp: Attach colorspace property
      drm/i915: Add new GMP register size for GEN11
      drm/i915/dp: Program an Infoframe SDP Header and DB for HDR Static Metadata
      drm/i915/dp: Attach HDR metadata property to DP connector

James Ausmus (2):
      drm/i915: Move SAGV block time to dev_priv
      drm/i915/tgl: Read SAGV block time from PCODE

Janusz Krzysztofik (1):
      drm/i915: Restore full symmetry in i915_driver_modeset_probe/remove

Joonas Lahtinen (2):
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20191021

Khaled Almahallawy (1):
      drm/i915/tgl: Enable DDI/Port G

Krzysztof Kozlowski (1):
      drm/i915: Fix Kconfig indentation

Lionel Landwerlin (10):
      drm/i915/perf: move perf types to their own header
      drm/i915/perf: drop list of streams
      drm/i915/perf: store the associated engine of a stream
      drm/i915/perf: allow for CS OA configs to be created lazily
      drm/i915/perf: implement active wait for noa configurations
      drm/i915/perf: execute OA configuration from command stream
      drm/i915/perf: introduce a versioning of the i915-perf uapi
      drm/i915: add support for perf configuration queries
      drm/i915/perf: allow holding preemption on filtered ctx
      drm/i915/perf: fix oa config reconfiguration

Lucas De Marchi (5):
      drm/i915: simplify setting of ddi_io_power_domain
      drm/i915: fix port checks for MST support on gen >= 11
      drm/i915: remove extra new line on pipe_config mismatch
      drm/i915: add pipe id/name to pipe mismatch logs
      drm/i915: prettify MST debug message

Maarten Lankhorst (5):
      drm/i915: Fix for_each_intel_plane_mask definition
      drm/i915: Introduce and use intel_atomic_crtc_state_for_each_plane_state.
      drm/i915: Use intel_plane_state in prepare and cleanup plane_fb
      drm/i915: Remove begin/finish_crtc_commit, v4.
      drm/i915: Remove cursor use of properties for coordinates

Manasi Navare (6):
      drm/i915/display/icl: Save Master transcoder in slave's crtc_state for Transcoder Port Sync
      drm/i915/display/icl: Enable TRANSCODER PORT SYNC for tiled displays across separate ports
      drm/i915/display/icl: HW state readout for transcoder port sync config
      drm/i915/display/icl: Enable master-slaves in trans port sync
      drm/i915/display/icl: Disable transcoder port sync as part of crtc_disable() sequence
      drm/i915/display/icl: In port sync mode disable slaves first then master

Matt Roper (4):
      drm/i915/vbt: Child device size remains unchanged through VBT 229
      drm/i915: Select DPLL's via mask
      drm/i915/ehl: Don't forget to set TC long detect function
      drm/i915: Introduce Jasper Lake PCH

Matthew Auld (5):
      drm/i915: introduce intel_memory_region
      drm/i915/region: support contiguous allocations
      drm/i915/region: support volatile objects
      drm/i915: treat shmem as a region
      drm/i915: treat stolen as a region

Mika Kuoppala (12):
      drm/i915/icl: Wa_1607087056
      drm/i915/tgl: Add IS_TGL_REVID
      drm/i915/tgl: Include ro parts of l3 to invalidate
      drm/i915/tgl: Add HDC Pipeline Flush
      drm/i915/tgl: Add extra hdc flush workaround
      drm/i915/tgl: Keep FF dop clock enabled for A0
      drm/i915/tgl: Wa_1409420604
      drm/i915/tgl: Wa_1409170338
      drm/i915/tgl: Wa_1409600907
      drm/i915/tgl: Wa_1607138336
      drm/i915/tgl: Wa_1607030317, Wa_1607186500, Wa_1607297627
      drm/i915/tgl: Wa_1607138340

Sebastian Andrzej Siewior (1):
      drm/i915: Don't disable interrupts independently of the lock

Swati Sharma (2):
      drm/i915/color: fix broken gamma state-checker during boot
      drm/i915/color: move check of gamma_enable to specific func/platform

Tvrtko Ursulin (4):
      drm/i915/pmu: Support multiple GPUs
      drm/i915: Make for_each_engine_masked work on intel_gt
      drm/i915: Pass in intel_gt at some for_each_engine sites
      drm/i915/pmu: Fix uninitialized variable on error path

Ville Syrjälä (22):
      drm/i915: Favor last VBT child device with conflicting AUX ch/DDC pin
      drm/i915: Switch to using DP_MSA_MISC_* defines
      drm/i915: Stop using drm_atomic_helper_check_planes()
      drm/i915: Make .modeset_calc_cdclk() mandatory
      drm/i915: Use drm_rect_translate_to()
      drm/i915: Use drm_rect_init()
      drm/i915: Refactor timestamping constants update
      drm/i915: Switch intel_legacy_cursor_update() to intel_ types
      drm/i915: Prepare the connector/encoder mask readout for hw vs. uapi state split
      drm/i915: Prepare the mode readout for hw vs. uapi state split
      drm/i915: Fix MST oops due to MSA changes
      drm/i915: Move the cursor rotation handling into intel_cursor_check_surface()
      drm/i915: Polish possible_clones setup
      drm/i915: Refuse modes with hdisplay==4096 on pre-HSW DP
      drm/i915: Nuke the useless changed param from skl_ddb_add_affected_pipes()
      drm/i915: Nuke 'realloc_pipes'
      drm/i915: Make dirty_pipes refer to pipes
      drm/i915: Shrink eDRAM ways/sets arrays
      drm/i915: s/hdcp2_hdmi_msg_data/hdcp2_hdmi_msg_timeout/
      drm/i915: Remove dead weight from hdcp2_msg_timeout[]
      drm/i915: Remove hdcp2_hdmi_msg_timeout.timeout2
      drm/i915: Make hdcp2_msg_timeout.timeout u16

Vivek Kasireddy (2):
      drm/i915/ehl: Port C's hotplug interrupt is associated with TC1 bits
      drm/i915: Correct the PCH type in irq postinstall

 Documentation/gpu/i915.rst                         |   48 +-
 drivers/gpu/drm/i915/Kconfig                       |   12 +-
 drivers/gpu/drm/i915/Kconfig.debug                 |  144 +-
 drivers/gpu/drm/i915/Makefile                      |    3 +
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |   10 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.h  |    2 +
 drivers/gpu/drm/i915/display/intel_bios.c          |   28 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   31 +-
 drivers/gpu/drm/i915/display/intel_color.c         |   33 +-
 drivers/gpu/drm/i915/display/intel_connector.c     |   21 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  178 ++-
 drivers/gpu/drm/i915/display/intel_ddi.h           |    3 +-
 drivers/gpu/drm/i915/display/intel_display.c       | 1023 +++++++++++----
 drivers/gpu/drm/i915/display/intel_display.h       |   17 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  154 ++-
 drivers/gpu/drm/i915/display/intel_display_power.h |    3 +
 drivers/gpu/drm/i915/display/intel_display_types.h |    7 +
 drivers/gpu/drm/i915/display/intel_dp.c            |  235 +++-
 drivers/gpu/drm/i915/display/intel_dp.h            |    8 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   22 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   48 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   55 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  114 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |    6 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |    3 +
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |   13 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |   18 +
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |    3 +
 drivers/gpu/drm/i915/gem/i915_gem_internal.c       |   17 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |   23 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |   20 +
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |    6 +
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |    5 +-
 drivers/gpu/drm/i915/gem/i915_gem_region.c         |  174 +++
 drivers/gpu/drm/i915/gem/i915_gem_region.h         |   29 +
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |   79 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   65 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.h         |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |    8 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |   97 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |    2 +-
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |    8 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |    2 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |   17 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  101 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |    2 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |    1 +
 drivers/gpu/drm/i915/gt/intel_engine_user.c        |   18 +-
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |    7 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   11 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   21 +-
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |   18 +-
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |    7 +
 drivers/gpu/drm/i915/gt/intel_hangcheck.c          |   10 +-
 drivers/gpu/drm/i915/gt/intel_llc.c                |  161 +++
 drivers/gpu/drm/i915/gt/intel_llc.h                |   15 +
 drivers/gpu/drm/i915/gt/intel_llc_types.h          |   13 +
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  212 +--
 drivers/gpu/drm/i915/gt/intel_mocs.c               |  274 +---
 drivers/gpu/drm/i915/gt/intel_mocs.h               |    3 -
 drivers/gpu/drm/i915/gt/intel_rc6.c                |   12 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |   52 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c         |    6 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   38 +-
 drivers/gpu/drm/i915/gt/mock_engine.c              |    6 +
 drivers/gpu/drm/i915/gt/selftest_context.c         |    6 +-
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c       |    2 +-
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |    9 +
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |   24 +-
 drivers/gpu/drm/i915/gt/selftest_llc.c             |   77 ++
 drivers/gpu/drm/i915/gt/selftest_llc.h             |   14 +
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  912 ++++++++++---
 drivers/gpu/drm/i915/gt/selftest_reset.c           |   10 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |   50 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |  211 +--
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |   31 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |    3 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |   12 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |   37 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c          |   15 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw_abi.h       |    3 -
 drivers/gpu/drm/i915/gt/uc/selftest_guc.c          |   42 +-
 drivers/gpu/drm/i915/gvt/aperture_gm.c             |    2 +-
 drivers/gpu/drm/i915/gvt/execlist.c                |    4 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |   18 +-
 drivers/gpu/drm/i915/i915_active.c                 |    4 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |   50 +-
 drivers/gpu/drm/i915/i915_drv.c                    |   12 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  401 +-----
 drivers/gpu/drm/i915/i915_gem.c                    |   20 +-
 drivers/gpu/drm/i915/i915_gem.h                    |   36 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.c          |   89 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.h          |    7 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |   65 +-
 drivers/gpu/drm/i915/i915_gem_gtt.h                |    5 +
 drivers/gpu/drm/i915/i915_getparam.c               |    4 +
 drivers/gpu/drm/i915/i915_irq.c                    |   48 +-
 drivers/gpu/drm/i915/i915_params.c                 |    3 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   29 +-
 drivers/gpu/drm/i915/i915_perf.c                   | 1374 +++++++++++++-------
 drivers/gpu/drm/i915/i915_perf.h                   |   27 +
 drivers/gpu/drm/i915/i915_perf_types.h             |  406 ++++++
 drivers/gpu/drm/i915/i915_pmu.c                    |   37 +-
 drivers/gpu/drm/i915/i915_pmu.h                    |    4 +
 drivers/gpu/drm/i915/i915_query.c                  |  296 +++++
 drivers/gpu/drm/i915/i915_reg.h                    |   38 +-
 drivers/gpu/drm/i915/i915_request.c                |   15 +-
 drivers/gpu/drm/i915/i915_request.h                |   10 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |   17 +-
 drivers/gpu/drm/i915/i915_scheduler.h              |   18 -
 drivers/gpu/drm/i915/i915_scheduler_types.h        |    9 +
 drivers/gpu/drm/i915/i915_vma.c                    |   10 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    2 +
 drivers/gpu/drm/i915/intel_memory_region.c         |  213 +++
 drivers/gpu/drm/i915/intel_memory_region.h         |  120 ++
 drivers/gpu/drm/i915/intel_pch.c                   |    6 +-
 drivers/gpu/drm/i915/intel_pch.h                   |    5 +-
 drivers/gpu/drm/i915/intel_pm.c                    |  371 ++----
 drivers/gpu/drm/i915/selftests/i915_gem.c          |    2 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |    5 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    1 +
 .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    1 +
 drivers/gpu/drm/i915/selftests/i915_perf.c         |  216 +++
 drivers/gpu/drm/i915/selftests/i915_request.c      |  287 ++--
 drivers/gpu/drm/i915/selftests/igt_reset.c         |    4 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   |  282 ++++
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   12 +-
 drivers/gpu/drm/i915/selftests/mock_region.c       |   59 +
 drivers/gpu/drm/i915/selftests/mock_region.h       |   16 +
 drivers/gpu/drm/i915/selftests/mock_uncore.c       |    5 +-
 drivers/gpu/drm/i915/selftests/mock_uncore.h       |    3 +-
 include/uapi/drm/i915_drm.h                        |  107 +-
 134 files changed, 7242 insertions(+), 2779 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_region.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_region.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_llc.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_llc.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_llc_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_llc.c
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_llc.h
 create mode 100644 drivers/gpu/drm/i915/i915_perf_types.h
 create mode 100644 drivers/gpu/drm/i915/intel_memory_region.c
 create mode 100644 drivers/gpu/drm/i915/intel_memory_region.h
 create mode 100644 drivers/gpu/drm/i915/selftests/i915_perf.c
 create mode 100644 drivers/gpu/drm/i915/selftests/intel_memory_region.c
 create mode 100644 drivers/gpu/drm/i915/selftests/mock_region.c
 create mode 100644 drivers/gpu/drm/i915/selftests/mock_region.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2019-10-07 13:48 Joonas Lahtinen
  0 siblings, 0 replies; 252+ messages in thread
From: Joonas Lahtinen @ 2019-10-07 13:48 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter; +Cc: dim-tools, dri-devel, Maxime Ripard, intel-gfx

Hi Dave & Daniel,

Back from XDC, so here comes the first bunch of features.

For uAPI: immutable zpos plane property added, disallow
userptr import of GGTT mmapped buffer and disallow tiling

Other than that loads of early Tigerlake enabling and many
Icelake fixups. DP MST and PSR fixes as well as audio tweaks.

Gen7 and Cherryview are back to aliasing ppGTT from full,
for being too fragile with the timing of the flush calls.

And yeah, we eliminated struct_mutex as BKL, now only used
for execbuffer and working towards dma_resv replacing it.
(perf and GVT corner cases are to be cleaned up). So that
is an end to 2 year journey.

Regards, Joonas

***

drm-intel-next-2019-10-07:

UAPI Changes:
- Never allow userptr into the mappable GGTT (Chris)
  No existing users. Avoid anyone from even trying to
  spare a deadlock scenario.

Cross-subsystem Changes:

Core Changes:

Driver Changes:

- Eliminate struct_mutex use as BKL! (Chris)
  Only used for execbuf serialisation.

- Initialize DDI TC and TBT ports (D-I) on Tigerlake (Lucas)
- Fix DKL link training for 2.7GHz and 1.62GHz (Jose)
- Add Tigerlake DKL PHY programming sequences (Clinton)
- Add Tigerlake Thunderbolt PLL divider values (Imre)

- drm/i915: Use helpers for drm_mm_node booleans (Chris)
- Restrict L3 remapping sysfs interface to dwords (Chris)
- Fix audio power up sequence for gen10+ display (Kai)
- Skip redundant execlist resubmission (Chris)
- Only unwedge if we can reset GPU first (Chris)
- Initialise breadcrumb lists on the virtual engine (Chris)
- Don't rely on kernel context existing during early errors (Matt A)
- Update Icelake+ MG_DP_MODE programming table (Clinton)
- Update DMC firmware for Icelake (Anusha)
- Downgrade DP MST error after unplugging TypeC cable (Srinivasan)
- Limit MST modes based on plane size too (Ville)
- Polish intel_tv_mode_valid() (Ville)
- Fix g4x sprite scaling stride check with GTT remapping (Ville)
- Don't advertize non-exisiting crtcs (Ville)
- Clean up encoder->crtc_mask setup (Ville)
- Use tc_port instead of port parameter to MG registers (Jose)
- Remove static variable for aux last status (Jani)
- Implement a better i945gm vblank irq vs. C-states workaround (Ville)

- Make the object creation interface consistent (CQ)
- Rename intel_vga_msr_write() to intel_vga_reset_io_mem() (Jani, Ville)
- Eliminate previous drm_dbg/drm_err usage (Jani)
- Move gmbus setup down to intel_modeset_init() (Jani)
- Abstract all vgaarb access to intel_vga.[ch] (Jani)
- Split out i915_switcheroo.[ch] from i915_drv.c (Jani)
- Use intel_gt in has_reset* (Chris)
- Eliminate return value for i915_gem_init_early (Matt A)
- Selftest improvements (Chris)
- Update HuC firmware header version number format (Daniele)

drm-intel-next-2019-09-27:

UAPI Changes:
- Revert "drm/i915: Fix DP-MST crtc_mask" to avoid MST regressions (Ville)
- Disable set/get_tiling ioctl on Gen12+ as hardware is gone (Daniel)
- Add immutable zpos plane properties (Ville)
- Report dual-subslice count as subslices for Tigerlake (Daniele)

Driver Changes:

<TIGERLAKE ENABLING>
- Enable HDCP 1.4 and 2.2 on Gen12+ (Ramalingam)
- Enable display state buffer (DSB) batch-programming (Animesh)
- Add 12 BPC support for Tigerlake (Anusha)
- Add maximum resolution supported by PSR2 HW for Tigerlake (Jose)
- Only allow PSR2 on supporting transcoders (Jose)
- Disable pipes in reverse order to comply with MST for Tigerlake+ (Jose)
- Implement Tigerlake DisplayPort training sequence (Jose)
- Do not apply WaIncreaseDefaultTLBEntries from Gen12 onwards (Michel)
- Reuse Icelake OA context logic for Tigerlake (Michel)
- Enable VD HCP/MFX sub-pipe power gating (Michel)
- Use separate context for relocations to deal with Tigerlake pre-parser (Daniele)
- Enabling DSC on Pipe A for Tigerlake (Madhumitha)
- Remove Yf tiling and legacy CCS support starting Tigerlake (Dhinakaran)
- Remove PSR link standby support starting Tigerlake (Jose)
- Access the right register when handling PSR interruptions (Jose)
- Move DP_TP_* registers from port to transcoder for Tigerlake (Lucas)
- Disable SAGV for Tigerlake (Lucas)
- Reuse Gen11 stolen initialization for Gen12 (Lucas)
- Apply FBC WA for Tigerlake too (Jose)
- Use engine relative LRIs on context setup for Tigerlake (Mika, Daniele)
- Register state context definition for Gen12 (Michel)
- Extend MI_SEMAPHORE_WAIT instruction for Tigerlake (Chris)
- Disable various Tigerlake features in attempt to have stable CI results (Chris)
- Add Tigerlake W/A to disable CPS aware color pipe by setting chicken bit (Radhakrishna)
- Add Tigerlake W/A to Enable Small PL for power benefit (Michel)
- Add missing DDI clock select during DP init sequence for Tigerlake (Clinton)
- Add missing update_active_dpll callback on Tigerlake (Clinton)
- Finish modular FIA support on registers for Tigerlake (Jose)
- Unify disable and enable phy clock gating functions on Tigerlake (Jose)
- Check the UC health of TC controllers after power on (Jose)
- Add TigerLake bandwidth checking (Stanislav)
- Add Pipe D cursor ctrl register for Gen12 (Ankit)
- Add DKL PHY PLL calculations (Lucas, Vandita, Jose)
- Add memory type decoding for bandwidth checking (James)
</TIGERLAKE ENABLING>

- Downgrade Gen7 and Cherryview back to aliasing-ppGTT (Chris)
- Limit MST to <= 8bpc once again (Ville)
- Restrict the aliasing-ppgtt to the size of the ggtt (Chris)
- Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for SKL+ (Chris, Jason)
- Whitelist COMMON_SLICE_CHICKEN2 (Kenneth)
- Include GTT page-size info in error state (Matt A)
- Clear STOP_RING bit on reset (Chris)
- Ignore lost CSB completion events (Chris)
- Use a high priority wq for nonblocking plane updates (Ville)
- Bump up Skylake/Icelake+ display/plane/fb size restrictions (Manasi, Ville)
- Update Gen11/Gen12 forcewake ranges from BSpec (Mika, Daniele, Michel)
- Allow downscale factor of <3.0 on GLK+ for all formats (Ville)
- Add missing Comet Lake PCH PCI ID (Matt)
- Fix Gen11 SFC reset flow (Daniele)
- Fix YCbCr programming for ILK-IVB,HSW+ (Ville)
- Save audio frequency programming state at audio domain suspend (Kai)
- Fix DisplayPort DSC BPP calculations (Maarten)
- Add hardware readout for FEC (Maarten)
- Do not add all planes when checking scalers on GLK+ (Maarten)
- Make small joiner RAM buffer size platform-specific (Matt R)
- Use per-process HWSP as scratch (Michal Wi)

- Match allowed Gen11+ CDCLK values to BSpec (Matt R)
- Rework CDCLK code for clarity and table format (Matt R)
- Unify CDCLK code to reuse functions (Ville)
- Enhance CDCLK sanitization (Matt R)
- Preallocate Braswell top-level page directory (Chris)
- Make vgpu ppgtt notificaiton as atomic operation (Xiaolin)
- Use NOEVICT for first pass on attemping to pin a GGTT mmap (Chris)
- Disable PSR if more than one eDP panel is present (Jose)
- Make breadcrumb flushes more robust (Chris)
- Extend non readable MCR range (Mika)
- Protect our local workers against I915_FENCE_TIMEOUT (Chris)
- Allow stolen memory (and future local memory) addresses in sg_table (Matt A)
- Better organize the disable sequence in atomic_commit_tail() (Manasi)
- Fix regression with crtc disable ordering (Maarten)
- Add HW Gamma LUT readout (Swati)
- Hook up power management code to use intel_gt (Andi)
- Rework codebase towards use of intel_gt (Tvrtko)
- Remove incorrect BUG_ON for schedule-out (Chris, Vinay)
- Cleanup cache coloring code (Matt A)
- Flush writes before RING_TAIL update on SNB (Chris)
- Perform GGTT restore much earlier during resume (Chris)
- Make shrink pinning atomic (Chris)
- Make i915_vma.flags atomic for mutex reduction (Chris)
- Make sure the gen6 ppgtt is bound before first use without struct mutex (Chris)
- Report IOMMU status in debugfs (Chris)
- Disable FBC if BIOS reserved memory (stolen) is unavailable (Chris)
- Add a paranoid flushes and context reload around GPU reset (Chris)
- Skip engine busyness sampling when and where not needed (Tvrtko)
- Use GT parked time for estimating RC6 while asleep (Chris)
- Get the correct wakeref for reading hotplug registers from debugfs (Arkadiusz)
- Only apply a rmw mmio update if the value changes (Chris, Daniele)
- Extend Haswell GT1 PSMI workaround to all HSW (Chris)
- Only enqueue already completed requests (Chris)
- Fix preempt-to-busy interactions of virtual requests (Chris)
- Prevent bonded requests from overtaking each other on preemption (Chris)
- Mark contents as dirty on a write fault (Chris)
- Adjust length of MI_LOAD_REGISTER_REG (Michal Wi)
- Don't disable interrupts for intel_engine_breadcrumbs_irq() (Sebastian)
- Extract GT render sleep (rc6) management (Andi)

- Rework SSEU reporting code (Stuart)
- Use correct DSC registers in intel_configure_pps_for_dsc_encoder (Manasi)
- Use enum pipe instead of crtc index to track active pipes (Ville)
- Enforce irq-off lockdep check for for timeline locks (Chris)
- Flush the existing fence before GGTT read/write (Chris)
- Keep drm_i915_file_private around under RCU (Chris)
- Call dma_set_max_seg_size() to silence spurious warnings (Lyude)
- Make engine's batch pool safe for use with virtual engines (Chris)
- Align power domain names with port names (Imre)
- Parameterize and unify HPD code (Lucas)
- Use RCU for unlocked vm_idr lookup (Chris)
- Replace obj->pin_global with obj->frontbuffer (Chris)
- Rework code to use INTEL_NUM_PIPES() (Jani)
- Convert device info num_pipes to pipe_mask (Jani)
- Introduce INTEL_DISPLAY_ENABLED() (Jani)
- Stop conflating HAS_DISPLAY() and disabled display (Jani)
- Modularize i915 modesetting probing/init code (Jani)
- Use drm_format_info_is_yuv_semiplanar() instead of rolling own (Ville)
- Other display codebase cleanups (Ville)
- Other GEM codebase cleanup, lockdep and selftest improvements (Chris)
- Future-proof DDC pin mapping to reuse ICP variant (Matt R)
- Rewrite timeline handling to be RCU based (Chris)
- Define explicit wedged on init reset state (Michal Wi)
- Add GuC firmware for Elkhartlake (Daniele)
- Update HuC firmware naming convention and bump versions (Anusha)
- Extract common code from GuC stop/disable comm (Fernando)
- Fix perf kernel-doc formatting for struct members (Anna)
- Documentation fixes (Joonas)

The following changes since commit be91233b1053d9725d3a437e3da44ccff2639477:

  drm/i915: Update DRIVER_DATE to 20190822 (2019-08-22 05:46:28 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-10-07

for you to fetch changes up to 9445ad17109b6fe7864acc33f0c62bd9d866b722:

  drm/i915: Update DRIVER_DATE to 20191007 (2019-10-07 15:24:47 +0300)

----------------------------------------------------------------
UAPI Changes:
- Never allow userptr into the mappable GGTT (Chris)
  No existing users. Avoid anyone from even trying to
  spare a deadlock scenario.

Cross-subsystem Changes:

Core Changes:

Driver Changes:

- Eliminate struct_mutex use as BKL! (Chris)
  Only used for execbuf serialisation.

- Initialize DDI TC and TBT ports (D-I) on Tigerlake (Lucas)
- Fix DKL link training for 2.7GHz and 1.62GHz (Jose)
- Add Tigerlake DKL PHY programming sequences (Clinton)
- Add Tigerlake Thunderbolt PLL divider values (Imre)

- drm/i915: Use helpers for drm_mm_node booleans (Chris)
- Restrict L3 remapping sysfs interface to dwords (Chris)
- Fix audio power up sequence for gen10+ display (Kai)
- Skip redundant execlist resubmission (Chris)
- Only unwedge if we can reset GPU first (Chris)
- Initialise breadcrumb lists on the virtual engine (Chris)
- Don't rely on kernel context existing during early errors (Matt A)
- Update Icelake+ MG_DP_MODE programming table (Clinton)
- Update DMC firmware for Icelake (Anusha)
- Downgrade DP MST error after unplugging TypeC cable (Srinivasan)
- Limit MST modes based on plane size too (Ville)
- Polish intel_tv_mode_valid() (Ville)
- Fix g4x sprite scaling stride check with GTT remapping (Ville)
- Don't advertize non-exisiting crtcs (Ville)
- Clean up encoder->crtc_mask setup (Ville)
- Use tc_port instead of port parameter to MG registers (Jose)
- Remove static variable for aux last status (Jani)
- Implement a better i945gm vblank irq vs. C-states workaround (Ville)

- Make the object creation interface consistent (CQ)
- Rename intel_vga_msr_write() to intel_vga_reset_io_mem() (Jani, Ville)
- Eliminate previous drm_dbg/drm_err usage (Jani)
- Move gmbus setup down to intel_modeset_init() (Jani)
- Abstract all vgaarb access to intel_vga.[ch] (Jani)
- Split out i915_switcheroo.[ch] from i915_drv.c (Jani)
- Use intel_gt in has_reset* (Chris)
- Eliminate return value for i915_gem_init_early (Matt A)
- Selftest improvements (Chris)
- Update HuC firmware header version number format (Daniele)

----------------------------------------------------------------
Andi Shyti (2):
      drm/i915: Hook up GT power management
      drm/i915: Extract GT render sleep (rc6) management

Animesh Manna (9):
      drm/i915/dsb: feature flag added for display state buffer.
      drm/i915/dsb: DSB context creation.
      drm/i915/dsb: Indexed register write function for DSB.
      drm/i915/dsb: Check DSB engine status.
      drm/i915/dsb: functions to enable/disable DSB engine.
      drm/i915/dsb: function to trigger workload execution of DSB.
      drm/i915/dsb: Enable gamma lut programming using DSB.
      drm/i915/dsb: Enable DSB for gen12.
      drm/i915/dsb: Documentation for DSB.

Ankit Nautiyal (1):
      drm/i915: Add Pipe D cursor ctrl register for Gen12

Anna Karas (1):
      drm/i915/perf: Fix use of kernel-doc format in structure members

Anusha Srivatsa (3):
      drm/dp/dsc: Add Support for all BPCs supported by TGL
      drm/i915/uc: Update HuC firmware naming convention and load latest HuC
      drm/i915/dmc: Update ICL DMC version to v1.09

Arkadiusz Hiler (1):
      drm/i915: Get the correct wakeref for reading HOTPLUG_EN et al.

CQ Tang (1):
      drm/i915/stolen: make the object creation interface consistent

Chris Wilson (108):
      drm/i915: Hold irq-off for the entire fake lock period
      drm/i915/gtt: Preallocate Braswell top-level page directory
      drm/i915: Flush the existing fence before GGTT read/write
      drm/i915: Keep drm_i915_file_private around under RCU
      drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context
      drm/i915/selftests: Add the usual batch vma managements to st_workarounds
      drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap
      drm/i915/selftests: Markup impossible error pointers
      drm/i915: Only activate i915_active debugobject once
      drm/i915: Make engine's batch pool safe for use with virtual engines
      drm/i915/selftests: Remove accidental serialization between gpu_fill
      drm/i915/selftests: Try to recycle context allocations
      drm/i915/execlists: Flush the post-sync breadcrumb write harder
      drm/i915/selftests: Ignore coherency failures on Broadwater
      drm/i915: Protect our local workers against I915_FENCE_TIMEOUT
      drm/i915/selftests: cond_resched() within the longer buddy tests
      drm/i915/execlists: Try rearranging breadcrumb flush
      drm/i915/gtt: Downgrade gen7 (ivb, byt, hsw) back to aliasing-ppgtt
      drm/i915/gtt: Downgrade Cherryview back to aliasing-ppgtt
      drm/i915: Remove ppgtt->dirty_engines
      drm/i915: Use RCU for unlocked vm_idr lookup
      drm/i915/perf: Assert locking for i915_init_oa_perf_state()
      drm/i915: Restrict the aliasing-ppgtt to the size of the ggtt
      drm/i915: Report aliasing ppgtt size as ggtt size
      drm/i915: Replace obj->pin_global with obj->frontbuffer
      drm/i915/selftests: Remove unused __engines_name()
      drm/i915: Refresh the errno to vmf_fault translations
      drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
      drm/i915: Protect debugfs per_file_stats with RCU lock
      drm/i915/execlists: Remove incorrect BUG_ON for schedule-out
      drm/i915/execlists: Clear STOP_RING bit on reset
      drm/i915/execlists: Ignore lost completion events
      drm/i915/ringbuffer: Flush writes before RING_TAIL update
      drm/i915: Perform GGTT restore much earlier during resume
      drm/i915/selftests: Take runtime wakeref for igt_ggtt_lowlevel
      drm/i915/selftests: Tighten the timeout testing for partial mmaps
      drm/i915/tgl: Disable rc6 for debugging
      drm/i915: Make shrink/unshrink be atomic
      drm/i915: Make i915_vma.flags atomic_t for mutex reduction
      drm/i915/display: Add glk_cdclk_table
      drm/i915/tgl: Disable read-only ppgtt support
      drm/i915: Squeeze iommu status into debugfs/i915_capabilities
      drm/i915: Disable FBC if BIOS reserved memory (stolen) is unavailable
      drm/i915/execlists: Add a paranoid flush of the CSB pointers upon reset
      drm/i915/execlists: Ensure the context is reloaded after a GPU reset
      drm/i915/pmu: Use GT parked for estimating RC6 while asleep
      drm/i915/tgl: Disable preemption while being debugged
      drm/i915/selftests: Keep the engine awake while we keep for preemption
      drm/i915/gtt: Make sure the gen6 ppgtt is bound before first use
      drm/i915: Don't mix srcu tag and negative error codes
      drm/i915/tgl: Limit ourselves to just rcs0
      drm/i915: Show the logical context ring state on dumping
      drm/i915: Only apply a rmw mmio update if the value changes
      drm/i915/tgl: Extend MI_SEMAPHORE_WAIT
      drm/i915: Extend Haswell GT1 PSMI workaround to all
      drm/i915: Verify the engine after acquiring the active.lock
      drm/i915/selftests: Exercise CS TLB invalidation
      drm/i915/tgl: Suspend pre-parser across GTT invalidations
      drm/i915: Mark i915_request.timeline as a volatile, rcu pointer
      drm/i915: Lock signaler timeline while navigating
      drm/i915: Protect timeline->hwsp dereferencing
      Revert "drm/i915/tgl: Implement Wa_1406941453"
      drm/i915/execlists: Relax assertion for a pinned context image on reset
      drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link)
      drm/i915: Only enqueue already completed requests
      drm/i915/execlists: Refactor -EIO markup of hung requests
      drm/i915: Fixup preempt-to-busy vs resubmission of a virtual request
      drm/i915: Fixup preempt-to-busy vs reset of a virtual request
      drm/i915: Prevent bonded requests from overtaking each other on preemption
      drm/i915: Mark contents as dirty on a write fault
      drm/i915/selftests: Verify the LRC register layout between init and HW
      drm/i915/tgl: Swap engines for no rps (gpu reclocking)
      drm/i915/execlists: Simplify gen12_csb_parse
      drm/i915/selftests: Exercise concurrent submission to all engines
      drm/i915/selftests: Do not try to sanitize mock HW
      drm/i915: Pass intel_gt to has-reset?
      drm/i915/selftests: Distinguish mock device from no wakeref
      drm/i915/selftests: Provide a mock GPU reset routine
      drm/i915/selftests: Exercise context switching in parallel
      drm/i915/gt: Only unwedge if we can reset first
      drm/i915: Initialise breadcrumb lists on the virtual engine
      drm/i915/userptr: Never allow userptr into the mappable GGTT
      drm/i915/selftests: Extract random_offset() for use with a prng
      drm/i915/gem: Refactor tests on obj->ops->flags
      drm/i915/selftests: Exercise potential false lite-restore
      drm/i915/execlists: Skip redundant resubmission
      drm/i915: Restrict L3 remapping sysfs interface to dwords
      drm/i915: Use helpers for drm_mm_node booleans
      drm/i915: Only track bound elements of the GTT
      drm/i915: Mark up address spaces that may need to allocate
      drm/i915: Pull i915_vma_pin under the vm->mutex
      drm/i915: Push the i915_active.retire into a worker
      drm/i915: Coordinate i915_active with its own mutex
      drm/i915: Move idle barrier cleanup into engine-pm
      drm/i915: Drop struct_mutex from around i915_retire_requests()
      drm/i915: Remove the GEM idle worker
      drm/i915: Merge wait_for_timelines with retire_request
      drm/i915/gem: Retire directly for mmap-offset shrinking
      drm/i915: Move request runtime management onto gt
      drm/i915: Move global activity tracking from GEM to GT
      drm/i915: Remove logical HW ID
      drm/i915: Move context management under GEM
      drm/i915/overlay: Drop struct_mutex guard
      drm/i915: Drop struct_mutex guard from debugfs/framebuffer_info
      drm/i915: Remove struct_mutex guard for debugfs/opregion
      drm/i915: Drop struct_mutex from suspend state save/restore
      drm/i915/selftests: Drop vestigal struct_mutex guards
      drm/i915: Drop struct_mutex from around GEM initialisation

Clinton A Taylor (4):
      drm/i915/tgl: Add missing ddi clock select during DP init sequence
      drm/i915/tgl/pll: Set update_active_dpll
      drm/i915/tc: Update DP_MODE programming
      drm/i915/tgl: Add dkl phy programming sequences

Daniel Vetter (1):
      drm/i915: disable set/get_tiling ioctl on gen12+

Daniele Ceraolo Spurio (5):
      drm/i915/uc: define GuC and HuC FWs for EHL
      drm/i915: use a separate context for gpu relocs
      drm/i915: fix SFC reset flow
      drm/i915/tgl: s/ss/eu fuse reading support
      drm/i915/huc: fix version parsing from CSS header

Dhinakaran Pandiyan (1):
      drm/i915/tgl: Gen-12 display loses Yf tiling and legacy CCS support

Fernando Pacheco (1):
      drm/i915/uc: Extract common code from GuC stop/disable comm

Imre Deak (2):
      drm/i915: Align power domain names with port names
      drm/i915/tgl: Add the Thunderbolt PLL divider values

James Ausmus (1):
      drm/i915/tgl: Add memory type decoding for bandwidth checking

Jani Nikula (18):
      drm/i915: add INTEL_NUM_PIPES() and use it
      drm/i915: convert device info num_pipes to pipe_mask
      drm/i915: introduce INTEL_DISPLAY_ENABLED()
      drm/i915: stop conflating HAS_DISPLAY() and disabled display
      drm/i915/dsb: single register write function for DSB.
      drm/i915: add i915_driver_modeset_remove()
      drm/i915: pass i915 to i915_driver_modeset_probe()
      drm/i915: pass i915 to intel_modeset_driver_remove()
      drm/i915: abstract intel_panel_sanitize_ssc() from intel_modeset_init()
      drm/i915: abstract intel_mode_config_init() from intel_modeset_init()
      drm/i915: pass i915 to intel_modeset_init() and intel_modeset_init_hw()
      drm/i915/display: abstract all vgaarb access to intel_vga.[ch]
      drm/i915: use DRM_ERROR() instead of drm_err()
      drm/i915: use DRM_DEBUG_KMS() instead of drm_dbg(DRM_UT_KMS, ...)
      drm/i915/dp: remove static variable for aux last status
      drm/i915/vga: rename intel_vga_msr_write() to intel_vga_reset_io_mem()
      drm/i915: split out i915_switcheroo.[ch] from i915_drv.c
      drm/i915: move gmbus setup down to intel_modeset_init()

Joonas Lahtinen (4):
      drm/i915: Remove link to missing "Batchbuffer Pools" documentation
      drm/i915: Indent GuC/WOPCM documentation sections
      drm/i915: Update DRIVER_DATE to 20190927
      drm/i915: Update DRIVER_DATE to 20191007

José Roberto de Souza (21):
      drm/i915/psr: Make PSR registers relative to transcoders
      drm/i915: Add transcoder restriction to PSR2
      drm/i915: Do not unmask PSR interruption in IRQ postinstall
      drm/i915/tgl: Guard and warn if more than one eDP panel is present
      drm/i915: Do not read PSR2 register in transcoders without PSR2
      drm/i915/tgl: Add maximum resolution supported by PSR2 HW
      drm: Add for_each_oldnew_intel_crtc_in_state_reverse()
      drm/i915: Disable pipes in reverse order
      drm/i915/tgl: Implement TGL DisplayPort training sequence
      drm/i915/tgl: PSR link standby is not supported anymore
      drm/i915/psr: Only handle interruptions of the transcoder in use
      drm/i915/tgl: Access the right register when handling PSR interruptions
      drm/i915: Apply FBC WA for TGL too
      drm/i915/mst: Do not hardcoded the crtcs that encoder can connect
      drm/i915/tgl: Finish modular FIA support on registers
      drm/i915/icl: Unify disable and enable phy clock gating functions
      drm/i915/tgl: Check the UC health of tc controllers after power on
      drm/i915/tgl: Add dkl phy pll calculations
      drm/i915/tgl: Return the mg/dkl pll as DDI clock for new TC ports
      drm/i915/tgl: Fix dkl link training
      drm/i915/mg: Use tc_port instead of port parameter to MG registers

Kai Vehmanen (3):
      drm/i915: save AUD_FREQ_CNTRL state at audio domain suspend
      drm/i915: Fix audio power up sequence for gen10+ display
      drm/i915: extend audio CDCLK>=2*BCLK constraint to more platforms

Kenneth Graunke (1):
      drm/i915: Whitelist COMMON_SLICE_CHICKEN2

Lucas De Marchi (11):
      drm/i915: parameterize south hpd macros
      drm/i915: unify icp, tgp and mcc irq handling
      drm/i915: parameterize SDE hotplug registers
      drm/i915: unify icp, tgp and mcc irq setup
      drm/i915: protect access to DP_TP_* on non-dp
      drm/i915/tgl: move DP_TP_* to transcoder
      drm/i915/tgl: disable SAGV temporarily
      drm/i915/tgl: add gen12 to stolen initialization
      drm/i915/tgl: Add initial dkl pll support
      drm/i915/tgl: re-indent code to prepare for DKL changes
      drm/i915/tgl: initialize TC and TBT ports

Lyude Paul (1):
      drm/i915: Call dma_set_max_seg_size() in i915_driver_hw_probe()

Maarten Lankhorst (6):
      drm/i915: Fix regression with crtc disable ordering
      drm/i915/dp: Fix dsc bpp calculations, v5.
      drm/i915: Add hardware readout for FEC
      drm/i915: Get rid of crtc_state->fb_changed
      drm/i915: Rename planar linked plane variables
      drm/i915: Do not add all planes when checking scalers on glk+

Madhumitha Tolakanahalli Pradeep (1):
      drm/i915/tgl: Enabling DSC on Pipe A for TGL

Manasi Navare (5):
      drm/i915/dp: Fix DSC enable code to use cpu_transcoder instead of encoder->type
      drm/i915/display: Rename update_crtcs() to commit_modeset_enables()
      drm/i915/display: Move the commit_tail() disable sequence to separate function
      drm/i915/display/icl: Bump up the hdisplay and vdisplay as per transcoder limits
      drm/i915/display/icl: Bump up the plane/fb height

Matt Roper (15):
      drm/i915: Allow /2 CD2X divider on gen11+
      drm/i915: Add 324mhz and 326.4mhz cdclks for gen11+
      drm/i915/tgl: Use refclk/2 as bypass frequency
      drm/i915: Consolidate bxt/cnl/icl cdclk readout
      drm/i915: Use literal representation of cdclk tables
      drm/i915: Combine bxt_set_cdclk and cnl_set_cdclk
      drm/i915: Kill cnl_sanitize_cdclk()
      drm/i915: Consolidate {bxt,cnl,icl}_uninit_cdclk
      drm/i915: Add calc_voltage_level display vfunc
      drm/i915: Enhance cdclk sanitization
      drm/i915: Consolidate {bxt,cnl,icl}_init_cdclk
      drm/i915/cml: Add second PCH ID for CMP
      drm/i915: Future-proof DDC pin mapping
      drm/i915: Unify ICP and MCC hotplug pin tables
      drm/i915: Small joiner RAM buffer size is platform-specific

Matthew Auld (8):
      drm/i915: s/for_each_sgt_dma/for_each_sgt_daddr/
      drm/i915/buddy: add missing call to i915_global_register
      drm/i915: export color_differs
      drm/i915: s/i915_gtt_color_adjust/i915_ggtt_color_adjust
      drm/i915: cleanup cache-coloring
      drm/i915: include GTT page-size info in error state
      drm/i915: check for kernel_context
      drm/i915: simplify i915_gem_init_early

Michał Winiarski (4):
      drm/i915: Define explicit wedged on init reset state
      drm/i915/execlists: Use per-process HWSP as scratch
      drm/i915: Adjust length of MI_LOAD_REGISTER_REG
      drm/i915: Add definitions for MI_MATH command

Michel Thierry (7):
      drm/i915/tgl: Move GTCR register to cope with GAM MMIO address remap
      drm/i915/tgl: Enable VD HCP/MFX sub-pipe power gating
      drm/i915/tgl: Do not apply WaIncreaseDefaultTLBEntries from GEN12 onwards
      drm/i915/tgl/perf: use the same oa ctx_id format as icl
      drm/i915/tgl: Register state context definition for Gen12
      drm/i915/tgl: Introduce gen12 forcewake ranges
      drm/i915/tgl: Implement Wa_1406941453

Mika Kuoppala (4):
      drm/i915: Extend non readable mcr range
      drm/i915: Use engine relative LRIs on context setup
      drm/i915: Update Gen11 forcewake ranges
      drm/i915/tgl: Re-enable rc6

Radhakrishna Sripada (1):
      drm/i915/tgl: Implement Wa_1409142259

Ramalingam C (6):
      drm/i915: mei_hdcp: I915 sends ddi index as per ME FW
      drm: Move port definition back to i915 header
      drm: Extend I915 mei interface for transcoder info
      misc/mei/hdcp: Fill transcoder index in port info
      drm/i915/hdcp: update current transcoder into intel_hdcp
      drm/i915/hdcp: Enable HDCP 1.4 and 2.2 on Gen12+

Sebastian Andrzej Siewior (2):
      drm/i915: Drop the IRQ-off asserts
      drm/i915: Don't disable interrupts for intel_engine_breadcrumbs_irq()

Srinivasan S (1):
      drm/i915/dp: Fix DP MST error after unplugging TypeC cable

Stanislav Lisovskiy (1):
      drm/i915: Add TigerLake bandwidth checking

Stuart Summers (11):
      drm/i915: Use variable for debugfs device status
      drm/i915: Add function to set SSEU info per platform
      drm/i915: Add subslice stride runtime parameter
      drm/i915: Add EU stride runtime parameter
      drm/i915: Use local variables for subslice_mask for device info
      drm/i915: Add function to set subslices
      drm/i915: Use subslice stride to set subslices for a given slice
      drm/i915: Add function to determine if a slice has a subslice
      drm/i915: Refactor instdone loops on new subslice functions
      drm/i915: Add new function to copy subslices for a slice
      drm/i915: Expand subslice mask

Swati Sharma (13):
      drm/i915/display: Add debug log for color parameters
      drm/i915/display: Add func to get gamma bit precision
      drm/i915/display: Add func to compare hw/sw gamma lut
      drm/i915/display: Add macro to compare gamma hw/sw lut
      drm/i915/display: Extract i9xx_read_luts()
      drm/i915/display: Extract ilk_read_luts()
      drm/i915/display: Extract glk_read_luts()
      drm/i915/display: Add gamma precision function for CHV
      drm/i915/display: Extract i965_read_luts()
      drm/i915/display: Extract chv_read_luts()
      drm/i915/color: Fix formatting issues
      drm/i915/color: Extract icl_read_luts()
      Revert "drm/i915/color: Extract icl_read_luts()"

Tvrtko Ursulin (5):
      drm/i915: Move GT init to intel_gt.c
      drm/i915: Make wait_for_timelines take struct intel_gt
      drm/i915: Avoid round-trip via i915 in intel_gt_park
      drm/i915: Make pm_notify take intel_gt
      drm/i915/pmu: Skip busyness sampling when and where not needed

Vandita Kulkarni (2):
      drm/i915/tgl: Add dkl phy registers
      drm/i915/tgl: Add support for dkl pll write

Ville Syrjälä (38):
      drm/i915: Use enum pipe instead of crtc index to track active pipes
      drm/i915: Unconfuse pipe vs. crtc->index in i915_get_crtc_scanoutpos()
      drm/i915: Use enum pipe consistently
      drm/i915: s/num_active_crtcs/num_active_pipes/
      drm/i915: Use hweight8() for 8bit masks
      drm/i915: Limit MST to <= 8bpc once again
      drm/i915: Prefer encoder->name over port_name()
      drm/i915: Clean up HDMI deep color handling a bit
      Revert "drm/i915: Fix DP-MST crtc_mask"
      drm/i915: add immutable zpos plane properties
      drm/i915: Use a high priority wq for nonblocking plane updates
      drm/i915: Remove pointless planes_changed=true assignment
      drm/i915: Fix cdclk bypass freq readout for tgl/bxt/glk
      drm/i915: Fix CD2X pipe select masking during cdclk sanitation
      drm/i915: Reuse cnl_modeset_calc_cdclk() on icl+
      drm/i915: Remove duplicated bxt/cnl/icl .modeset_calc_cdclk() funcs
      drm/i915: Replace is_planar_yuv_format() with drm_format_info_is_yuv_semiplanar()
      drm/i915: Allow downscale factor of <3.0 on glk+ for all formats
      drm/i915: Extract intel_modeset_calc_cdclk()
      drm/i915: s/pipe_config/crtc_state/ in intel_crtc_atomic_check()
      drm/i915: Bump skl+ max plane width to 5k for linear/x-tiled
      drm/i915: Don't advertise modes that exceed the max plane size
      drm/i915: Fix HSW+ DP MSA YCbCr colorspace indication
      drm/i915: Fix AVI infoframe quantization range for YCbCr output
      drm/i915: Extract intel_hdmi_limited_color_range()
      drm/i915: Never set limited_color_range=true for YCbCr output
      drm/i915: Don't look at unrelated PIPECONF bits for interlaced readout
      drm/i915: Simplify intel_get_crtc_ycbcr_config()
      drm/i915: Add PIPECONF YCbCr 4:4:4 programming for HSW
      drm/i915: Document ILK+ pipe csc matrix better
      drm/i915: Set up ILK/SNB csc unit properly for YCbCr output
      drm/i915: Add PIPECONF YCbCr 4:4:4 programming for ILK-IVB
      drm/i915: Limit MST modes based on plane size too
      drm/i915: Polish intel_tv_mode_valid()
      drm/i915: Fix g4x sprite scaling stride check with GTT remapping
      drm/i915: Populate possible_crtcs correctly
      drm/i915: Clean up encoder->crtc_mask setup
      drm/i915: Implement a better i945gm vblank irq vs. C-states workaround

Xiaolin Zhang (1):
      drm/i915: to make vgpu ppgtt notificaiton as atomic operation

 Documentation/gpu/i915.rst                         |   32 +-
 drivers/gpu/drm/i915/Makefile                      |    7 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |   24 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    9 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |   36 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_bios.h          |    3 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |   81 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c         | 1264 ++++++++------------
 drivers/gpu/drm/i915/display/intel_cdclk.h         |   13 +-
 drivers/gpu/drm/i915/display/intel_color.c         |  529 +++++++-
 drivers/gpu/drm/i915/display/intel_color.h         |    7 +
 drivers/gpu/drm/i915/display/intel_crt.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |  642 +++++++---
 drivers/gpu/drm/i915/display/intel_display.c       | 1101 +++++++++--------
 drivers/gpu/drm/i915/display/intel_display.h       |   51 +-
 drivers/gpu/drm/i915/display/intel_display_power.c |  398 +++---
 drivers/gpu/drm/i915/display/intel_display_power.h |   40 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |   36 +-
 drivers/gpu/drm/i915/display/intel_dp.c            |  408 ++++---
 drivers/gpu/drm/i915/display/intel_dp.h            |    7 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   30 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  364 +++++-
 drivers/gpu/drm/i915/display/intel_dsb.c           |  332 +++++
 drivers/gpu/drm/i915/display/intel_dsb.h           |   52 +
 drivers/gpu/drm/i915/display/intel_dsi.c           |    3 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |    4 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |    7 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   14 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |   19 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c          |  214 +++-
 drivers/gpu/drm/i915/display/intel_hdcp.h          |    4 +
 drivers/gpu/drm/i915/display/intel_hdmi.c          |  229 ++--
 drivers/gpu/drm/i915/display/intel_hdmi.h          |    1 +
 drivers/gpu/drm/i915/display/intel_hotplug.c       |    3 +-
 drivers/gpu/drm/i915/display/intel_hotplug.h       |    1 +
 drivers/gpu/drm/i915/display/intel_lpe_audio.c     |    2 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |   31 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  299 +++--
 drivers/gpu/drm/i915/display/intel_psr.h           |    1 -
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.h          |    1 +
 drivers/gpu/drm/i915/display/intel_sprite.c        |  122 +-
 drivers/gpu/drm/i915/display/intel_sprite.h        |    1 -
 drivers/gpu/drm/i915/display/intel_tc.c            |   87 +-
 drivers/gpu/drm/i915/display/intel_tc.h            |    1 +
 drivers/gpu/drm/i915/display/intel_tv.c            |   10 +-
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_vga.c           |  160 +++
 drivers/gpu/drm/i915/display/intel_vga.h           |   18 +
 drivers/gpu/drm/i915/display/vlv_dsi.c             |    2 +-
 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c     |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  390 ++----
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |   42 +-
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |   20 +-
 drivers/gpu/drm/i915/gem/i915_gem_domain.c         |   56 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |   83 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |  101 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   33 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |   29 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c     |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |    8 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_pm.c             |  150 +--
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c       |  124 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |   62 +-
 drivers/gpu/drm/i915/gem/i915_gem_throttle.c       |    4 +-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c         |   34 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |   31 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |  163 +--
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |   40 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  540 ++++++---
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |  268 ++++-
 .../drm/i915/gem/selftests/i915_gem_object_blt.c   |    4 -
 drivers/gpu/drm/i915/gem/selftests/i915_gem_phys.c |    2 -
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c |   33 +-
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h |   13 +-
 drivers/gpu/drm/i915/gem/selftests/mock_context.c  |   15 +-
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |   19 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |   22 +-
 drivers/gpu/drm/i915/gt/intel_context_types.h      |    1 +
 drivers/gpu/drm/i915/gt/intel_engine.h             |    1 -
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |   73 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   44 +-
 drivers/gpu/drm/i915/gt/intel_engine_pool.c        |   15 +-
 drivers/gpu/drm/i915/gt/intel_engine_pool.h        |    4 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   35 +-
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |   30 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |  149 ++-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |   12 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   85 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h              |   11 +
 drivers/gpu/drm/i915/gt/intel_gt_requests.c        |  123 ++
 drivers/gpu/drm/i915/gt/intel_gt_requests.h        |   24 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |   18 +-
 drivers/gpu/drm/i915/gt/intel_hangcheck.c          |    5 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                | 1240 +++++++++++++------
 drivers/gpu/drm/i915/gt/intel_lrc.h                |   14 +
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |   66 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c                |  712 +++++++++++
 drivers/gpu/drm/i915/gt/intel_rc6.h                |   25 +
 drivers/gpu/drm/i915/gt/intel_rc6_types.h          |   28 +
 drivers/gpu/drm/i915/gt/intel_reset.c              |  140 ++-
 drivers/gpu/drm/i915/gt/intel_reset.h              |   16 +-
 drivers/gpu/drm/i915/gt/intel_reset_types.h        |    6 +
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c         |   99 +-
 drivers/gpu/drm/i915/gt/intel_sseu.c               |   37 +-
 drivers/gpu/drm/i915/gt/intel_sseu.h               |   37 +-
 drivers/gpu/drm/i915/gt/intel_timeline.c           |   56 +-
 drivers/gpu/drm/i915/gt/intel_timeline_types.h     |   10 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   18 +-
 drivers/gpu/drm/i915/gt/selftest_context.c         |   62 +-
 drivers/gpu/drm/i915/gt/selftest_gt_pm.c           |   50 +
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |  155 +--
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  513 +++++---
 drivers/gpu/drm/i915/gt/selftest_reset.c           |    4 +-
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |   97 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |   63 +-
 drivers/gpu/drm/i915/gt/selftests/mock_timeline.c  |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h         |    3 +
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |   30 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |   51 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw_abi.h       |    8 +-
 drivers/gpu/drm/i915/gt/uc/selftest_guc.c          |    4 -
 drivers/gpu/drm/i915/gvt/aperture_gm.c             |   12 +-
 drivers/gpu/drm/i915/gvt/handlers.c                |    2 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c                   |   17 -
 drivers/gpu/drm/i915/gvt/scheduler.c               |   27 +-
 drivers/gpu/drm/i915/i915_active.c                 |  340 ++++--
 drivers/gpu/drm/i915/i915_active.h                 |  328 ++---
 drivers/gpu/drm/i915/i915_active_types.h           |   33 +-
 drivers/gpu/drm/i915/i915_buddy.c                  |    1 +
 drivers/gpu/drm/i915/i915_debugfs.c                |  274 +++--
 drivers/gpu/drm/i915/i915_drv.c                    |  212 ++--
 drivers/gpu/drm/i915/i915_drv.h                    |  119 +-
 drivers/gpu/drm/i915/i915_gem.c                    |  317 +----
 drivers/gpu/drm/i915/i915_gem_evict.c              |   58 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.c          |    9 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |  259 ++--
 drivers/gpu/drm/i915/i915_gem_gtt.h                |   67 +-
 drivers/gpu/drm/i915/i915_getparam.c               |    4 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |   28 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |    3 +-
 drivers/gpu/drm/i915/i915_irq.c                    |  322 ++---
 drivers/gpu/drm/i915/i915_irq.h                    |    4 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   44 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  116 +-
 drivers/gpu/drm/i915/i915_perf.h                   |    5 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |  247 ++--
 drivers/gpu/drm/i915/i915_pmu.h                    |    4 +-
 drivers/gpu/drm/i915/i915_query.c                  |   10 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  636 +++++++---
 drivers/gpu/drm/i915/i915_request.c                |  276 ++---
 drivers/gpu/drm/i915/i915_request.h                |   32 +-
 drivers/gpu/drm/i915/i915_scatterlist.h            |    8 +-
 drivers/gpu/drm/i915/i915_suspend.c                |   11 +-
 drivers/gpu/drm/i915/i915_switcheroo.c             |   67 ++
 drivers/gpu/drm/i915/i915_switcheroo.h             |   14 +
 drivers/gpu/drm/i915/i915_sysfs.c                  |   88 +-
 drivers/gpu/drm/i915/i915_trace.h                  |   40 +-
 drivers/gpu/drm/i915/i915_vgpu.c                   |    1 +
 drivers/gpu/drm/i915/i915_vma.c                    |  590 ++++++---
 drivers/gpu/drm/i915/i915_vma.h                    |  132 +-
 drivers/gpu/drm/i915/intel_csr.c                   |    4 +-
 drivers/gpu/drm/i915/intel_device_info.c           |  217 ++--
 drivers/gpu/drm/i915/intel_device_info.h           |    3 +-
 drivers/gpu/drm/i915/intel_pch.c                   |    1 +
 drivers/gpu/drm/i915/intel_pch.h                   |    1 +
 drivers/gpu/drm/i915/intel_pm.c                    |  906 ++------------
 drivers/gpu/drm/i915/intel_pm.h                    |    3 -
 drivers/gpu/drm/i915/intel_runtime_pm.c            |    1 -
 drivers/gpu/drm/i915/intel_uncore.c                |   94 +-
 drivers/gpu/drm/i915/intel_uncore.h                |   20 +-
 drivers/gpu/drm/i915/selftests/i915_active.c       |   42 +-
 drivers/gpu/drm/i915/selftests/i915_buddy.c        |    4 +
 drivers/gpu/drm/i915/selftests/i915_gem.c          |   12 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |   55 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |  395 +++++-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    2 +
 drivers/gpu/drm/i915/selftests/i915_random.c       |   20 +
 drivers/gpu/drm/i915/selftests/i915_random.h       |    4 +
 drivers/gpu/drm/i915/selftests/i915_request.c      |  251 ++--
 drivers/gpu/drm/i915/selftests/i915_selftest.c     |    8 +-
 drivers/gpu/drm/i915/selftests/i915_vma.c          |   19 +-
 drivers/gpu/drm/i915/selftests/igt_flush_test.c    |   33 +-
 drivers/gpu/drm/i915/selftests/igt_flush_test.h    |    2 +-
 drivers/gpu/drm/i915/selftests/igt_live_test.c     |   14 +-
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |    2 +-
 drivers/gpu/drm/i915/selftests/intel_uncore.c      |    2 +
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   36 +-
 drivers/gpu/drm/i915/selftests/mock_gtt.c          |    6 +-
 drivers/misc/mei/hdcp/mei_hdcp.c                   |   45 +-
 drivers/misc/mei/hdcp/mei_hdcp.h                   |   17 +-
 include/drm/i915_drm.h                             |   18 -
 include/drm/i915_mei_hdcp_interface.h              |   42 +-
 include/uapi/drm/i915_drm.h                        |    6 +-
 198 files changed, 12046 insertions(+), 8192 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dsb.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dsb.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_vga.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_vga.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_requests.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_requests.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rc6.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rc6.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_rc6_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_gt_pm.c
 create mode 100644 drivers/gpu/drm/i915/i915_switcheroo.c
 create mode 100644 drivers/gpu/drm/i915/i915_switcheroo.h
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2019-08-23  5:14 Rodrigo Vivi
  0 siblings, 0 replies; 252+ messages in thread
From: Rodrigo Vivi @ 2019-08-23  5:14 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Maxime Ripard, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

(atempt v2:
for some reason my dim didn't recognized the path apparently
)

Here goes the final pull request targeting 5.4.

It's important to highlight that we got a conflict on a backmerge yesterday
which had already been solved on linux-next with a fix up patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 14 Aug 2019 12:48:39 +1000
Subject: [PATCH] drm: fix up fallout from "dma-buf: rename reservation_object to dma_resv"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/gpu/drm/i915/gt/intel_engine_pool.c | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_engine_pool.c b/drivers/gpu/drm/i915/gt/intel_engine_pool.c
index 03d90b49584a..4cd54c569911 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_pool.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_pool.c
@@ -43,12 +43,12 @@ static int pool_active(struct i915_active *ref)
{
       struct intel_engine_pool_node *node =
               container_of(ref, typeof(*node), active);
-       struct reservation_object *resv = node->obj->base.resv;
+       struct dma_resv *resv = node->obj->base.resv;
       int err;

-       if (reservation_object_trylock(resv)) {
-               reservation_object_add_excl_fence(resv, NULL);
-               reservation_object_unlock(resv);
+       if (dma_resv_trylock(resv)) {
+               dma_resv_add_excl_fence(resv, NULL);
+               dma_resv_unlock(resv);
       }

       err = i915_gem_object_pin_pages(node->obj);

which is a simplified version from a previous one which had:
Reviewed-by: Christian König <christian.koenig@amd.com>

With this we could also remove the latest dma_resv fixup patch from drm_rerere.

Unfortunately on this merge commit a ghost file reapeared probably by an
amend mistake from my side. And consequently removed by Chris with an extra
patch. I hope this doesn't cause any trouble for you, but if so the solution
is simply go with the version that deletes the file for good.

This pull request also includes Gvt stuff including several enhancements for
command parser and batch buffer shadow, remove extra debugfs function return
check, and other misc changes like typo, static check fix, etc.

The rest is just as usual and split in 3 different drm-intel-next tags:

drm-intel-next-2019-08-22:
- More TGL enabling work (Michel, Jose, Lucas)
- Fixes on DP MST (Ville)
- More GTT and Execlists fixes and improvements (Chris)
- Code style clean-up on hdmi and dp side (Jani)
- Fix null pointer dereferrence (Xiong)
- Fix a couple of missing serialization on selftests (Chris)
- More vm locking rework (Chris)

drm-intel-next-2019-08-20:
- GuC and HuC related fixes and improvements (Daniele, Michal)
- Improve debug with more engine information and rework on debugfs files (Chris, Stuart)
- Simplify appearture address handling (Chris)
- Other fixes and cleanups around engines and execlists (Chris)
- Selftests fixes (Matt, Chris)
- Gen11 cache flush related fixes and improvements (Mika)
- More work around requests, timelines and locks to allow removal of struct_mutex (Chris)
- Add missing CML PCI ID (Anusha)
- More work on the new i915 buddy allocator (Matt)
- More headers, files and directories reorg (Daniele)
- Improvements on ggtt’s get pdp (Mika)
- Fix GPU reset (Chris)
- Fix GPIO pins on gen11 (Matt)
- Fix HW readout for crtc_clock in HDMI mode (Imre)
- Sanitize display Phy during unitit to workaround messages of HW state change during suspend (Imre)
- Be defensive when starting vma activity (Chris)
- More Tiger Lake enabling work (Michel, Daniele, Lucas)
- Relax pd_used assertion (Chris)

drm-intel-next-2019-08-13:
- More Tiger Lake enabling work (Lucas, Jose, Tomasz, Michel, Jordan, Anusha, Vandita)
- More selftest organization reworks, fixes and improvements (Lucas, Chris)
- Simplifications on GEM code like context and cleanup_early (Chris, Daniele)
- GuC and HuC related fixes and improvements (Daniele, Michal, Chris)
- Some clean up and fixes on headers, Makefile, and generated files (Lucas, Jani)
- MOCS setup clean up (Tvrtko)
- More Elkhartlake enabling work (Jose, Matt)
- Fix engine reset by clearing in flight execlists requests (Chris)
- Fix possible memory leak on intel_hdcp_auth_downstream (Wei)
- Introduce intel_gt_runtime_suspend/resume (Daniele)
- PMU improvements (Tvrtko)
- Flush extra hard after writing relocations through the GTT (Chris)
- Documentations fixes (Michal, Chris)
- Report dma_reserv allocation failure (Chris)
- Improvements around shrinker (Chris)
- More improvements around engine handling (Chris)
- Also more s/dev_priv/i915 (Chris)
- Abstract display suspend/resume operations (Rodrigo/Jani)
- Drop VM_IO from GTT mappings (Chris)
- Fix some NULL vs IS_ERR conditions (Dan)
- General improvements on error state (Chris)
- Isolate i915_getparam_iocrtl to its own file (Chris)
- Perf OA object refactor (Umesh)
- Ignore central i915->kernel_context and allocate it directly (Chris)
- More fixes and improvements around wakerefs (Chris)
- Clean-up and improvements around debugfs (Chris)
- Free the imported shmemfs file for phys objects (Chris)
- Many other fix and cleanups around engines and execlists (Chris)
- Split out uncore_mmio_debug (Daniele)
- Memory management fixes for blk and gtt (Matt)
- Introduction of buddy allocator to handle huge-pages for GTT (Matt)
- Fix ICL and TGL PG3 power domains (Anshuman)
- Extract GT IRQ to gt/ (Andi)
- Drop last_fence tracking in favor of whole vma->active (Chris)
- Make overlay to use i915_active instead of i915_active_request (Chris)
- Move misc display IRQ handling to its own function (Jose)
- Introduce new _TRANS2() macro in preparation for some coming PSR related work (Jose)

This tag also includes Gvt stuff including several enhancements for command parser and batch buffer shadow, remove extra debugfs function return check, and other misc changes like typo, static check fix, etc.

Thanks,
Rodrigo.

The following changes since commit ae4530062620561d24683b1bd3438b8397693429:

  Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next (2019-08-22 13:21:16 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-08-22

for you to fetch changes up to be91233b1053d9725d3a437e3da44ccff2639477:

  drm/i915: Update DRIVER_DATE to 20190822 (2019-08-22 05:46:28 -0700)

----------------------------------------------------------------
- More TGL enabling work (Michel, Jose, Lucas)
- Fixes on DP MST (Ville)
- More GTT and Execlists fixes and improvements (Chris)
- Code style clean-up on hdmi and dp side (Jani)
- Fix null pointer dereferrence (Xiong)
- Fix a couple of missing serialization on selftests (Chris)
- More vm locking rework (Chris)

----------------------------------------------------------------
Andi Shyti (2):
      drm/i915: Extract GT powermanagement interrupt handling
      drm/i915: Extract general GT interrupt handlers

Anshuman Gupta (2):
      drm/i915/icl: Remove DDI IO power domain from PG3 power domains
      drm/i915/tgl: Fixing up list of PG3 power domains.

Anusha Srivatsa (2):
      drm/i915/dmc: Load DMC on TGL
      drm/i915/cml: Add Missing PCI IDs

Chris Wilson (85):
      drm/i915: Avoid ce->gem_context->i915
      drm/i915/selftests: Pass intel_context to igt_spinner
      drm/i915/execlists: Always clear pending&inflight requests on reset
      drm/i915: Remove lrc default desc from GEM context
      drm/i915/pmu: Atomically acquire the gt_pm wakeref
      drm/i915: Flush extra hard after writing relocations through the GTT
      drm/i915: Allow sharing the idle-barrier from other kernel requests
      drm/i915: Report resv_obj allocation failure
      drm/i915: Hide unshrinkable context objects from the shrinker
      drm/i915: Flush the freed object list on file close
      drm/i915: Teach execbuffer to take the engine wakeref not GT
      drm/i915: Replace struct_mutex for batch pool serialisation
      drm/i915/gt: Remove stale kerneldoc for internal MOCS functions
      drm/i915: Use drm_i915_private directly from drv_get_drvdata()
      drm/i915/gem: Make caps.scheduler static
      drm/i915/gt: Move the [class][inst] lookup for engines onto the GT
      drm/i915: Drop expectations of VM_IO from our GGTT mmappings
      drm/i915: Rename engines to match their user interface
      drm/i915: Use intel_engine_lookup_user for probing HAS_BSD etc
      drm/i915: Include the DRIVER_DATE in the error state
      drm/i915: Isolate i915_getparam_ioctl()
      drm/i915/selftests: Pass intel_context to mock_request
      drm/i915: Allocate kernel_contexts directly
      drm/i915: Fix up the inverse mapping for default ctx->engines[]
      drm/i915/selftests: Fixup a missing legacy_idx
      drm/i915: Defer final intel_wakeref_put to process context
      drm/i915: Only include active engines in the capture state
      drm/i915: Make debugfs/per_file_stats scale better
      drm/i915: Free the imported shmemfs file for phys objects
      drm/i915/execlists: Backtrack along timeline
      drm/i915: Check for a second VCS engine more carefully
      drm/i915: Replace global bsd_dispatch_index with random seed
      drm/i915: Generalise BSD default selection
      drm/i915: Drop the fudge warning on ring restart for ctg/elk
      drm/i915: Remove i915_gem_context_create_gvt()
      drm/i915/gt: Make deferred context allocation explicit
      drm/i915: Push the ring creation flags to the backend
      drm/i915: Lift timeline into intel_context
      drm/i915: Stop reconfiguring our shmemfs mountpoint
      drm/i915: Remove unused debugfs/i915_emon_status
      drm/i915/execlists: Avoid sync calls during park
      drm/i915/selftests: Prevent the timeslice expiring during suppression tests
      drm/i915/gt: Use the local engine wakeref when checking RING registers
      drm/i915: Forgo last_fence active request tracking
      drm/i915/overlay: Switch to using i915_active tracking
      drm/i915/guc: Use a local cancel_port_requests
      drm/i915: Push the wakeref->count deferral to the backend
      drm/i915/gt: Save/restore interrupts around breadcrumb disable
      drm/i915: Include engine->mmio_base in the debug dump
      drm/i915: Disregard drm_mode_config.fb_base
      drm/i915: Serialise read/write of the barrier's engine
      drm/i915: Convert a few more bland dmesg info to be device specific
      drm/i915: Move tasklet kicking to __i915_request_queue caller
      drm/i915/gt: Track timeline activeness in enter/exit
      drm/i915/gt: Convert timeline tracking to spinlock
      drm/i915/gt: Guard timeline pinning without relying on struct_mutex
      drm/i915: Protect request retirement with timeline->mutex
      drm/i915: Extract intel_frontbuffer active tracking
      drm/i915: Use the associated uncore for the vm
      drm/i915/gt: Mark context->active_count as protected by timeline->mutex
      drm/i915: Markup expected timeline locks for i915_active
      drm/i915/execlists: Lift process_csb() out of the irq-off spinlock
      drm/i915/selftests: Check the context size
      drm/i915: Propagate fence errors
      drm/i915: Always wrap the ring offset before resetting
      drm/i915/gt: Mark up the nested engine-pm timeline lock as irqsafe
      drm/i915: Only emit the 'send bug report' once for a GPU hang
      drm/i915: Serialize against vma moves
      drm/i915: i915_active.retire() is optional
      drm/i915: Use 0 for the unordered context
      drm/i915: Assume exclusive access to objects inside resume
      drm/i915: Serialize insertion into the file->mm.request_list
      drm/i915: Be defensive when starting vma activity
      drm/i915/gtt: Relax pd_used assertion
      drm/i915/gtt: Relax assertion for pt_used
      drm/i915/gtt: Include asm/smp.h
      drm/i915: Replace PIN_NONFAULT with calls to PIN_NOEVICT
      drm/i915/execlists: Set priority hint prior to submission
      drm/i915/gtt: Add some range asserts
      drm/i915/selftests: Fixup a couple of missing serialisation with vma
      drm/i915: Generalise the clflush dma-worker
      drm/i915: Track ggtt fence reservations under its own mutex
      drm/i915: Pull obj->userfault tracking under the ggtt->mutex
      drm/i915: Replace i915_vma_put_fence()
      drm/i915: Kill the undead i915_gem_batch_pool.c

Dan Carpenter (1):
      drm/i915: Fix some NULL vs IS_ERR() conditions

Daniele Ceraolo Spurio (18):
      drm/i915/uc: Don't enable communication twice on resume
      drm/i915/uc: Move uC WOPCM setup in uc_init_hw
      drm/i915/gt: Move gt_cleanup_early out of gem_cleanup_early
      drm/i915/uc: Move uC early functions inside the GT ones
      drm/i915/gt: Introduce intel_gt_runtime_suspend/resume
      drm/i915: split out uncore_mmio_debug
      drm/i915/guc: keep breadcrumb irq always enabled
      drm/i915: drop engine_pin/unpin_breadcrumbs_irq
      drm/i915/guc: Remove client->submissions
      drm/i915: Move i915_power_well_id out of i915_reg.h
      drm/i915: Move engine IDs out of i915_reg.h
      drm/i915: Move gmbus definitions out of i915_reg.h
      drm/i915: Wrappers for display register waits
      drm/i915/tgl: add Gen12 default indirect ctx offset
      drm/i915/tgl: add GEN12_MAX_CONTEXT_HW_ID
      drm/i915/tgl: Gen12 csb support
      drm/i915/tgl: Gen12 render context size
      drm/i915: Dynamically allocate s0ix struct for VLV

Gao, Fred (3):
      drm/i915/gvt: Utility for valid command length check
      drm/i915/gvt: Add MI command valid length check
      drm/i915/gvt: Add valid length check for MI variable commands

Greg Kroah-Hartman (1):
      drm/i915/gvt: no need to check return value of debugfs_create functions

Gustavo A. R. Silva (1):
      drm/i915/kvmgt: Use struct_size() helper

Imre Deak (2):
      drm/i915: Fix HW readout for crtc_clock in HDMI mode
      drm/i915: Sanitize PHY state during display core uninit

Jani Nikula (28):
      drm/i915/oa: add content to Makefile
      drm/i915/oa: update the generated files
      drm/i915: move intel_display.c function declarations
      drm/i915/sprite: un-inline icl_is_hdr_plane()
      drm/i915/irq: un-inline functions to avoid i915_drv.h include
      drm/i915/bw: make intel_atomic_get_bw_state() static
      drm/i915/mst: un-inline intel_dp_mst_encoder_active_links()
      drm/i915/tc: un-inline intel_tc_port_ref_held()
      drm/i915: avoid including intel_drv.h via i915_drv.h->i915_trace.h
      drm/i915: rename intel_drv.h to display/intel_display_types.h
      drm/i915: remove unnecessary includes of intel_display_types.h header
      drm/i915: move property enums to intel_display_types.h
      drm/i915: split out intel_pch.[ch] from i915_drv.[ch]
      drm/i915: remove unused dev_priv->no_aux_handshake
      drm/i915: move add_taint_for_CI() to i915_utils.h
      drm/i915: move I915_STATE_WARN() and _ON() to intel_display.h
      drm/i915: move printing and load error inject to i915_utils.[ch]
      drm/i915: extract i915_perf.h from i915_drv.h
      drm/i915: extract i915_sysfs.h from i915_drv.h
      drm/i915: extract i915_suspend.h from i915_drv.h
      drm/i915: extract i915_memcpy.h from i915_drv.h
      drm/i915: extract gem/i915_gem_stolen.h from i915_drv.h
      drm/i915: extract i915_gem_shrinker.h from i915_drv.h
      drm/i915/dp: stylistic cleanup around hdcp2_msg_data
      drm/i915/dp: avoid shadowing variables
      drm/i915/dp: make hdcp2_dp_msg_data const
      drm/i915/hdmi: stylistic cleanup around hdcp2_msg_data
      drm/i915/hdmi: make hdcp2_msg_data const

Jordan Justen (1):
      drm/i915/tgl: allow the reg_read ioctl to read the RCS TIMESTAMP register

José Roberto de Souza (9):
      drm/i915/tgl: Update north display hotplug detection to TGL connections
      drm/i915/ehl: Ungate DDIC and DDID
      drm/i915/tgl: Add and use new DC5 and DC6 residency counter registers
      drm/i915: Get transcoder power domain before reading its register
      drm/i915/tgl: Fix the read of the DDI that transcoder is attached to
      drm/i915/tgl: Fix missing parentheses on TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT
      drm/i915/bdw+: Move misc display IRQ handling to it own function
      drm/i915: Add _TRANS2()
      drm/i915/tgl: Move transcoders to pipes' powerwells

Lucas De Marchi (9):
      drm/i915/tgl: Add hpd interrupt handling
      drm/i915/tgl: handle DP aux interrupts
      drm/i915: make i915_selftest.h self-contained
      drm/i915: remove dangling forward declaration
      drm/i915/tgl: Move fault registers to their new offset
      drm/i915/tgl: stop using ERROR_GEN6 and DONE_REG
      drm/i915/tgl: Introduce initial Tiger Lake workarounds
      drm/i915/tgl: disable DDIC
      drm/i915/tgl: update DMC firmware to 2.04

Matt Roper (2):
      drm/i915/ehl: Don't forget to handle port C's hotplug interrupts
      drm/i915/gen11: Allow usage of all GPIO pins

Matthew Auld (10):
      drm/i915/blt: don't assume pinned intel_context
      drm/i915/blt: bump the size restriction
      drm/i915/selftests: move gpu-write-dw into utils
      drm/i915/gtt: enable GTT cache by default
      drm/i915/gtt: disable 2M pages for pre-gen11
      drm/i915/blt: support copying objects
      drm/i915: buddy allocator
      drm/i915/selftest/buddy: fixup igt_buddy_alloc_range
      drm/i915/buddy: tidy up i915_buddy_fini
      drm/i915/buddy: use kmemleak_update_trace

Michal Wajdeczko (39):
      drm/i915/uc: Rename intel_uc_is_using* into intel_uc_supports*
      drm/i915/uc: Consider enable_guc modparam during fw selection
      drm/i915/guc: Use dedicated flag to track submission mode
      drm/i915/uc: Stop sanitizing enable_guc modparam
      drm/i915: Fix documentation for __intel_wait_for_register_fw*
      drm/i915: Add i915 to i915_inject_probe_failure
      drm/i915/uc: Do full sanitize instead of pure reset
      drm/i915/uc: Reorder firmware status codes
      drm/i915/uc: Move GuC error log to uc and release it on fini
      drm/i915/uc: Inject probe errors into intel_uc_init_hw
      drm/i915/wopcm: Don't fail on WOPCM partitioning failure
      drm/i915/guc: Prefer intel_guc_is_submission_supported
      drm/i915/huc: Prefer intel_huc_is_supported
      drm/i915/uc: Remove redundant GuC support checks
      drm/i915/uc: Don't fail on HuC early init errors
      drm/i915/uc: Prefer dev_info for reporting options
      drm/i915/uc: HuC firmware can't be supported without GuC
      drm/i915/uc: Don't fetch HuC fw if GuC fw fetch already failed
      drm/i915: Don't try to partition WOPCM without GuC firmware
      drm/i915: Make wopcm_to_i915() private
      drm/i915/uc: WOPCM programming errors are not always real
      drm/i915/uc: Hardening firmware fetch
      drm/i915/uc: Fail early if there is no GuC fw available
      drm/i915/uc: Include HuC firmware version in summary
      drm/i915/uc: Update messages from fw upload step
      drm/i915/uc: Use -EIO code for GuC initialization failures
      drm/i915/uc: Update copyright and license
      drm/i915/uc: Log fw status changes only under debug config
      drm/i915/wopcm: Check WOPCM layout separately from calculations
      drm/i915/wopcm: Try to use already locked WOPCM layout
      drm/i915/wopcm: Update error messages
      drm/i915/wopcm: Fix SPDX tag location
      drm/i915/uc: Add explicit DISABLED state for firmware
      drm/i915/uc: Cleanup fw fetch only if it was successful
      drm/i915/uc: Cleanup fw fetch on every GuC/HuC init failure
      drm/i915/uc: Never fail on uC preparation step
      drm/i915/guc: Don't open log relay if GuC is not running
      drm/i915/uc: Don't always fail on unavailable GuC firmware
      drm/i915/uc: Never fail on HuC firmware errors

Michał Winiarski (1):
      drm/i915/uc: Move FW size sanity check back to fetch

Michel Thierry (4):
      drm/i915/tgl: Tigerlake only has global MOCS registers
      drm/i915/tgl: Report valid VDBoxes with SFC capability
      drm/i915/tgl: Updated Private PAT programming
      drm/i915/tgl: add support for reading the timestamp frequency

Mika Kuoppala (4):
      drm/i915/icl: Implement gen11 flush including tile cache
      drm/i915/icl: Add command cache invalidate
      drm/i915/icl: Add gen11 specific render breadcrumbs
      drm/i915/gtt: Fold gen8 insertions into one

Rodrigo Vivi (6):
      drm/i915: abstract display suspend/resume operations
      Merge tag 'gvt-next-2019-08-13' of https://github.com/intel/gvt-linux into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20190813
      drm/i915: Update DRIVER_DATE to 20190820
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: Update DRIVER_DATE to 20190822

Stanislav Lisovskiy (1):
      drm/i915: Fix wrong escape clock divisor init for GLK

Stuart Summers (1):
      drm/i915: Print CCID for all renderCS

Tina Zhang (1):
      drm/i915/gvt: Double check batch buffer size after copy

Tomasz Lis (1):
      drm/i915/tgl: Define MOCS entries for Tigerlake

Tvrtko Ursulin (5):
      drm/i915: Move MOCS setup to intel_mocs.c
      drm/i915/pmu: Make more struct i915_pmu centric
      drm/i915/pmu: Convert engine sampling to uncore mmio
      drm/i915/pmu: Convert sampling to gt
      drm/i915/pmu: Make get_rc6 take intel_gt

Umesh Nerlige Ramappa (1):
      drm/i915/perf: Refactor oa object to better manage resources

Vandita Kulkarni (6):
      drm/i915/tgl/dsi: Program TRANS_VBLANK register
      drm/i915/tgl/dsi: Set latency PCS_DW1 for tgl
      drm/i915/tgl/dsi: Do not override TA_SURE
      drm/i915/tgl/dsi: Gate the ddi clocks after pll mapping
      drm/i915/tgl: Add mipi dsi support for TGL
      drm/i915/tgl/dsi: Enable blanking packets during BLLP for video mode

Ville Syrjälä (2):
      drm/i915: Fix DP-MST crtc_mask
      drm/i915: Do not create a new max_bpc prop for MST connectors

Wei Yongjun (1):
      drm/i915: fix possible memory leak in intel_hdcp_auth_downstream()

Xiong Zhang (1):
      drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest

Zhenyu Wang (1):
      drm/i915/gvt: Fix typo of VBLANK_TIMER_PERIOD

Zhi Wang (1):
      drm/i915/gvt: factor out tlb and mocs register offset table

 Documentation/gpu/i915.rst                         |    3 -
 drivers/gpu/drm/i915/Makefile                      |   12 +-
 drivers/gpu/drm/i915/display/dvo_ch7017.c          |    2 +-
 drivers/gpu/drm/i915/display/dvo_ch7xxx.c          |    2 +-
 drivers/gpu/drm/i915/display/dvo_ivch.c            |    2 +-
 drivers/gpu/drm/i915/display/dvo_ns2501.c          |    2 +-
 drivers/gpu/drm/i915/display/dvo_sil164.c          |    2 +-
 drivers/gpu/drm/i915/display/dvo_tfp410.c          |    2 +-
 drivers/gpu/drm/i915/display/icl_dsi.c             |   65 +-
 drivers/gpu/drm/i915/display/intel_atomic.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c  |    3 +-
 drivers/gpu/drm/i915/display/intel_audio.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_bios.c          |   23 +-
 drivers/gpu/drm/i915/display/intel_bw.c            |   16 +-
 drivers/gpu/drm/i915/display/intel_bw.h            |   15 -
 drivers/gpu/drm/i915/display/intel_cdclk.c         |   22 +-
 drivers/gpu/drm/i915/display/intel_color.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_combo_phy.c     |    2 +-
 drivers/gpu/drm/i915/display/intel_connector.c     |    4 +-
 drivers/gpu/drm/i915/display/intel_crt.c           |   17 +-
 drivers/gpu/drm/i915/display/intel_ddi.c           |   29 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  134 +--
 drivers/gpu/drm/i915/display/intel_display.h       |  189 ++++
 drivers/gpu/drm/i915/display/intel_display_power.c |  147 ++-
 drivers/gpu/drm/i915/display/intel_display_power.h |   38 +-
 .../{intel_drv.h => display/intel_display_types.h} |  158 +--
 drivers/gpu/drm/i915/display/intel_dp.c            |  102 +-
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |    2 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |    2 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c        |   27 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.h        |    9 +-
 drivers/gpu/drm/i915/display/intel_dpio_phy.c      |    8 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |   46 +-
 drivers/gpu/drm/i915/display/intel_dsi.h           |    3 +-
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |    2 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |    2 +-
 drivers/gpu/drm/i915/display/intel_dvo.c           |    2 +-
 drivers/gpu/drm/i915/display/intel_fbc.c           |    7 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c         |   51 +-
 drivers/gpu/drm/i915/display/intel_fifo_underrun.c |    3 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c   |  257 +++--
 drivers/gpu/drm/i915/display/intel_frontbuffer.h   |   70 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c         |   29 +-
 drivers/gpu/drm/i915/display/intel_gmbus.h         |   22 +
 drivers/gpu/drm/i915/display/intel_hdcp.c          |   39 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c          |   43 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c       |    8 +-
 drivers/gpu/drm/i915/display/intel_lspcon.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_lvds.c          |    8 +-
 drivers/gpu/drm/i915/display/intel_opregion.c      |    2 +-
 drivers/gpu/drm/i915/display/intel_overlay.c       |  143 ++-
 drivers/gpu/drm/i915/display/intel_panel.c         |    2 +-
 drivers/gpu/drm/i915/display/intel_pipe_crc.c      |    2 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |    8 +-
 drivers/gpu/drm/i915/display/intel_quirks.c        |    2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |    2 +-
 drivers/gpu/drm/i915/display/intel_sprite.c        |    9 +-
 drivers/gpu/drm/i915/display/intel_sprite.h        |    8 +-
 drivers/gpu/drm/i915/display/intel_tc.c            |    7 +
 drivers/gpu/drm/i915/display/intel_tc.h            |    9 +-
 drivers/gpu/drm/i915/display/intel_tv.c            |    2 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h      |    3 -
 drivers/gpu/drm/i915/display/intel_vdsc.c          |    2 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c             |   84 +-
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c         |   20 +-
 drivers/gpu/drm/i915/gem/i915_gem_clflush.c        |  127 +--
 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c     |   39 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c        |  170 ++-
 drivers/gpu/drm/i915/gem/i915_gem_context.h        |    2 -
 drivers/gpu/drm/i915/gem/i915_gem_context_types.h  |    5 -
 drivers/gpu/drm/i915/gem/i915_gem_domain.c         |   49 +-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c     |  321 +++---
 drivers/gpu/drm/i915/gem/i915_gem_fence.c          |    3 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c           |   24 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c         |   78 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h         |    6 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c     |  370 ++++++-
 drivers/gpu/drm/i915/gem/i915_gem_object_blt.h     |   25 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h   |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c          |   13 +-
 drivers/gpu/drm/i915/gem/i915_gem_phys.c           |    7 +
 drivers/gpu/drm/i915/gem/i915_gem_pm.c             |   18 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |    1 +
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c       |   74 +-
 drivers/gpu/drm/i915/gem/i915_gem_shrinker.h       |   31 +
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c         |    9 +-
 drivers/gpu/drm/i915/gem/i915_gem_stolen.h         |   35 +
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |    3 +-
 drivers/gpu/drm/i915/gem/i915_gemfs.c              |   31 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c    |  120 +--
 .../drm/i915/gem/selftests/i915_gem_client_blt.c   |   16 +-
 .../drm/i915/gem/selftests/i915_gem_coherency.c    |    4 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  |  193 +---
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c |    9 +-
 .../drm/i915/gem/selftests/i915_gem_object_blt.c   |  128 ++-
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c |  141 ++-
 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h |   16 +
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c        |   36 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |   87 +-
 drivers/gpu/drm/i915/gt/intel_context.h            |   41 +-
 drivers/gpu/drm/i915/gt/intel_context_types.h      |   12 +-
 drivers/gpu/drm/i915/gt/intel_engine.h             |   17 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  243 ++---
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |   68 +-
 drivers/gpu/drm/i915/gt/intel_engine_pm.h          |   18 +-
 drivers/gpu/drm/i915/gt/intel_engine_pool.c        |  177 ++++
 drivers/gpu/drm/i915/gt/intel_engine_pool.h        |   34 +
 drivers/gpu/drm/i915/gt/intel_engine_pool_types.h  |   29 +
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |   59 +-
 drivers/gpu/drm/i915/gt/intel_engine_user.c        |  303 ++++++
 drivers/gpu/drm/i915/gt/intel_engine_user.h        |   25 +
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h       |   11 +-
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   36 +-
 drivers/gpu/drm/i915/gt/intel_gt.h                 |    2 +-
 drivers/gpu/drm/i915/gt/intel_gt_irq.c             |  455 ++++++++
 drivers/gpu/drm/i915/gt/intel_gt_irq.h             |   44 +
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |   40 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm.h              |   31 +-
 drivers/gpu/drm/i915/gt/intel_gt_pm_irq.c          |  109 ++
 drivers/gpu/drm/i915/gt/intel_gt_pm_irq.h          |   22 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h           |   14 +-
 drivers/gpu/drm/i915/gt/intel_lrc.c                |  486 ++++++---
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h            |    1 +
 drivers/gpu/drm/i915/gt/intel_mocs.c               |  166 +--
 drivers/gpu/drm/i915/gt/intel_mocs.h               |    3 +-
 drivers/gpu/drm/i915/gt/intel_renderstate.c        |    4 +-
 drivers/gpu/drm/i915/gt/intel_reset.c              |   16 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c         |  147 +--
 drivers/gpu/drm/i915/gt/intel_sseu.c               |    2 +-
 drivers/gpu/drm/i915/gt/intel_timeline.c           |  132 +--
 drivers/gpu/drm/i915/gt/intel_timeline.h           |    3 +-
 drivers/gpu/drm/i915/gt/intel_timeline_types.h     |   20 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |   26 +-
 drivers/gpu/drm/i915/gt/mock_engine.c              |   98 +-
 drivers/gpu/drm/i915/gt/selftest_context.c         |  456 ++++++++
 drivers/gpu/drm/i915/gt/selftest_engine.c          |   28 +
 drivers/gpu/drm/i915/gt/selftest_engine.h          |   14 +
 drivers/gpu/drm/i915/gt/selftest_engine_cs.c       |   26 +-
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c       |   83 ++
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c       |   17 +-
 drivers/gpu/drm/i915/gt/selftest_lrc.c             |  143 +--
 drivers/gpu/drm/i915/gt/selftest_timeline.c        |    6 +-
 drivers/gpu/drm/i915/gt/selftest_workarounds.c     |   33 +-
 drivers/gpu/drm/i915/gt/selftests/mock_timeline.c  |    2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |   38 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h             |   43 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c         |   23 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.h         |   23 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c          |   22 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h          |   22 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |   31 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.h          |   23 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h        |   23 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c         |   30 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h         |   23 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h         |   24 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  108 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.h  |   26 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c             |   57 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.h             |   33 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c          |   13 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.h          |    5 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  395 ++++---
 drivers/gpu/drm/i915/gt/uc/intel_uc.h              |   62 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c           |  292 ++++--
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h           |  134 ++-
 drivers/gpu/drm/i915/gt/uc/selftest_guc.c          |   21 +-
 drivers/gpu/drm/i915/gvt/aperture_gm.c             |   10 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c              |  180 +++-
 drivers/gpu/drm/i915/gvt/debugfs.c                 |   47 +-
 drivers/gpu/drm/i915/gvt/gvt.c                     |    4 +-
 drivers/gpu/drm/i915/gvt/gvt.h                     |    8 +-
 drivers/gpu/drm/i915/gvt/interrupt.c               |    4 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c                   |   15 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c            |   57 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |   36 +-
 drivers/gpu/drm/i915/gvt/vgpu.c                    |    4 +-
 drivers/gpu/drm/i915/i915_active.c                 |  331 +++++-
 drivers/gpu/drm/i915/i915_active.h                 |   33 +-
 drivers/gpu/drm/i915/i915_active_types.h           |   17 +-
 drivers/gpu/drm/i915/i915_buddy.c                  |  428 ++++++++
 drivers/gpu/drm/i915/i915_buddy.h                  |  128 +++
 drivers/gpu/drm/i915/i915_cmd_parser.c             |    4 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |  290 ++----
 drivers/gpu/drm/i915/i915_drv.c                    |  791 ++++----------
 drivers/gpu/drm/i915/i915_drv.h                    |  583 +++--------
 drivers/gpu/drm/i915/i915_gem.c                    |  293 ++----
 drivers/gpu/drm/i915/i915_gem.h                    |    2 +
 drivers/gpu/drm/i915/i915_gem_batch_pool.c         |  132 ---
 drivers/gpu/drm/i915/i915_gem_batch_pool.h         |   26 -
 drivers/gpu/drm/i915/i915_gem_evict.c              |    9 -
 drivers/gpu/drm/i915/i915_gem_fence_reg.c          |  108 +-
 drivers/gpu/drm/i915/i915_gem_fence_reg.h          |    2 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |  181 ++--
 drivers/gpu/drm/i915/i915_gem_gtt.h                |    6 +-
 drivers/gpu/drm/i915/i915_getparam.c               |  168 +++
 drivers/gpu/drm/i915/i915_globals.c                |    1 +
 drivers/gpu/drm/i915/i915_globals.h                |    1 +
 drivers/gpu/drm/i915/i915_gpu_error.c              |  288 +++--
 drivers/gpu/drm/i915/i915_gpu_error.h              |    7 +-
 drivers/gpu/drm/i915/i915_irq.c                    | 1095 ++++++--------------
 drivers/gpu/drm/i915/i915_irq.h                    |   79 +-
 drivers/gpu/drm/i915/i915_memcpy.c                 |    2 +-
 drivers/gpu/drm/i915/i915_memcpy.h                 |   32 +
 drivers/gpu/drm/i915/i915_mm.c                     |    5 +-
 drivers/gpu/drm/i915/i915_pci.c                    |   28 +-
 drivers/gpu/drm/i915/i915_perf.c                   |  546 +++++-----
 drivers/gpu/drm/i915/i915_perf.h                   |   32 +
 drivers/gpu/drm/i915/i915_pmu.c                    |  294 +++---
 drivers/gpu/drm/i915/i915_priolist_types.h         |   25 +-
 drivers/gpu/drm/i915/i915_query.c                  |    5 +-
 drivers/gpu/drm/i915/i915_reg.h                    |  131 ++-
 drivers/gpu/drm/i915/i915_request.c                |  252 ++---
 drivers/gpu/drm/i915/i915_request.h                |    5 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |    3 +-
 drivers/gpu/drm/i915/i915_selftest.h               |    2 +
 drivers/gpu/drm/i915/i915_suspend.c                |    3 +-
 drivers/gpu/drm/i915/i915_suspend.h                |   14 +
 drivers/gpu/drm/i915/i915_sw_fence.c               |   23 +-
 drivers/gpu/drm/i915/i915_sw_fence.h               |    7 +
 drivers/gpu/drm/i915/i915_sw_fence_work.c          |   95 ++
 drivers/gpu/drm/i915/i915_sw_fence_work.h          |   44 +
 drivers/gpu/drm/i915/i915_sysfs.c                  |    2 +-
 drivers/gpu/drm/i915/i915_sysfs.h                  |   14 +
 drivers/gpu/drm/i915/i915_trace.h                  |   12 +-
 drivers/gpu/drm/i915/i915_utils.c                  |   78 ++
 drivers/gpu/drm/i915/i915_utils.h                  |   59 +-
 drivers/gpu/drm/i915/i915_vgpu.c                   |    4 +-
 drivers/gpu/drm/i915/i915_vma.c                    |   80 +-
 drivers/gpu/drm/i915/i915_vma.h                    |   21 +-
 drivers/gpu/drm/i915/intel_csr.c                   |    7 +
 drivers/gpu/drm/i915/intel_device_info.c           |    5 +-
 drivers/gpu/drm/i915/intel_device_info.h           |    1 +
 drivers/gpu/drm/i915/intel_gvt.c                   |    2 +-
 drivers/gpu/drm/i915/intel_pch.c                   |  201 ++++
 drivers/gpu/drm/i915/intel_pch.h                   |   73 ++
 drivers/gpu/drm/i915/intel_pm.c                    |   19 +-
 drivers/gpu/drm/i915/intel_runtime_pm.c            |    1 +
 drivers/gpu/drm/i915/intel_sideband.c              |    4 +-
 drivers/gpu/drm/i915/intel_uncore.c                |  101 +-
 drivers/gpu/drm/i915/intel_uncore.h                |   30 +-
 drivers/gpu/drm/i915/intel_wakeref.c               |   80 +-
 drivers/gpu/drm/i915/intel_wakeref.h               |   73 +-
 drivers/gpu/drm/i915/intel_wopcm.c                 |  270 +++--
 drivers/gpu/drm/i915/intel_wopcm.h                 |   20 +-
 drivers/gpu/drm/i915/oa/Makefile                   |    7 +
 drivers/gpu/drm/i915/oa/i915_oa_bdw.c              |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_bdw.h              |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_bxt.c              |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_bxt.h              |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.c           |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.h           |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.c           |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.h           |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_chv.c              |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_chv.h              |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_cnl.c              |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_cnl.h              |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_glk.c              |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_glk.h              |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_hsw.c              |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_hsw.h              |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_icl.c              |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_icl.h              |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.c           |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.h           |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.c           |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.h           |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.c           |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.h           |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.c           |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.h           |    7 +-
 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.c           |   35 +-
 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.h           |    7 +-
 drivers/gpu/drm/i915/selftests/i915_active.c       |    3 +-
 drivers/gpu/drm/i915/selftests/i915_buddy.c        |  720 +++++++++++++
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |   19 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    6 +-
 .../gpu/drm/i915/selftests/i915_mock_selftests.h   |    1 +
 drivers/gpu/drm/i915/selftests/i915_request.c      |   46 +-
 drivers/gpu/drm/i915/selftests/i915_selftest.c     |    2 +-
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |   30 +-
 drivers/gpu/drm/i915/selftests/igt_spinner.h       |    6 +-
 drivers/gpu/drm/i915/selftests/lib_sw_fence.c      |    1 +
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |    1 +
 drivers/gpu/drm/i915/selftests/mock_request.c      |    6 +-
 drivers/gpu/drm/i915/selftests/mock_request.h      |    4 +-
 include/drm/i915_pciids.h                          |    5 +-
 288 files changed, 11449 insertions(+), 7386 deletions(-)
 rename drivers/gpu/drm/i915/{intel_drv.h => display/intel_display_types.h} (85%)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_shrinker.h
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_stolen.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_pool.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_pool.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_pool_types.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_user.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_user.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_irq.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_irq.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_pm_irq.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_pm_irq.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_context.c
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_engine.c
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_engine.h
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_engine_pm.c
 create mode 100644 drivers/gpu/drm/i915/i915_buddy.c
 create mode 100644 drivers/gpu/drm/i915/i915_buddy.h
 delete mode 100644 drivers/gpu/drm/i915/i915_gem_batch_pool.c
 delete mode 100644 drivers/gpu/drm/i915/i915_gem_batch_pool.h
 create mode 100644 drivers/gpu/drm/i915/i915_getparam.c
 create mode 100644 drivers/gpu/drm/i915/i915_memcpy.h
 create mode 100644 drivers/gpu/drm/i915/i915_perf.h
 create mode 100644 drivers/gpu/drm/i915/i915_suspend.h
 create mode 100644 drivers/gpu/drm/i915/i915_sw_fence_work.c
 create mode 100644 drivers/gpu/drm/i915/i915_sw_fence_work.h
 create mode 100644 drivers/gpu/drm/i915/i915_sysfs.h
 create mode 100644 drivers/gpu/drm/i915/i915_utils.c
 create mode 100644 drivers/gpu/drm/i915/intel_pch.c
 create mode 100644 drivers/gpu/drm/i915/intel_pch.h
 create mode 100644 drivers/gpu/drm/i915/selftests/i915_buddy.c
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* Re: [PULL] drm-intel-next
  2019-08-22 19:29 Rodrigo Vivi
@ 2019-08-23  1:50 ` Dave Airlie
  0 siblings, 0 replies; 252+ messages in thread
From: Dave Airlie @ 2019-08-23  1:50 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: DRM maintainer tools announcements, discussion, and development,
	Daniel Vetter, dri-devel, Maxime Ripard, Sean Paul,
	Intel Graphics Development

On Fri, 23 Aug 2019 at 05:29, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
>
> Hi Dave and Daniel,
>
> Here goes the final pull request targeting 5.4.

For some reason patchwork hasn't picked this up. or if it has I can't
see it. Not sure whether it was the earlier patch code in it or
something else malformed.

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 252+ messages in thread

* [PULL] drm-intel-next
@ 2019-08-22 19:29 Rodrigo Vivi
  2019-08-23  1:50 ` Dave Airlie
  0 siblings, 1 reply; 252+ messages in thread
From: Rodrigo Vivi @ 2019-08-22 19:29 UTC (permalink / raw)
  To: Dave Airlie, Daniel Vetter
  Cc: dim-tools, dri-devel, Maxime Ripard, Rodrigo Vivi, Sean Paul, intel-gfx

Hi Dave and Daniel,

Here goes the final pull request targeting 5.4.

It's important to highlight that we got a conflict on a backmerge yesterday
which had already been solved on linux-next with a fix up patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 14 Aug 2019 12:48:39 +1000
Subject: [PATCH] drm: fix up fallout from "dma-buf: rename reservation_object to dma_resv"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/gpu/drm/i915/gt/intel_engine_pool.c | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_engine_pool.c b/drivers/gpu/drm/i915/gt/intel_engine_pool.c
index 03d90b49584a..4cd54c569911 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_pool.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_pool.c
@@ -43,12 +43,12 @@ static int pool_active(struct i915_active *ref)
 {
        struct intel_engine_pool_node *node =
                container_of(ref, typeof(*node), active);
-       struct reservation_object *resv = node->obj->base.resv;
+       struct dma_resv *resv = node->obj->base.resv;
        int err;

-       if (reservation_object_trylock(resv)) {
-               reservation_object_add_excl_fence(resv, NULL);
-               reservation_object_unlock(resv);
+       if (dma_resv_trylock(resv)) {
+               dma_resv_add_excl_fence(resv, NULL);
+               dma_resv_unlock(resv);
        }

        err = i915_gem_object_pin_pages(node->obj);

which is a simplified version from a previous one which had:
Reviewed-by: Christian König <christian.koenig@amd.com>

With this we could also remove the latest dma_resv fixup patch from drm_rerere.

Unfortunately on this merge commit a ghost file reapeared probably by an
amend mistake from my side. And consequently removed by Chris with an extra
patch. I hope this doesn't cause any trouble for you, but if so the solution
is simply go with the version that deletes the file for good.

This pull request also includes Gvt stuff including several enhancements for
command parser and batch buffer shadow, remove extra debugfs function return
check, and other misc changes like typo, static check fix, etc.

The rest is just as usual and split in 3 different drm-intel-next tags:

drm-intel-next-2019-08-22:
- More TGL enabling work (Michel, Jose, Lucas)
- Fixes on DP MST (Ville)
- More GTT and Execlists fixes and improvements (Chris)
- Code style clean-up on hdmi and dp side (Jani)
- Fix null pointer dereferrence (Xiong)
- Fix a couple of missing serialization on selftests (Chris)
- More vm locking rework (Chris)

drm-intel-next-2019-08-20:
- GuC and HuC related fixes and improvements (Daniele, Michal)
- Improve debug with more engine information and rework on debugfs files (Chris, Stuart)
- Simplify appearture address handling (Chris)
- Other fixes and cleanups around engines and execlists (Chris)
- Selftests fixes (Matt, Chris)
- Gen11 cache flush related fixes and improvements (Mika)
- More work around requests, timelines and locks to allow removal of struct_mutex (Chris)
- Add missing CML PCI ID (Anusha)
- More work on the new i915 buddy allocator (Matt)
- More headers, files and directories reorg (Daniele)
- Improvements on ggtt’s get pdp (Mika)
- Fix GPU reset (Chris)
- Fix GPIO pins on gen11 (Matt)
- Fix HW readout for crtc_clock in HDMI mode (Imre)
- Sanitize display Phy during unitit to workaround messages of HW state change during suspend (Imre)
- Be defensive when starting vma activity (Chris)
- More Tiger Lake enabling work (Michel, Daniele, Lucas)
- Relax pd_used assertion (Chris)

drm-intel-next-2019-08-13:
- More Tiger Lake enabling work (Lucas, Jose, Tomasz, Michel, Jordan, Anusha, Vandita)
- More selftest organization reworks, fixes and improvements (Lucas, Chris)
- Simplifications on GEM code like context and cleanup_early (Chris, Daniele)
- GuC and HuC related fixes and improvements (Daniele, Michal, Chris)
- Some clean up and fixes on headers, Makefile, and generated files (Lucas, Jani)
- MOCS setup clean up (Tvrtko)
- More Elkhartlake enabling work (Jose, Matt)
- Fix engine reset by clearing in flight execlists requests (Chris)
- Fix possible memory leak on intel_hdcp_auth_downstream (Wei)
- Introduce intel_gt_runtime_suspend/resume (Daniele)
- PMU improvements (Tvrtko)
- Flush extra hard after writing relocations through the GTT (Chris)
- Documentations fixes (Michal, Chris)
- Report dma_reserv allocation failure (Chris)
- Improvements around shrinker (Chris)
- More improvements around engine handling (Chris)
- Also more s/dev_priv/i915 (Chris)
- Abstract display suspend/resume operations (Rodrigo/Jani)
- Drop VM_IO from GTT mappings (Chris)
- Fix some NULL vs IS_ERR conditions (Dan)
- General improvements on error state (Chris)
- Isolate i915_getparam_iocrtl to its own file (Chris)
- Perf OA object refactor (Umesh)
- Ignore central i915->kernel_context and allocate it directly (Chris)
- More fixes and improvements around wakerefs (Chris)
- Clean-up and improvements around debugfs (Chris)
- Free the imported shmemfs file for phys objects (Chris)
- Many other fix and cleanups around engines and execlists (Chris)
- Split out uncore_mmio_debug (Daniele)
- Memory management fixes for blk and gtt (Matt)
- Introduction of buddy allocator to handle huge-pages for GTT (Matt)
- Fix ICL and TGL PG3 power domains (Anshuman)
- Extract GT IRQ to gt/ (Andi)
- Drop last_fence tracking in favor of whole vma->active (Chris)
- Make overlay to use i915_active instead of i915_active_request (Chris)
- Move misc display IRQ handling to its own function (Jose)
- Introduce new _TRANS2() macro in preparation for some coming PSR related work (Jose)

This tag also includes Gvt stuff including several enhancements for command parser and batch buffer shadow, remove extra debugfs function return check, and other misc changes like typo, static check fix, etc.

Thanks,
Rodrigo.

The following changes since commit ae4530062620561d24683b1bd3438b8397693429:

  Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next (2019-08-22 13:21:16 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-08-22

for you to fetch changes up to be91233b1053d9725d3a437e3da44ccff2639477:

  drm/i915: Update DRIVER_DATE to 20190822 (2019-08-22 05:46:28 -0700)

----------------------------------------------------------------
- More TGL enabling work (Michel, Jose, Lucas)
- Fixes on DP MST (Ville)
- More GTT and Execlists fixes and improvements (Chris)
- Code style clean-up on hdmi and dp side (Jani)
- Fix null pointer dereferrence (Xiong)
- Fix a couple of missing serialization on selftests (Chris)
- More vm locking rework (Chris)

----------------------------------------------------------------
Andi Shyti (2):
      drm/i915: Extract GT powermanagement interrupt handling
      drm/i915: Extract general GT interrupt handlers

Anshuman Gupta (2):
      drm/i915/icl: Remove DDI IO power domain from PG3 power domains
      drm/i915/tgl: Fixing up list of PG3 power domains.

Anusha Srivatsa (2):
      drm/i915/dmc: Load DMC on TGL
      drm/i915/cml: Add Missing PCI IDs

Chris Wilson (85):
      drm/i915: Avoid ce->gem_context->i915
      drm/i915/selftests: Pass intel_context to igt_spinner
      drm/i915/execlists: Always clear pending&inflight requests on reset
      drm/i915: Remove lrc default desc from GEM context
      drm/i915/pmu: Atomically acquire the gt_pm wakeref
      drm/i915: Flush extra hard after writing relocations through the GTT
      drm/i915: Allow sharing the idle-barrier from other kernel requests
      drm/i915: Report resv_obj allocation failure
      drm/i915: Hide unshrinkable context objects from the shrinker
      drm/i915: Flush the freed object list on file close
      drm/i915: Teach execbuffer to take the engine wakeref not GT
      drm/i915: Replace struct_mutex for batch pool serialisation
      drm/i915/gt: Remove stale kerneldoc for internal MOCS functions
      drm/i915: Use drm_i915_private directly from drv_get_drvdata()
      drm/i915/gem: Make caps.scheduler static
      drm/i915/gt: Move the [class][inst] lookup for engines onto the GT
      drm/i915: Drop expectations of VM_IO from our GGTT mmappings
      drm/i915: Rename engines to match their user interface
      drm/i915: Use intel_engine_lookup_user for probing HAS_BSD etc
      drm/i915: Include the DRIVER_DATE in the error state
      drm/i915: Isolate i915_getparam_ioctl()
      drm/i915/selftests: Pass intel_context to mock_request
      drm/i915: Allocate kernel_contexts directly
      drm/i915: Fix up the inverse mapping for default ctx->engines[]
      drm/i915/selftests: Fixup a missing legacy_idx
      drm/i915: Defer final intel_wakeref_put to process context
      drm/i915: Only include active engines in the capture state
      drm/i915: Make debugfs/per_file_stats scale better
      drm/i915: Free the imported shmemfs file for phys objects
      drm/i915/execlists: Backtrack along timeline
      drm/i915: Check for a second VCS engine more carefully
      drm/i915: Replace global bsd_dispatch_index with random seed
      drm/i915: Generalise BSD default selection
      drm/i915: Drop the fudge warning on ring restart for ctg/elk
      drm/i915: Remove i915_gem_context_create_gvt()
      drm/i915/gt: Make deferred context allocation explicit
      drm/i915: Push the ring creation flags to the backend
      drm/i915: Lift timeline into intel_context
      drm/i915: Stop reconfiguring our shmemfs mountpoint
      drm/i915: Remove unused debugfs/i915_emon_status
      drm/i915/execlists: Avoid sync calls during park
      drm/i915/selftests: Prevent the timeslice expiring during suppression tests
      drm/i915/gt: Use the local engine wakeref when checking RING registers
      drm/i915: Forgo last_fence active request tracking
      drm/i915/overlay: Switch to using i915_active tracking
      drm/i915/guc: Use a local cancel_port_requests
      drm/i915: Push the wakeref->count deferral to the backend
      drm/i915/gt: Save/restore interrupts around breadcrumb disable
      drm/i915: Include engine->mmio_base in the debug dump
      drm/i915: Disregard drm_mode_config.fb_base
      drm/i915: Serialise read/write of the barrier's engine
      drm/i915: Convert a few more bland dmesg info to be device specific
      drm/i915: Move tasklet kicking to __i915_request_queue caller
      drm/i915/gt: Track timeline activeness in enter/exit
      drm/i915/gt: Convert timeline tracking to spinlock
      drm/i915/gt: Guard timeline pinning without relying on struct_mutex
      drm/i915: Protect request retirement with timeline->mutex
      drm/i915: Extract intel_frontbuffer active tracking
      drm/i915: Use the associated uncore for the vm
      drm/i915/gt: Mark context->active_count as protected by timeline->mutex
      drm/i915: Markup expected timeline locks for i915_active
      drm/i915/execlists: Lift process_csb() out of the irq-off spinlock
      drm/i915/selftests: Check the context size
      drm/i915: Propagate fence errors
      drm/i915: Always wrap the ring offset before resetting
      drm/i915/gt: Mark up the nested engine-pm timeline lock as irqsafe
      drm/i915: Only emit the 'send bug report' once for a GPU hang
      drm/i915: Serialize against vma moves
      drm/i915: i915_active.retire() is optional
      drm/i915: Use 0 for the unordered context
      drm/i915: Assume exclusive access to objects inside resume
      drm/i915: Serialize insertion into the file->mm.request_list
      drm/i915: Be defensive when starting vma activity
      drm/i915/gtt: Relax pd_used assertion
      drm/i915/gtt: Relax assertion for pt_used
      drm/i915/gtt: Include asm/smp.h
      drm/i915: Replace PIN_NONFAULT with calls to PIN_NOEVICT
      drm/i915/execlists: Set priority hint prior to submission
      drm/i915/gtt: Add some range asserts
      drm/i915/selftests: Fixup a couple of missing serialisation with vma
      drm/i915: Generalise the clflush dma-worker
      drm/i915: Track ggtt fence reservations under its own mutex
      drm/i915: Pull obj->userfault tracking under the ggtt->mutex
      drm/i915: Replace i915_vma_put_fence()
      drm/i915: Kill the undead i915_gem_batch_pool.c

Dan Carpenter (1):
      drm/i915: Fix some NULL vs IS_ERR() conditions

Daniele Ceraolo Spurio (18):
      drm/i915/uc: Don't enable communication twice on resume
      drm/i915/uc: Move uC WOPCM setup in uc_init_hw
      drm/i915/gt: Move gt_cleanup_early out of gem_clean