From patchwork Tue Jan 14 11:43:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 11331973 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 523A4139A for ; Tue, 14 Jan 2020 11:43:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A3412467A for ; Tue, 14 Jan 2020 11:43:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A3412467A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 100E96E384; Tue, 14 Jan 2020 11:43:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 862126E384; Tue, 14 Jan 2020 11:43:30 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 03:43:30 -0800 X-IronPort-AV: E=Sophos;i="5.69,432,1571727600"; d="scan'208";a="225487349" Received: from jnikula-mobl3.fi.intel.com (HELO localhost) ([10.237.66.161]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 03:43:25 -0800 From: Jani Nikula To: Dave Airlie , Daniel Vetter , Subject: [PULL] drm-intel-next Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Date: Tue, 14 Jan 2020 13:43:22 +0200 Message-ID: <87sgkil0v9.fsf@intel.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: , dim-tools@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Rodrigo Vivi , Sean Paul , intel-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 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