[PULL] drm-intel-next

Submitted by Jani Nikula on May 24, 2019, 5:38 p.m.

Details

Message ID 87sgt3n45z.fsf@intel.com
State New
Headers show

Not browsing as part of any series.

Pull-request download mbox

git pull git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-05-24

Commit Message

Jani Nikula May 24, 2019, 5:38 p.m.
Hi Dave, Daniel -

First i915 feature pull for v5.3.

BR,
Jani.

drm-intel-next-2019-05-24:
Features:
- Engine discovery query (Tvrtko)
- Support for DP YCbCr4:2:0 outputs (Gwan-gyeong)
- HDCP revocation support, refactoring (Ramalingam)
- Remove DRM_AUTH from IOCTLs which also have DRM_RENDER_ALLOW (Christian König)
- Asynchronous display power disabling (Imre)
- Perma-pin uC firmware and re-enable global reset (Fernando)
- GTT remapping for display, for bigger fb size and stride (Ville)
- Enable pipe HDR mode on ICL if only HDR planes are used (Ville)
- Kconfig to tweak the busyspin durations for i915_wait_request (Chris)
- Allow multiple user handles to the same VM (Chris)
- GT/GEM runtime pm improvements using wakerefs (Chris)
- Gen 4&5 render context support (Chris)
- Allow userspace to clone contexts on creation (Chris)
- SINGLE_TIMELINE flags for context creation (Chris)
- Allow specification of parallel execbuf (Chris)

Refactoring:
- Header refactoring (Jani)
- Move GraphicsTechnology files under gt/ (Chris)
- Sideband code refactoring (Chris)

Fixes:
- ICL DSI state readout and checker fixes (Vandita)
- GLK DSI picture corruption fix (Stanislav)
- HDMI deep color fixes (Clinton, Aditya)
- Fix driver unbinding from a device in use (Janusz)
- Fix clock gating with pipe scaling (Radhakrishna)
- Disable broken FBC on GLK (Daniel Drake)
- Miscellaneous GuC fixes (Michal)
- Fix MG PHY DP register programming (Imre)
- Add missing combo PHY lane power setup (Imre)
- Workarounds for early ICL VBT issues (Imre)
- Fix fastset vs. pfit on/off on HSW EDP transcoder (Ville)
- Add readout and state check for pch_pfit.force_thru (Ville)
- Miscellaneous display fixes and refactoring (Ville)
- Display workaround fixes (Ville)
- Enable audio even if ELD is bogus (Ville)
- Fix use-after-free in reporting create.size (Chris)
- Sideband fixes to avoid BYT hard lockups (Chris)
- Workaround fixes and improvements (Chris)

Maintainer shortcomings:
- Failure to adequately describe and give credit for all changes (Jani)


The following changes since commit 7c13e5cc2391950541f41fc9ab0336aae77c7f63:

  Merge tag 'drm-intel-next-fixes-2019-04-25' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2019-04-26 11:35:59 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-05-24

for you to fetch changes up to c0a74c732568ad347f7b3de281922808dab30504:

  drm/i915: Update DRIVER_DATE to 20190524 (2019-05-24 20:35:22 +0300)

----------------------------------------------------------------
Features:
- Engine discovery query (Tvrtko)
- Support for DP YCbCr4:2:0 outputs (Gwan-gyeong)
- HDCP revocation support, refactoring (Ramalingam)
- Remove DRM_AUTH from IOCTLs which also have DRM_RENDER_ALLOW (Christian König)
- Asynchronous display power disabling (Imre)
- Perma-pin uC firmware and re-enable global reset (Fernando)
- GTT remapping for display, for bigger fb size and stride (Ville)
- Enable pipe HDR mode on ICL if only HDR planes are used (Ville)
- Kconfig to tweak the busyspin durations for i915_wait_request (Chris)
- Allow multiple user handles to the same VM (Chris)
- GT/GEM runtime pm improvements using wakerefs (Chris)
- Gen 4&5 render context support (Chris)
- Allow userspace to clone contexts on creation (Chris)
- SINGLE_TIMELINE flags for context creation (Chris)
- Allow specification of parallel execbuf (Chris)

Refactoring:
- Header refactoring (Jani)
- Move GraphicsTechnology files under gt/ (Chris)
- Sideband code refactoring (Chris)

Fixes:
- ICL DSI state readout and checker fixes (Vandita)
- GLK DSI picture corruption fix (Stanislav)
- HDMI deep color fixes (Clinton, Aditya)
- Fix driver unbinding from a device in use (Janusz)
- Fix clock gating with pipe scaling (Radhakrishna)
- Disable broken FBC on GLK (Daniel Drake)
- Miscellaneous GuC fixes (Michal)
- Fix MG PHY DP register programming (Imre)
- Add missing combo PHY lane power setup (Imre)
- Workarounds for early ICL VBT issues (Imre)
- Fix fastset vs. pfit on/off on HSW EDP transcoder (Ville)
- Add readout and state check for pch_pfit.force_thru (Ville)
- Miscellaneous display fixes and refactoring (Ville)
- Display workaround fixes (Ville)
- Enable audio even if ELD is bogus (Ville)
- Fix use-after-free in reporting create.size (Chris)
- Sideband fixes to avoid BYT hard lockups (Chris)
- Workaround fixes and improvements (Chris)

Maintainer shortcomings:
- Failure to adequately describe and give credit for all changes (Jani)

----------------------------------------------------------------
Aditya Swarup (1):
      drm/i915/icl: Fix setting 10 bit deep color mode

Chris Wilson (87):
      drm/i915: Verify workarounds immediately after application
      drm/i915: Verify the engine workarounds stick on application
      drm/i915: Make workaround verification *optional*
      drm/i915: Avoid use-after-free in reporting create.size
      drm/i915: Stop overwriting RING_IMR in rcs resume
      drm/i915: Setup the RCS ring prior to execution
      drm/i915: Remove unwarranted clamping for hsw/bdw
      drm/i915: Track HAS_RPS alongside HAS_RC6 in the device info
      drm/i915: Expose the busyspin durations for i915_wait_request
      drm/i915/gtt: Skip clearing the GGTT under gen6+ full-ppgtt
      drm/i915: Start writeback from the shrinker
      drm/i915: Store the default sseu setup on the engine
      drm/i915/selftests: Verify whitelist of context registers
      drm/i915: Move GraphicsTechnology files under gt/
      drm/i915: Introduce struct intel_wakeref
      drm/i915: Pull the GEM powermangement coupling into its own file
      drm/i915: Introduce context->enter() and context->exit()
      drm/i915: Pass intel_context to i915_request_create()
      drm/i915: Invert the GEM wakeref hierarchy
      drm/i915: Explicitly pin the logical context for execbuf
      drm/i915: Allow multiple user handles to the same VM
      drm/i915: Disable preemption and sleeping while using the punit sideband
      drm/i915: Lift acquiring the vlv punit magic to a common sb-get
      drm/i915: Lift sideband locking for vlv_punit_(read|write)
      drm/i915: Replace pcu_lock with sb_lock
      drm/i915: Separate sideband declarations to intel_sideband.h
      drm/i915: Merge sbi read/write into a single accessor
      drm/i915: Merge sandybridge_pcode_(read|write)
      drm/i915: Move sandybride pcode access to intel_sideband.c
      drm/i915/ringbuffer: EMIT_INVALIDATE *before* switch context
      drm/i915: Enable render context support for Ironlake (gen5)
      drm/i915: Enable render context support for gen4 (Broadwater to Cantiga)
      drm/i915/gvt: Pin the per-engine GVT shadow contexts
      drm/i915: Export intel_context_instance()
      drm/i915/selftests: Use the real kernel context for sseu isolation tests
      drm/i915/selftests: Pass around intel_context for sseu
      drm/i915: Pass intel_context to intel_context_pin_lock()
      drm/i915: Split engine setup/init into two phases
      drm/i915: Switch back to an array of logical per-engine HW contexts
      drm/i915: Remove intel_context.active_link
      drm/i915: Move i915_request_alloc into selftests/
      drm/i915: Skip unused contexts for context_barrier_task()
      drm/i915: Wait for the struct_mutex on idling
      drm/i915: Move the engine->destroy() vfunc onto the engine
      drm/i915: Complete both freed-object passes before draining the workqueue
      drm/i915: Include fence signaled bit in print_request()
      drm/i915/guc: Fix runtime suspend
      drm/i915/execlists: Flush the tasklet on parking
      drm/i915: Leave engine parking to the engines
      drm/i915/hangcheck: Track context changes
      drm/i915: Delay semaphore submission until the start of the signaler
      drm/i915: Disable semaphore busywaits on saturated systems
      drm/i915: Acquire the signaler's timeline HWSP last
      drm/i915: Assert breadcrumbs are correctly ordered in the signal handler
      drm/i915: Prefer checking the wakeref itself rather than the counter
      drm/i915: Assert the local engine->wakeref is active
      drm/i915: Flush the switch-to-kernel-context harder for DROP_IDLE
      drm/i915: Remove delay for idle_work
      drm/i915: Cancel retire_worker on parking
      drm/i915: Stop spinning for DROP_IDLE (debugfs/i915_drop_caches)
      drm/i915: Only reschedule the submission tasklet if preemption is possible
      drm/i915/execlists: Don't apply priority boost for resets
      drm/i915: Reboot CI if forcewake fails
      drm/i915/hangcheck: Replace hangcheck.seqno with RING_HEAD
      drm/i915: Seal races between async GPU cancellation, retirement and signaling
      drm/i915: Rearrange i915_scheduler.c
      drm/i915: Pass i915_sched_node around internally
      drm/i915: Check for no-op priority changes first
      drm/i915: Mark semaphores as complete on unsubmit out if payload was started
      drm/i915: Truly bump ready tasks ahead of busywaits
      drm/i915/dp: Initialise locals for static analysis
      drm/i915/hdcp: Use both bits for device_count
      drm/i915: Bump signaler priority on adding a waiter
      drm/i915: Downgrade NEWCLIENT to non-preemptive
      drm/i915/execlists: Drop promotion on unsubmit
      drm/i915: Restore control over ppgtt for context creation ABI
      drm/i915: Allow a context to define its set of engines
      drm/i915: Extend I915_CONTEXT_PARAM_SSEU to support local ctx->engine[]
      drm/i915: Re-expose SINGLE_TIMELINE flags for context creation
      drm/i915: Allow userspace to clone contexts on creation
      drm/i915: Load balancing across a virtual engine
      drm/i915: Apply an execution_mask to the virtual_engine
      drm/i915: Extend execution fence to support a callback
      drm/i915/execlists: Virtual engine bonding
      drm/i915: Allow specification of parallel execbuf
      drm/i915/gtt: Always acquire struct_mutex for gen6_ppgtt_cleanup
      drm/i915/gtt: Neuter the deferred unbind callback from gen6_ppgtt_cleanup

Christian König (1):
      drm/i915: remove DRM_AUTH from IOCTLs which also have DRM_RENDER_ALLOW

Clinton Taylor (1):
      drm/i915/icl: Set GCP_COLOR_INDICATION only for 10/12 bit deep color

Daniel Drake (1):
      drm/i915/fbc: disable framebuffer compression on GeminiLake

Dongli Zhang (1):
      drm/i915: remove unused IO_TLB_SEGPAGES which should be defined by swiotlb

Dongwon Kim (1):
      drm/i915/gen11: enable support for headerless msgs

Fernando Pacheco (5):
      drm/i915/uc: Rename uC firmware init/fini functions
      drm/i915/uc: Reserve upper range of GGTT
      drm/i915/uc: Place uC firmware in upper range of GGTT
      Revert "drm/i915/guc: Disable global reset"
      drm/i915/selftests: Check that gpu reset is usable from atomic context

Gwan-gyeong Mun (6):
      drm/i915/dp: Add a config function for YCBCR420 outputs
      drm: Rename struct edp_vsc_psr to struct dp_sdp
      drm/i915/dp: Program VSC Header and DB for Pixel Encoding/Colorimetry Format
      drm/i915/dp: Add a support of YCBCR 4:2:0 to DP MSA
      drm/i915/dp: Change a link bandwidth computation for DP
      drm/i915/dp: Support DP ports YUV 4:2:0 output to GEN11

Imre Deak (16):
      drm/i915/icl: Fix MG_DP_MODE() register programming
      drm/i915/icl: Factor out combo PHY lane power setup helper
      drm/i915/icl: Add missing combo PHY lane power setup
      drm/i915: Tune down WARN about incorrect VBT TC legacy flag
      drm/i915/icl: More workaround for port F detection due to broken VBTs
      drm/i915: Add support for tracking wakerefs w/o power-on guarantee
      drm/i915: Force printing wakeref tacking during pm_cleanup
      drm/i915: Verify power domains state during suspend in all cases
      drm/i915: Add support for asynchronous display power disabling
      drm/i915: Disable power asynchronously during DP AUX transfers
      drm/i915: WARN for eDP encoders in intel_dp_detect_dpcd()
      drm/i915: Remove the unneeded AUX power ref from intel_dp_detect()
      drm/i915: Remove the unneeded AUX power ref from intel_dp_hpd_pulse()
      drm/i915: Replace use of PLLS power domain with DISPLAY_CORE domain
      drm/i915: Avoid taking the PPS lock for non-eDP/VLV/CHV
      drm/i915: Assert that TypeC ports are not used for eDP

Jani Nikula (39):
      Merge drm/drm-next into drm-intel-next-queued
      drm/i915: ensure more headers remain self-contained
      drm/i915: make intel_bios.h self-contained
      drm/i915/dvo: rename dvo.h to intel_dvo_dev.h and make self-contained
      drm/i915: make intel_dpll_mgr.h self-contained
      drm/i915: move dsi init functions to intel_dsi.h
      drm/i915: extract intel_fifo_underrun.h from intel_drv.h
      drm/i915: extract intel_dp_link_training.h from intel_drv.h
      drm/i915: extract intel_dp_aux_backlight.h from intel_drv.h
      drm/i915: extract i915_irq.h from intel_drv.h and i915_drv.h
      drm/i915: extract intel_hotplug.h from intel_drv.h and i915_drv.h
      drm/i915: extract intel_bios.h functions from i915_drv.h
      drm/i915: extract intel_quirks.h from intel_drv.h
      drm/i915: extract intel_overlay.h from intel_drv.h and i915_drv.h
      drm/i915: extract intel_vdsc.h from intel_drv.h and i915_drv.h
      drm/i915: extract intel_dp_mst.h from intel_drv.h
      drm/i915: extract intel_dsi_dcs_backlight.h from intel_drv.h
      drm/i915: extract intel_atomic.h from intel_drv.h
      drm/i915: extract intel_runtime_pm.h from intel_drv.h
      drm/i915: move some leftovers to intel_pm.h from i915_drv.h
      drm/i915: extract intel_combo_phy.h from i915_drv.h
      drm/i915/csr: alpha_support doesn't depend on csr or vice versa
      drm/i915: add single combo phy init/unit functions
      drm/i915/dvo: move DVO chip types to intel_dvo.c
      drm/i915/dsi: move operation mode types to intel_dsi.h
      drm/i915: move ranges to intel_display.c
      drm/i915: remove unused/stale macros and comments from intel_drv.h
      drm/i915/csr: move CSR version macros to intel_csr.h
      drm/i915: extract intel_dpio_phy.h from i915_drv.h
      drm/i915: extract intel_lpe_audio.h from i915_drv.h
      drm/i915: extract intel_acpi.h from i915_drv.h
      drm/i915: extract i915_debugfs.h from i915_drv.h
      drm/i915: move i915_vgacntrl_reg() where needed
      drm/i915: make i915_utils.h self-contained
      drm/i915: move more generic utils to i915_utils.h
      drm/i915: extract intel_gmbus.h from i915_drv.h and rename intel_i2c.c
      drm/i915: Update DRIVER_DATE to 20190523
      drm/i915: remove duplicate typedef for intel_wakeref_t
      drm/i915: Update DRIVER_DATE to 20190524

Janusz Krzysztofik (1):
      drm/i915: Use drm_dev_unplug()

Lucas De Marchi (3):
      drm/i915/icl: fix step numbers in icl_display_core_init()
      drm/i915: reorder if chain to have last gen first
      drm/i915: do not mix workaround with normal flow

Michal Wajdeczko (9):
      drm/i915/selftests: Move some reset testcases to separate file
      drm/i915/selftests: Split igt_atomic_reset testcase
      drm/i915/selftests: Use prepare/finish during atomic reset test
      drm/i915/guc: Rename intel_guc_is_alive to intel_guc_is_loaded
      drm/i915/uc: Explicitly sanitize GuC/HuC on failure and finish
      drm/i915/uc: Use GuC firmware status helper
      drm/i915/uc: Skip GuC HW unwinding if GuC is already dead
      drm/i915/uc: Stop talking with GuC when resetting
      drm/i915/uc: Skip reset preparation if GuC is already dead

Radhakrishna Sripada (1):
      drm/i915/icl: Fix clockgating issue when using scalers

Ramalingam C (7):
      drm: move content protection property to mode_config
      drm/i915: debugfs: HDCP2.2 capability read
      drm: generic fn converting be24 to cpu and vice versa
      drm: revocation check at drm subsystem
      drm/i915: SRM revocation check for HDCP1.4 and 2.2
      drm/hdcp: gathering hdcp related code into drm_hdcp.c
      drm/hdcp: drm_hdcp_request_srm() as static

Stanislav Lisovskiy (1):
      drm/i915: Corrupt DSI picture fix for GeminiLake

Tvrtko Ursulin (4):
      drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1
      drm/i915/selftests: Verify context workarounds
      drm/i915/icl: Add WaDisableBankHangMode
      drm/i915: Engine discovery query

Vandita Kulkarni (4):
      drm/i915: Fix the pipe state timing mismatch warnings
      drm/i915: Refactor bdw_get_pipemisc_bpp
      drm/i915: Fix pipe config mismatch for bpp, output format
      drm/i915: Fix pixel clock and crtc clock config mismatch

Ville Syrjälä (26):
      drm/i915: Fix skl+ max plane width
      drm/i915: Fix ICL output CSC programming
      drm/i915: Clean up cherryview_load_luts()
      drm/i915: Flatten and rename haswell_set_pipemisc()
      drm/i915: Enable pipe HDR mode on ICL if only HDR planes are used
      drm/i915: Don't skip audio enable if ELD is bogus
      drm/i915: hsw+ audio regs are per-transocder
      drm/i915: Move the PIPEMISC write the correct place
      drm/i915: Allow ICL pipe "HDR mode" when the cursor is visible
      drm/i915: Use mul_u32_u32() more
      drm/i915: Document that we implement WaIncreaseLatencyIPCEnabled
      drm/i915: Drop WaIncreaseLatencyIPCEnabled/1140 for cnl
      drm/i915: Move w/a 0477/WaDisableIPC:skl into intel_init_ipc()
      drm/i915: Replace intel_ddi_pll_init()
      drm/i915: Move the hsw/bdw pc8 code to intel_runtime_pm.c
      drm/i915: Kill PCH_KBP
      drm/i915: Fix fastset vs. pfit on/off on HSW EDP transcoder
      drm/i915: Add readout and state check for pch_pfit.force_thru
      drm/i915: Add a new "remapped" gtt_view
      drm/i915/selftests: Add mock selftest for remapped vmas
      drm/i915/selftests: Add live vma selftest
      drm/i915: Shuffle stride checking code around
      drm/i915: Overcome display engine stride limits via GTT remapping
      drm/i915: Align dumb buffer stride to 4k to allow for gtt remapping
      drm/i915: Bump fb stride limit to 128KiB for gen4+ and 256KiB for gen7+
      drm/i915: Bump gen7+ fb size limits to 16kx16k

 Documentation/gpu/drm-kms-helpers.rst              |    6 +
 drivers/dma-buf/dma-fence.c                        |    1 +
 drivers/gpu/drm/Makefile                           |    2 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |   12 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h |    2 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c  |   10 +-
 drivers/gpu/drm/drm_atomic_uapi.c                  |    4 +-
 drivers/gpu/drm/drm_connector.c                    |   43 -
 drivers/gpu/drm/drm_hdcp.c                         |  382 +++++++
 drivers/gpu/drm/drm_internal.h                     |    5 +
 drivers/gpu/drm/drm_sysfs.c                        |    2 +
 drivers/gpu/drm/i915/Kconfig                       |    6 +
 drivers/gpu/drm/i915/Kconfig.profile               |   13 +
 drivers/gpu/drm/i915/Makefile                      |   52 +-
 drivers/gpu/drm/i915/Makefile.header-test          |   34 +-
 drivers/gpu/drm/i915/dvo_ch7017.c                  |    3 +-
 drivers/gpu/drm/i915/dvo_ch7xxx.c                  |    3 +-
 drivers/gpu/drm/i915/dvo_ivch.c                    |    3 +-
 drivers/gpu/drm/i915/dvo_ns2501.c                  |    5 +-
 drivers/gpu/drm/i915/dvo_sil164.c                  |    3 +-
 drivers/gpu/drm/i915/dvo_tfp410.c                  |    3 +-
 drivers/gpu/drm/i915/gt/Makefile                   |    2 +
 drivers/gpu/drm/i915/gt/Makefile.header-test       |   16 +
 drivers/gpu/drm/i915/{ => gt}/intel_breadcrumbs.c  |   97 +-
 drivers/gpu/drm/i915/gt/intel_context.c            |  179 +++
 drivers/gpu/drm/i915/gt/intel_context.h            |  130 +++
 .../gpu/drm/i915/{ => gt}/intel_context_types.h    |   22 +-
 .../i915/{intel_ringbuffer.h => gt/intel_engine.h} |   54 +-
 drivers/gpu/drm/i915/{ => gt}/intel_engine_cs.c    |  381 +++----
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |  164 +++
 drivers/gpu/drm/i915/gt/intel_engine_pm.h          |   22 +
 drivers/gpu/drm/i915/{ => gt}/intel_engine_types.h |   38 +-
 drivers/gpu/drm/i915/{ => gt}/intel_gpu_commands.h |    0
 drivers/gpu/drm/i915/gt/intel_gt_pm.c              |  143 +++
 drivers/gpu/drm/i915/gt/intel_gt_pm.h              |   27 +
 drivers/gpu/drm/i915/{ => gt}/intel_hangcheck.c    |   29 +-
 drivers/gpu/drm/i915/{ => gt}/intel_lrc.c          | 1187 +++++++++++++++-----
 drivers/gpu/drm/i915/{ => gt}/intel_lrc.h          |   22 +-
 drivers/gpu/drm/i915/{ => gt}/intel_lrc_reg.h      |    0
 drivers/gpu/drm/i915/{ => gt}/intel_mocs.c         |    4 +-
 drivers/gpu/drm/i915/{ => gt}/intel_mocs.h         |    4 +-
 .../drm/i915/{i915_reset.c => gt/intel_reset.c}    |  114 +-
 .../drm/i915/{i915_reset.h => gt/intel_reset.h}    |    3 +-
 drivers/gpu/drm/i915/{ => gt}/intel_ringbuffer.c   |  360 +++---
 drivers/gpu/drm/i915/gt/intel_sseu.c               |  142 +++
 drivers/gpu/drm/i915/gt/intel_sseu.h               |   67 ++
 drivers/gpu/drm/i915/{ => gt}/intel_workarounds.c  |  312 +++--
 drivers/gpu/drm/i915/{ => gt}/intel_workarounds.h  |   10 +-
 .../drm/i915/{ => gt}/intel_workarounds_types.h    |    7 +-
 .../gpu/drm/i915/{selftests => gt}/mock_engine.c   |   53 +-
 .../gpu/drm/i915/{selftests => gt}/mock_engine.h   |    4 +-
 .../intel_engine_cs.c => gt/selftest_engine_cs.c}  |    0
 .../intel_hangcheck.c => gt/selftest_hangcheck.c}  |  227 +---
 .../{selftests/intel_lrc.c => gt/selftest_lrc.c}   |  550 ++++++++-
 drivers/gpu/drm/i915/gt/selftest_reset.c           |  118 ++
 .../selftest_workarounds.c}                        |  429 +++++--
 drivers/gpu/drm/i915/gvt/gvt.h                     |    2 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c                   |    2 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c            |    3 +-
 drivers/gpu/drm/i915/gvt/scheduler.c               |  147 +--
 drivers/gpu/drm/i915/i915_cmd_parser.c             |    3 +-
 drivers/gpu/drm/i915/i915_debugfs.c                |  121 +-
 drivers/gpu/drm/i915/i915_debugfs.h                |   20 +
 drivers/gpu/drm/i915/i915_drv.c                    |   45 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  411 +------
 drivers/gpu/drm/i915/i915_fixed.h                  |    6 +-
 drivers/gpu/drm/i915/i915_gem.c                    |  551 ++-------
 drivers/gpu/drm/i915/i915_gem.h                    |    8 +-
 drivers/gpu/drm/i915/i915_gem_context.c            |  974 +++++++++++++---
 drivers/gpu/drm/i915/i915_gem_context.h            |   83 +-
 drivers/gpu/drm/i915/i915_gem_context_types.h      |   45 +-
 drivers/gpu/drm/i915/i915_gem_evict.c              |   47 +-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c         |  175 ++-
 drivers/gpu/drm/i915/i915_gem_gtt.c                |  179 ++-
 drivers/gpu/drm/i915/i915_gem_gtt.h                |   32 +-
 drivers/gpu/drm/i915/i915_gem_internal.c           |    3 -
 drivers/gpu/drm/i915/i915_gem_pm.c                 |  250 +++++
 drivers/gpu/drm/i915/i915_gem_pm.h                 |   25 +
 drivers/gpu/drm/i915/i915_gem_shrinker.c           |   75 +-
 drivers/gpu/drm/i915/i915_gpu_error.c              |    5 +-
 drivers/gpu/drm/i915/i915_gpu_error.h              |    7 +-
 drivers/gpu/drm/i915/i915_irq.c                    |    8 +-
 drivers/gpu/drm/i915/i915_irq.h                    |  114 ++
 drivers/gpu/drm/i915/i915_pci.c                    |    7 +-
 drivers/gpu/drm/i915/i915_perf.c                   |   90 +-
 drivers/gpu/drm/i915/i915_pmu.c                    |    7 +-
 drivers/gpu/drm/i915/i915_priolist_types.h         |    5 +-
 drivers/gpu/drm/i915/i915_query.c                  |   49 +
 drivers/gpu/drm/i915/i915_reg.h                    |   20 +-
 drivers/gpu/drm/i915/i915_request.c                |  449 +++++---
 drivers/gpu/drm/i915/i915_request.h                |   17 +-
 drivers/gpu/drm/i915/i915_scheduler.c              |  308 ++---
 drivers/gpu/drm/i915/i915_scheduler.h              |   18 +
 drivers/gpu/drm/i915/i915_scheduler_types.h        |    5 +-
 drivers/gpu/drm/i915/i915_suspend.c                |    3 +-
 drivers/gpu/drm/i915/i915_sysfs.c                  |   51 +-
 drivers/gpu/drm/i915/i915_timeline_types.h         |    1 +
 drivers/gpu/drm/i915/i915_trace.h                  |    4 +-
 drivers/gpu/drm/i915/i915_utils.h                  |  197 +++-
 drivers/gpu/drm/i915/i915_vma.c                    |   13 +-
 drivers/gpu/drm/i915/i915_vma.h                    |    3 +
 drivers/gpu/drm/i915/icl_dsi.c                     |   63 +-
 drivers/gpu/drm/i915/intel_acpi.c                  |    3 +
 drivers/gpu/drm/i915/intel_acpi.h                  |   17 +
 drivers/gpu/drm/i915/intel_atomic.c                |   13 +
 drivers/gpu/drm/i915/intel_atomic.h                |   49 +
 drivers/gpu/drm/i915/intel_audio.c                 |   61 +-
 drivers/gpu/drm/i915/intel_bios.c                  |    2 +
 drivers/gpu/drm/i915/intel_bios.h                  |   21 +
 drivers/gpu/drm/i915/intel_cdclk.c                 |   59 +-
 drivers/gpu/drm/i915/intel_color.c                 |  102 +-
 drivers/gpu/drm/i915/intel_combo_phy.c             |   77 +-
 drivers/gpu/drm/i915/intel_combo_phy.h             |   20 +
 drivers/gpu/drm/i915/intel_context.c               |  269 -----
 drivers/gpu/drm/i915/intel_context.h               |   87 --
 drivers/gpu/drm/i915/intel_crt.c                   |    3 +
 drivers/gpu/drm/i915/intel_csr.c                   |    2 -
 drivers/gpu/drm/i915/intel_csr.h                   |    4 +
 drivers/gpu/drm/i915/intel_ddi.c                   |   40 +-
 drivers/gpu/drm/i915/intel_device_info.h           |   33 +-
 drivers/gpu/drm/i915/intel_display.c               | 1022 ++++++++++-------
 drivers/gpu/drm/i915/intel_display.h               |   10 +-
 drivers/gpu/drm/i915/intel_dp.c                    |  263 ++++-
 drivers/gpu/drm/i915/intel_dp.h                    |    1 +
 drivers/gpu/drm/i915/intel_dp_aux_backlight.c      |    1 +
 drivers/gpu/drm/i915/intel_dp_aux_backlight.h      |   13 +
 drivers/gpu/drm/i915/intel_dp_link_training.c      |    1 +
 drivers/gpu/drm/i915/intel_dp_link_training.h      |   14 +
 drivers/gpu/drm/i915/intel_dp_mst.c                |    3 +
 drivers/gpu/drm/i915/intel_dp_mst.h                |   14 +
 drivers/gpu/drm/i915/intel_dpio_phy.c              |   39 +-
 drivers/gpu/drm/i915/intel_dpio_phy.h              |   58 +
 drivers/gpu/drm/i915/intel_dpll_mgr.c              |   67 +-
 drivers/gpu/drm/i915/intel_dpll_mgr.h              |    8 +-
 drivers/gpu/drm/i915/intel_drv.h                   |  412 +------
 drivers/gpu/drm/i915/intel_dsi.h                   |    7 +
 drivers/gpu/drm/i915/intel_dsi_dcs_backlight.c     |    8 +-
 drivers/gpu/drm/i915/intel_dsi_dcs_backlight.h     |   13 +
 drivers/gpu/drm/i915/intel_dsi_vbt.c               |   21 +-
 drivers/gpu/drm/i915/intel_dvo.c                   |    8 +-
 drivers/gpu/drm/i915/{dvo.h => intel_dvo_dev.h}    |   10 +-
 drivers/gpu/drm/i915/intel_fbc.c                   |    4 +
 drivers/gpu/drm/i915/intel_fifo_underrun.c         |    1 +
 drivers/gpu/drm/i915/intel_fifo_underrun.h         |   27 +
 .../gpu/drm/i915/{intel_i2c.c => intel_gmbus.c}    |   33 +-
 drivers/gpu/drm/i915/intel_gmbus.h                 |   27 +
 drivers/gpu/drm/i915/intel_guc.c                   |   40 +-
 drivers/gpu/drm/i915/intel_guc.h                   |   12 +-
 drivers/gpu/drm/i915/intel_guc_ct.h                |    5 +
 drivers/gpu/drm/i915/intel_guc_fw.c                |   20 +-
 drivers/gpu/drm/i915/intel_guc_submission.c        |   33 +-
 drivers/gpu/drm/i915/intel_guc_submission.h        |    3 +-
 drivers/gpu/drm/i915/intel_hdcp.c                  |   55 +-
 drivers/gpu/drm/i915/intel_hdcp.h                  |    1 +
 drivers/gpu/drm/i915/intel_hdmi.c                  |   30 +-
 drivers/gpu/drm/i915/intel_hotplug.c               |    1 +
 drivers/gpu/drm/i915/intel_hotplug.h               |   30 +
 drivers/gpu/drm/i915/intel_huc.c                   |   74 +-
 drivers/gpu/drm/i915/intel_huc.h                   |    6 +-
 drivers/gpu/drm/i915/intel_huc_fw.c                |   49 +-
 drivers/gpu/drm/i915/intel_lpe_audio.c             |    8 +-
 drivers/gpu/drm/i915/intel_lpe_audio.h             |   22 +
 drivers/gpu/drm/i915/intel_lvds.c                  |    2 +
 drivers/gpu/drm/i915/intel_overlay.c               |    9 +-
 drivers/gpu/drm/i915/intel_overlay.h               |   29 +
 drivers/gpu/drm/i915/intel_panel.c                 |    2 +
 drivers/gpu/drm/i915/intel_pipe_crc.c              |   11 +-
 drivers/gpu/drm/i915/intel_pipe_crc.h              |    3 +
 drivers/gpu/drm/i915/intel_pm.c                    |  393 ++-----
 drivers/gpu/drm/i915/intel_pm.h                    |   10 +
 drivers/gpu/drm/i915/intel_psr.c                   |   12 +-
 drivers/gpu/drm/i915/intel_quirks.c                |    1 +
 drivers/gpu/drm/i915/intel_quirks.h                |   13 +
 drivers/gpu/drm/i915/intel_runtime_pm.c            |  885 +++++++++++++--
 drivers/gpu/drm/i915/intel_runtime_pm.h            |  142 +++
 drivers/gpu/drm/i915/intel_sdvo.c                  |    4 +
 drivers/gpu/drm/i915/intel_sideband.c              |  480 ++++++--
 drivers/gpu/drm/i915/intel_sideband.h              |  140 +++
 drivers/gpu/drm/i915/intel_sprite.c                |   34 +-
 drivers/gpu/drm/i915/intel_sprite.h                |   12 +-
 drivers/gpu/drm/i915/intel_tv.c                    |    1 +
 drivers/gpu/drm/i915/intel_uc.c                    |   90 +-
 drivers/gpu/drm/i915/intel_uc.h                    |    3 +-
 drivers/gpu/drm/i915/intel_uc_fw.c                 |  103 +-
 drivers/gpu/drm/i915/intel_uc_fw.h                 |   10 +-
 drivers/gpu/drm/i915/intel_uncore.c                |    8 +-
 drivers/gpu/drm/i915/intel_vdsc.c                  |    2 +
 drivers/gpu/drm/i915/intel_vdsc.h                  |   21 +
 drivers/gpu/drm/i915/intel_wakeref.c               |   75 ++
 drivers/gpu/drm/i915/intel_wakeref.h               |  133 +++
 drivers/gpu/drm/i915/selftests/huge_pages.c        |    3 +-
 drivers/gpu/drm/i915/selftests/i915_active.c       |    2 +-
 drivers/gpu/drm/i915/selftests/i915_gem.c          |   21 +-
 .../gpu/drm/i915/selftests/i915_gem_coherency.c    |    2 +-
 drivers/gpu/drm/i915/selftests/i915_gem_context.c  |  223 +---
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |    3 +-
 drivers/gpu/drm/i915/selftests/i915_gem_object.c   |   31 +-
 .../gpu/drm/i915/selftests/i915_live_selftests.h   |    2 +
 drivers/gpu/drm/i915/selftests/i915_request.c      |   13 +-
 drivers/gpu/drm/i915/selftests/i915_timeline.c     |    4 +-
 drivers/gpu/drm/i915/selftests/i915_vma.c          |  246 +++-
 drivers/gpu/drm/i915/selftests/igt_atomic.h        |   56 +
 drivers/gpu/drm/i915/selftests/igt_flush_test.c    |   32 +-
 drivers/gpu/drm/i915/selftests/igt_gem_utils.c     |   34 +
 drivers/gpu/drm/i915/selftests/igt_gem_utils.h     |   17 +
 drivers/gpu/drm/i915/selftests/igt_reset.c         |   11 +-
 drivers/gpu/drm/i915/selftests/igt_reset.h         |    1 +
 drivers/gpu/drm/i915/selftests/igt_spinner.c       |    3 +-
 drivers/gpu/drm/i915/selftests/igt_spinner.h       |    3 +-
 drivers/gpu/drm/i915/selftests/lib_sw_fence.c      |    3 +
 drivers/gpu/drm/i915/selftests/mock_context.c      |   15 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c   |   37 +-
 drivers/gpu/drm/i915/selftests/mock_request.c      |    6 +-
 drivers/gpu/drm/i915/vlv_dsi.c                     |   34 +-
 drivers/gpu/drm/i915/vlv_dsi_pll.c                 |   18 +-
 drivers/misc/mei/hdcp/mei_hdcp.c                   |    2 +-
 include/drm/drm_connector.h                        |    8 -
 include/drm/drm_dp_helper.h                        |   33 +-
 include/drm/drm_hdcp.h                             |   31 +-
 include/drm/drm_mode_config.h                      |    6 +
 include/drm/i915_pciids.h                          |    4 +-
 include/uapi/drm/i915_drm.h                        |  209 +++-
 222 files changed, 11774 insertions(+), 5465 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_hdcp.c
 create mode 100644 drivers/gpu/drm/i915/Kconfig.profile
 create mode 100644 drivers/gpu/drm/i915/gt/Makefile
 create mode 100644 drivers/gpu/drm/i915/gt/Makefile.header-test
 rename drivers/gpu/drm/i915/{ => gt}/intel_breadcrumbs.c (80%)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_context.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_context.h
 rename drivers/gpu/drm/i915/{ => gt}/intel_context_types.h (81%)
 rename drivers/gpu/drm/i915/{intel_ringbuffer.h => gt/intel_engine.h} (90%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_engine_cs.c (88%)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_pm.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_engine_pm.h
 rename drivers/gpu/drm/i915/{ => gt}/intel_engine_types.h (95%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_gpu_commands.h (100%)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_pm.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_pm.h
 rename drivers/gpu/drm/i915/{ => gt}/intel_hangcheck.c (94%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_lrc.c (77%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_lrc.h (86%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_lrc_reg.h (100%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_mocs.c (99%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_mocs.h (97%)
 rename drivers/gpu/drm/i915/{i915_reset.c => gt/intel_reset.c} (94%)
 rename drivers/gpu/drm/i915/{i915_reset.h => gt/intel_reset.h} (95%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_ringbuffer.c (94%)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_sseu.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_sseu.h
 rename drivers/gpu/drm/i915/{ => gt}/intel_workarounds.c (86%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_workarounds.h (79%)
 rename drivers/gpu/drm/i915/{ => gt}/intel_workarounds_types.h (88%)
 rename drivers/gpu/drm/i915/{selftests => gt}/mock_engine.c (88%)
 rename drivers/gpu/drm/i915/{selftests => gt}/mock_engine.h (95%)
 rename drivers/gpu/drm/i915/{selftests/intel_engine_cs.c => gt/selftest_engine_cs.c} (100%)
 rename drivers/gpu/drm/i915/{selftests/intel_hangcheck.c => gt/selftest_hangcheck.c} (90%)
 rename drivers/gpu/drm/i915/{selftests/intel_lrc.c => gt/selftest_lrc.c} (70%)
 create mode 100644 drivers/gpu/drm/i915/gt/selftest_reset.c
 rename drivers/gpu/drm/i915/{selftests/intel_workarounds.c => gt/selftest_workarounds.c} (66%)
 create mode 100644 drivers/gpu/drm/i915/i915_debugfs.h
 create mode 100644 drivers/gpu/drm/i915/i915_gem_pm.c
 create mode 100644 drivers/gpu/drm/i915/i915_gem_pm.h
 create mode 100644 drivers/gpu/drm/i915/i915_irq.h
 create mode 100644 drivers/gpu/drm/i915/intel_acpi.h
 create mode 100644 drivers/gpu/drm/i915/intel_atomic.h
 create mode 100644 drivers/gpu/drm/i915/intel_combo_phy.h
 delete mode 100644 drivers/gpu/drm/i915/intel_context.c
 delete mode 100644 drivers/gpu/drm/i915/intel_context.h
 create mode 100644 drivers/gpu/drm/i915/intel_dp_aux_backlight.h
 create mode 100644 drivers/gpu/drm/i915/intel_dp_link_training.h
 create mode 100644 drivers/gpu/drm/i915/intel_dp_mst.h
 create mode 100644 drivers/gpu/drm/i915/intel_dpio_phy.h
 create mode 100644 drivers/gpu/drm/i915/intel_dsi_dcs_backlight.h
 rename drivers/gpu/drm/i915/{dvo.h => intel_dvo_dev.h} (97%)
 create mode 100644 drivers/gpu/drm/i915/intel_fifo_underrun.h
 rename drivers/gpu/drm/i915/{intel_i2c.c => intel_gmbus.c} (97%)
 create mode 100644 drivers/gpu/drm/i915/intel_gmbus.h
 create mode 100644 drivers/gpu/drm/i915/intel_hotplug.h
 create mode 100644 drivers/gpu/drm/i915/intel_lpe_audio.h
 create mode 100644 drivers/gpu/drm/i915/intel_overlay.h
 create mode 100644 drivers/gpu/drm/i915/intel_quirks.h
 create mode 100644 drivers/gpu/drm/i915/intel_runtime_pm.h
 create mode 100644 drivers/gpu/drm/i915/intel_sideband.h
 create mode 100644 drivers/gpu/drm/i915/intel_vdsc.h
 create mode 100644 drivers/gpu/drm/i915/intel_wakeref.c
 create mode 100644 drivers/gpu/drm/i915/intel_wakeref.h
 create mode 100644 drivers/gpu/drm/i915/selftests/igt_atomic.h
 create mode 100644 drivers/gpu/drm/i915/selftests/igt_gem_utils.c
 create mode 100644 drivers/gpu/drm/i915/selftests/igt_gem_utils.h