From patchwork Fri Dec 14 03:20:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dave Airlie X-Patchwork-Id: 10730387 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5795613AF for ; Fri, 14 Dec 2018 03:21:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3606A2CDDF for ; Fri, 14 Dec 2018 03:21:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2573D2CDE9; Fri, 14 Dec 2018 03:21:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 591442CDDF for ; Fri, 14 Dec 2018 03:21:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 92DAF6EFEC; Fri, 14 Dec 2018 03:20:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 132106EFEC for ; Fri, 14 Dec 2018 03:20:52 +0000 (UTC) Received: by mail-qt1-x82a.google.com with SMTP id k12so4758446qtf.7 for ; Thu, 13 Dec 2018 19:20:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=gmUXC6Up8iBFNKQXvqilPLFHW5Y/uBajJ/P3tLra1E0=; b=L+kFJv21/7ZuCcoy1iENp16AFL5FRfWyxOqfGzTKMxWaYnG5h7LL0Ed31HyvonCSUZ wUJbMAfs0gZ/7FPeNced92aoJzjgGQtWw7OMWeHBuuFQi+nJzEdFwMT+1EXzXdtJ8zQz E4UPzm/1GmnlbuDI8ZixNW/8rQIuf1kPmoT4E7lL3kEBz6nM6CKt14xGMxKLZ7mIblQG OaePNBK/A2MCPziCpUtnVkXjVLbV1PjwrTbUDwO5qOZTW1AJ3mhMGpFpg15SxDTfPJiO 0e574ga+x0Nfl0QQfz8Lz9t6ZMCfY16nsyz0IehTscnyDt4YXSdxm2sJtkcowtjgo7RA JaeA== X-Gm-Message-State: AA+aEWbvHx1DDl59TaeBekl3fI5YcruLeRSqo25cFh/H3IsRZhYD2RTh JmNLZ6804QQgrJPx3BEyLQaM5eyhi3ri5pqgFz4nHJHB X-Google-Smtp-Source: AFSGD/U7Ah2WnQHWLdo7Wdnod9Zz6tZcADxBqZzjJtfQCsZcdHbFuWu6MmQWMht2JwItG2r8D4yUXk/eIuTsfhfh7Gw= X-Received: by 2002:ac8:1712:: with SMTP id w18mr1259725qtj.76.1544757649500; Thu, 13 Dec 2018 19:20:49 -0800 (PST) MIME-Version: 1.0 From: Dave Airlie Date: Fri, 14 Dec 2018 13:20:36 +1000 Message-ID: Subject: [git pull] drm for 4.21-rc1 (for the merge window). To: Linus Torvalds X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: LKML , dri-devel Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, This is an early send of the drm pull request for 4.21-rc1. I'll be off until the 27th Dec at least, and jumping in/out a bit for most of January, so I thought it would be good to just line this up early in case it was needed. I'll let you know if I have to supersede or push anything on top, but for now this looks like all we have for the merge window, whenever you open it. Thanks, Dave. Core: - shared fencing staging removal - drop transactional atomic helpers and move helpers to new location - DP/MST atomic cleanup - Leasing cleanups and drop EXPORT_SYMBOL - Convert drivers to atomic helpers and generic fbdev. - removed deprecated obj_ref/unref in favour of get/put - Improve dumb callback documentation - MODESET_LOCK_BEGIN/END helpers panels: - CDTech panels, Banana Pi Panel, DLC1010GIG, - Olimex LCD-O-LinuXino, Samsung S6D16D0, Truly NT35597 WQXGA, - Himax HX8357D, simulated RTSM AEMv8. - GPD Win2 panel - AUO G101EVN010 vgem: - render node support ttm: - move global init out of drivers - fix LRU handling for ghost objects - Support for simultaneous submissions to multiple engines scheduler: - timeout/fault handling changes to help GPU recovery - helpers for hw with preemption support i915: - Scaler/Watermark fixes - DP MST + powerwell fixes - PSR fixes - Break long get/put shmemfs pages - Icelake fixes - Icelake DSI video mode enablement - Engine workaround improvements amdgpu: - freesync support - GPU reset enabled on CI, VI, SOC15 dGPUs - ABM support in DC - KFD support for vega12/polaris12 - SDMA paging queue on vega - More amdkfd code sharing - DCC scanout on GFX9 - DC kerneldoc - Updated SMU firmware for GFX8 chips - XGMI PSP + hive reset support - GPU reset - DC trace support - Powerplay updates for newer Polaris - Cursor plane update fast path - kfd dma-buf support virtio-gpu: - add EDID support vmwgfx: - pageflip with damage support nouveau: - Initial Turing TU104/TU106 modesetting support msm: - a2xx gpu support for apq8060 and imx5 - a2xx gpummu support - mdp4 display support for apq8060 - DPU fixes and cleanups - enhanced profiling support - debug object naming interface - get_iova/page pinning decoupling tegra: - Tegra194 host1x, VIC and display support enabled - Audio over HDMI for Tegra186 and Tegra194 exynos: - DMA/IOMMU refactoring - plane alpha + blend mode support - Color format fixes for mixer driver rcar-du: - R8A7744 and R8A77470 support - R8A77965 LVDS support imx: - fbdev emulation fix - multi-tiled scalling fixes - SPDX identifiers rockchip - dw_hdmi support - dw-mipi-dsi + dual dsi support - mailbox read size fix qxl: - fix cursor pinning vc4: - YUV support (scaling + cursor) v3d: - enable TFU (Texture Formatting Unit) mali-dp: - add support for linear tiled formats sun4i: - Display Engine 3 support - H6 DE3 mixer 0 support - H6 display engine support - dw-hdmi support - H6 HDMI phy support - implicit fence waiting - BGRX8888 support meson: - Overlay plane support - implicit fence waiting - HDMI 1.4 4k modes bridge: - i2c fixes for sii902x drm-next-2018-12-14: drm pull request for 4.21-rc1 The following changes since commit 2e6e902d185027f8e3cb8b7305238f7e35d6a436: Linux 4.20-rc4 (2018-11-25 14:19:31 -0800) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-next-2018-12-14 for you to fetch changes up to 2a3c83f5fe0770d13bbb71b23674886ff4111f44: Merge tag 'vmwgfx-next-2018-12-13' of git://people.freedesktop.org/~thomash/linux into drm-next (2018-12-14 04:57:45 +1000) ---------------------------------------------------------------- drm pull request for 4.21-rc1 ---------------------------------------------------------------- Aaron Liu (1): drm/amdgpu: both support PCO FP5/AM4 rlc fw Aaron Ma (2): vgaarb: Add support for 64-bit frame buffer address vgaarb: Keep adding VGA device in queue Abhinav Kumar (3): drm/panel: Add support for Truly NT35597 panel driver dt-bindings: Add Truly NT35597 panel driver bindings drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver Alex Deucher (22): drm/amdgpu/sdma4: APUs do not have a page queue drm/amdgpu/amdkfd: clean up mmhub and gfxhub includes drm/amdgpu: update smu firmware images for VI variants (v2) drm/amdgpu/vega20: add CLK base offset drm/amdgpu/display: check if fbc is available in set_static_screen_control (v2) drm/amdgpu: add DC feature mask module parameter drm/amdgpu/display/dc: add FBC to dc_config drm/amdgpu/display/dm: handle FBC dc feature parameter drm/amdgpu/display/dce11: only enable FBC when selected drm/amdgpu/sdma4: use paging queue for buffer funcs drm/amdgpu/gfx9: rework lbpw enable code drm/amdgpu/gfx: use proper offset define for MEC doorbells drm/amdgpu/psp: use define rather than magic number for mode1 reset drm/amdgpu: don't expose fan attributes on APUs drm/amdgpu: add VCN JPEG support amdgpu_ctx_num_entities drm/amdgpu: add a xgmi supported flag drm/amdgpu/powerplay: fix mclk switch limit on polaris drm/amdgpu/powerplay: fix clock stretcher limits on polaris (v2) drm/amdgpu/si: fix SI after doorbell rework drm/amdgpu/powerplay: update smu7_ppsmc.h drm/amdgpu/powerplay: check MC firmware for FFC support drm/amdgpu/powerplay: Add special avfs cases for some polaris asics (v3) Alex Gonzalez (1): drm/panel: simple: Add AUO G101EVN010 panel support Alexandre Belloni (1): drm/i915: fix spelling mistake "reserverd" -> "reserved" Alexandru Gheorghe (9): drm: fourcc: Convert drm_format_info kerneldoc to in-line member documentation drm/selftest: Refactor test-drm_plane_helper drm/fourcc: Add char_per_block, block_w and block_h in drm_format_info drm/fourcc: Add fourcc for Mali linear tiled formats drm: mali-dp: Enable Mali-DP tiled buffer formats drm: Extend framebuffer_check to handle formats with cpp/char_per_block 0 drm/selftests: Add tests for drm_format_info* helpers drm: Add macro to export functions only when CONFIG_DRM_DEBUG_SELFTEST is enabled drm/selftests: Add tests for drm_internal_framebuffer_create Alexandru-Cosmin Gheorghe (1): drm/selftests: Fix build warning -Wframe-larger-than Amber Lin (3): drm/amdkfd: Simplify kfd2kgd interface drm/amdgpu: Remove unused function pointers drm/amdkfd: Add proper prefix to functions Andi Shyti (1): drm/i915: fix wrong error number report Andrey Grodzovsky (11): drm/sched: Add boolean to mark if sched is ready to work v5 drm/amdgpu: Retire amdgpu_ring.ready flag v4 drm/amdgpu: Enable default GPU reset for dGPU on gfx8/9 v3 drm/amdgpu: Refactor amdgpu_xgmi_add_device drm/amdgpu: Expose hive adev list and xgmi_mutex drm/amdgpu: Refactor GPU reset for XGMI hive case drm/amdgpu/psp: Update waiting in psp mode1 reset. drm/amdgpu: Handle xgmi device removal. drm/amdgpu: Implement concurrent asic reset for XGMI. drm/amdgpu: Update XGMI node print drm/amdgpu: Enable GPU recovery by default for CI Andrzej Hajda (7): drm/panel: simple: fix BOE/HV070WSA-100 timings drm/exynos: simplify DMA mapping drm/exynos/iommu: remove DRM_EXYNOS_IOMMU Kconfig symbol drm/exynos/iommu: integrate IOMMU/DMA internal API drm/exynos/iommu: move IOMMU specific stuff into exynos_drm_iommu.c drm/exynos/iommu: replace preprocessor conditionals with C conditionals drm/exynos/iommu: merge IOMMU and DMA code Animesh Manna (1): drm/i915/icl: Enable DC9 as lowest possible state during screen-off Anthony Koo (3): drm/amd/display: Expand dc to use 16.16 bit backlight drm/amd/display: Fix some backlight variable styling drm/amd/display: Expose target backlight level Anuj Phogat (1): drm/i915/icl:Add Wa_1606682166 Anusha Srivatsa (12): firmware/dmc/icl: Add missing MODULE_FIRMWARE() for Icelake. drm/i915/dsc: Add slice_row_per_frame in DSC PPS programming drm/i915/icl: Add DSS_CTL Registers drm/i915/icl: Fix DC9 Suspend for ICL. drm/i915/icl: Fix DSS_CTL register names drm/i915/fia: FIA registers offset implementation. i915/dp/fec: Cache the FEC_CAPABLE DPCD register drm/dp/fec: DRM helper for Forward Error Correction i915/dp/fec: Add fec_enable to the crtc state. drm/i915/fec: Set FEC_READY in FEC_CONFIGURATION i915/dp/fec: Configure the Forward Error Correction bits. drm/i915/fec: Disable FEC state. Aric Cyr (1): drm/amd/display: Fix up coverity issues Arnd Bergmann (1): drm/imx: fix build failure without CONFIG_DRM_FBDEV_EMULATION Ben Skeggs (72): drm/nouveau/core: support multiple nvdec instances drm/nouveau/bios: translate additional memory types drm/nouveau/bios: translate USB-C connector type drm/nouveau/devinit/gm200-: export function to upload+execute PMU/PRE_OS drm/nouveau/tmr: detect stalled gpu timer and break out of waits drm/nouveau/imem/nv50: support pinning objects in BAR2 and returning address drm/nouveau/fault: remove manual mapping of fault buffers into BAR2 drm/nouveau/fault: store get/put pri address in nvkm_fault_buffer drm/nouveau/fault: add explicit control over fault buffer interrupts drm/nouveau/mmu: add more general vmm free/node handling functions drm/nouveau/disp/gv100: fix name of window channels in debug output drm/nouveau/fifo/gf100-: call into BAR to reset BARs after MMU fault drm/nouveau/fifo/gk104-: return channel instance in ctor args drm/nouveau/fifo/gk104-: support enabling privileged ce functions drm/nouveau/fifo/gk104-: separate runlist building from committing to hw drm/nouveau/fifo/gk104-: group pbdma functions together drm/nouveau/fifo/gk104-: virtualise pbdma enable function drm/nouveau/fifo/gm200-: read pbdma count more directly drm/nouveau/fifo/gv100: allocate method buffer drm/nouveau/fifo/gv100: return work submission token in channel ctor args drm/nouveau: remove left-over struct member drm/nouveau/kms/nv50-: allow more flexibility with lut formats drm/nouveau/core: recognise TU104 drm/nouveau/pci/tu104: initial support drm/nouveau/bios/tu104: initial support drm/nouveau/devinit/tu104: initial support drm/nouveau/top/tu104: initial support drm/nouveau/ibus/tu104: initial support drm/nouveau/gpio/tu104: initial support drm/nouveau/i2c/tu104: initial support drm/nouveau/fuse/tu104: initial support drm/nouveau/mc/tu104: initial support drm/nouveau/bus/tu104: initial support drm/nouveau/tmr/tu104: initial support drm/nouveau/imem/tu104: initial support drm/nouveau/fb/tu104: initial support drm/nouveau/ltc/tu104: initial support drm/nouveau/mmu/tu104: initial support drm/nouveau/bar/tu104: initial support drm/nouveau/fault/tu104: initial support drm/nouveau/pmu/tu104: initial support drm/nouveau/therm/tu104: initial support drm/nouveau/dma/tu104: initial support drm/nouveau/disp/tu104: initial support drm/nouveau/fifo/tu104: initial support drm/nouveau/ce/tu104: initial support drm/nouveau/kms/tu104: initial support drm/nouveau/core: increase maximum number of nvdec instances to 3 drm/nouveau/core: recognise TU106 drm/nouveau/pci/tu106: initial support drm/nouveau/bios/tu106: initial support drm/nouveau/devinit/tu106: initial support drm/nouveau/top/tu106: initial support drm/nouveau/ibus/tu106: initial support drm/nouveau/gpio/tu106: initial support drm/nouveau/i2c/tu106: initial support drm/nouveau/fuse/tu106: initial support drm/nouveau/mc/tu106: initial support drm/nouveau/bus/tu106: initial support drm/nouveau/tmr/tu106: initial support drm/nouveau/imem/tu106: initial support drm/nouveau/fb/tu106: initial support drm/nouveau/ltc/tu106: initial support drm/nouveau/mmu/tu106: initial support drm/nouveau/bar/tu106: initial support drm/nouveau/fault/tu106: initial support drm/nouveau/pmu/tu106: initial support drm/nouveau/therm/tu106: initial support drm/nouveau/dma/tu106: initial support drm/nouveau/disp/tu106: initial support drm/nouveau/fifo/tu106: initial support drm/nouveau/ce/tu106: initial support Benjamin Gaignard (2): drm: stm: implement get_scanout_position function drm/sti: make crct disable atomic Bhawanpreet Lakha (5): drm/amd/display: explicit uint64_t casting drm/amd/display: rename cstate_pstate_watermarks_st1 drm/amd/display: Fix potential nullptr error drm/amd/display: Set RMX_ASPECT as default drm/amd/display: Fix Scaling (RMX_*) for DC driver Biju Das (2): dt-bindings: display: renesas: du: Document the r8a7744 bindings drm: rcar-du: Add R8A7744 support Boris Brezillon (12): drm/vc4: Use drm_atomic_helper_check_plane_state() to simplify the logic drm/vc4: Move ->offsets[] adjustment out of setup_clipping_and_scaling() drm/vc4: Fix X/Y positioning of planes using T_TILES modifier drm/vc4: Set ->is_yuv to false when num_planes == 1 drm/vc4: ->x_scaling[1] should never be set to VC4_SCALING_NONE drm/vc4: Prefer PPF over TPZ when dst >= 2/3 src drm/vc4: Make vc4_lbm_size() return 0 when vertical scaling is disabled drm/vc4: Move LBM creation out of vc4_plane_mode_set() drm/vc4: Don't check plane state more than once drm/vc4: Rework the async update logic drm/vc4: Allow scaling on cursor plane drm/vc4: Allow YUV formats on cursor planes Brajeswar Ghosh (7): drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: Remove duplicate header drm/amd/amdgpu/vce_v3_0.c: Remove duplicate header drm/amd/amdgpu: Remove duplicate header drm/amd/display/amdgpu_dm/amdgpu_dm.c: Remove duplicate header drm/amd/amdgpu: Remove duplicate header drm/amd/amdkfd: Remove duplicate header drm/amd/display: Remove duplicate header Bruce Wang (4): drm/msm/dpu: Remove dpu_kms_pm_suspend/resume drm/msm: Cut dpu_kms hooks from msm_pm_suspend/resume drm/msm/dpu: Remove suspend state tracking from crtc drm/msm/dpu: Replace dpu_crtc_reset by atomic helper Charlene Liu (3): drm/amd/display: Check if hubp function hooks exist before calling them drm/amd/display: remove CRTC_3D_STRUCTURE_V_UPDATE_MODE bit programming. drm/amd/display: expose surface confirm color function Chen-Yu Tsai (1): drm/panel: simple: Add support for Banana Pi 7" S070WV20-CT16 panel Chengming Gui (1): Revert "drm/amdgpu: use GMC v9 KIQ workaround only for the GFXHUB" (v2) Chiawen Huang (1): drm/amd/display: Add customizable tracing event Chris Wilson (68): drm/i915/execlists: Assert the queue is non-empty on unsubmitting drm/i915: Match code to comment and enforce ppgtt for execlists drm/i915: Convert to BITS_PER_TYPE drm/i915: Avoid compiler warning for maybe unused gu_misc_iir drm/i915/selftests: Smoketest preemption drm/i915: Remove i915.enable_ppgtt override drm/i915/execlists: Avoid kicking priority on the current context drm/i915/selftests: Split preemption smoke test into threads drm/i915/selftests: Include arbitration points in preemption smoketest drm/i915: Reserve some priority bits for internal use drm/i915: Combine multiple internal plists into the same i915_priolist bucket drm/i915: Priority boost for new clients drm/i915: Pull scheduling under standalone lock drm/i915: Priority boost for waiting clients drm/i915: Replace some open-coded i915_coherent_map_type() drm/i915: Show actual alongside requested frequency in debugfs/i915_rps_boost_info drm/i915/selftests: Hold task_struct ref for smoking kthread drm/i915: Handle incomplete Z_FINISH for compressed error states drm/i915: Clear the error PTE just once on finish drm/i915/execlists: Flush the CS events before unpinning drm/i915: Only reset seqno if actually idle drm/i915: Remove the global cache shrink & rcu barrier on allocation failure drm: Remove defunct dma_buf_kmap stubs drm/i915: Fixup kernel doc for param name changes drm/i915: Show the DPCD read error inline drm/i915: Inject a failure point when registering a connector drm/i915/selftests: Disable shrinker across mmap-exhaustion drm/i915: Large page offsets for pread/pwrite drm/i915: Hold rpm wakeref for debugfs/i915_drop_caches_set drm/i915/guc: Propagate the fw xfer timeout drm/i915: Mark skl_update_plane and skl_disable_plane as static drm/i915: Mark up GTT sizes as u64 drm/i915: Compare user's 64b GTT offset even on 32b drm/i915/selftests: Check for hangs mid context execution tests drm/i915: Park signaling thread while wrapping the seqno dma-buf: Update reservation shared_count after adding the new fence drm/i915/selftests: Test vm isolation drm/i915/gtt: Record the scratch pte drm/i915/gtt: Reuse the read-only 64KiB scratch page and directories drm/i915: Stop calling intel_opregion unregister/register in suspend/resume drm/syncobj: Mark local add/remove callback functions as static drm/i915: Mark pin flags as u64 drm/i915: Break long iterations for get/put shmemfs pages drm/i915/ringbuffer: Delay after EMIT_INVALIDATE for gen4/gen5 drm/i915/execlists: Force write serialisation into context image vs execution drm/i915: Set MI_INVALIDATE_BSD for all video-decode engines drm/i915: Initialise the obj->rcu head drm/i915: Track rcu_head for our idle worker drm/syncobj: Fix compilation following partial revert drm/i915/selftests: Workaround an issue with unused lockdep subclass drm/i915: Downgrade unknown firmware warnings drm/i915: Prevent machine hang from Broxton's vtd w/a and error capture drm/i915: Write GPU relocs harder with gen3 drm/i915/selftests: Hold task reference to reset worker drm/i915: Show waiter's status on engine dump drm/i915: Cache the error string drm/i915/ringbuffer: 2-step restart drm/i915: Skip engine serialisation for no-op seqno reset drm/i915: Mark up early pre-production Kabylakes drm/amdgpu: Reorder uvd ring init before uvd resume drm/i915: Fixup stub definitions for intel_opregion_suspend|resume drm/i915/ringbuffer: Clear semaphore sync registers on ring init drm/i915/selftests: Terminate hangcheck sanitycheck forcibly drm/i915/breadcrumbs: Reduce missed-breadcrumb false positive rate drm/i915/vgpu: Disallow loading on old vGPU hosts drm/i915/dp: Fix inconsistent indenting drm/i915: Complete the fences as they are cancelled due to wedging drm/i915: Allocate a common scratch page Christian König (47): dma-buf: remove shared fence staging in reservation object dma-buf: allow reserving more than one shared fence slot dma-buf: test shared slot allocation when mutex debugging is active drm/amdgpu: fix sdma v4 startup under SRIOV drm/amdgpu: add basics for SDMA page queue support drm/amdgpu: remove non gfx specific handling from sdma_v4_0_gfx_resume drm/amdgpu: remove SRIOV specific handling from sdma_v4_0_gfx_resume drm/amdgpu: add some [WR]REG32_SDMA macros to sdma_v4_0.c drm/amdgpu: activate paging queue on SDMA v4 drm/amdgpu: use paging queue for VM page table updates drm/sched: make sure timer is restarted drm/sched: add drm_sched_fault drm/amdgpu: remove illegal instruction stub from si_dma.c drm/amdgpu: use scheduler fault instead of reset work drm/ttm: use a static ttm_mem_global instance drm/ttm: make the device list mutex static drm/ttm: use a static ttm_bo_global instance drm/ttm: initialize globals during device init (v2) drm/amdgpu: further ring test cleanups drm/amdgpu: cleanup amdgpu_ib_ring_tests drm/amdgpu: cleanup skipping IB test on KIQ drm/amdgpu: remove messages from IB tests drm/amdgpu: use ring name instead of idx in traces drm/amdgpu: cleanup uvd_v6_0_ring_test_ring drm/amdgpu: cleanup si_dma_ring_test_ib drm/amdgpu: drop the remaining uses of ring idx in messages drm/amdkfd: fix interrupt spin lock drm/amdgpu: remove nonsense in_interrupt() checks drm/amdgpu: cleanup GMC v9 TLB invalidation drm/amdgpu: drop the busy wait for GMC v9 TLB invalidations drm/amdgpu: use GMC v9 KIQ workaround only for the GFXHUB drm/syncobj: disable the timeline UAPI for now v2 drm/sched: revert "fix timeout handling v2" v2 drm/ttm: fix LRU handling in ttm_buffer_object_transfer drm/amdgpu: wait for IB test on first device open drm/amdgpu: remove amdgpu_bo_backup_to_shadow drm/amdgpu: add missing error handling dma-buf: add dma_fence_get_stub drm/syncobj: use dma_fence_get_stub drm: revert "expand replace_fence to support timeline point v2" drm/ttm: allow reserving more than one shared slot v3 drm/amdgpu: fix using shared fence for exported BOs v2 drm/amdgpu: always reserve two slots for the VM drm/amdgpu: always reserve one more shared slot for pipelined BO moves drm/amdgpu: send IVs to the KFD only after processing them v3 drm/amdgpu: remove VM fault_credit handling drm/amdgpu: move IV prescreening into the GMC code Christoph Hellwig (1): drm: sti: don't pass GFP_DMA32 to dma_alloc_wc Christoph Manszewski (4): drm/exynos: decon: Make plane alpha configurable drm/exynos: decon: Make pixel blend mode configurable drm/exynos: mixer: Fix color format setting drm/exynos: mixer: Fix color range setting Christophe Fergeau (3): qxl: No need for NULL check before calling qxl_bo_unref() qxl: Remove unused qxl_bo_pin arguments qxl: Make sure qxl_cursor memory is pinned Christophe JAILLET (1): drm: rcar-du: Fix the return value in case of error in 'rcar_du_crtc_set_crc_source()' Chunming Zhou (5): drm: add flags to drm_syncobj_find_fence drm: fix missing doc v2 drm: add syncobj timeline support v9 drm: fix deadlock of syncobj v6 drm/syncobj: Avoid kmalloc(GFP_KERNEL) under spinlock Clint Taylor (3): drm/i915/hdmi: Add HDMI 2.0 audio clock recovery N values drm/i915/hdmi: Detect HDMI 2.0 monitors using multiple EDID capabilities drm/i915/hdmi: Reorder structure to match specification Colin Ian King (9): gpu: drm/lease: fix spelling mistake, EACCESS -> EACCES drm/i915/csr: fix spelling mistake "firmare" -> "firmware" drm/virtio: fix memory leak of vfpriv on error return path drm/panel: s6d16d0: fix spelling mistake "enble" -> "enable" drm/amd/display: fix dereference of pointer fs_params before it is null checked drm/amdgpu: fix spelling mistake "Pramater" -> "Parameter" drm/amd/pp: fix spelling mistake "dependancy" -> "dependency" drm/vmwgfx: remove redundant return ret statement drm/selftest: fix spelling mistake "dimention" -> "dimension" Damian Kos (1): drm/rockchip: fix for mailbox read size Daniel Kurtz (1): drm/amdgpu: refactor smu8_send_msg_to_smc and WARN_ON time out Daniel Vetter (28): drm/vkms: Extend todo drm/vblank: Remove old-style comments drm/amdgpu: Remove default best_encoder hook from DC drm/atomic-helper: Unexport drm_atomic_helper_best_encoder drm: Extract drm_atomic_state_helper.[hc] drm/atomic: Improve docs for drm_atomic_state->allow_modeset drm/arcpgu: Drop transitional hooks drm/atmel: Drop transitional hooks drm/arcpgu: Use drm_atomic_helper_shutdown drm/msm: Use drm_atomic_helper_shutdown drm/sti: Use drm_atomic_helper_shutdown drm/vc4: Use drm_atomic_helper_shutdown drm/zte: Use drm_atomic_helper_shutdown drm: Remove transitional helpers drm/doc: fix drm_driver_legacy_fb_format drm/todo: Add some cleanup tasks drm: Unexport primary plane helpers drm: Unexport drm_plane_helper_check_update drm/doc: kerneldoc for quirk_addfb_prefer_xbgr_30bpp drm/doc: Update errno handbook drm/lease: drop EXPORT_SYMBOL drm/lease: debug output for lease creation drm/file: Uncompact the feature flags drm/lease: look at ->universal_planes only once drm: Merge drm_info.c into drm_debugfs.c drm: Improve dumb callback docs drm/vkms: Fix plane duplicate_state drm: Fix up drm_atomic_state_helper.[hc] extraction Daniele Ceraolo Spurio (11): drm/i915/guc: init GuC descriptors after GuC load drm/i915/guc: Don't clear the cookie on doorbell destroy drm/i915/guc: fix GuC suspend/resume drm/i915/guc: drop negative doorbell alloc selftest drm/i915/guc: rename __create/destroy_doorbell drm/i915/guc: reserve the doorbell before selecting the cacheline drm/i915/guc: doorbell checking cleanup drm/i915/guc: fix comment about fallback to execlists drm/i915/guc: remove unneeded goto from selftest drm/i915: fix subslice mask array size drm/i915/query: fix subslice length Dave Airlie (18): Merge tag 'drm-misc-next-2018-11-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-next Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next Merge tag 'drm-misc-next-2018-11-21' of git://anongit.freedesktop.org/drm/drm-misc into drm-next Merge tag 'drm-intel-next-2018-11-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-next Merge tag 'du-next-20181123' of git://linuxtv.org/pinchartl/media into drm-next Merge tag 'drm-misc-next-2018-11-28' of git://anongit.freedesktop.org/drm/drm-misc into drm-next Merge v4.20-rc4 into drm-next Merge tag 'imx-drm-next-2018-12-03' of git://git.pengutronix.de/git/pza/linux into drm-next Merge tag 'drm-intel-next-2018-12-04' of git://anongit.freedesktop.org/drm/drm-intel into drm-next Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next Merge tag 'exynos-drm-next-for-v4.21' of git://git.kernel.org/.../daeinki/drm-exynos into drm-next Merge tag 'vmwgfx-next-2018-12-05' of git://people.freedesktop.org/~thomash/linux into drm-next Merge tag 'drm-misc-next-2018-12-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-next Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next Merge tag 'drm/tegra/for-4.21-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next Merge branch 'linux-4.21' of git://github.com/skeggsb/linux into drm-next Merge tag 'drm-msm-next-2018-12-12' of git://people.freedesktop.org/~robclark/linux into drm-next Merge tag 'vmwgfx-next-2018-12-13' of git://people.freedesktop.org/~thomash/linux into drm-next David Francis (15): drm/amd/display: initialize dc_transfer_func->ctx drm/amd: Don't fail on backlight = 0 drm/amd/display: Remove dc_stream_state->status drm/amd/display: Check for dmcu initialization before calling dmcu drm/amd/display: Clean up dp_blank functions drm/amd/display: Get backlight controller id from link drm/amd/display: Clean up DCN1 clock requests drm/amd/display: Load DMCU IRAM drm/amd: Add abm level drm property drm/amd: update ATIF functions in AMD ACPI header drm/amd: Query and use ACPI backlight caps drm/amd/display: Fix compile error with ACPI disabled drm/amd/display: Start documentation of DC drm/amd/display: Allow clock lower on dce100 drm/amd/display: Add tracing to dc Deepak Rawat (18): drm/selftest: Refactor drm mode setting selftests drm: Add a new helper to validate damage during atomic_check drm: Add helper iterator functions for plane fb_damage_clips blob drm/selftest: Add drm damage helper selftest drm/vmwgfx: Add a new interface for plane update on a display unit drm/vmwgfx: Implement STDU plane update for surface backed fb drm/vmwgfx: Implement STDU plane update for BO backed fb drm/vmwgfx: Use the new interface for STDU plane update drm/vmwgfx: Update comments for stdu plane update drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for STDU primary plane drm/vmwgfx: Implement SOU plane update for surface backed fb drm/vmwgfx: Implement SOU plane update for BO backed fb drm/vmwgfx: Use the new interface for SOU plane update drm/vmwgfx: Update comments for sou plane update function drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for SOU primary plane drm/vmwgfx: Use atomic helper function for dirty fb IOCTL drm/vmwgfx: Don't clear mode::type anymore drm: Fix docs warning in drm_damage_helper.c Deepak Sharma (1): drm/vgem: Fix vgem_init to get drm device available. Dhinakaran Pandiyan (12): drm/i915/dp: Fix link retraining comment in intel_dp_long_pulse() drm/i915/dp: Restrict link retrain workaround to external monitors drm/i915/dp: Use a local variable for intel_encoder * drm/i915/dp: Do not grab crtc modeset lock in intel_dp_detect() drm/i915/dp: Kill intel_dp->detect_done flag drm/i915/dp: Fix duplication of DEVICE_SERVICE_IRQ handling drm/i915/psr: Enable PSR1 on gen-9+ HW drm/i915: Fix VIDEO_DIP_CTL bit shifts drm/i915: Move VIDEO_DIP_CTL definitions to their right place. drm/i915: Add function to check for linear surfaces drm/i915: Do not program aux plane offsets on gen11+ drm/i915: Switch the order of function parameters Dmitry V. Levin (2): uapi: fix linux/kfd_ioctl.h userspace compilation errors uapi: fix more linux/kfd_ioctl.h userspace compilation errors Dmytro Laktyushkin (12): drm/amd/display: handle max_vstartup larger than vblank_end drm/amd/display: move pplib/smu notification to dccg block drm/amd/display: remove safe_to_lower flag from dc, use 2 functions instead drm/amd/display: clean up base dccg struct drm/amd/display: split dccg clock manager into asic folders drm/amd/display: rename dccg to clk_mgr drm/amd/display: add dccg block drm/amd/display: fix dml max voltage state drm/amd/display: remove interlace scaling adjustment drm/amd/display: fix mirror rotation scaling math drm/amd/display: redesign scaling rotation math drm/amd/display: fix pipe interdependent hubp programming Douglas Anderson (1): drm/msm: Only add available components Emil Velikov (4): drm: BUG_ON if passing NULL parent to drm_dev_init drm/virtio: document drm_dev_set_unique workaround drm/vkms: provide a parent device to drm_dev_init() drm/vgem: create a render node for vgem Emily Deng (1): drm/amd/amdgpu/sriov: Aligned the definition with libgv Enric Balletbo i Serra (2): drm/rockchip: psr: do not dereference encoder before it is null checked. drm/bridge: analogix_dp: Fix misleading indentation reported by smatch Eric Anholt (21): drm/v3d: Fix a use-after-free race accessing the scheduler's fences. drm/v3d: Add a little debugfs entry for measuring the core clock. drm/v3d: Add some better documentation of the in_sync arguments. drm/v3d: Skip debugfs dumping GCA on platforms without GCA. drm/vc4: Fix TILE_Y_OFFSET definitions drm/vc4: Define missing PITCH0_SINK_PIX field drm/tinydrm: Advertise that we can do only DRM_FORMAT_MOD_LINEAR. dt-bindings: new binding for Himax HX8357D display panels drm: Add an hx8367d tinydrm driver. drm/tinydrm: Fix setting of the column/page end addresses. drm/syncobj: Fix oops on drm_syncobj_find_fence(file_priv, 0, ...). drm: Revert syncobj timeline changes. drm/v3d: Fix whitespace inconsistency in the header. drm/v3d: Update a comment about what uses v3d_job_dependency(). drm/v3d: Clean up the reservation object setup. drm/vkms: Drop custom vkms_dumb_map(). drm/v3d: Add support for submitting jobs to the TFU. drm/v3d: Drop the "dev" argument to lock/unlock of BO reservations. drm/v3d: Fix prime imports of buffers from other drivers. drm/v3d: Add missing fence timeline name for TFU. drm/v3d: Add more tracepoints for V3D GPU rendering. Eric Bernstein (3): drm/amd/display: Add link encoder dp_ycbcr420_supported feature flag drm/amd/display: Remove some old TODO's drm/amd/display: get tail pipe before aquire free pipe Eric Huang (1): drm/amdkfd: change system memory overcommit limit Eric Yang (1): drm/amd/display: fix report display count logic Eugeniy Paltsev (1): DRM: UDL: get rid of useless vblank initialization Evan Quan (5): drm/amdgpu: disable SDMA page queue on Vega20 drm/amd/powerplay: do the comparison in the right Khz granularity drm/amd/powerplay: set a default fclk/gfxclk ratio drm/amd/powerplay: always use fast UCLK switching when UCLK DPM enabled drm/amdgpu: set Vega20 LBPW as disabled at default Fabio Estevam (3): drm/panel: seiko-43wvf1g: Switch to SPDX identifier drm/panel: seiko-43wvf1g: Add missing ">" character in author's email drm/imx: Switch to SPDX identifier Fabrizio Castro (4): drm/bridge/sii902x: Fix EDID readback drm/bridge/sii902x: Add missing dependency on I2C_MUX dt-bindings: display: renesas: du: Document the r8a77470 bindings drm: rcar-du: Add r8a77470 support Fatemeh Darbehani (7): drm/amd/display: dc 3.2.01 drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part1 drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part2 drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part3 drm/amd/display: Retiring set_display_requirements in dm_pp_smu.h - part4 drm/amd/display: Remove the check to see if pp_display_cfg is changed drm/amd/display: Clean up for DCN1 clock debug logging Felix Kuehling (6): drm/amdkfd: Fix and simplify sync object handling for KFD drm/amdgpu: Fix KFD doorbell SG BO mapping drm/amdgpu: Add KFD VRAM limit checking drm/amdkfd: Add NULL-pointer check drm/amdkfd: Add DMABuf import functionality drm/amdkfd: Add support for doorbell BOs Fernando Ramos (8): drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]" functions drm: replace "drm_dev_unref" function with "drm_dev_put" drm: remove deprecated "drm_dev_unref" function drm: replace "drm_connector_unreference" with "drm_connector_put" drm: remove deprecated "drm_connector_[un]reference" functions drm: remove deprecated "drm_framebuffer_[un]reference" functions drm: remove no longer needed drm-get-put coccinelle script docs: drm: remove no longer relevant TODO entry Frank.Min (1): drm/amdgpu: fix sdma doorbell comments typo Gabriel Krisman Bertazi (1): drm: panel-orientation-quirks: Do rotation quirk for new GPD Win2 FW Gang Ba (1): drm/amdkfd: Added Vega12 and Polaris12 for KFD. Gaurav K Singh (3): drm/i915/dsc: Define & Compute VESA DSC params drm/i915/dsc: Compute Rate Control parameters for DSC drm/i915/dp: Enable/Disable DSC in DP Sink Gerd Hoffmann (12): drm: add drm_connector_attach_edid_property() drm/virtio: track created object state drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpufb_create() drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpu_mode_dumb_create() drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpu_resource_create_ioctl() drm/virtio: drop resource_id argument. drm/virtio: fix resource id handling drm/bochs: add edid support. virtio-gpu: add VIRTIO_GPU_F_EDID feature drm/virtio: add edid support drm/virtio: fence: pass plain pointer drm/virtio: virtio_gpu_cmd_resource_create_3d: drop unused fence arg Giulio Benetti (7): dt-bindings: Add vendor prefix for CDTech(H.K.) Electronics Limited drm/panel: add panel CDTech S070WV95-CT16 to panel-simple dt-bindings: Add CDTech S070WV95-CT16 panel bindings drm/panel: add panel CDTech S043WQ26H-CT7 to panel-simple dt-bindings: Add CDTech S043WQ26H-CT7 panel bindings drm/sun4i: tcon: fix check of tcon->panel null pointer drm/sun4i: tcon: prevent tcon->panel dereference if NULL Gustavo A. R. Silva (3): drm/bufs: Fix Spectre v1 vulnerability drm/radeon/r420: mark expected switch fall-through drm/radeon/r300: Mark expected switch fall-throughs Gustavo Padovan (1): drm/virtio: bump driver version after explicit synchronization addition Guttula, Suresh (2): drm/amd/powerplay:add hwmgr callback to update nbpstate on Carrizo drm/amd:Enable/Disable NBPSTATE on On/OFF of UVD Hang Yuan (1): drm/i915/gtt: Revert "Disable read-only support under GVT" Hans Holmberg (1): drm/i915: avoid rebuilding i915_gpu_error.o on version string updates Hans de Goede (2): drm/i915: Check for panel orientation quirks on eDP panels drm: panel-orientation-quirks: Add quirk for GPD win2 Harish Kasiviswanathan (2): drm/amdgpu: Remove explicit wait after VM validate drm/amdgpu: KFD Restore process: Optimize waiting Harmanprit Tatla (2): drm/amd/display: Freesync does not engage on some displays drm/amd/display: Info frame cleanup Harry Wentland (2): drm/amdgpu: Drop amdgpu_plane drm/amd/display: Stop leaking planes Hawking Zhang (13): drm/amdgpu/psp: avoid hard-code fence value pre submission drm/amdgpu/psp: add structure for xgmi ta and its shared buffer drm/amdgpu/psp: init/de-init xgmi ta microcode drm/amdgpu/psp: add helper function to load/unload xgmi ta drm/amdgpu/psp: add xgmi ta header drm/amdgpu/psp: add helper function to invoke xgmi ta per ta cmd_id drm/amdgpu/psp: initialize xgmi session (v2) drm/amdgpu/psp: add get_node_id function drm/amdgpu/psp: add get_hive_id function drm/amdgpu/psp: update topology info structures drm/amdgpu/psp: add get_topology_info function drm/amdgpu/psp: add set_topology_info function drm/amdgpu: fix frame size of amdgpu_xgmi_add_devices excceed 1024 bytes Heiko Stuebner (12): drm/rockchip: vop: add rk3188 hs_start interrupt as dsp_hold equivalent drm/panel: p079zca: unconditionally remove the panel on removal drm/bridge: dw-hdmi: allow forcing vendor phy-type drm/rockchip: dw_hdmi: Allow outputs that don't need output switching dt-bindings: allow optional phys in Rockchip dw_hdmi binding drm/rockchip: dw_hdmi: allow including external phys drm/rockchip: dw_hdmi: store rockchip_hdmi reference in phy_data object drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328 drm/bridge/synopsys: dsi: move mipi_dsi_host_unregister to __dw_mipi_dsi_remove drm/bridge/synopsys: dsi: don't call __dw_mipi_dsi_probe from dw_mipi_dsi_bind drm/bridge/synopsys: dsi: add ability to have glue-specific attach and detach drm/rockchip: dsi: add dual mipi support Huang Rui (1): drm/amdgpu: add ring test for page queue Icenowy Zheng (5): dt-bindings: bus: add H6 DE3 bus binding dt-bindings: display: sunxi: add DT binding for Allwinner H6 DW HDMI drm: sun4i: add quirks for TCON TOP dt-bindings: display: sun4i-drm: document H6 TCON TOP drm: sun4i: add support for H6 TCON TOP Imre Deak (30): drm/i915/gen9+: Fix initial readout for Y tiled framebuffers drm/i915: Ensure proper HDA suspend/resume ordering with a device link drm/i915: Move intel_aux_ch() to intel_bios.c drm/i915: Move aux_ch to intel_digital_port drm/i915: Init aux_ch for HDMI ports too drm/i915: Use a helper to get the aux power domain drm/i915: Enable AUX power earlier drm/i915: Enable AUX power for HDMI DDI/TypeC main link too drm/i915: Configure AUX_CH_CTL when enabling the AUX power domain drm/i915/icl+: Sanitize port to PLL mapping drm/i915/icl: Configure MG PHY gating for HDMI ports too drm/i915/icl: Configure MG DP mode for HDMI ports too drm/i915/gen9_lp: Fix DMC DC counter debugfs output drm/vgem: Fix typo in driver feature flags drm/i915/icl: Fix power well 2 wrt. DC-off toggling order drm/i915/icl: Fix combo PHY uninit drm/i915/cnl+: Move the combo PHY init/uninit code to a new file drm/i915/cnl+: Verify combo PHY HW state during PHY uninit drm/i915/icl: Skip init for an already enabled combo PHY drm/i915/icl: Fix port B combo PHY context loss after DC transitions drm/i915/ddi: Add more sanity check to the encoder HW readout drm/i915/icl: Fix PLL mapping sanitization for DP ports drm/i915/gen9_bc: Work around DMC bug zeroing power well requests drm/i915: Use proper bool bitfield initializer in power well descs drm/i915: Remove special case for power well 1/MISC_IO state verification drm/i915: Make pipe/transcoder offsets not depend on enum values drm/i915: Make EDP PSR flags not depend on enum values drm/i915: Add code comment on assumption of pipe==transcoder drm/i915: Make CHICKEN_TRANS reg not depend on enum value drm/i915/icl: Sanitize DDI port clock gating for DSI ports Jani Nikula (44): Merge drm/drm-next into drm-intel-next-queued drm/i915/csr: keep firmware name and required version together drm/i915/csr: keep max firmware size together with firmare name and version drm/i915/csr: bypass firmware request on i915.dmc_firmware_path="" drm/i915/csr: restructure CSR firmware definition macros drm/i915/dp: optimize eDP 1.4+ link config fast and narrow drm/i915: add a common connector type independent destroy hook drm/i915: nuke the intel_lvds_connector drm/i915: rename intel_modes.c to intel_connector.c drm/i915: move intel connector specific functions to intel_connector.c drm/i915: rename and move intel_get_pipe_from_connector() drm/i915: Ensure _print_param() builds with Clang drm/i915: Ensure intel_engine_init_execlist() builds with Clang drm/i915: split out display quirks to a new file drm/i915/quirks: pass dev_priv instead of drm dev to quirk code drm/i915: make encoder enable and disable hooks optional drm/i915/dsi: refactor bitrate calculations in intel_dsi_vbt_init() drm/i915/dsi: abstract dphy parameter init drm/i915/dsi: abstract intel_dsi_tlpx_ns() Merge drm/drm-next into drm-intel-next-queued drm/i915: remove palette_offsets from device info in favor of _PICK() drm/i915: define _MMIO_PLANE() in terms of _PLANE() not _MMIO_PIPE() drm/i915: reorder and reindent the register choosing helper wrappers drm/i915: also group device info array helper macros with others drm/i915: Update DRIVER_DATE to 20181102 drm/i915: remove excess line continuation backslashes drm/i915/bios: rename intel_aux_ch() to intel_bios_port_aux_ch() drm/i915: remove unused DDC PIN macros drm/i915/bios: make the aux channel macros private to the vbt parser drm/i915: extract fixed point math to i915_fixed.h drm/i915/fixed: prefer kernel types over stdint types drm/i915/fixed: simplify FP_16_16_MAX definition drm/i915/fixed: simplify is_fixed16_zero() drm/i915/fixed: cosmetic cleanup Merge drm/drm-next into drm-intel-next-queued drm/i915: Update DRIVER_DATE to 20181122 drm/i915: Update DRIVER_DATE to 20181122 drm/i915/icl: push pll to port mapping/unmapping to ddi encoder hooks drm/i915/icl: add dummy DSI GPIO element execution function drm/i915/icl: add pll mapping for DSI sysfs: constify sysfs create/remove files harder drm/i915/sysfs: make attrs arrays const drm/i915/icl: fix transcoder state readout drm/i915: Update DRIVER_DATE to 20181204 Jayant Shekhar (2): drm/msm/dpu: Correct dpu destroy and disable order drm/msm/dpu: Fix clock issue after bind failure Jernej Skrabec (16): dt-bindings: display: sun4i-drm: Add H6 display engine compatibles drm/sun4i: Rework DE2 register defines drm/sun4i: Fix DE2 mixer size drm/sun4i: Disable unused DE2 sub-engines drm/sun4i: Add basic support for DE3 drm/sun4i: Add support for H6 DE3 mixer 0 drm/bridge/synopsys: dw-hdmi: Enable workaround for v2.12a drm/sun4i: Not all DW HDMI controllers has scrambled addresses drm/sun4i: dw-hdmi: Make mode_valid function configurable drm/sun4i: dw-hdmi: Add quirk for setting TMDS clock drm/sun4i: Add support for H6 DW HDMI controller drm/sun4i: dw-hdmi-phy: Reorder quirks by family drm/sun4i: Add support for Synopsys HDMI PHY drm/sun4i: Add support for H6 HDMI PHY drm/sun4i: Initialize registers in tcon-top driver drm/sun4i: Add compatible for H6 display engine Jerry (Fangzhi) Zuo (3): drm/amd/display: Cleanup MST non-atomic code workaround drm/amd/display: Drop reusing drm connector for MST drm/amd/display: Fix NULL ptr when calculating refresh rate Jeykumar Sankaran (1): drm/msm/dpu: set geometry for iommu domain Jim Qu (1): drm/amd/powerplay: correct code style Joerg Roedel (1): drm/amd/powerplay: Ratelimit all "was not implemented" messages John Clements (1): drm/amdgpu: Revised PSP comments Jonathan Gray (2): drm/i915/ringbuffer: change header SPDX identifier to MIT drm/i915: change i915_sw_fence license to MIT Jonathan Marek (10): drm/msm/mdp4: only use lut_clk on mdp4.2+ drm/msm/mdp4: allocate blank_cursor_no with MSM_BO_SCANOUT flag drm/msm: use contiguous vram for MSM_BO_SCANOUT when possible drm/msm/adreno: add a2xx drm/msm/mdp5: add config for msm8917 drm/msm: set priv->kms to NULL before uninit drm/msm: implement a2xx mmu drm/msm/mdp4: add lcdc-align-lsb flag to control lane alignment dt-bindings: display: msm/gpu: document amd,imageon compatible drm/msm: add headless gpu device for imx5 Joonas Lahtinen (4): drm/i915: Drop rpm wakeref on error in debugfs/i915_drop_caches_set Revert "drm/i915/perf: add a parameter to control the size of OA buffer" Revert "drm/i915/perf: Fix warning in documentation" drm/i915: Hide enable_gvt modparam when not compiled in Jordan Crouse (29): drm/msm/gpu: Allocate the correct size for the GPU memptrs drm/msm: Gracefully handle failure in _msm_gem_kernel_new drm/msm/gpu: Add per-submission statistics drm/msm/gpu: Add trace events for tracking GPU submissions drm/msm/gpu: Only store local command buffers in the GPU state drm/msm/gpu: Move gpu_poll_timeout() to adreno_gpu.h drm/msm/adreno: Don't capture register values if target doesn't define them drm/msm/a6xx: Add a6xx gpu state drm/msm/a6xx: Track and manage a6xx state memory drm/msm: Add a common function to free kernel buffer objects drm/msm: Remove sgt from the mmu unmap function drm/msm: Split msm_gem_get_iova into two steps drm/msm: Clean up and enhance the output of the 'gem' debugfs node drm/msm: Add msm_gem_get_and_pin_iova() drm/msm: Count how many times iova memory is pinned drm/msm: Add a name field for gem objects drm/msm/gpu: Map the ringbuffer in the iova at create time drm/msm/a6xx: Use new kernel API free function for gpu state drm/msm/a6xx: Add a name for the crashdumper buffer drm/msm/dpu: Remove dpu_dbg drm/msm/dpu: Remove dpu_crtc_get_mixer_height drm/msm/dpu: Remove dpu_crtc_is_enabled() drm/msm/dpu: Remove unused functions drm/msm/dpu: Cleanup callers of dpu_hw_blk_init drm/msm: Make irq_postinstall optional drm/msm/dpu: Remove dpu_irq and unused functions drm/msm/dpu: Cleanup the debugfs functions drm/msm/dpu: Further cleanups for static inline functions drm/msm/dpu: Clean up dpu_media_info.h static inline functions Joshua Aberback (2): drm/amd/display: Adjust stream enable sequence drm/amd/display: Remove unused panel patch "disconnect_delay" José Roberto de Souza (39): drm/i915/runtime_pm: Share code to enable/disable PCH reset handshake drm/i915: Unset reset pch handshake when PCH is not present in one place drm/i915: Do not modifiy reserved bit in gens that do not have IPC drm/i915: Move SKL IPC WA to HAS_IPC() drm/i915: Move IPC WA #1141 to init_ipc() drm/i915: Remove duplicated definition of intel_update_rawclk drm/i915/psr: Share PSR and PSR2 exit mask drm/i915/psr: Make MASK_DISP_REG_WRITE reserved in PSR_MASK for ICL drm/i915/psr: Remove PSR2 TODO error handling drm/i915/psr: Use WA to force HW tracking to exit PSR2 drm/i915/psr: Remove alpm from i915_psr drm: Do not call drm_dp_cec_set_edid() while registering DP connectors drm/i915/aml: Add new Amber Lake PCI ID drm/i915/debugfs: Do not print cached information of a disconnected sink drm/i915/icl: Set TC type to unknown in the disconnection flow drm/i915/icl: Set TC type to unknown when a sudden disconnection happen drm/i915: Initialize panel_vdd_work only for eDP ports drm/i915/icl: Fix crash when getting DPLL of a MST encoder in TC ports drm/i915: Move drm_vblank_init() to i915_load_modeset_init() drm/i915: Move FBC init and cleanup calls to modeset functions drm/i915: Move intel_init_ipc() call to i915_load_modeset_init() drm/i915: Keep overlay functions naming consistent drm/i915: Reuse the aux_domain cached drm/i915: Release DDI power well references in MST ports drm/i915/mst: Drop pre_pll_enable null check drm/i915/psr: Use intel_psr_exit() in intel_psr_disable_source() drm/i915/psr: Always wait for idle state when disabling PSR drm/i915/icl: Reset PSR interruptions drm/i915/psr: Move intel_psr_disable_source() code to intel_psr_disable_locked() drm/i915/ilk: Fix warning when reading emon_status with no output drm/i915: Avoid a full port detection in the first eDP short pulse drm/i915: Check PSR errors instead of retrain while PSR is enabled drm/i915: Do not enable PSR in the next modeset after a error drm/i915: Disable PSR when a PSR aux error happen drm/i915: Keep PSR disabled after a driver reload after a PSR error drm/i915/hsw: Drop the stereo 3D enabled check in psr_compute_config() drm/i915/psr: Get pipe id following atomic guidelines drm/i915: Add HAS_DISPLAY() and use it drm/i915: Move display device info capabilities to its own struct Juha-Pekka Heikkila (1): drm/i915: Enable RGB565 90/270 plane rotation for gen11 onwards. Julia Lawall (1): drm/imx: imx-tve: constify clk_ops structure Jun Lei (2): drm/amd/display: make underflow status clear explicit drm/amd/display: clear underflow on optc unblank Junwei Zhang (2): drm/amdgpu: disable page queue on SDMA for Vega12 drm/amdgpu: fix gfx wptr for sdma v4 Jyoti Yadav (2): drm/i915/csr: Added ICL Stepping info drm/i915/csr Added DC5 and DC6 counter register for ICL in debugfs entry. Kieran Bingham (1): drm: rcar-du: Enable alpha property on primary planes Koen Kooi (1): drm/meson: Add implicit fencing support for primary and overlay planes Krunoslav Kovac (3): drm/amd/display: Set gamma not working on MPO planes drm/amd/display: Remove program_csc_matrix drm/amd/display: Fix spelling of axis in modules/color/color_gamma.c Kuehling, Felix (2): drm/amdgpu: Workaround build failure due to trace conflict drm/amdgpu: Fix stub function name Kuo-Hsin Yang (1): mm, drm/i915: mark pinned shmemfs pages as unevictable Laurent Pinchart (6): drm: rcar-du: Fix typo in comment drm: rcar-du: Fix vblank initialization dt-bindings: display: renesas: lvds: Document r8a77965 bindings drm: rcar-du: lvds: Add R8A77965 support drm: rcar-du: Fix external clock error checks drm: rcar-du: Reject modes that fail CRTC timing requirements Lee, Shawn C (2): drm/i915: Add new AML_ULX support list drm/i915: Apply correct ddi translation table for AML device Leo Li (3): drm/amd/display: Initial documentation for AMDgpu DC drm/amd: Update atom_smu_info_v3_3 structure drm/amd/include: Add mmhub 9.4 reg offsets and shift-mask Lewis Huang (1): drm/amd/display: Add condition to sync eDP SW status and HW status Likun Gao (3): drm/amdgpu: unify rlc function into structure drm/amdgpu: separate amdgpu_rlc into a single file drm/amdgpu: abstract the function of enter/exit safe mode for RLC Linus Walleij (5): drm: dsi: Add lane clock rate fields to DSI device drm/panel: Add DT bindings for Samsung S6D16D0 drm/panel: Add driver for Samsung S6D16D0 panel drm/panel: Add simple panel mode for the ARM RTSM drm/panel: Augment the TPO TPG110 bindings Lionel Landwerlin (6): drm/i915/perf: update generated files headers drm/i915/perf: remove redundant oa buffer initialization drm/i915/perf: pass stream to vfuncs when possible drm/i915/perf: add a parameter to control the size of OA buffer drm/i915/perf: Fix warning in documentation drm/i915: fix broadwell EU computation Lucas De Marchi (7): drm/i915/icl: apply Display WA #1178 to fix type C dongles drm/i915/icl: Introduce new macros to get combophy registers drm/i915/icl: replace check for combo phy drm/i915/icl: reverse uninit order drm/i195: spell out reverse on for_each macros drm/i915: allow to load DMC firmware on next gen drm/i915: Downgrade unknown CSR firmware warnings Lukasz Spintzyk (1): drm: Add a new plane property to send damage during plane update Lyude Paul (20): drm/atomic_helper: Disallow new modesets on unregistered connectors drm/i915: Don't unset intel_connector->mst_port drm/i915: Skip vcpi allocation for MSTB ports that are gone drm/i915: Fix intel_dp_mst_best_encoder() drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors drm/nouveau: Fix nv50_mstc->best_encoder() drm/atomic_helper: Stop modesets on unregistered connectors harder drm/dp_mst: Deprecate drm_dp_find_vcpi_slots() drm/dp_mst: Remove all evil duplicate state pointers drm/i915: Fix possible race in intel_dp_add_mst_connector() drm/i915: Fix NULL deref when re-enabling HPD IRQs on systems with MST drm/i915: Fix threshold check in intel_hpd_irq_storm_detect() drm/i915: Clarify flow for disabling IRQs on storms drm/i915: Add short HPD IRQ storm detection for non-MST systems drm/amd/amdgpu/dm: Fix dm_dp_create_fake_mst_encoder() drm/i915: Synchronize hpd work in i915_hpd_storm_ctl_show() drm/nouveau: Add strap_peek to debugfs drm/nouveau: Add size to vbios.rom file in debugfs drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume() drm/nouveau/drm/nouveau: Don't forget to label dp_aux devices Maarten Lankhorst (42): drm/i915: Clean up casts to crtc_state in intel_atomic_commit_tail() drm/i915: Handle cursor updating active_planes correctly, v2. drm/i915: Unconditionally clear plane visibility, v2. drm/i915: Make intel_crtc_disable_planes() use active planes mask. drm/i915: Replace call to commit_planes_on_crtc with internal update, v2. drm/i915: Clean up scaler setup, v2. drm/i915: Move programming plane scaler to its own function. drm/i915: Force planar YUV coordinates to be a multiple of 2, v2. drm/i915: Add plane alpha blending support, v2. drm/i915: Remove dereferences of crtc->config in set_pipeconf/misc functions, v2. drm/i915: Make panel fitter functions take state drm/i915: Make intel_set_pipe_timings/src_size take a pointer to crtc_state drm/i915: Use crtc_state in ironlake_enable_pch_transcoder drm/i915: Make skl_detach_scalers take crtc_state drm/i915: Make pll functions take crtc_state, v2. drm/i915: Make shared dpll functions take crtc_state, v3. drm/i915: Make ironlake_pch_transcoder_set_timings take crtc_state drm/i915: Get rid of crtc->config from icl_pll_to_ddi_pll_sel drm/i915: Use crtc->state in intel_fbdev_init_bios drm/i915: Get rid of crtc->config dereference in intel_dp_retrain_link drm/i915: Get rid of crtc->config in chv_data_lane_soft_reset drm/i915: Get rid of intel_crtc->config in crtc_enable/disable functions, v2. drm/i915: Make intel_dp_set_m_n take crtc_state drm/i915: Remove crtc->config references in vlv_prepare_pll drm/i915: Always read out M2_N2 in intel_cpu_transcoder_get_m_n, v2. drm/i915: Pass crtc_state to update_scanline_offset drm/i915: Remove crtc->config dereferences in intel_sanitize_crtc drm/i915: Remove crtc->config dereferences in intel_modeset_setup_hw_state drm/i915: Pass crtc_state to lpt_program_iclkip drm/i915: Pass crtc_state to ivybridge_update_fdi_bc_bifurcation drm/i915: Remove crtc->config dereference from drrs_ctl drm/i915: Fix unsigned overflow when calculating total data rate, v2. drm/i915/gen11: Enable 6 sprites on gen11 drm/i915/gen11: Link nv12 Y and UV planes in the atomic state, v5. drm/i915/gen11: Handle watermarks correctly for separate Y/UV planes, v2. drm/i915/gen11: Program the scalers correctly for planar formats, v3. drm/i915/gen11: Program the chroma upsampler for HDR planes. drm/i915/gen11: Program the Y and UV plane for planar mode correctly, v3. drm/i915/gen11: Expose planar format support on gen11, v2. Merge remote-tracking branch 'drm/drm-next' into drm-misc-next drm/i915: Fix plane allocation/free functions Merge remote-tracking branch 'drm/drm-next' into drm-misc-next Madhav Chauhan (53): drm/i915/icl: Configure lane sequencing of combo phy transmitter drm/i915/icl: DSI vswing programming sequence drm/i915/icl: Enable DDI Buffer drm/i915/icl: Program T_INIT_MASTER registers drm/i915/icl: Define data/clock lanes dphy timing registers drm/i915/icl: Define TA_TIMING_PARAM registers drm/i915/icl: Make common DSI functions available drm/i915/icl: Program DSI clock and data lane timing params drm/i915/icl: Program TA_TIMING_PARAM registers drm/i915/icl: Get DSI transcoder for a given port drm/i915/icl: Add macros for MMIO of DSI transcoder registers drm/i915/icl: Define TRANS_DSI_FUNC_CONF register drm/i915/icl: Configure DSI transcoders drm/i915/icl: Define TRANS_DDI_FUNC_CTL DSI registers drm/i915/icl: Program TRANS_DDI_FUNC_CTL registers drm/i915/icl: Define DSI transcoder timing registers drm/i915/icl: Configure DSI transcoder timings drm/i915/icl: Define TRANS_CONF register for DSI drm/i915/icl: Enable DSI transcoders drm/i915/icl: Define DSI panel programming registers drm/i915/icl: Move dsi host init code to common file drm/i915/dsi: move connector mode functions to common file drm/i915/icl: Set max return packet size for DSI panel drm/i915/icl: Power on DSI panel drm/i915/icl: Wait for header/payload credits release drm/i915/icl: Turn ON panel backlight drm/i915/icl: Turn OFF panel backlight drm/i915/icl: Disable DSI transcoders drm/i915/icl: Power down DSI panel drm/i915/icl: Put DSI link in ULPS drm/i915/icl: Disable DDI function drm/i915/icl: Disable portsync mode drm/i915/icl: Disable DSI ports drm/i915/icl: Disable DSI IO power drm/i915/icl: Define DSI timeout registers drm/i915/icl: Program HS_TX_TIMEOUT/LP_RX_TIMEOUT/TA_TIMEOUT registers drm/i915/icl: Add DSI packet payload/header registers drm/i915/icl: Find DSI presence for ICL drm/i915/icl: Don't wait for empty FIFO drm/i915/icl: Calculate DPLL params for DSI drm/i915/icl: Allocate DSI encoder/connector drm/i915/icl: Fill DSI ports info drm/i915/icl: Allocate DSI hosts and imlement host transfer drm/i915/icl: Get HW state for DSI encoder drm/i915/icl: Add DSI encoder compute config hook drm/i915/icl: Configure DSI Dual link mode drm/i915/icl: Consider DSI for getting transcoder state drm/i915/icl: Get pipe timings for DSI drm/i915/icl: Define missing bitfield for shortplug reg drm/i915/icl: Define Panel power ctrl register drm/i915/icl: Define display GPIO pins for DSI drm/i915/icl: Gate clocks for DSI drm/i915/icl: Ungate DSI clocks Mahesh Kumar (6): drm/i915: use for_each_pipe loop to assign crtc_mask drm/i915/icl: enable SAGV for ICL platform drm/i915/icl: create function to identify combophy port drm/i915/icl: use combophy/TC helper functions during display detection drm/i915/icl: Combine all port/combophy macros at one place drm/i915/icl: Fix DDI/TC port clk_off bits Mamta Shukla (3): drm: Shift * to be adjacent to pointer name drm: msm: adreno: Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) +PTR_ERR drm: msm: Use DRM_DEV_* instead of dev_* Manasi Navare (27): drm: Fix kernel doc for DRM_MODE_PROP_IMMUTABLE drm/i915/dp: Link train Fallback on eDP only if fallback link BW can fit panel's native mode drm/dp: Add definitions for eDP Rev 1.4a and 1.4b drm/dp: Add DP DSC DPCD receiver capability size define and missing SHIFT drm/i915/dp: Cache the DP/eDP DSC DPCD register set on Hotplug/eDP Init drm/dp: DRM DP helper/macros to get DP sink DSC parameters drm/i915/dp: Add helpers for Compressed BPP and Slice Count for DSC drm/i915/dp: Validate modes using max Output BPP and slice count when DSC supported drm/dp: Define payload size for DP SDP PPS packet drm/i915/icl: Fix the macros for DFLEXDPMLE register bits drm/i915/ICL: Add pre_pll_enable hook for ICL and set DFLEXDPMLE in this hook drm/dsc: Modify DRM helper to return complete DSC color depth capabilities drm/dsc: Define Display Stream Compression PPS infoframe drm/dsc: Define VESA Display Stream Compression Capabilities drm/dsc: Add helpers for DSC picture parameter set infoframes drm/dsc: Define the DSC 1.1 and 1.2 Line Buffer depth constants drm/i915/dp: Add DSC params and DSC config to intel_crtc_state drm/i915/dp: Compute DSC pipe config in atomic check drm/i915/dp: Do not enable PSR2 if DSC is enabled drm/i915/dsc: Add a power domain for VDSC on eDP/MIPI DSI drm/i915/dp: Configure i915 Picture parameter Set registers during DSC enabling drm/i915/dp: Use the existing write_infoframe() for DSC PPS SDPs drm/i915/dp: Populate DSC PPS SDP and send PPS infoframes drm/i915/dp: Configure Display stream splitter registers during DSC enable drm/i915/dp: Disable DSC in source by disabling DSS CTL bits drm/i915/dsc: Enable and disable appropriate power wells for VDSC drm/i915/dp: Fix link compute m_n calc for DSC Marco Felsch (1): drm/panel: simple: Add DLC1010GIG panel Marek Olšák (2): drm/amdgpu: put HQD EOP buffers into VRAM drm/amdgpu: increase the size of HQD EOP buffers Matthew Auld (1): drm/i915/selftest: test aligned offsets for 64K Matthew Wilcox (4): drm/virtio: Replace IDRs with IDAs drm/virtio: Handle context ID allocation errors drm/virtio: Handle error from virtio_gpu_resource_id_get drm/virtio: Use IDAs more efficiently Matthias Kaehlcke (1): dt-bindings: msm/dsi: Add ref clock for PHYs Maxime Jourdan (2): dt-bindings: display: amlogic, meson-vpu: Add optional canvas provider node drm/meson: Use optional canvas provider Maxime Ripard (2): drm/sun4i: hdmi: Fix unitialized variable drm/sun4i: hdmi: Fix double flag assignation Michal Wajdeczko (5): drm/i915: Fix i915_driver_init_mmio error path drm/i915: Inject load failure inside intel_engines_init_mmio drm/i915/guc: Fix Gen9 GuC loading workarounds drm/i915/huc: Normalize HuC status returned by I915_PARAM_HAS_HUC drm/i915/guc: Limit number of scratch registers used for H2G Mika Kuoppala (6): drm/i915/gen8: Disable master intr before reading drm/i915/icl: No need to ack intr through master control drm/i915/icl: Disable master intr before reading drm/i915/icl: Drop spurious register read from icl_dbuf_slices_update drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA drm/i915: Fix icl workarounds whitespaces Murton Liu (1): drm/amd/display: fix gamma not being applied correctly Neil Armstrong (6): drm/meson: Support Overlay plane for video rendering drm/meson: move OSD scaler management into plane atomic update drm/meson: Add primary plane scaling drm/meson: Add HDMI 1.4 4k modes drm/meson: Add support for VIC alternate timings drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs Nevenko Stupar (4): drm/amd/display: expose hwseq functions and add registers drm/amd/display: Add missing pipes registers for VGA enable/disable drm/amd/display: expose dentist_get_divider_from_did drm/amd/display: Re-arrange GFX9 fields Nicholas Kazlauskas (16): drm/amdgpu: Add DCC flags for GFX9 amdgpu_bo drm/amd/display: Guard against null stream_state in set_crc_source drm/amdgpu: Add amdgpu "max bpc" connector property (v2) drm/amd/display: Support amdgpu "max bpc" connector property (v2) drm/amd/display: Use private obj helpers for dm_atomic_state drm: Add vrr_capable property to the drm connector drm: Add vrr_enabled property to drm CRTC drm: Document variable refresh properties drm/amdgpu: Correct get_crtc_scanoutpos behavior when vpos >= vtotal drm/amdgpu: Set FreeSync state using drm VRR properties drm/amd/display: Fix NULL ptr deref for commit_planes_to_stream drm/amd/display: Copy crc_enabled when duplicating dm_crtc_state Revert "drm/amd/display: Set RMX_ASPECT as default" drm/amd/display: Fix unintialized max_bpc state values drm/amd/display: Fix duplicating scaling/underscan connector state drm/amd/display: Add fast path for cursor plane updates Nickey Yang (2): drm/rockchip: dsi: migrate to use dw-mipi-dsi bridge driver drm/bridge/synopsys: dsi: add dual-dsi support Nikola Cornij (1): drm/amd/display: Consolidate two-pixels-per-container check Noralf Trønnes (14): drm/meson: Use drm_fbdev_generic_setup() drm/stm: Use drm_fbdev_generic_setup() drm/arc: Use drm_fbdev_generic_setup() drm/fsl-dcu: Use drm_fbdev_generic_setup() drm/atmel-hlcdc: Use drm_fbdev_generic_setup() drm/sun4i: Use drm_fbdev_generic_setup() drm/tilcdc: Use drm_fbdev_generic_setup() drm/driver: Add defaults for .gem_prime_export/import callbacks drm/prime: Add drm_gem_prime_mmap() drm/gem: Add drm_gem_object_funcs drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS drm/tinydrm: Use DRM_GEM_CMA_VMAP_DRIVER_OPS drm/prime: Fix drm_gem_prime_mmap() stack use drm/rcar-du: Use drm_fbdev_generic_setup() Oak Zeng (10): drm/amdgpu: Added a few comments for gart drm/amdgpu: Add field in amdgpu_dev to hold reserved doorbell index drm/amdgpu: Add asic func interface to init doorbell index drm/amdgpu: Vega10 doorbell index initialization drm/amdgpu: Doorbell index initialization for ASICs before vega10 drm/amdgpu: Doorbell layout for vega20 and future asic drm/amdgpu: Call doorbell index init on device initialization drm/amdgpu: Use asic specific doorbell index instead of macro definition drm/amdgpu: Move doorbell structures to seperate file drm/amdgpu: Fix num_doorbell calculation issue Oscar Mateo (2): drm/i915/icl: WaAllowUMDToModifyHalfSliceChicken7 drm/i915/icl: WaAllowUMDToModifySamplerMode Paul Kocialkowski (22): drm/sun4i: tcon: Pass encoder to RGB setup function drm/sun4i: tcon: Get the connector from the encoder in RGB setup drm/sun4i: tcon: Support an active-low DE signal with RGB interface drm/sun4i: Cleanup video/YUV source before enabling a layer drm/sun4i: frontend: Replace ARGB with XRGB as supported format drm/sun4i: Add TODO comment about supporting scaling with the backend drm/sun4i: backend: Add a helper and a list for supported formats drm/sun4i: frontend: Add a helper and a list for supported formats drm/sun4i: backend: Refine the logic behind using the frontend drm/sun4i: backend: Use a specific function to check if a plane is supported drm/sun4i: backend: Avoid counting YUV planes that use the frontend drm/sun4i: Rename sun4i_backend_layer_formats to sun4i_layer_formats drm/sun4i: frontend: Move CSC bypass setup to format update routine drm/sun4i: frontend: Add helpers for input data mode and pixel sequence drm/sun4i: frontend: Add proper definitions for format registers drm/sun4i: frontend: Determine input mode based on the number of planes drm/sun4i: frontend: Add support for the BGRX8888 input format drm/sun4i: backend: Detail the YUV to RGB values coding explanation drm/sun4i: frontend: Apply format sub-sampling to CH1 dimensions drm/sun4i: Make pitch even for GEM dumb alloc as per hardware constraint drm/sun4i: frontend: Add support for the BGRX8888 output format drm/sun4i: Pass modifier to backend and frontend format support helpers Paulo Zanoni (10): drm/i915: DRM_FORMAT_C8 is not possible with Yf tiling drm/i915: fix the transition minimums for gen9+ watermarks drm/i915: fix the watermark result selection on glk/gen10+ drm/i915: transition WMs ask for Selected Result Blocks drm/i915: don't write PLANE_BUF_CFG twice every time drm/i915: promote ddb update message to DRM_DEBUG_KMS drm/i915: remove padding from struct skl_wm_level drm/i915/cnp+: update to the new RAWCLK_FREQ recommendations drm/i915: rename CNP_RAWCLK_FRAC to CNP_RAWCLK_DEN drm/i915: add ICP support to cnp_rawclk() and kill icp_rawclk() Philip Yang (4): drm/amdgpu: fix sdma v4 ring is disabled accidently drm/amdgpu: fix typo in function sdma_v4_0_page_resume drm/amdgpu: enable paging queue doorbell support v4 drm/amdgpu: enable paging queue based on FW version (v2) Philipp Zabel (15): gpu: ipu-v3: ipu-ic: allow to manually set resize coefficients gpu: ipu-v3: image-convert: prepare for per-tile configuration gpu: ipu-v3: image-convert: calculate per-tile resize coefficients gpu: ipu-v3: image-convert: reconfigure IC per tile gpu: ipu-v3: image-convert: store tile top/left position gpu: ipu-v3: image-convert: calculate tile dimensions and offsets outside fill_image gpu: ipu-v3: image-convert: move tile alignment helpers gpu: ipu-v3: image-convert: select optimal seam positions gpu: ipu-v3: image-convert: fix debug output for varying tile sizes gpu: ipu-v3: image-convert: relax alignment restrictions gpu: ipu-v3: image-convert: fix bytesperline adjustment gpu: ipu-v3: image-convert: add some ASCII art to the exposition gpu: ipu-v3: image-convert: disable double buffering if necessary gpu: ipu-v3: image-convert: allow three rows or columns drm/imx: ipuv3-plane: add IDMAC timeout warning Qiang Yu (1): drm/sun4i: wait on implicit fence before display Radhakrishna Sripada (5): drm/i915/icl: Add Wa_1406609255 drm/i915/icl: Add WaEnable32PlaneMode drm/i915/icl: Implement Display WA_1405510057 drm: Add connector property to limit max bpc drm/i915: Allow "max bpc" property to limit pipe_bpp Ramalingam C (9): drm/i915: Pullout the bksv read and validation drm/i915: hdcp_check_link only on CP_IRQ drm/i915/debugfs: hdcp capability of a sink drm/i915: Move the DDC/AUX failure msgs to debug log drm/i915: wrapping all hdcp var into intel_hdcp drm/i915: Reassigning log level for HDCP failures drm: hdcp2.2 authentication msg definitions drm: HDMI and DP specific HDCP2.2 defines drm/i915: Define Intel HDCP2.2 registers Rex Zhu (11): drm/amdgpu: Reverse the sequence of ctx_mgr_fini and vm_fini in amdgpu_driver_postclose_kms drm/amdgpu: Remove useless csa gpu address in vmid0 drm/amdgpu: Refine CSA related functions drm/amdgpu: Move csa related code to separate file drm/amdgpu: Change AMDGPU_CSA_SIZE to 128K drm/amdgpu: Modify the argument of emit_ib interface drm/amdgpu: Refine function name drm/amdgpu: Add helper function to get sdma index drm/amdgpu: Remove dead static variable drm/amdgpu: Fix static checker warning drm/amdgpu: Limit vm max ctx number to 4096 Rob Clark (6): drm: Add helper to implement legacy dirtyfb drm/msm: update generated headers drm/msm/gpu: add submit flag to hint which buffers should be dumped drm/msm: rework GEM_INFO ioctl drm/msm: add uapi to get/set debug name drm/msm: bump UAPI version Rob Herring (1): drm: Convert to using %pOFn instead of device_node.name Robert Foss (3): drm/virtio: add virtio_gpu_alloc_fence() drm/virtio: add uapi for in and out explicit fences drm/virtio: add in/out fence support for explicit synchronization Rodrigo Vivi (16): drm/i915: Redefine some Whiskey Lake SKUs drm/i915/icl: MBUS B credit change drm/i915/icl: Fix signal_levels drm/i915: ddi_clock_get sort platforms newer-to-older. drm/i915: compute_min_voltage_level sort platforms newer-to-older drm/i915: digital_port_connected sort platforms newer-to-older drm/i915: power_domains_init sort platforms newer-to-older drm/i915: uncore_fw_domains_init sort platforms newer-to-older drm/i915: Prefer IS_GEN check with bitmask. drm/i915: Kill GEN_FOREVER drm/i915/glk: Remove 99% limitation. drm/i915: Simplify has_sagv function drm/i915: Kill WA 0528 drm/i915: Kill WA 0826 drm/i915: Define WA 0870 and kill dead code. drm/i915: Remove CNL from WA 827 Roman Li (1): drm/amd/display: Fix 6x4K displays light-up on Vega20 Sabyasachi Gupta (1): gpu/drm/virtio/virtgpu_vq.c: Use kmem_cache_zalloc Samuel Pitoiset (1): drm/amdgpu: print an error when the parser can't be initialized Satendra Singh Thakur (1): drm/fsl-dcu: use drm_display_mode_to_videomode to calculate timing parameters Sean Paul (45): Merge drm/drm-next into drm-misc-next drm: Fix doc warning in drm_connector_attach_edid_property() drm: Clear state->acquire_ctx before leaving drm_atomic_helper_commit_duplicated_state() drm: Move drm_mode_setcrtc() local re-init to failure path drm: Move atomic_state_put after locks are dropped drm: Add DRM_MODESET_LOCK_BEGIN/END helpers drm: TODO: Add DRM_MODESET_LOCK_ALL* conversion to todo.rst Documentation: drm: Remove dangling pointer from drm-mm.rst Merge drm/drm-next into drm-misc-next drm: Fix compiler warning in drm_atomic_helper.c drm/msm: dpu: Add tracing around CTL_FLUSH drm/msm: Remove dpu_encoder_phys_ops->hw_reset() drm/msm: dpu: Remove unused functions from msm_media_info.h drm/msm: dpu: Remove _dpu_encoder_power_enable() drm/msm: dpu: Remove 'inline' from several functions drm/msm: dpu: Remove empty/useless labels drm/msm: dpu: Clean up _dpu_core_video_mode_intf_connected() drm/msm: dpu: Remove checks from dpu_plane_destroy_state() drm/msm: dpu: Only check flush register against pending flushes drm/msm: dpu: Make legacy cursor updates asynchronous drm/msm: dpu: Allocate proper amount for dpu_crtc_state drm/msm: dpu: Remove dpu_power_handle_get_dbus_name() drm/msm: dpu: Remove unused trace_dpu_perf_update_bus() drm/msm: dpu: Remove dpu_power_client drm/msm: dpu: Don't use power_event for vbif_init_memtypes drm/msm: dpu: Handle crtc pm_runtime_resume() directly drm/msm: dpu: Remove power_handle from core_perf drm/msm: dpu: Include dpu_io_util.h directly in dpu_kms.h drm/msm: dpu: Move DPU_POWER_HANDLE_DBUS_ID to core_perf drm/msm: dpu: Remove dpu_power_handle drm/msm: dpu: Fix typo in dpu_encoder drm/msm: dpu: Add ->enabled to dpu_encoder_virt drm/msm: dpu: Move crtc runtime resume to encoder drm/msm: dpu: Don't drop locks in crtc_vblank_enable drm/msm: dpu: Grab the modeset locks in frame_event drm/msm: dpu: Stop using encoder->crtc pointer drm/msm: dpu: Add modeset lock checks where applicable drm/msm: dpu: Move pm_runtime_(get|put) from vblank_enable drm/msm: dpu: Remove crtc_lock from setup_mixers drm/msm: dpu: Remove vblank_callback from encoder drm/msm: dpu: Use atomic_disable for dpu_crtc_disable drm/msm: dpu: Don't bother checking ->enabled in dpu_crtc_vblank drm/msm: dpu: Separate crtc assignment from vblank enable drm/msm: dpu: Remove vblank_requested flag from dpu_crtc drm/msm: dpu: Remove crtc_lock Shaokun Zhang (1): drm/amd/display: Fix misleading buffer information Sharat Masetty (4): drm/scheduler: Add drm_sched_job_cleanup drm/scheduler: Set sched->thread to NULL on failure drm/scheduler: Add drm_sched_suspend/resume_timeout() drm/msm: Optimize adreno_show_object() Shashank Sharma (8): drm/i915: Introduce CRTC output format drm/i915: Add CRTC output format YCBCR 4:2:0 drm/i915: Add CRTC output format YCBCR 4:4:4 drm/i915: Check LSPCON vendor OUI drm/i915: Add AVI infoframe support for LSPCON drm/i915: Write AVI infoframes for MCA LSPCON drm/i915: Write AVI infoframes for Parade LSPCON drm/i915: Add YCBCR 4:2:0/4:4:4 support for LSPCON Shayenne da Luz Moura (7): drm/qxl: Remove trailing whitespace drm/qxl: Add line after variable declarations drm/qxl: Remove exceding whiteline drm/qxl: Use 'unsigned int' instead of 'usigned' drm/qxl: Add space before open parentheses drm/qxl: Use 'unsigned int' instead of 'bool' drm: Remove 80-column line in drm_mode_object.c Shirish S (2): drm/amdgpu: log smu version Revert "drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD" Sinclair Yeh (1): MAINTAINERS: Update vmwgfx maintainers SivapiriyanKumarasamy (7): drm/amd/display: Add support for Freesync 2 HDR and Content to Display Mapping drm/amd/display: dc 3.2.02 drm/amd/display: Fix incorrect end slope of EETF drm/amd/display: Remove stream_res tg null check in commit planes drm/amd/display: 3.2.03 drm/amd/display: Clip all remaining regamma points after first clipped point drm/amd/display: Program dithering if requested Souptick Joarder (2): drm/rcar-du: Convert drm_atomic_helper_suspend/resume() drm/drm_pci.c: Use dma_zalloc_coherent Srivatsa, Anusha (1): drm/dsc: Define Rate Control values that do not change over configurations Stanislav Lisovskiy (1): drm: Introduce new DRM_FORMAT_XYUV Stefan Agner (1): drm/fsl-dcu: drop unused drm_crtc_index() Stefan Mavrodiev (1): drm/panel: Add support for Olimex LCD-OLinuXino panel Steve Longerbeam (7): gpu: ipu-cpmem: add WARN_ON_ONCE() for unaligned dma buffers gpu: ipu-v3: Add chroma plane offset overrides to ipu_cpmem_set_image() gpu: ipu-v3: image-convert: Prevent race between run and unprepare gpu: ipu-v3: image-convert: Only wait for abort completion if active run gpu: ipu-v3: image-convert: Allow reentrancy into abort gpu: ipu-v3: image-convert: Remove need_abort flag gpu: ipu-v3: image-convert: Catch unaligned tile offsets Steven Chiu (5): drm/amd/display: 3.2.04 drm/amd/display: 3.2.05 drm/amd/display: 3.2.06 drm/amd/display: 3.2.07 drm/amd/display: 3.2.08 Thierry Reding (12): gpu: host1x: Resize channel register region on Tegra186 and later gpu: host1x: Fix syncpoint ID field size on Tegra186 drm/tegra: vic: Implement explicit reset support drm/tegra: falcon: Fix error handling drm/tegra: falcon: Wait for memory scrubbing to complete gpu: host1x: Add Tegra194 support drm/tegra: vic: Add Tegra194 support drm/tegra: hub: Enable all required clocks drm/tegra: dc: Don't clean up unused display controller drm/tegra: sor: Support for audio over HDMI drm/tegra: sor: Remove temporary workaround drm/tegra: sor: Reset the SOR if possible Thomas Hellstrom (4): drm/vmwgfx: Fix vmw_du_cursor_plane_atomic_check drm/vmwgfx: Fix up the implicit display unit handling drm/vmwgfx: Fix a layout race condition drm/vmwgfx: Use the standard atomic helpers for page-flip Thomas Zimmermann (8): drm/atmel-hlcdc: Replace drm_dev_unref with drm_dev_put drm/zte: Replace drm_dev_unref with drm_dev_put drm/bochs: Replace drm_gem_object_unreference_unlocked with put function drm/ttm: Rename ttm_bo_global_{init,release}() to ttm_bo_global_ref_{,}() drm/ttm: Provide ttm_bo_global_{init/release}() for struct ttm_bo_global drm: Remove drm_global.{c,h} v2 drm/rcar-du: Replace drm_dev_unref with drm_dev_put drm/shmobile: Replace drm_dev_unref with drm_dev_put Tiecheng Zhou (1): drm/amdgpu: bypass RLC init under sriov for Tonga (v2) Trigger Huang (3): drm/ttm: Fix bo_global and mem_global kfree error drm/amdgpu: disable page queue on Vega10 SR-IOV VF drm/scheduler: Fix bad job be re-processed in TDR Tvrtko Ursulin (15): drm/i915: Trim partial view sg lists drm/i915: Log HWS seqno consistently drm/i915: GEM_WARN_ON considered harmful drm/i915/icl: Store available engine masks in INTEL_INFO drm/i915: Remove whitelist application from ringbuffer backend drm/i915/icl: Remove Wa_1604302699 drm/i915/selftests: Extract spinner code drm/i915/selftests: Fix live_workarounds to actually do resets drm/i915: Record GT workarounds in a list drm/i915: Introduce per-engine workarounds drm/i915: Verify GT workaround state after GPU init drm/i915/selftests: Add tests for GT and engine workaround verification drm/i915: Move register white-listing to the common workaround framework drm/i915: Fuse per-context workaround handling with the common framework drm/i915: Trim unused workaround list entries Uma Shankar (2): drm/i915/icl: Define Plane Input CSC Coefficient Registers drm/i915/icl: Enable Plane Input CSC for YUV to RGB Conversion Vandita Kulkarni (5): drm/i915/icl: Refactor get_ddi_pll using helper func drm/i915/icl: Use helper functions to classify the ports drm/i915/icl: Refactor icl pll functions drm/i915/icl: Use the same pll functions for dsi drm/i915/icl: Add get config functionality for DSI Ville Syrjälä (78): drm/i915: Check fb stride against plane max stride video/hdmi: Constify 'buffer' to the unpack functions video/hdmi: Pass buffer size to infoframe unpack functions video/hdmi: Constify infoframe passed to the log functions drm/i915: Use memmove() for punching the hole into infoframes drm/i915: Pass intel_encoder to infoframe functions video/hdmi: Constify infoframe passed to the pack functions drm/i915: Provide more clues as to why MST is/is not used drm/i915: Restore vblank interrupts earlier drm/i915: Use the correct crtc when sanitizing plane mapping drm/i915: Clean up early plane debugs drm/i915: Fix ILK-IVB sprite enable delays drm/i915: Constify all plane_funcs structs drm/i915: Populate possible_crtcs for primary/cursor planes drm/i915: Don't populate plane->i9xx_plane for sprites drm/i915: Allow horizontal mirroring for cnl+ "sprite" planes drm/i915: Disallow plane scaling with specific pixel formats drm/i915: Add missing pixel formats for skl+ "sprites" drm/i915: Move plane_state->scaler_id initialization into intel_create_plane_state() drm/i915: Introduce intel_plane_alloc() drm/i915: Extract skl_universal_plane_init() drm/i915: s/intel_plane/plane/ in sprite init drm/i915: Rename variables in intel_primary_plane_create() drm/i915: Do intel_panel_destroy_backlight() later drm/i915: Drop the eDP check from intel_dp_connector_destroy() drm/i915: Use i915_gem_object_get_dma_address() to populate rotated vmas drm/i915: Relocate SKL+ NV12 src width w/a drm/i915: Move the SKL+ zero constant alpha handling drm/i915/sdvo: Utilize intel_panel for fixed_mode drm/i915: Don't apply the 16Gb DIMM wm latency w/a to BXT/GLK drm/i915: Use intel_panel_actually_set_backlight() to disable PWM backlight drm/i915: Fix error handling for the NV12 fb dimensions check ALSA: x86: Fix runtime PM for hdmi-lpe-audio ALSA: x86: Rip out the lpe audio runtime suspend/resume hooks drm/i915: Fix ilk+ watermarks when disabling pipes drm/i915: Don't oops during modeset shutdown after lpe audio deinit drm: Add drm_any_plane_has_format() drm/atomic: Use explicit old crtc state in drm_atomic_add_affected_planes() drm/atomic: Use explicit old/new state in drm_atomic_crtc_check() drm/atomic: Use explicit old/new state in drm_atomic_plane_check() drm/i915: Nuke posting reads from plane update/disable funcs drm/i915: Clean up skl_program_scaler() drm/i915: Fix hpd handling for pins with two encoders drm/i915: Sanitize PCH port transcoder select on IBX drm/i915: Remove the PS_PWR_GATE write from skl_program_scaler() drm/i915: Polish the skl+ plane keyval/msk/max register setup drm/i915: Clean up skl+ PLANE_POS vs. scaler handling drm/i915: Generalize skl_ddb_allocation_overlaps() drm/i915: Handle -EDEADLK from ironlake_check_fdi_lanes() drm/i915: Remove pointless goto fail drm/i915: Clean up the baseline bpp computation drm/i915: Switch LSPCON to PCON mode if it's in LS mode drm/i915: Always write both TILEOFF and LINOFF plane registers drm/i915: Account for scale factor when calculating initial phase drm/i915: Move skip_intermediate_wm handling into ilk_compute_intermediate_wm() drm/i915: Fix the VLV/CHV DSI panel orientation hw readout drm/i915: Determine DSI panel orientation from VBT drm/i915: Disable LP3 watermarks on all SNB machines drm/i915: Force a LUT update in intel_initial_commit() drm/i915: Add rotation readout for plane initial config drm/i915: Eliminate the horrendous format check code drm/atomic-helper: Complete fake_commit->flip_done potentially earlier drm/atomic-helper: WARN if fake_commit->hw_done is not completed as expected drm/i915: Reorganize plane register writes to make them more atomic drm/i915: Move single buffered plane register writes to the end drm/i915: Introduce crtc_state->update_planes bitmask drm/i915: Pass the new crtc_state to ->disable_plane() drm/i915: Fix latency==0 handling for level 0 watermark on skl+ drm/i915: Remove some useless zeroing on skl+ wm calculations drm/i915: Pass the entire skl_plane_wm to skl_compute_transition_wm() drm/i915: Clean up skl+ vs. icl+ watermark computation drm/i915: Don't pass dev_priv around so much drm/i915: Move ddb/wm programming into plane update/disable hooks on skl+ drm/i915: Commit skl+ planes in an order that avoids ddb overlaps drm/i915: Rename the confusing 'plane_id' to 'color_plane' drm/i915: Pass the plane to icl_program_input_csc_coeff() drm/i915: Make sure fb gtt offsets stay within 32bits drm/i915: Decouple SKL stride units from intel_fb_stride_alignment() Wen Yang (1): drm/amdgpu/acpi: NULL check before some freeing functions is not needed Wenjing Liu (1): drm/amd/display: resolve minor log problems Xiangliang Yu (3): drm/amdgpu/psp: Get psp fw version through reading register drm/amdgpu/psp: Add support VMR ring for VF drm/amdgpu/psp: Destroy psp ring when doing gpu reset Xiaodong Yan (1): drm/amd/display: retry 3 times before successfully reading Xiong Zhang (1): drm/i915: Add ppgtt to GVT GEM context Yangtao Li (1): drm/pl111: add of_node_put() Yogesh Mohan Marimuthu (2): drm/amd/display: calculate stream->phy_pix_clk before clock mapping drm/amd/display: fix sporadic multiple aux transaction failure Yong Zhao (11): drm/amdkfd: Delete unnecessary register settings drm/amdgpu: Expose *_setup_vm_pt_regs for kfd to use drm/amdkfd: Use functions from amdgpu for setting up page table base drm/amdkfd: Delete a duplicate statement in set_pasid_vmid_mapping() drm/amdkfd: page_table_base already have the flags needed drm/amdkfd: Remove unnecessary register setting when invalidating tlb in kfd drm/amdgpu: Reorganize amdgpu_gmc_flush_gpu_tlb() for kfd to use drm/amdkfd: Use functions from amdgpu to invalidate vmid in kfd drm/amdkfd: Replace mqd with mqd_mgr as the variable name for mqd_manager drm/amdkfd: Adjust the debug message in KFD ISR drm/amdkfd: Workaround PASID missing in gfx9 interrupt payload under non HWS Yongqiang Sun (1): drm/amd/display: Typo for return check value. Young Xiao (1): drm: radeon: fix overflow on 32bit systems Yue Haibing (1): drm/radeon: remove set but not used variable 'rdev' YueHaibing (13): drm: Use PTR_ERR_OR_ZERO in drm_fb_cma_fbdev_init() drm/radeon/kms: remove set but not used variable 'pll' drm/amd/powerplay: remove duplicated includes drm/ttm: remove set but not used variable 'driver' drm/sti: remove set but not used variable 'priv' drm/qxl: remove set but not used variable 'map' drm/qxl: remove set but not used variables 'driver, qbo' drm/amdgpu: remove set but not used variable 'ring' drm/cirrus: Remove set but not used variable 'bo' drm/vkms: Remove set but not used variable 'vkms_obj' drm/tinydrm: Use kmemdup rather than duplicating its implementation in repaper_spi_transfer() drm/vmwgfx: Remove set but not used variable 'file_priv' drm/amdgpu: remove set but not used variable 'grbm_soft_reset' abdoulaye berthe (1): drm/amd/display: CTS 4.2.2.7 hersen wu (2): drm/amd/display: fbc state could not reach while enable fbc drm/amd/powerplay: rv dal-pplib interface refactor powerplay part shaoyunl (1): drm/amdgpu: Each PSP need to get latest topology info on XGMI configuration wentalou (1): drm/amdgpu: Skip ring soft recovery when fence was NULL zhong jiang (1): drm/amdkfd: Use kmemdup instead of duplicating its function .../devicetree/bindings/bus/sun50i-de2-bus.txt | 9 +- .../bindings/display/amlogic,meson-vpu.txt | 2 + .../bindings/display/bridge/renesas,lvds.txt | 1 + .../devicetree/bindings/display/himax,hx8357d.txt | 26 + .../devicetree/bindings/display/msm/dsi.txt | 1 + .../devicetree/bindings/display/msm/gpu.txt | 4 +- .../devicetree/bindings/display/msm/mdp4.txt | 2 + .../bindings/display/panel/auo,g101evn010 | 12 + .../display/panel/bananapi,s070wv20-ct16.txt | 12 + .../display/panel/cdtech,s043wq26h-ct7.txt | 12 + .../display/panel/cdtech,s070wv95-ct16.txt | 12 + .../bindings/display/panel/dlc,dlc1010gig.txt | 12 + .../display/panel/olimex,lcd-olinuxino.txt | 42 + .../bindings/display/panel/samsung,s6d16d0.txt | 30 + .../bindings/display/panel/tpo,tpg110.txt | 81 +- .../devicetree/bindings/display/renesas,du.txt | 4 + .../bindings/display/rockchip/dw_hdmi-rockchip.txt | 3 + .../bindings/display/sunxi/sun4i-drm.txt | 30 +- .../devicetree/bindings/display/truly,nt35597.txt | 59 + .../devicetree/bindings/vendor-prefixes.txt | 1 + Documentation/gpu/amdgpu-dc.rst | 68 + Documentation/gpu/drivers.rst | 1 + Documentation/gpu/drm-kms-helpers.rst | 31 +- Documentation/gpu/drm-kms.rst | 19 + Documentation/gpu/drm-mm.rst | 7 +- Documentation/gpu/drm-uapi.rst | 3 + Documentation/gpu/todo.rst | 58 +- Documentation/gpu/vkms.rst | 101 +- Documentation/vm/unevictable-lru.rst | 6 +- MAINTAINERS | 15 +- drivers/dma-buf/dma-fence.c | 36 +- drivers/dma-buf/reservation.c | 189 +- drivers/gpu/drm/Makefile | 9 +- drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 154 +- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 117 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 160 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 40 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 121 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 313 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 33 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 30 +- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 117 + drivers/gpu/drm/amd/amdgpu/amdgpu_csa.h | 39 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 472 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h | 243 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 54 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 49 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 2 - drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 63 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 31 +- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 18 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 49 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 5 - drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 28 +- drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 245 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 62 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 30 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 282 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h | 98 + drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 28 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 15 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 105 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 2 - drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 12 + drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 20 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 38 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 100 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 142 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 37 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 52 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 5 - drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 100 +- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | 40 + drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 6 +- drivers/gpu/drm/amd/amdgpu/cik.c | 1 + drivers/gpu/drm/amd/amdgpu/cik.h | 1 + drivers/gpu/drm/amd/amdgpu/cik_ih.c | 29 - drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 66 +- drivers/gpu/drm/amd/amdgpu/cz_ih.c | 29 - drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 144 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 278 +-- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 373 ++- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 406 ++-- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 19 +- drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h | 2 + drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 173 +- drivers/gpu/drm/amd/amdgpu/iceland_ih.c | 29 - drivers/gpu/drm/amd/amdgpu/kv_dpm.c | 6 +- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 19 +- drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h | 2 + drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 1 - drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 5 +- drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 3 - drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 239 +- drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 11 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 69 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 71 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 747 ++++-- drivers/gpu/drm/amd/amdgpu/si_dma.c | 68 +- drivers/gpu/drm/amd/amdgpu/si_ih.c | 14 - drivers/gpu/drm/amd/amdgpu/soc15.c | 26 +- drivers/gpu/drm/amd/amdgpu/soc15.h | 2 + drivers/gpu/drm/amd/amdgpu/ta_xgmi_if.h | 130 ++ drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 31 +- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 37 +- drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 36 +- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 84 +- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 86 +- drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 14 +- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 19 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 42 +- drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 87 +- drivers/gpu/drm/amd/amdgpu/vega10_reg_init.c | 28 + drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c | 33 + drivers/gpu/drm/amd/amdgpu/vi.c | 19 + drivers/gpu/drm/amd/amdgpu/vi.h | 1 + drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c | 3 +- drivers/gpu/drm/amd/amdkfd/cik_regs.h | 2 - drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 145 +- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 15 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 57 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 38 +- .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 35 +- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 2 + drivers/gpu/drm/amd/amdkfd/kfd_pasid.c | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 + drivers/gpu/drm/amd/amdkfd/kfd_process.c | 34 +- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 32 +- drivers/gpu/drm/amd/display/Makefile | 3 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 936 ++++++-- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 120 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 5 + .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 115 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 20 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h | 104 + drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 2 +- drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 2 + .../drm/amd/display/dc/bios/bios_parser_helper.c | 93 + .../drm/amd/display/dc/bios/bios_parser_helper.h | 4 + drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 32 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 172 +- drivers/gpu/drm/amd/display/dc/core/dc_debug.c | 7 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 91 +- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 19 +- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 840 +++---- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 5 +- drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 1 + drivers/gpu/drm/amd/display/dc/dc.h | 18 +- drivers/gpu/drm/amd/display/dc/dc_bios_types.h | 5 + drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 7 +- drivers/gpu/drm/amd/display/dc/dc_link.h | 17 +- drivers/gpu/drm/amd/display/dc/dc_stream.h | 5 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 9 +- drivers/gpu/drm/amd/display/dc/dce/Makefile | 2 +- drivers/gpu/drm/amd/display/dc/dce/dce_abm.c | 104 +- drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c | 884 ++++++++ .../display/dc/dce/{dce_clocks.h => dce_clk_mgr.h} | 105 +- drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 947 -------- drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 52 + .../gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 2 +- .../drm/amd/display/dc/dce/dce_stream_encoder.c | 23 +- .../amd/display/dc/dce100/dce100_hw_sequencer.c | 77 +- .../amd/display/dc/dce100/dce100_hw_sequencer.h | 5 +- .../drm/amd/display/dc/dce100/dce100_resource.c | 25 +- .../drm/amd/display/dc/dce110/dce110_compressor.c | 91 +- .../amd/display/dc/dce110/dce110_hw_sequencer.c | 334 +-- .../amd/display/dc/dce110/dce110_hw_sequencer.h | 11 +- .../drm/amd/display/dc/dce110/dce110_resource.c | 30 +- .../drm/amd/display/dc/dce112/dce112_resource.c | 39 +- .../drm/amd/display/dc/dce120/dce120_resource.c | 20 +- .../drm/amd/display/dc/dce80/dce80_hw_sequencer.c | 3 +- .../gpu/drm/amd/display/dc/dce80/dce80_resource.c | 42 +- drivers/gpu/drm/amd/display/dc/dcn10/Makefile | 2 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_clk_mgr.c | 375 +++ .../gpu/drm/amd/display/dc/dcn10/dcn10_clk_mgr.h | 43 + .../gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c | 257 ++- .../gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.h | 2 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 2 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 96 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h | 3 + .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 203 +- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h | 30 + .../display/dc/dcn10/dcn10_hw_sequencer_debug.c | 98 +- .../drm/amd/display/dc/dcn10/dcn10_link_encoder.c | 8 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 45 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h | 2 + .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 36 +- .../amd/display/dc/dcn10/dcn10_stream_encoder.c | 3 - drivers/gpu/drm/amd/display/dc/dm_event_log.h | 1 + drivers/gpu/drm/amd/display/dc/dm_pp_smu.h | 30 +- drivers/gpu/drm/amd/display/dc/dm_services.h | 12 +- drivers/gpu/drm/amd/display/dc/dm_services_types.h | 18 +- .../drm/amd/display/dc/dml/display_mode_structs.h | 3 +- drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c | 65 +- drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h | 7 +- drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/compressor.h | 1 + drivers/gpu/drm/amd/display/dc/inc/core_types.h | 17 +- drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/abm.h | 12 +- .../dc/inc/hw/{display_clock.h => clk_mgr.h} | 34 +- drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h | 44 + drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h | 7 + drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 6 + drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 16 +- .../gpu/drm/amd/display/dc/inc/hw/link_encoder.h | 3 +- drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h | 4 +- drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 21 +- drivers/gpu/drm/amd/display/dc/inc/resource.h | 3 - .../drm/amd/display/modules/color/color_gamma.c | 208 +- .../drm/amd/display/modules/color/color_gamma.h | 11 +- .../drm/amd/display/modules/freesync/freesync.c | 47 +- .../drm/amd/display/modules/inc/mod_info_packet.h | 14 +- .../gpu/drm/amd/display/modules/inc/mod_shared.h | 27 +- .../amd/display/modules/info_packet/info_packet.c | 15 +- drivers/gpu/drm/amd/display/modules/power/Makefile | 31 + .../drm/amd/display/modules/power/power_helpers.c | 326 +++ .../drm/amd/display/modules/power/power_helpers.h | 47 + drivers/gpu/drm/amd/include/amd_acpi.h | 175 +- .../include/asic_reg/mmhub/mmhub_9_4_0_offset.h | 32 + .../include/asic_reg/mmhub/mmhub_9_4_0_sh_mask.h | 35 + drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 119 +- drivers/gpu/drm/amd/include/kgd_pp_interface.h | 4 + drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 134 +- .../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 45 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 36 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 19 +- .../gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 12 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c | 6 +- .../gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c | 36 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 139 +- .../gpu/drm/amd/powerplay/inc/hardwaremanager.h | 3 + drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 8 +- drivers/gpu/drm/amd/powerplay/inc/smu7_common.h | 4 - drivers/gpu/drm/amd/powerplay/inc/smu7_ppsmc.h | 3 + .../drm/amd/powerplay/smumgr/polaris10_smumgr.c | 72 +- .../gpu/drm/amd/powerplay/smumgr/smu10_smumgr.c | 1 - drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c | 49 +- drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 3 + .../gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c | 1 - drivers/gpu/drm/arc/arcpgu.h | 4 - drivers/gpu/drm/arc/arcpgu_crtc.c | 3 - drivers/gpu/drm/arc/arcpgu_drv.c | 38 +- drivers/gpu/drm/arm/malidp_hw.c | 14 +- drivers/gpu/drm/arm/malidp_planes.c | 28 +- drivers/gpu/drm/ast/ast_drv.h | 2 - drivers/gpu/drm/ast/ast_ttm.c | 64 - drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 - drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 15 +- drivers/gpu/drm/bochs/bochs.h | 4 +- drivers/gpu/drm/bochs/bochs_hw.c | 30 + drivers/gpu/drm/bochs/bochs_kms.c | 20 +- drivers/gpu/drm/bochs/bochs_mm.c | 65 +- drivers/gpu/drm/bridge/Kconfig | 1 + drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 12 +- drivers/gpu/drm/bridge/sii902x.c | 247 +- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 6 +- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 114 +- drivers/gpu/drm/bridge/tc358764.c | 2 +- drivers/gpu/drm/cirrus/cirrus_drv.h | 2 - drivers/gpu/drm/cirrus/cirrus_fbdev.c | 3 - drivers/gpu/drm/cirrus/cirrus_ttm.c | 64 - drivers/gpu/drm/drm_atomic.c | 142 +- drivers/gpu/drm/drm_atomic_helper.c | 689 ++---- drivers/gpu/drm/drm_atomic_state_helper.c | 444 ++++ drivers/gpu/drm/drm_atomic_uapi.c | 21 + drivers/gpu/drm/drm_bufs.c | 3 + drivers/gpu/drm/drm_client.c | 12 +- drivers/gpu/drm/drm_color_mgmt.c | 14 +- drivers/gpu/drm/drm_connector.c | 180 +- drivers/gpu/drm/drm_crtc.c | 33 +- drivers/gpu/drm/drm_crtc_helper.c | 115 - drivers/gpu/drm/drm_damage_helper.c | 334 +++ drivers/gpu/drm/drm_debugfs.c | 89 + drivers/gpu/drm/drm_dp_cec.c | 2 - drivers/gpu/drm/drm_dp_helper.c | 92 + drivers/gpu/drm/drm_dp_mst_topology.c | 9 +- drivers/gpu/drm/drm_drv.c | 23 +- drivers/gpu/drm/drm_dsc.c | 228 ++ drivers/gpu/drm/drm_fb_cma_helper.c | 43 +- drivers/gpu/drm/drm_fb_helper.c | 6 + drivers/gpu/drm/drm_fourcc.c | 79 +- drivers/gpu/drm/drm_framebuffer.c | 13 +- drivers/gpu/drm/drm_gem.c | 109 +- drivers/gpu/drm/drm_gem_cma_helper.c | 86 + drivers/gpu/drm/drm_gem_framebuffer_helper.c | 2 +- drivers/gpu/drm/drm_global.c | 137 -- drivers/gpu/drm/drm_info.c | 137 -- drivers/gpu/drm/drm_internal.h | 5 - drivers/gpu/drm/drm_lease.c | 38 +- drivers/gpu/drm/drm_memory.c | 10 +- drivers/gpu/drm/drm_mode_config.c | 12 + drivers/gpu/drm/drm_mode_object.c | 3 +- drivers/gpu/drm/drm_modes.c | 4 +- drivers/gpu/drm/drm_modeset_helper.c | 15 + drivers/gpu/drm/drm_modeset_lock.c | 6 + drivers/gpu/drm/drm_panel_orientation_quirks.c | 16 + drivers/gpu/drm/drm_pci.c | 5 +- drivers/gpu/drm/drm_plane.c | 39 +- drivers/gpu/drm/drm_plane_helper.c | 331 +-- drivers/gpu/drm/drm_prime.c | 118 +- drivers/gpu/drm/drm_simple_kms_helper.c | 8 + drivers/gpu/drm/drm_syncobj.c | 80 +- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4 +- drivers/gpu/drm/etnaviv/etnaviv_dump.c | 9 +- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_sched.c | 5 +- drivers/gpu/drm/exynos/Kconfig | 5 - drivers/gpu/drm/exynos/Makefile | 3 +- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 87 +- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 5 +- drivers/gpu/drm/exynos/exynos_drm_dma.c | 157 ++ drivers/gpu/drm/exynos/exynos_drm_drv.c | 55 +- drivers/gpu/drm/exynos/exynos_drm_drv.h | 11 + drivers/gpu/drm/exynos/exynos_drm_fb.c | 1 - drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 1 - drivers/gpu/drm/exynos/exynos_drm_fimc.c | 5 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 5 +- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 5 +- drivers/gpu/drm/exynos/exynos_drm_gem.c | 1 - drivers/gpu/drm/exynos/exynos_drm_gsc.c | 5 +- drivers/gpu/drm/exynos/exynos_drm_iommu.c | 111 - drivers/gpu/drm/exynos/exynos_drm_iommu.h | 134 -- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 5 +- drivers/gpu/drm/exynos/exynos_drm_scaler.c | 5 +- drivers/gpu/drm/exynos/exynos_mixer.c | 30 +- drivers/gpu/drm/exynos/regs-decon5433.h | 22 + drivers/gpu/drm/exynos/regs-mixer.h | 9 +- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 33 +- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 25 +- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h | 1 - drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 - drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 57 - drivers/gpu/drm/i915/Makefile | 13 +- drivers/gpu/drm/i915/gvt/scheduler.c | 28 + drivers/gpu/drm/i915/i915_debugfs.c | 309 ++- drivers/gpu/drm/i915/i915_drv.c | 123 +- drivers/gpu/drm/i915/i915_drv.h | 298 +-- drivers/gpu/drm/i915/i915_fixed.h | 143 ++ drivers/gpu/drm/i915/i915_gem.c | 178 +- drivers/gpu/drm/i915/i915_gem.h | 4 +- drivers/gpu/drm/i915/i915_gem_context.c | 19 +- drivers/gpu/drm/i915/i915_gem_context.h | 1 + drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/i915/i915_gem_gtt.c | 244 +- drivers/gpu/drm/i915/i915_gem_gtt.h | 11 +- drivers/gpu/drm/i915/i915_gpu_error.c | 353 +-- drivers/gpu/drm/i915/i915_gpu_error.h | 28 +- drivers/gpu/drm/i915/i915_irq.c | 83 +- drivers/gpu/drm/i915/i915_oa_bdw.c | 27 +- drivers/gpu/drm/i915/i915_oa_bdw.h | 27 +- drivers/gpu/drm/i915/i915_oa_bxt.c | 27 +- drivers/gpu/drm/i915/i915_oa_bxt.h | 27 +- drivers/gpu/drm/i915/i915_oa_cflgt2.c | 27 +- drivers/gpu/drm/i915/i915_oa_cflgt2.h | 27 +- drivers/gpu/drm/i915/i915_oa_cflgt3.c | 27 +- drivers/gpu/drm/i915/i915_oa_cflgt3.h | 27 +- drivers/gpu/drm/i915/i915_oa_chv.c | 27 +- drivers/gpu/drm/i915/i915_oa_chv.h | 27 +- drivers/gpu/drm/i915/i915_oa_cnl.c | 27 +- drivers/gpu/drm/i915/i915_oa_cnl.h | 27 +- drivers/gpu/drm/i915/i915_oa_glk.c | 27 +- drivers/gpu/drm/i915/i915_oa_glk.h | 27 +- drivers/gpu/drm/i915/i915_oa_hsw.c | 27 +- drivers/gpu/drm/i915/i915_oa_hsw.h | 27 +- drivers/gpu/drm/i915/i915_oa_icl.c | 27 +- drivers/gpu/drm/i915/i915_oa_icl.h | 27 +- drivers/gpu/drm/i915/i915_oa_kblgt2.c | 27 +- drivers/gpu/drm/i915/i915_oa_kblgt2.h | 27 +- drivers/gpu/drm/i915/i915_oa_kblgt3.c | 27 +- drivers/gpu/drm/i915/i915_oa_kblgt3.h | 27 +- drivers/gpu/drm/i915/i915_oa_sklgt2.c | 27 +- drivers/gpu/drm/i915/i915_oa_sklgt2.h | 27 +- drivers/gpu/drm/i915/i915_oa_sklgt3.c | 27 +- drivers/gpu/drm/i915/i915_oa_sklgt3.h | 27 +- drivers/gpu/drm/i915/i915_oa_sklgt4.c | 27 +- drivers/gpu/drm/i915/i915_oa_sklgt4.h | 27 +- drivers/gpu/drm/i915/i915_params.c | 9 +- drivers/gpu/drm/i915/i915_params.h | 1 - drivers/gpu/drm/i915/i915_pci.c | 186 +- drivers/gpu/drm/i915/i915_perf.c | 49 +- drivers/gpu/drm/i915/i915_query.c | 3 +- drivers/gpu/drm/i915/i915_reg.h | 829 +++++-- drivers/gpu/drm/i915/i915_request.c | 121 +- drivers/gpu/drm/i915/i915_request.h | 13 +- drivers/gpu/drm/i915/i915_scheduler.c | 399 ++++ drivers/gpu/drm/i915/i915_scheduler.h | 36 + drivers/gpu/drm/i915/i915_sw_fence.c | 7 +- drivers/gpu/drm/i915/i915_sw_fence.h | 5 +- drivers/gpu/drm/i915/i915_syncmap.c | 2 +- drivers/gpu/drm/i915/i915_sysfs.c | 31 +- drivers/gpu/drm/i915/i915_timeline.h | 19 + drivers/gpu/drm/i915/i915_utils.h | 13 +- drivers/gpu/drm/i915/i915_vma.c | 10 +- drivers/gpu/drm/i915/icl_dsi.c | 1337 ++++++++++- drivers/gpu/drm/i915/intel_atomic.c | 119 +- drivers/gpu/drm/i915/intel_atomic_plane.c | 184 +- drivers/gpu/drm/i915/intel_audio.c | 37 +- drivers/gpu/drm/i915/intel_bios.c | 91 +- drivers/gpu/drm/i915/intel_breadcrumbs.c | 6 +- drivers/gpu/drm/i915/intel_cdclk.c | 39 +- drivers/gpu/drm/i915/intel_color.c | 3 +- drivers/gpu/drm/i915/intel_combo_phy.c | 254 +++ .../drm/i915/{intel_modes.c => intel_connector.c} | 129 ++ drivers/gpu/drm/i915/intel_crt.c | 11 +- drivers/gpu/drm/i915/intel_csr.c | 162 +- drivers/gpu/drm/i915/intel_ddi.c | 666 ++++-- drivers/gpu/drm/i915/intel_device_info.c | 77 +- drivers/gpu/drm/i915/intel_device_info.h | 52 +- drivers/gpu/drm/i915/intel_display.c | 2197 ++++++++---------- drivers/gpu/drm/i915/intel_display.h | 58 +- drivers/gpu/drm/i915/intel_dp.c | 1108 +++++---- drivers/gpu/drm/i915/intel_dp_mst.c | 33 +- drivers/gpu/drm/i915/intel_dpio_phy.c | 4 +- drivers/gpu/drm/i915/intel_dpll_mgr.c | 120 +- drivers/gpu/drm/i915/intel_dpll_mgr.h | 8 +- drivers/gpu/drm/i915/intel_drv.h | 274 ++- drivers/gpu/drm/i915/intel_dsi.c | 128 ++ drivers/gpu/drm/i915/intel_dsi.h | 35 + drivers/gpu/drm/i915/intel_dsi_vbt.c | 306 ++- drivers/gpu/drm/i915/intel_dvo.c | 10 +- drivers/gpu/drm/i915/intel_engine_cs.c | 77 +- drivers/gpu/drm/i915/intel_fbc.c | 12 +- drivers/gpu/drm/i915/intel_fbdev.c | 10 +- drivers/gpu/drm/i915/intel_guc.c | 45 +- drivers/gpu/drm/i915/intel_guc.h | 5 + drivers/gpu/drm/i915/intel_guc_fw.c | 113 +- drivers/gpu/drm/i915/intel_guc_fwif.h | 41 +- drivers/gpu/drm/i915/intel_guc_reg.h | 12 + drivers/gpu/drm/i915/intel_guc_submission.c | 216 +- drivers/gpu/drm/i915/intel_hdcp.c | 214 +- drivers/gpu/drm/i915/intel_hdmi.c | 237 +- drivers/gpu/drm/i915/intel_hotplug.c | 67 +- drivers/gpu/drm/i915/intel_huc.c | 7 +- drivers/gpu/drm/i915/intel_i2c.c | 2 +- drivers/gpu/drm/i915/intel_lrc.c | 397 +--- drivers/gpu/drm/i915/intel_lspcon.c | 347 ++- drivers/gpu/drm/i915/intel_lvds.c | 67 +- drivers/gpu/drm/i915/intel_opregion.c | 158 +- drivers/gpu/drm/i915/intel_opregion.h | 15 + drivers/gpu/drm/i915/intel_overlay.c | 4 +- drivers/gpu/drm/i915/intel_panel.c | 13 +- drivers/gpu/drm/i915/intel_pm.c | 904 +++++--- drivers/gpu/drm/i915/intel_psr.c | 358 +-- drivers/gpu/drm/i915/intel_quirks.c | 169 ++ drivers/gpu/drm/i915/intel_ringbuffer.c | 79 +- drivers/gpu/drm/i915/intel_ringbuffer.h | 49 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 346 ++- drivers/gpu/drm/i915/intel_sdvo.c | 56 +- drivers/gpu/drm/i915/intel_sprite.c | 740 ++++-- drivers/gpu/drm/i915/intel_tv.c | 10 +- drivers/gpu/drm/i915/intel_uc.c | 2 +- drivers/gpu/drm/i915/intel_uc_fw.h | 7 +- drivers/gpu/drm/i915/intel_uncore.c | 2 +- drivers/gpu/drm/i915/intel_vbt_defs.h | 7 + drivers/gpu/drm/i915/intel_vdsc.c | 1088 +++++++++ drivers/gpu/drm/i915/intel_workarounds.c | 991 ++++---- drivers/gpu/drm/i915/intel_workarounds.h | 36 +- drivers/gpu/drm/i915/selftests/huge_pages.c | 34 +- drivers/gpu/drm/i915/selftests/i915_gem_context.c | 428 +++- drivers/gpu/drm/i915/selftests/i915_gem_evict.c | 2 +- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 4 +- drivers/gpu/drm/i915/selftests/igt_reset.c | 44 + drivers/gpu/drm/i915/selftests/igt_reset.h | 15 + drivers/gpu/drm/i915/selftests/igt_spinner.c | 199 ++ drivers/gpu/drm/i915/selftests/igt_spinner.h | 37 + drivers/gpu/drm/i915/selftests/intel_guc.c | 59 +- drivers/gpu/drm/i915/selftests/intel_hangcheck.c | 70 +- drivers/gpu/drm/i915/selftests/intel_lrc.c | 566 ++--- drivers/gpu/drm/i915/selftests/intel_workarounds.c | 247 +- drivers/gpu/drm/i915/selftests/mock_engine.c | 2 +- drivers/gpu/drm/i915/vlv_dsi.c | 190 +- drivers/gpu/drm/imx/dw_hdmi-imx.c | 5 +- drivers/gpu/drm/imx/imx-drm-core.c | 11 +- drivers/gpu/drm/imx/imx-ldb.c | 10 +- drivers/gpu/drm/imx/imx-tve.c | 12 +- drivers/gpu/drm/imx/ipuv3-crtc.c | 10 +- drivers/gpu/drm/imx/ipuv3-plane.c | 18 +- drivers/gpu/drm/imx/parallel-display.c | 10 +- drivers/gpu/drm/meson/Kconfig | 1 + drivers/gpu/drm/meson/Makefile | 2 +- drivers/gpu/drm/meson/meson_canvas.c | 7 +- drivers/gpu/drm/meson/meson_canvas.h | 11 +- drivers/gpu/drm/meson/meson_crtc.c | 265 ++- drivers/gpu/drm/meson/meson_drv.c | 91 +- drivers/gpu/drm/meson/meson_drv.h | 67 +- drivers/gpu/drm/meson/meson_dw_hdmi.c | 12 +- drivers/gpu/drm/meson/meson_overlay.c | 588 +++++ drivers/gpu/drm/meson/meson_overlay.h | 14 + drivers/gpu/drm/meson/meson_plane.c | 199 +- drivers/gpu/drm/meson/meson_registers.h | 3 + drivers/gpu/drm/meson/meson_vclk.c | 127 +- drivers/gpu/drm/meson/meson_vclk.h | 2 + drivers/gpu/drm/meson/meson_venc.c | 129 ++ drivers/gpu/drm/meson/meson_viu.c | 42 + drivers/gpu/drm/meson/meson_viu.h | 1 + drivers/gpu/drm/meson/meson_vpp.c | 90 +- drivers/gpu/drm/mgag200/mgag200_drv.h | 2 - drivers/gpu/drm/mgag200/mgag200_ttm.c | 64 - drivers/gpu/drm/msm/Kconfig | 4 +- drivers/gpu/drm/msm/Makefile | 11 +- drivers/gpu/drm/msm/adreno/a2xx.xml.h | 298 ++- drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 492 ++++ drivers/gpu/drm/msm/adreno/a2xx_gpu.h | 21 + drivers/gpu/drm/msm/adreno/a3xx.xml.h | 10 +- drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 4 +- drivers/gpu/drm/msm/adreno/a4xx.xml.h | 10 +- drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 4 +- drivers/gpu/drm/msm/adreno/a5xx.xml.h | 10 +- drivers/gpu/drm/msm/adreno/a5xx_debugfs.c | 8 +- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 48 +- drivers/gpu/drm/msm/adreno/a5xx_power.c | 15 +- drivers/gpu/drm/msm/adreno/a5xx_preempt.c | 20 +- drivers/gpu/drm/msm/adreno/a6xx.xml.h | 78 +- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 81 +- drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 3 + drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h | 10 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 89 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 8 + drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 1165 ++++++++++ drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h | 430 ++++ drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 14 +- drivers/gpu/drm/msm/adreno/adreno_common.xml.h | 19 +- drivers/gpu/drm/msm/adreno/adreno_device.c | 77 +- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 159 +- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 21 + drivers/gpu/drm/msm/adreno/adreno_pm4.xml.h | 18 +- drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c | 45 +- drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h | 16 +- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 169 +- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h | 29 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 401 +--- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 68 +- drivers/gpu/drm/msm/disp/dpu1/dpu_dbg.c | 2393 -------------------- drivers/gpu/drm/msm/disp/dpu1/dpu_dbg.h | 103 - drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 197 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 30 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 14 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 21 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 8 +- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 5 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c | 10 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.h | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 9 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 50 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 18 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h | 10 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 36 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.h | 5 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c | 21 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h | 10 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 23 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h | 10 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c | 20 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.h | 10 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c | 8 +- drivers/gpu/drm/msm/disp/dpu1/dpu_irq.c | 66 - drivers/gpu/drm/msm/disp/dpu1/dpu_irq.h | 59 - drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 374 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 45 +- drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c | 14 +- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 132 +- drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.c | 240 -- drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.h | 217 -- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 101 +- drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c | 28 +- drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h | 15 +- drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h | 359 +-- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 8 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c | 12 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 70 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 43 +- drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 9 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 90 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c | 10 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 12 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c | 16 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 30 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c | 10 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 9 +- drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c | 4 +- drivers/gpu/drm/msm/dsi/dsi.c | 10 +- drivers/gpu/drm/msm/dsi/dsi_host.c | 28 +- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 28 +- drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 6 +- drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 6 +- drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c | 2 +- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 2 +- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c | 2 +- drivers/gpu/drm/msm/dsi/pll/dsi_pll.c | 2 +- drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 16 +- drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c | 12 +- drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c | 16 +- drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c | 10 +- drivers/gpu/drm/msm/edp/edp.c | 8 +- drivers/gpu/drm/msm/hdmi/hdmi.c | 32 +- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 10 +- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 10 +- drivers/gpu/drm/msm/hdmi/hdmi_i2c.c | 2 +- drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 12 +- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 6 +- drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c | 4 +- drivers/gpu/drm/msm/msm_atomic.c | 3 +- drivers/gpu/drm/msm/msm_debugfs.c | 8 +- drivers/gpu/drm/msm/msm_drv.c | 172 +- drivers/gpu/drm/msm/msm_drv.h | 28 +- drivers/gpu/drm/msm/msm_fb.c | 14 +- drivers/gpu/drm/msm/msm_fbdev.c | 10 +- drivers/gpu/drm/msm/msm_gem.c | 219 +- drivers/gpu/drm/msm/msm_gem.h | 5 + drivers/gpu/drm/msm/msm_gem_submit.c | 27 +- drivers/gpu/drm/msm/msm_gem_vma.c | 118 +- drivers/gpu/drm/msm/msm_gpu.c | 124 +- drivers/gpu/drm/msm/msm_gpu.h | 2 + drivers/gpu/drm/msm/msm_gpu_trace.h | 90 + drivers/gpu/drm/msm/msm_gpu_tracepoints.c | 6 + drivers/gpu/drm/msm/msm_gpummu.c | 123 + drivers/gpu/drm/msm/msm_iommu.c | 3 +- drivers/gpu/drm/msm/msm_kms.h | 3 - drivers/gpu/drm/msm/msm_mmu.h | 6 +- drivers/gpu/drm/msm/msm_rd.c | 13 +- drivers/gpu/drm/msm/msm_ringbuffer.c | 14 +- drivers/gpu/drm/msm/msm_ringbuffer.h | 16 + drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 +- drivers/gpu/drm/nouveau/dispnv04/disp.c | 2 +- drivers/gpu/drm/nouveau/dispnv50/Kbuild | 3 + drivers/gpu/drm/nouveau/dispnv50/atom.h | 7 +- drivers/gpu/drm/nouveau/dispnv50/base907c.c | 1 + drivers/gpu/drm/nouveau/dispnv50/core.c | 1 + drivers/gpu/drm/nouveau/dispnv50/core.h | 4 + drivers/gpu/drm/nouveau/dispnv50/corec37d.c | 4 +- drivers/gpu/drm/nouveau/dispnv50/corec57d.c | 61 + drivers/gpu/drm/nouveau/dispnv50/curs.c | 1 + drivers/gpu/drm/nouveau/dispnv50/disp.c | 14 +- drivers/gpu/drm/nouveau/dispnv50/disp.h | 2 + drivers/gpu/drm/nouveau/dispnv50/head.c | 6 +- drivers/gpu/drm/nouveau/dispnv50/head.h | 11 + drivers/gpu/drm/nouveau/dispnv50/head507d.c | 19 + drivers/gpu/drm/nouveau/dispnv50/head907d.c | 18 + drivers/gpu/drm/nouveau/dispnv50/headc37d.c | 11 +- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 206 ++ drivers/gpu/drm/nouveau/dispnv50/lut.c | 50 +- drivers/gpu/drm/nouveau/dispnv50/lut.h | 5 +- drivers/gpu/drm/nouveau/dispnv50/wimm.c | 1 + drivers/gpu/drm/nouveau/dispnv50/wndw.c | 12 +- drivers/gpu/drm/nouveau/dispnv50/wndw.h | 18 + drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c | 21 +- drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c | 133 ++ drivers/gpu/drm/nouveau/include/nvif/cl0080.h | 1 + drivers/gpu/drm/nouveau/include/nvif/cla06f.h | 3 +- drivers/gpu/drm/nouveau/include/nvif/class.h | 9 +- drivers/gpu/drm/nouveau/include/nvif/clc36f.h | 19 + drivers/gpu/drm/nouveau/include/nvkm/core/device.h | 11 +- drivers/gpu/drm/nouveau/include/nvkm/core/memory.h | 2 + drivers/gpu/drm/nouveau/include/nvkm/engine/ce.h | 1 + drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h | 1 + drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h | 1 + drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h | 3 + .../drm/nouveau/include/nvkm/subdev/bios/M0203.h | 13 +- .../drm/nouveau/include/nvkm/subdev/bios/conn.h | 1 + .../gpu/drm/nouveau/include/nvkm/subdev/devinit.h | 1 + .../gpu/drm/nouveau/include/nvkm/subdev/fault.h | 1 + drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h | 5 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h | 1 + drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h | 1 + .../gpu/drm/nouveau/include/nvkm/subdev/timer.h | 28 +- drivers/gpu/drm/nouveau/nouveau_abi16.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo.c | 2 + drivers/gpu/drm/nouveau/nouveau_chan.c | 37 +- drivers/gpu/drm/nouveau/nouveau_chan.h | 5 +- drivers/gpu/drm/nouveau/nouveau_connector.c | 12 +- drivers/gpu/drm/nouveau/nouveau_connector.h | 3 +- drivers/gpu/drm/nouveau/nouveau_debugfs.c | 46 +- drivers/gpu/drm/nouveau/nouveau_dma.c | 2 +- drivers/gpu/drm/nouveau/nouveau_drm.c | 8 +- drivers/gpu/drm/nouveau/nouveau_drv.h | 2 - drivers/gpu/drm/nouveau/nouveau_fence.c | 2 +- drivers/gpu/drm/nouveau/nouveau_ttm.c | 67 - drivers/gpu/drm/nouveau/nouveau_vmm.h | 1 - drivers/gpu/drm/nouveau/nvif/disp.c | 1 + drivers/gpu/drm/nouveau/nvkm/core/subdev.c | 4 +- drivers/gpu/drm/nouveau/nvkm/engine/ce/Kbuild | 1 + drivers/gpu/drm/nouveau/nvkm/engine/ce/tu104.c | 40 + drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 87 +- drivers/gpu/drm/nouveau/nvkm/engine/device/user.c | 3 +- drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild | 3 + drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c | 8 +- drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h | 7 + drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h | 5 + .../gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/roottu104.c | 52 + .../gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c | 8 +- .../gpu/drm/nouveau/nvkm/engine/disp/sortu104.c | 97 + drivers/gpu/drm/nouveau/nvkm/engine/disp/tu104.c | 152 ++ .../gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/Kbuild | 3 + drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h | 1 + .../gpu/drm/nouveau/nvkm/engine/fifo/changk104.h | 13 + drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c | 4 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c | 90 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.h | 30 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c | 2 + drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk208.c | 11 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk20a.c | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c | 3 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm200.c | 16 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp100.c | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp10b.c | 2 +- .../gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c | 19 +- .../gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c | 72 +- .../gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu104.c | 83 + drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c | 15 +- drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu104.c | 116 + drivers/gpu/drm/nouveau/nvkm/engine/fifo/user.h | 2 + .../gpu/drm/nouveau/nvkm/engine/fifo/usertu104.c | 45 + drivers/gpu/drm/nouveau/nvkm/falcon/base.c | 2 +- drivers/gpu/drm/nouveau/nvkm/subdev/bar/Kbuild | 1 + drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c | 20 + drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu104.c | 98 + drivers/gpu/drm/nouveau/nvkm/subdev/devinit/Kbuild | 1 + .../gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c | 14 +- drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.h | 1 + .../gpu/drm/nouveau/nvkm/subdev/devinit/tu104.c | 89 + drivers/gpu/drm/nouveau/nvkm/subdev/fault/Kbuild | 1 + drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c | 21 +- drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c | 24 +- drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c | 47 +- drivers/gpu/drm/nouveau/nvkm/subdev/fault/priv.h | 9 +- drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu104.c | 167 ++ drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c | 11 +- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c | 3 + drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c | 16 +- drivers/gpu/drm/nouveau/nvkm/subdev/mc/Kbuild | 1 + drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c | 3 + drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h | 1 + drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu104.c | 55 + drivers/gpu/drm/nouveau/nvkm/subdev/mmu/Kbuild | 2 + drivers/gpu/drm/nouveau/nvkm/subdev/mmu/tu104.c | 43 + drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c | 21 +- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 145 +- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h | 8 +- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu104.c | 77 + .../gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c | 4 +- drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c | 36 + drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c | 2 +- drivers/gpu/drm/panel/Kconfig | 25 + drivers/gpu/drm/panel/Makefile | 3 + drivers/gpu/drm/panel/panel-innolux-p079zca.c | 3 +- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 330 +++ drivers/gpu/drm/panel/panel-samsung-s6d16d0.c | 264 +++ drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 7 +- drivers/gpu/drm/panel/panel-simple.c | 184 +- drivers/gpu/drm/panel/panel-truly-nt35597.c | 675 ++++++ drivers/gpu/drm/pl111/pl111_vexpress.c | 2 + drivers/gpu/drm/qxl/qxl_cmd.c | 7 +- drivers/gpu/drm/qxl/qxl_debugfs.c | 5 +- drivers/gpu/drm/qxl/qxl_dev.h | 1 - drivers/gpu/drm/qxl/qxl_display.c | 37 +- drivers/gpu/drm/qxl/qxl_draw.c | 14 +- drivers/gpu/drm/qxl/qxl_drv.h | 32 +- drivers/gpu/drm/qxl/qxl_dumb.c | 3 +- drivers/gpu/drm/qxl/qxl_fb.c | 6 +- drivers/gpu/drm/qxl/qxl_image.c | 4 +- drivers/gpu/drm/qxl/qxl_ioctl.c | 2 + drivers/gpu/drm/qxl/qxl_kms.c | 8 +- drivers/gpu/drm/qxl/qxl_object.c | 27 +- drivers/gpu/drm/qxl/qxl_object.h | 4 +- drivers/gpu/drm/qxl/qxl_prime.c | 1 - drivers/gpu/drm/qxl/qxl_release.c | 9 +- drivers/gpu/drm/qxl/qxl_ttm.c | 73 +- drivers/gpu/drm/radeon/r300.c | 4 +- drivers/gpu/drm/radeon/r420.c | 1 + drivers/gpu/drm/radeon/radeon.h | 3 - drivers/gpu/drm/radeon/radeon_cs.c | 4 +- drivers/gpu/drm/radeon/radeon_gem.c | 2 +- drivers/gpu/drm/radeon/radeon_legacy_tv.c | 10 - drivers/gpu/drm/radeon/radeon_object.c | 2 - drivers/gpu/drm/radeon/radeon_ttm.c | 65 - drivers/gpu/drm/radeon/radeon_vm.c | 8 +- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 30 +- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 68 +- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 3 - drivers/gpu/drm/rcar-du/rcar_du_kms.c | 23 +- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 3 +- drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 + drivers/gpu/drm/rockchip/Kconfig | 2 +- drivers/gpu/drm/rockchip/Makefile | 2 +- drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 1076 +++++++++ drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 1349 ----------- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 128 +- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 +- drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 3 +- drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 4 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 3 + drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 4 + drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 7 +- drivers/gpu/drm/scheduler/sched_entity.c | 10 +- drivers/gpu/drm/scheduler/sched_main.c | 168 +- drivers/gpu/drm/selftests/Makefile | 6 +- drivers/gpu/drm/selftests/drm_helper_selftests.h | 9 - drivers/gpu/drm/selftests/drm_modeset_selftests.h | 34 + drivers/gpu/drm/selftests/test-drm_damage_helper.c | 811 +++++++ drivers/gpu/drm/selftests/test-drm_format.c | 280 +++ drivers/gpu/drm/selftests/test-drm_framebuffer.c | 346 +++ .../gpu/drm/selftests/test-drm_modeset_common.c | 32 + .../gpu/drm/selftests/test-drm_modeset_common.h | 43 + .../{test-drm-helper.c => test-drm_plane_helper.c} | 38 +- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 +- drivers/gpu/drm/sti/sti_crtc.c | 4 +- drivers/gpu/drm/sti/sti_cursor.c | 1 - drivers/gpu/drm/sti/sti_drv.c | 6 +- drivers/gpu/drm/sti/sti_gdp.c | 3 +- drivers/gpu/drm/sti/sti_hqvdp.c | 1 - drivers/gpu/drm/stm/drv.c | 13 +- drivers/gpu/drm/stm/ltdc.c | 45 + drivers/gpu/drm/stm/ltdc.h | 5 + drivers/gpu/drm/sun4i/sun4i_backend.c | 106 +- drivers/gpu/drm/sun4i/sun4i_backend.h | 3 + drivers/gpu/drm/sun4i/sun4i_drv.c | 25 +- drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 12 +- drivers/gpu/drm/sun4i/sun4i_framebuffer.h | 3 +- drivers/gpu/drm/sun4i/sun4i_frontend.c | 113 +- drivers/gpu/drm/sun4i/sun4i_frontend.h | 11 +- drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c | 4 +- drivers/gpu/drm/sun4i/sun4i_layer.c | 15 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 29 +- drivers/gpu/drm/sun4i/sun4i_tcon.h | 1 + drivers/gpu/drm/sun4i/sun8i_csc.c | 83 + drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 45 +- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 14 +- drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 201 +- drivers/gpu/drm/sun4i/sun8i_mixer.c | 57 +- drivers/gpu/drm/sun4i/sun8i_mixer.h | 80 +- drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 52 +- drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 49 +- drivers/gpu/drm/sun4i/sun8i_ui_layer.h | 37 +- drivers/gpu/drm/sun4i/sun8i_ui_scaler.c | 47 +- drivers/gpu/drm/sun4i/sun8i_ui_scaler.h | 28 +- drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 57 +- drivers/gpu/drm/sun4i/sun8i_vi_layer.h | 25 +- drivers/gpu/drm/sun4i/sun8i_vi_scaler.c | 70 +- drivers/gpu/drm/sun4i/sun8i_vi_scaler.h | 68 +- drivers/gpu/drm/tegra/dc.c | 38 +- drivers/gpu/drm/tegra/drm.c | 1 + drivers/gpu/drm/tegra/falcon.c | 14 +- drivers/gpu/drm/tegra/hub.c | 48 +- drivers/gpu/drm/tegra/hub.h | 3 + drivers/gpu/drm/tegra/sor.c | 254 ++- drivers/gpu/drm/tegra/sor.h | 68 + drivers/gpu/drm/tegra/vic.c | 46 +- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 11 +- drivers/gpu/drm/tinydrm/Kconfig | 11 + drivers/gpu/drm/tinydrm/Makefile | 1 + drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 72 +- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 6 + drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 6 +- drivers/gpu/drm/tinydrm/hx8357d.c | 270 +++ drivers/gpu/drm/tinydrm/ili9225.c | 5 +- drivers/gpu/drm/tinydrm/ili9341.c | 4 +- drivers/gpu/drm/tinydrm/mi0283qt.c | 6 +- drivers/gpu/drm/tinydrm/mipi-dbi.c | 14 +- drivers/gpu/drm/tinydrm/repaper.c | 7 +- drivers/gpu/drm/tinydrm/st7586.c | 5 +- drivers/gpu/drm/tinydrm/st7735r.c | 4 +- drivers/gpu/drm/ttm/ttm_bo.c | 73 +- drivers/gpu/drm/ttm/ttm_bo_util.c | 4 +- drivers/gpu/drm/ttm/ttm_execbuf_util.c | 14 +- drivers/gpu/drm/ttm/ttm_memory.c | 14 +- drivers/gpu/drm/tve200/tve200_drv.c | 4 +- drivers/gpu/drm/udl/udl_main.c | 7 +- drivers/gpu/drm/v3d/v3d_bo.c | 1 + drivers/gpu/drm/v3d/v3d_debugfs.c | 46 +- drivers/gpu/drm/v3d/v3d_drv.c | 15 +- drivers/gpu/drm/v3d/v3d_drv.h | 37 +- drivers/gpu/drm/v3d/v3d_fence.c | 10 +- drivers/gpu/drm/v3d/v3d_gem.c | 212 +- drivers/gpu/drm/v3d/v3d_irq.c | 29 +- drivers/gpu/drm/v3d/v3d_regs.h | 79 + drivers/gpu/drm/v3d/v3d_sched.c | 152 +- drivers/gpu/drm/v3d/v3d_trace.h | 121 + drivers/gpu/drm/vc4/vc4_drv.c | 3 + drivers/gpu/drm/vc4/vc4_drv.h | 6 + drivers/gpu/drm/vc4/vc4_gem.c | 6 +- drivers/gpu/drm/vc4/vc4_plane.c | 375 +-- drivers/gpu/drm/vc4/vc4_regs.h | 8 +- drivers/gpu/drm/vgem/vgem_drv.c | 19 +- drivers/gpu/drm/vgem/vgem_fence.c | 2 +- drivers/gpu/drm/virtio/virtgpu_display.c | 12 + drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 31 + drivers/gpu/drm/virtio/virtgpu_drv.c | 1 + drivers/gpu/drm/virtio/virtgpu_drv.h | 43 +- drivers/gpu/drm/virtio/virtgpu_fb.c | 7 +- drivers/gpu/drm/virtio/virtgpu_fence.c | 39 +- drivers/gpu/drm/virtio/virtgpu_gem.c | 8 +- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 137 +- drivers/gpu/drm/virtio/virtgpu_kms.c | 56 +- drivers/gpu/drm/virtio/virtgpu_object.c | 26 +- drivers/gpu/drm/virtio/virtgpu_plane.c | 46 +- drivers/gpu/drm/virtio/virtgpu_ttm.c | 65 +- drivers/gpu/drm/virtio/virtgpu_vq.c | 129 +- drivers/gpu/drm/vkms/vkms_drv.c | 22 +- drivers/gpu/drm/vkms/vkms_drv.h | 3 - drivers/gpu/drm/vkms/vkms_gem.c | 26 - drivers/gpu/drm/vkms/vkms_plane.c | 9 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 16 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 17 +- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 - drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 3 - drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 593 +++-- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 150 +- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 12 +- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 10 +- drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 360 ++- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 562 +++-- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c | 54 - drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | 2 +- drivers/gpu/drm/zte/zx_drm_drv.c | 5 +- drivers/gpu/drm/zte/zx_plane.c | 1 - drivers/gpu/host1x/Makefile | 3 +- drivers/gpu/host1x/dev.c | 13 + drivers/gpu/host1x/hw/channel_hw.c | 7 +- drivers/gpu/host1x/hw/debug_hw_1x06.c | 7 +- drivers/gpu/host1x/hw/host1x07.c | 44 + drivers/gpu/host1x/hw/host1x07.h | 26 + drivers/gpu/host1x/hw/host1x07_hardware.h | 142 ++ drivers/gpu/host1x/hw/hw_host1x06_uclass.h | 2 +- drivers/gpu/host1x/hw/hw_host1x07_hypervisor.h | 32 + drivers/gpu/host1x/hw/hw_host1x07_uclass.h | 181 ++ drivers/gpu/host1x/hw/hw_host1x07_vm.h | 46 + drivers/gpu/host1x/hw/syncpt_hw.c | 4 + drivers/gpu/ipu-v3/ipu-cpmem.c | 52 +- drivers/gpu/ipu-v3/ipu-ic.c | 52 +- drivers/gpu/ipu-v3/ipu-image-convert.c | 1019 +++++++-- drivers/gpu/vga/vgaarb.c | 21 +- drivers/media/i2c/adv7511.c | 2 +- drivers/media/i2c/adv7604.c | 2 +- drivers/media/i2c/adv7842.c | 2 +- drivers/media/i2c/tc358743.c | 2 +- drivers/media/i2c/tda1997x.c | 4 +- drivers/staging/vboxvideo/vbox_drv.c | 1 - drivers/staging/vboxvideo/vbox_drv.h | 2 - drivers/staging/vboxvideo/vbox_ttm.c | 65 +- drivers/video/hdmi.c | 511 ++++- fs/sysfs/file.c | 4 +- include/drm/bridge/dw_hdmi.h | 1 + include/drm/bridge/dw_mipi_dsi.h | 14 +- include/drm/drmP.h | 7 +- include/drm/drm_atomic.h | 10 +- include/drm/drm_atomic_helper.h | 45 +- include/drm/drm_atomic_state_helper.h | 73 + include/drm/drm_connector.h | 60 +- include/drm/drm_crtc.h | 9 + include/drm/drm_crtc_helper.h | 6 - include/drm/drm_damage_helper.h | 99 + include/drm/drm_dp_helper.h | 98 + include/drm/drm_dp_mst_helper.h | 6 - include/drm/drm_drv.h | 14 +- include/drm/drm_dsc.h | 485 ++++ include/drm/drm_fb_cma_helper.h | 2 - include/drm/drm_file.h | 14 +- include/drm/drm_fourcc.h | 89 +- include/drm/drm_framebuffer.h | 24 - include/drm/drm_gem.h | 181 +- include/drm/drm_gem_cma_helper.h | 24 + include/drm/drm_global.h | 53 - include/drm/drm_hdcp.h | 212 ++ include/drm/drm_mipi_dsi.h | 8 + include/drm/drm_mode_config.h | 27 + include/drm/drm_modeset_lock.h | 59 + include/drm/drm_plane.h | 44 + include/drm/drm_plane_helper.h | 35 - include/drm/drm_prime.h | 4 +- include/drm/drm_property.h | 3 +- include/drm/drm_syncobj.h | 4 +- include/drm/drm_vblank.h | 8 +- include/drm/gpu_scheduler.h | 9 + include/drm/i915_pciids.h | 21 +- include/drm/tinydrm/tinydrm.h | 35 +- include/drm/ttm/ttm_bo_driver.h | 23 +- include/drm/ttm/ttm_execbuf_util.h | 4 +- include/drm/ttm/ttm_memory.h | 4 +- include/linux/dma-fence.h | 1 + include/linux/hdmi.h | 24 +- include/linux/reservation.h | 12 +- include/linux/swap.h | 4 +- include/linux/sysfs.h | 8 +- include/uapi/drm/amdgpu_drm.h | 6 + include/uapi/drm/drm_fourcc.h | 15 + include/uapi/drm/drm_mode.h | 19 + include/uapi/drm/i915_drm.h | 8 + include/uapi/drm/msm_drm.h | 25 +- include/uapi/drm/v3d_drm.h | 39 +- include/uapi/drm/virtgpu_drm.h | 13 +- include/uapi/linux/kfd_ioctl.h | 26 +- include/uapi/linux/virtio_gpu.h | 18 + include/video/imx-ipu-v3.h | 9 + mm/shmem.c | 2 +- mm/vmscan.c | 22 +- scripts/coccinelle/api/drm-get-put.cocci | 78 - sound/x86/intel_hdmi_audio.c | 26 +- 1034 files changed, 47537 insertions(+), 26720 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/himax,hx8357d.txt create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g101evn010 create mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt create mode 100644 Documentation/devicetree/bindings/display/panel/cdtech,s043wq26h-ct7.txt create mode 100644 Documentation/devicetree/bindings/display/panel/cdtech,s070wv95-ct16.txt create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc1010gig.txt create mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt create mode 100644 Documentation/devicetree/bindings/display/truly,nt35597.txt create mode 100644 Documentation/gpu/amdgpu-dc.rst create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h create mode 100644 drivers/gpu/drm/amd/amdgpu/ta_xgmi_if.h create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h create mode 100644 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c rename drivers/gpu/drm/amd/display/dc/dce/{dce_clocks.h => dce_clk_mgr.h} (54%) delete mode 100644 drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_clk_mgr.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_clk_mgr.h rename drivers/gpu/drm/amd/display/dc/inc/hw/{display_clock.h => clk_mgr.h} (63%) create mode 100644 drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h create mode 100644 drivers/gpu/drm/amd/display/modules/power/Makefile create mode 100644 drivers/gpu/drm/amd/display/modules/power/power_helpers.c create mode 100644 drivers/gpu/drm/amd/display/modules/power/power_helpers.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_sh_mask.h create mode 100644 drivers/gpu/drm/drm_atomic_state_helper.c create mode 100644 drivers/gpu/drm/drm_damage_helper.c create mode 100644 drivers/gpu/drm/drm_dsc.c delete mode 100644 drivers/gpu/drm/drm_global.c delete mode 100644 drivers/gpu/drm/drm_info.c create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dma.c delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_iommu.c delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_iommu.h create mode 100644 drivers/gpu/drm/i915/i915_fixed.h create mode 100644 drivers/gpu/drm/i915/i915_scheduler.c create mode 100644 drivers/gpu/drm/i915/intel_combo_phy.c rename drivers/gpu/drm/i915/{intel_modes.c => intel_connector.c} (54%) create mode 100644 drivers/gpu/drm/i915/intel_dsi.c create mode 100644 drivers/gpu/drm/i915/intel_quirks.c create mode 100644 drivers/gpu/drm/i915/intel_vdsc.c create mode 100644 drivers/gpu/drm/i915/selftests/igt_reset.c create mode 100644 drivers/gpu/drm/i915/selftests/igt_reset.h create mode 100644 drivers/gpu/drm/i915/selftests/igt_spinner.c create mode 100644 drivers/gpu/drm/i915/selftests/igt_spinner.h create mode 100644 drivers/gpu/drm/meson/meson_overlay.c create mode 100644 drivers/gpu/drm/meson/meson_overlay.h create mode 100644 drivers/gpu/drm/msm/adreno/a2xx_gpu.c create mode 100644 drivers/gpu/drm/msm/adreno/a2xx_gpu.h create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_dbg.c delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_dbg.h delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_irq.c delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_irq.h delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.c delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_power_handle.h create mode 100644 drivers/gpu/drm/msm/msm_gpu_trace.h create mode 100644 drivers/gpu/drm/msm/msm_gpu_tracepoints.c create mode 100644 drivers/gpu/drm/msm/msm_gpummu.c create mode 100644 drivers/gpu/drm/nouveau/dispnv50/corec57d.c create mode 100644 drivers/gpu/drm/nouveau/dispnv50/headc57d.c create mode 100644 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c create mode 100644 drivers/gpu/drm/nouveau/include/nvif/clc36f.h create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/ce/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/roottu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/tu104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu104.c create mode 100644 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c create mode 100644 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c create mode 100644 drivers/gpu/drm/panel/panel-truly-nt35597.c create mode 100644 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c delete mode 100644 drivers/gpu/drm/rockchip/dw-mipi-dsi.c delete mode 100644 drivers/gpu/drm/selftests/drm_helper_selftests.h create mode 100644 drivers/gpu/drm/selftests/drm_modeset_selftests.h create mode 100644 drivers/gpu/drm/selftests/test-drm_damage_helper.c create mode 100644 drivers/gpu/drm/selftests/test-drm_format.c create mode 100644 drivers/gpu/drm/selftests/test-drm_framebuffer.c create mode 100644 drivers/gpu/drm/selftests/test-drm_modeset_common.c create mode 100644 drivers/gpu/drm/selftests/test-drm_modeset_common.h rename drivers/gpu/drm/selftests/{test-drm-helper.c => test-drm_plane_helper.c} (90%) create mode 100644 drivers/gpu/drm/tinydrm/hx8357d.c create mode 100644 drivers/gpu/host1x/hw/host1x07.c create mode 100644 drivers/gpu/host1x/hw/host1x07.h create mode 100644 drivers/gpu/host1x/hw/host1x07_hardware.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x07_hypervisor.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x07_uclass.h create mode 100644 drivers/gpu/host1x/hw/hw_host1x07_vm.h create mode 100644 include/drm/drm_atomic_state_helper.h create mode 100644 include/drm/drm_damage_helper.h create mode 100644 include/drm/drm_dsc.h delete mode 100644 include/drm/drm_global.h delete mode 100644 scripts/coccinelle/api/drm-get-put.cocci