From patchwork Fri Jul 26 19:45:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 11061779 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 1214F6C5 for ; Fri, 26 Jul 2019 19:46:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E871D28AD9 for ; Fri, 26 Jul 2019 19:46:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB71E28B53; Fri, 26 Jul 2019 19:46:07 +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,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 F2B4228AD9 for ; Fri, 26 Jul 2019 19:46:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 01B0B6EE48; Fri, 26 Jul 2019 19:46:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by gabe.freedesktop.org (Postfix) with ESMTPS id 58EDB6EE48 for ; Fri, 26 Jul 2019 19:46:03 +0000 (UTC) Received: by mail-ed1-x544.google.com with SMTP id p15so54172062eds.8 for ; Fri, 26 Jul 2019 12:46:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:mime-version:content-disposition:user-agent; bh=L4t9Gb5wdpUDJu8Ctky1K9stmJHDUUhq/Em1BqaX6Lo=; b=rROYdMdapuoQ0Es/9gFocx9yMVJUQ7CWqgXu8UnMRB0VoJJp+eAgIVO5TK9573lF4r UjMxyPmCJRJHBAE+YpVTWsADSKzOVRiMAWnLyquZPqTwXIbpCIw5xw25cXcsmjchIKc+ LLfzJGYAhl30PmYyoeCKAjq6Pei1y9sm6xqL39iXXbEGfTdCBC1BzpOzpXHbyx8mb1TK srJXfehYsJt0J03Sy7zlnotW7ErDXP4vH2OsdqakvEr+ToKGnsuslakWOenhNSxCB7Fv eCECeE9uQzGpzUGsGRztvrv25A9o0CKh8mNyC9HLJNK2H0PjLYioXHLRKfTvZgVZLIAG yZsg== X-Gm-Message-State: APjAAAWDDqjvhI+GkEbT3Tt2F03kuaEeLYqbvVeQtBHthg2KRttHK3uJ /pk9w41G6uwQhYOs+3PlzrMjB0/NQbo= X-Google-Smtp-Source: APXvYqys/q+lV2dfzJrgKok7uN3eGVvkDXAkitQeEW3idm97yZupbR6TgJ3TKnxLBjfAK0T1kYdZHg== X-Received: by 2002:a50:8828:: with SMTP id b37mr84119656edb.266.1564170361846; Fri, 26 Jul 2019 12:46:01 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id r44sm14432041edd.20.2019.07.26.12.46.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 26 Jul 2019 12:46:00 -0700 (PDT) Date: Fri, 26 Jul 2019 21:45:55 +0200 From: Daniel Vetter To: Linus Torvalds Subject: [PULL] drm-fixes Message-ID: <20190726194555.GA30301@phenom.ffwll.local> Mail-Followup-To: Linus Torvalds , DRI Development , LKML , Dave Airlie MIME-Version: 1.0 Content-Disposition: inline X-Operating-System: Linux phenom 4.19.0-5-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=L4t9Gb5wdpUDJu8Ctky1K9stmJHDUUhq/Em1BqaX6Lo=; b=LIsCva+4FPEUMRRogwio+q/TYlTcXvFkQ4UENfmrnQKFprCT7lqmoWognT8wuz//J5 gk3rSQY2pkQ/JLqlw6coDQjO5KfE8IhHm1ZlpcBlTVjB5eACgi87XxKzmcPHB1jHKe80 sfQ7XyVvKuAaGGxCVQhxVaZxDdfURi3jYZ7xo= 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 Development Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, Dave seems to collect an entire streak of things happening, so again me typing pull summary. Nothing nefarious here, most of the fixes are for new stuff or things users won't see. The amd-display patches are a bit different, and very much look like they should have at least some cc: stable tags. Might be amd is a bit too comfortable with their internal tree and not enough looking at upstream. Dave&me are looking into this, in case something needs rectified with process here. Also no intel fixes pull, but intel CI is general become rather good, still I guess expect a notch more for -rc3. Cheers, Daniel PS: I checked, no :w bird emoij in here this time around. drm-fixes-2019-07-26: drm-fixes for 5.3-rc2: amdgpu: - fixes for (new in 5.3) hw support (vega20, navi) - disable RAS - lots of display fixes all over (audio, DSC, dongle, clock mgr) ttm: - fix dma_free_attrs calls to appease dma debugging msm: - fixes for dma-api, locking debug and compiler splats core: - fix cmdline mode to not apply rotation if not specified (new in 5.3) - compiler warn fix Cheers, Daniel The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-07-26 for you to fetch changes up to 4d5308e7852741318e4d40fb8d43d9311b3984ae: Merge tag 'drm-fixes-5.3-2019-07-24' of git://people.freedesktop.org/~agd5f/linux into drm-fixes (2019-07-26 14:10:26 +1000) ---------------------------------------------------------------- drm-fixes for 5.3-rc2: amdgpu: - fixes for (new in 5.3) hw support (vega20, navi) - disable RAS - lots of display fixes all over (audio, DSC, dongle, clock mgr) ttm: - fix dma_free_attrs calls to appease dma debugging msm: - fixes for dma-api, locking debug and compiler splats core: - fix cmdline mode to not apply rotation if not specified (new in 5.3) - compiler warn fix ---------------------------------------------------------------- Alex Deucher (1): drm/amdgpu/smu: move fan rpm query into the asic specific code Alvin Lee (3): drm/amd/display: Disable Audio on reinitialize hardware drm/amd/display: Wait for flip to complete drm/amd/display: Only enable audio if speaker allocation exists Brian Masney (1): drm/msm: correct NULL pointer dereference in context_init Dale Zhao (1): drm/amd/display: handle active dongle port type is DP++ or DP case Dave Airlie (2): Merge tag 'drm-misc-fixes-2019-07-25' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-fixes-5.3-2019-07-24' of git://people.freedesktop.org/~agd5f/linux into drm-fixes Derek Lai (2): drm/amd/display: Read max down spread drm/amd/display: allocate 4 ddc engines for RV2 Dmitry Osipenko (1): drm/modes: Don't apply cmdline's rotation if it wasn't specified Dmytro Laktyushkin (2): drm/amd/display: fix dsc disable drm/amd/display: Set default block_size, even in unexpected cases Eric Yang (2): drm/amd/display: put back front end initialization sequence drm/amd/display: do not read link setting if edp not connected Evan Quan (1): drm/amd/powerplay: report bootup clock as max supported on dpm disabled Fatemeh Darbehani (1): drm/amd/display: Change min_h_sync_width from 8 to 4 Fuqian Huang (1): drm/ttm: use the same attributes when freeing d_page->vaddr Harmanprit Tatla (1): drm/amd/display: No audio endpoint for Dell MST display Hawking Zhang (4): drm/amdgpu: do not create ras debugfs/sysfs node for ASICs that don't have ras ability drm/amdgpu: disable GFX RAS by default drm/amdgpu: only allow error injection to UMC IP block drm/amdgpu: drop ras self test Ilya Bakoulin (1): drm/amd/display: Check for valid stream_encode Joseph Greathouse (1): drm/amdgpu: Default disable GDS for compute VMIDs Julian Parkin (2): drm/amd/display: Poll for GPUVM context ready (v2) drm/amd/display: Fix dc_create failure handling and 666 color depths Jun Lei (4): drm/amd/display: initialize p_state to proper value drm/amd/display: fix up HUBBUB hw programming for VM drm/amd/display: cap DCFCLK hardmin to 507 for NV10 drm/amd/display: swap system aperture high/low Kevin Wang (2): drm/amd/powerplay: change sysfs pp_dpm_xxx format for navi10 drm/amd/powerplay: custom peak clock freq for navi10 Leo Liu (1): drm/amdgpu: use VCN firmware offset for cache window Murton Liu (1): drm/amd/display: Clock does not lower in Updateplanes Nicholas Kazlauskas (2): drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct drm/amd/display: Set enabled to false at start of audio disable Nikola Cornij (1): drm/amd/display: Set one 4:2:0-related PPS field as recommended by DSC spec Qian Cai (1): drm: silence variable 'conn' set but not used Rob Clark (1): drm/msm: stop abusing dma_map/unmap for cache Samson Tam (1): drm/amd/display: skip retrain in dc_link_set_preferred_link_settings() if using passive dongle Sean Paul (1): Merge drm-misc-next-fixes-2019-07-18 into drm-misc-fixes Shubhashree Dhar (1): drm/msm/dpu: Correct dpu encoder spinlock initialization SivapiriyanKumarasamy (1): drm/amd/display: Wait for backlight programming completion in set backlight level Tai Man (2): drm/amd/display: use encoder's engine id to find matched free audio device drm/amd/display: Increase size of audios array Wenjing Liu (1): drm/amd/display: wait for the whole frame after global unlock Zhan Liu (1): drm/amd/display: drop ASSERT() if eDP panel is not connected Zi Yu Liao (1): drm/amd/display: fix DMCU hang when going into Modern Standby drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 19 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 9 ++ drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 9 ++ drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 9 ++ drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 9 ++ drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 3 - .../amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c | 4 +- .../amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c | 4 +- .../amd/display/dc/clk_mgr/dce120/dce120_clk_mgr.c | 4 +- .../amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 3 + drivers/gpu/drm/amd/display/dc/core/dc.c | 6 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 30 ++++-- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 39 +++++-- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 11 +- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 3 +- drivers/gpu/drm/amd/display/dc/dce/dce_abm.c | 4 + .../amd/display/dc/dce110/dce110_hw_sequencer.c | 24 +++-- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 21 ++-- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c | 18 ++-- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 22 +++- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 4 + drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c | 37 +++++++ drivers/gpu/drm/amd/display/dc/dsc/drm_dsc_dc.c | 6 ++ drivers/gpu/drm/amd/display/dc/inc/core_types.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 4 +- drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 1 + drivers/gpu/drm/amd/display/include/dpcd_defs.h | 2 +- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 100 ++++++++++++------ drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 10 +- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 114 +++++++++++++++++++-- drivers/gpu/drm/amd/powerplay/navi10_ppt.h | 4 + drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 18 ---- drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 20 +++- drivers/gpu/drm/drm_client_modeset.c | 2 +- drivers/gpu/drm/drm_framebuffer.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 3 +- drivers/gpu/drm/msm/msm_drv.c | 2 +- drivers/gpu/drm/msm/msm_gem.c | 4 +- drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 6 +- 43 files changed, 443 insertions(+), 159 deletions(-)