Hi Dave, This pull includes the tag as described below and the GVT stuff, which " includes Coffeelake support for GVT, making kvmgt as self load module to have better dependence with vfio/mdev, with some const treatment and kernel type change. " Also please notice that we have a drm color management LUT validation helper coming on this bucket. Here goes drm-intel-next-2019-01-24: - Track all runtime-PM wakerefs and other rpm improvements (Chris) - Fix ILK-IVB primary plane enable delays (Juha-Pekka) - Differentiate between gtt->mutex and ppgtt->mutex (Chris) - Prevent concurrent GGTT update and use on Braswell (Chris) - Fix CNL macros for DDI vswing (Aditya) - Fix static code analysis warning (RK) - Only dump GPU state on set-wedged if interesting (Chris) - Port F detection improvements (Imre) - userptr mutex lock fixes (Chris) - Fix on MST allocation by propagating error value at compute_config (Lyude) - Serialise concurrent calls to set_wedge (Chris) - Unify reset functionality into i915_reset.c (Chris) - Switch to kernel fixed size types (Jani) - Limit the for_each_set_bit to the valid range (Chris) - Fix wakeref cooie handling (Tvrtko) - IRQs handling improvements (Chris) - Selftests improvements (Chris) - Remove superfluous PANEL_POWER_OFF macro (Jani) - Global seqno fix (Chris) - DSI fixes (Hans) - Refactor out intel_context_init() (Chris) - Show all active engines on hangcheck (Chris) - PSR2 fixes and improvements (Jose) - Do a posting read after irq install on Ice Lake (Daniele) - Add few more device IDs for Ice Lake (Rodrigo) - Mark up priority boost on preemption (Chris) - Add color management LUT validation helper (Matt) - Split out intel_crt_present to platform specific setup (Jani) - LVDS and TV clean up and improvements (Jani) - Simplify CRT VBT check for per-VLV/DDI (Jani) - De-inline intel_context_init() (Chris) - Backlight fixes (Maarten) - Enable fastset for non-boot modesets (Maarten) - Make HW readout mark CRTC scaler as in use (Maarten) Thanks, Rodrigo. The following changes since commit f164a94c2c87752caeb1a3cbe068c440e7f7921f: Merge tag 'drm-misc-next-2019-01-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-01-18 09:31:28 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-01-24 for you to fetch changes up to 85baa5dbf79163026dcb78f742294c522e176432: drm/i915: Update DRIVER_DATE to 20190124 (2019-01-24 15:00:59 -0800) ---------------------------------------------------------------- - Track all runtime-PM wakerefs and other rpm improvements (Chris) - Fix ILK-IVB primary plane enable delays (Juha-Pekka) - Differentiate between gtt->mutex and ppgtt->mutex (Chris) - Prevent concurrent GGTT update and use on Braswell (Chris) - Fix CNL macros for DDI vswing (Aditya) - Fix static code analysis warning (RK) - Only dump GPU state on set-wedged if interesting (Chris) - Port F detection improvements (Imre) - userptr mutex lock fixes (Chris) - Fix on MST allocation by propagating error value at compute_config (Lyude) - Serialise concurrent calls to set_wedge (Chris) - Unify reset functionality into i915_reset.c (Chris) - Switch to kernel fixed size types (Jani) - Limit the for_each_set_bit to the valid range (Chris) - Fix wakeref cooie handling (Tvrtko) - IRQs handling improvements (Chris) - Selftests improvements (Chris) - Remove superfluous PANEL_POWER_OFF macro (Jani) - Global seqno fix (Chris) - DSI fixes (Hans) - Refactor out intel_context_init() (Chris) - Show all active engines on hangcheck (Chris) - PSR2 fixes and improvements (Jose) - Do a posting read after irq install on Ice Lake (Daniele) - Add few more device IDs for Ice Lake (Rodrigo) - Mark up priority boost on preemption (Chris) - Add color management LUT validation helper (Matt) - Split out intel_crt_present to platform specific setup (Jani) - LVDS and TV clean up and improvements (Jani) - Simplify CRT VBT check for per-VLV/DDI (Jani) - De-inline intel_context_init() (Chris) - Backlight fixes (Maarten) - Enable fastset for non-boot modesets (Maarten) - Make HW readout mark CRTC scaler as in use (Maarten) ---------------------------------------------------------------- Aditya Swarup (1): drm/i915/cnl: Fix CNL macros for Voltage Swing programming Chris Wilson (46): drm/i915: Track all held rpm wakerefs drm/i915: Markup paired operations on wakerefs drm/i915: Track GT wakeref drm/i915: Track the rpm wakerefs for error handling drm/i915: Mark up sysfs with rpm wakeref tracking drm/i915: Mark up debugfs with rpm wakeref tracking drm/i915/perf: Track the rpm wakeref drm/i915/pmu: Track rpm wakeref drm/i915/guc: Track the rpm wakeref drm/i915/gem: Track the rpm wakerefs drm/i915/fb: Track rpm wakerefs drm/i915/hotplug: Track temporary rpm wakeref drm/i915/panel: Track temporary rpm wakeref drm/i915/selftests: Mark up rpm wakerefs drm/i915: Syntatic sugar for using intel_runtime_pm drm/i915: Markup paired operations on display power domains drm/i915: Track the wakeref used to initialise display power domains drm/i915/dp: Markup pps lock power well drm/i915: Complain if hsw_get_pipe_config acquires the same power well twice drm/i915: Combined gt.awake/gt.power wakerefs drm/i915: Mark up Ironlake ips with rpm wakerefs drm/i915: Differentiate between ggtt->mutex and ppgtt->mutex drm/i915: Prevent concurrent GGTT update and use on Braswell (again) drm/i915/perf: Annotate i915_perf.wakeref for keneldoc drm/i915: Only dump GPU state on set-wedged if interesting drm/i915/userptr: Avoid struct_mutex recursion for mmu_invalidate_range_start drm/i915: Move intel_execlists_show_requests() aside drm/i915/userptr: Fix error handling of mutex_lock_killable() drm/i915: Serialise concurrent calls to i915_gem_set_wedged() drm/i915: Pull all the reset functionality together into i915_reset.c drm/i915: Limit the for_each_set_bit() to the valid range drm/i915/breadcrumbs: Drop assertion that we've already enabled irqs drm/i915/selftests: Query the vm under test for hugepage support drm/i915: Use b->irq_enable() as predicate for mock engine drm/i915/selftests: Make evict tolerant of foreign objects drm/i915/selftests: Allocate mock ring/timeline per context drm/i915: Prevent use of global_seqno=0 drm/i915/selftests: Track evict objects explicitly drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting drm/i915/selftests: Refactor common live_test framework drm/i915/selftests: Use common mock_engine::advance drm/i915: Refactor out intel_context_init() drm/i915: Tidy common test_bit probing of i915_request->fence.flags drm/i915: Show all active engines on hangcheck drm/i915/execlists: Mark up priority boost on preemption drm/i915: De-inline intel_context_init() Daniele Ceraolo Spurio (1): drm/i915/icl: do a posting read after irq install Hans de Goede (2): drm/i915/dsi: Fix pipe_bpp for handling for 6 bpc pixel-formats drm/i915/dsi: Enable dithering for 6 bpc panels Imre Deak (2): drm/i915/ddi: Move DDI port detection to the corresponding helper drm/i915/icl: Detect port F presence via VBT Jani Nikula (29): drm/i915/gvt: remove drmP.h include drm/i915/gvt: give the cmd parser decode_info a const treatment drm/i915/gvt: give the cmd parser cmd_info a const treatment drm/i915: small isolated c99 types to kernel types switch drm/i915/crt: switch to kernel types drm/i915/lspcon: switch to kernel types drm/i915/debugfs: switch to kernel types drm/i915/irq: switch to kernel types drm/i915/cdclk: switch to kernel types drm/i915/dpll_mgr: switch to kernel types drm/i915/dp: switch to kernel types drm/i915/sprite: switch to kernel types drm/i915/dp: remove PANEL_POWER_OFF macro and its use drm/i915/color: switch to kernel types drm/i915/pm: switch to kernel types drm/i915/ddi: switch to kernel types drm/i915/csr: switch to kernel types drm/i915/display: switch to kernel types drm/i915/i915_drv.h: switch to kernel types drm/i915/intel_drv.h: switch to kernel types drm/i915/gvt: switch to kernel types drm/i915/sdvo: switch to kernel types drm/i915/crt: split out intel_crt_present() to platform specific setup drm/i915/lvds: only call intel_lvds_init() on platforms that might have LVDS drm/i915/lvds: nuke intel_lvds_supported() drm/i915/tv: only call intel_tv_init() on platforms that might have TV drm/i915: rename has_edp_a() to ilk_has_edp_a() drm/i915/lvds: simplify gen 2 lvds presence drm/i915/crt: simplify CRT VBT check on pre-VLV/DDI José Roberto de Souza (4): drm/i915/psr: Allow PSR2 to be enabled when debugfs asks drm/i915: Refactor PSR status debugfs drm/i915: Add PSR2 selective update status registers and bits definitions drm/i915/debugfs: Print PSR selective update status register values Juha-Pekka Heikkila (1): drm/i915: Fix ILK-IVB primary plane enable delays Lyude Paul (1): drm/i915: Pass down rc in intel_encoder->compute_config() Maarten Lankhorst (4): drm/i915/backlight: Restore backlight on resume, v3. drm/i915/backlight: Fix backlight takeover on LPT, v3. drm/i915: Enable fastset for non-boot modesets. drm/i915: Make HW readout mark CRTC scaler as in use. Matt Roper (2): drm: Add color management LUT validation helper (v4) drm/i915: Validate userspace-provided color management LUT's (v4) Radhakrishna Sripada (1): drm/i915: Fix the static code analysis warning in debugfs Rodrigo Vivi (4): Merge drm/drm-next into drm-intel-next-queued drm/i915/icl: Adding few more device IDs for Ice Lake Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel-next-queued drm/i915: Update DRIVER_DATE to 20190124 Tvrtko Ursulin (1): drm/i915: Fix wakeref cookie handling in debugfs/i915_forcewake_user Zhenyu Wang (3): drm/i915/gvt: mandatory require hypervisor's host_init drm/i915/gvt: remove unused parameter for hypervisor's host_exit call drm/i915/gvt: Change KVMGT as self load module fred gao (6): drm/i915/gvt: Add coffeelake platform definition drm/i915/gvt: Add mmio handler for CFL drm/i915/gvt: Enable gfx virtualiztion for CFL drm/i915/gvt: Reuse the gmbus pin macro drm/i915/gvt: Refine port select logic for CFL platform drm/i915: Enable gfx virtualization for Coffeelake platform drivers/acpi/pmic/intel_pmic.c | 61 + drivers/acpi/pmic/intel_pmic.h | 4 + drivers/acpi/pmic/intel_pmic_chtwc.c | 19 + drivers/acpi/pmic/intel_pmic_xpower.c | 1 + drivers/gpu/drm/drm_color_mgmt.c | 44 + drivers/gpu/drm/drm_dp_helper.c | 2 + drivers/gpu/drm/i915/Kconfig.debug | 3 +- drivers/gpu/drm/i915/Makefile | 7 +- drivers/gpu/drm/i915/dvo.h | 1 - drivers/gpu/drm/i915/gvt/Makefile | 1 - drivers/gpu/drm/i915/gvt/aperture_gm.c | 8 +- drivers/gpu/drm/i915/gvt/cmd_parser.c | 83 +- drivers/gpu/drm/i915/gvt/display.c | 12 +- drivers/gpu/drm/i915/gvt/dmabuf.c | 5 +- drivers/gpu/drm/i915/gvt/edid.c | 32 +- drivers/gpu/drm/i915/gvt/fb_decoder.c | 12 +- drivers/gpu/drm/i915/gvt/gvt.c | 108 +- drivers/gpu/drm/i915/gvt/gvt.h | 8 +- drivers/gpu/drm/i915/gvt/handlers.c | 29 +- drivers/gpu/drm/i915/gvt/hypercall.h | 9 +- drivers/gpu/drm/i915/gvt/interrupt.c | 4 +- drivers/gpu/drm/i915/gvt/kvmgt.c | 42 +- drivers/gpu/drm/i915/gvt/mmio.c | 6 +- drivers/gpu/drm/i915/gvt/mmio.h | 11 +- drivers/gpu/drm/i915/gvt/mmio_context.c | 18 +- drivers/gpu/drm/i915/gvt/mpt.h | 13 +- drivers/gpu/drm/i915/gvt/sched_policy.c | 4 +- drivers/gpu/drm/i915/gvt/scheduler.c | 11 +- drivers/gpu/drm/i915/gvt/scheduler.h | 2 +- drivers/gpu/drm/i915/gvt/trace.h | 2 +- drivers/gpu/drm/i915/gvt/vgpu.c | 4 +- drivers/gpu/drm/i915/i915_cmd_parser.c | 2 +- drivers/gpu/drm/i915/i915_debugfs.c | 896 ++++++------- drivers/gpu/drm/i915/i915_drv.c | 265 +--- drivers/gpu/drm/i915/i915_drv.h | 474 +++---- drivers/gpu/drm/i915/i915_gem.c | 752 ++--------- drivers/gpu/drm/i915/i915_gem_context.c | 18 +- drivers/gpu/drm/i915/i915_gem_context.h | 4 + drivers/gpu/drm/i915/i915_gem_dmabuf.c | 1 - drivers/gpu/drm/i915/i915_gem_evict.c | 1 - drivers/gpu/drm/i915/i915_gem_execbuffer.c | 10 +- drivers/gpu/drm/i915/i915_gem_fence_reg.c | 25 +- drivers/gpu/drm/i915/i915_gem_gtt.c | 209 +-- drivers/gpu/drm/i915/i915_gem_gtt.h | 4 +- drivers/gpu/drm/i915/i915_gem_internal.c | 1 - drivers/gpu/drm/i915/i915_gem_object.h | 10 +- drivers/gpu/drm/i915/i915_gem_shrinker.c | 163 +-- drivers/gpu/drm/i915/i915_gem_stolen.c | 8 +- drivers/gpu/drm/i915/i915_gem_tiling.c | 5 +- drivers/gpu/drm/i915/i915_gem_userptr.c | 225 ++-- drivers/gpu/drm/i915/i915_gpu_error.c | 86 +- drivers/gpu/drm/i915/i915_gpu_error.h | 5 +- drivers/gpu/drm/i915/i915_ioc32.c | 1 - drivers/gpu/drm/i915/i915_irq.c | 363 +---- drivers/gpu/drm/i915/i915_params.c | 32 +- drivers/gpu/drm/i915/i915_params.h | 11 + drivers/gpu/drm/i915/i915_pci.c | 6 +- drivers/gpu/drm/i915/i915_perf.c | 20 +- drivers/gpu/drm/i915/i915_pmu.c | 23 +- drivers/gpu/drm/i915/i915_query.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 250 ++-- drivers/gpu/drm/i915/i915_request.c | 220 +--- drivers/gpu/drm/i915/i915_request.h | 6 +- drivers/gpu/drm/i915/i915_reset.c | 1389 ++++++++++++++++++++ drivers/gpu/drm/i915/i915_reset.h | 56 + drivers/gpu/drm/i915/i915_suspend.c | 13 +- drivers/gpu/drm/i915/i915_sysfs.c | 31 +- drivers/gpu/drm/i915/i915_timeline.h | 8 - drivers/gpu/drm/i915/i915_trace.h | 30 - drivers/gpu/drm/i915/icl_dsi.c | 37 +- drivers/gpu/drm/i915/intel_acpi.c | 1 - drivers/gpu/drm/i915/intel_atomic.c | 7 +- drivers/gpu/drm/i915/intel_atomic_plane.c | 5 +- drivers/gpu/drm/i915/intel_audio.c | 6 +- drivers/gpu/drm/i915/intel_bios.c | 23 +- drivers/gpu/drm/i915/intel_breadcrumbs.c | 74 +- drivers/gpu/drm/i915/intel_cdclk.c | 60 +- drivers/gpu/drm/i915/intel_color.c | 274 ++-- drivers/gpu/drm/i915/intel_connector.c | 1 - drivers/gpu/drm/i915/intel_crt.c | 54 +- drivers/gpu/drm/i915/intel_csr.c | 93 +- drivers/gpu/drm/i915/intel_ddi.c | 418 +++--- drivers/gpu/drm/i915/intel_device_info.c | 107 +- drivers/gpu/drm/i915/intel_device_info.h | 31 +- drivers/gpu/drm/i915/intel_display.c | 450 ++++--- drivers/gpu/drm/i915/intel_display.h | 6 +- drivers/gpu/drm/i915/intel_dp.c | 545 ++++---- drivers/gpu/drm/i915/intel_dp_link_training.c | 32 +- drivers/gpu/drm/i915/intel_dp_mst.c | 3 +- drivers/gpu/drm/i915/intel_dpio_phy.c | 18 +- drivers/gpu/drm/i915/intel_dpll_mgr.c | 205 +-- drivers/gpu/drm/i915/intel_dpll_mgr.h | 53 +- drivers/gpu/drm/i915/intel_drv.h | 202 +-- drivers/gpu/drm/i915/intel_dsi.h | 6 +- drivers/gpu/drm/i915/intel_dsi_vbt.c | 24 +- drivers/gpu/drm/i915/intel_dvo.c | 1 - drivers/gpu/drm/i915/intel_engine_cs.c | 179 +-- drivers/gpu/drm/i915/intel_fbc.c | 33 +- drivers/gpu/drm/i915/intel_fbdev.c | 10 +- drivers/gpu/drm/i915/intel_fifo_underrun.c | 18 +- drivers/gpu/drm/i915/intel_frontbuffer.c | 1 - drivers/gpu/drm/i915/intel_guc.h | 3 + drivers/gpu/drm/i915/intel_guc_fw.c | 6 +- drivers/gpu/drm/i915/intel_guc_log.c | 29 +- drivers/gpu/drm/i915/intel_guc_submission.c | 3 +- drivers/gpu/drm/i915/intel_gvt.c | 12 +- drivers/gpu/drm/i915/intel_hangcheck.c | 183 +-- drivers/gpu/drm/i915/intel_hdcp.c | 21 +- drivers/gpu/drm/i915/intel_hdmi.c | 19 +- drivers/gpu/drm/i915/intel_hotplug.c | 6 +- drivers/gpu/drm/i915/intel_huc.c | 8 +- drivers/gpu/drm/i915/intel_huc_fw.c | 7 +- drivers/gpu/drm/i915/intel_i2c.c | 21 +- drivers/gpu/drm/i915/intel_lrc.c | 318 +++-- drivers/gpu/drm/i915/intel_lrc.h | 10 +- drivers/gpu/drm/i915/intel_lspcon.c | 20 +- drivers/gpu/drm/i915/intel_lvds.c | 37 +- drivers/gpu/drm/i915/intel_mocs.c | 2 +- drivers/gpu/drm/i915/intel_mocs.h | 1 - drivers/gpu/drm/i915/intel_opregion.c | 1 - drivers/gpu/drm/i915/intel_overlay.c | 11 +- drivers/gpu/drm/i915/intel_panel.c | 102 +- drivers/gpu/drm/i915/intel_pipe_crc.c | 32 +- drivers/gpu/drm/i915/intel_pm.c | 1123 +++++++--------- drivers/gpu/drm/i915/intel_psr.c | 89 +- drivers/gpu/drm/i915/intel_ringbuffer.c | 508 ++++--- drivers/gpu/drm/i915/intel_ringbuffer.h | 96 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 594 +++++++-- drivers/gpu/drm/i915/intel_sdvo.c | 79 +- drivers/gpu/drm/i915/intel_sprite.c | 91 +- drivers/gpu/drm/i915/intel_tv.c | 1 - drivers/gpu/drm/i915/intel_uc.c | 15 +- drivers/gpu/drm/i915/intel_uc.h | 6 +- drivers/gpu/drm/i915/intel_uc_fw.c | 11 +- drivers/gpu/drm/i915/intel_uncore.c | 508 +------ drivers/gpu/drm/i915/intel_vdsc.c | 5 +- drivers/gpu/drm/i915/intel_wopcm.c | 6 +- drivers/gpu/drm/i915/intel_workarounds.c | 131 +- drivers/gpu/drm/i915/selftests/huge_pages.c | 42 +- drivers/gpu/drm/i915/selftests/i915_gem.c | 47 +- .../gpu/drm/i915/selftests/i915_gem_coherency.c | 5 +- drivers/gpu/drm/i915/selftests/i915_gem_context.c | 140 +- drivers/gpu/drm/i915/selftests/i915_gem_evict.c | 98 +- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 118 +- drivers/gpu/drm/i915/selftests/i915_gem_object.c | 22 +- drivers/gpu/drm/i915/selftests/i915_request.c | 113 +- drivers/gpu/drm/i915/selftests/i915_vma.c | 77 +- drivers/gpu/drm/i915/selftests/igt_live_test.c | 85 ++ drivers/gpu/drm/i915/selftests/igt_live_test.h | 35 + drivers/gpu/drm/i915/selftests/igt_spinner.c | 86 +- drivers/gpu/drm/i915/selftests/intel_guc.c | 10 +- drivers/gpu/drm/i915/selftests/intel_hangcheck.c | 327 ++++- drivers/gpu/drm/i915/selftests/intel_lrc.c | 31 +- drivers/gpu/drm/i915/selftests/intel_workarounds.c | 120 +- drivers/gpu/drm/i915/selftests/mock_context.c | 7 +- drivers/gpu/drm/i915/selftests/mock_engine.c | 110 +- drivers/gpu/drm/i915/selftests/mock_gem_device.c | 15 +- drivers/gpu/drm/i915/selftests/mock_gtt.c | 15 +- drivers/gpu/drm/i915/selftests/mock_gtt.h | 4 +- drivers/gpu/drm/i915/vlv_dsi.c | 37 +- drivers/gpu/drm/i915/vlv_dsi_pll.c | 31 +- include/drm/drm_color_mgmt.h | 29 + include/drm/drm_dp_helper.h | 11 + include/drm/i915_pciids.h | 4 + include/linux/mfd/intel_soc_pmic.h | 3 + 165 files changed, 7710 insertions(+), 7195 deletions(-) create mode 100644 drivers/gpu/drm/i915/i915_reset.c create mode 100644 drivers/gpu/drm/i915/i915_reset.h create mode 100644 drivers/gpu/drm/i915/selftests/igt_live_test.c create mode 100644 drivers/gpu/drm/i915/selftests/igt_live_test.h _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel