From patchwork Wed Jul 24 21:05:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 11057617 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 B611313B1 for ; Wed, 24 Jul 2019 21:05:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A661B1FE82 for ; Wed, 24 Jul 2019 21:05:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 971FA28935; Wed, 24 Jul 2019 21:05:43 +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 1A3AB28929 for ; Wed, 24 Jul 2019 21:05:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B85716E642; Wed, 24 Jul 2019 21:05:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by gabe.freedesktop.org (Postfix) with ESMTPS id D6C696E573; Wed, 24 Jul 2019 21:05:38 +0000 (UTC) Received: by mail-qt1-x834.google.com with SMTP id x22so42035461qtp.12; Wed, 24 Jul 2019 14:05:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=p5kfdeFozHQFl0Ob+1O7aSplEg31jNIXiqABgZMp0VQ=; b=mu1Nbvw/F0r35gDe46gfte97IqAe5BdiWgB0SH4P+BWJG1kWuRUKj+OBGZQWgTZTx5 faWoFFD6xmEBZLaGPA9cTqTNFmTEXlgW1TQotPbi1zjuD4yvf8C0esqj8JoS740RreNH 6sBQP++tz/1DIj0iEuoxPxLVCcqzW17puvEslqHjRD3paTavBPRNJAwt7sZ3liOCRC2z rMEYfqgxh8bITAkjY9lrxuPrE6URJw0wkih8OfVOnzVSQRPIaoay4gcLBKkYdm01oPPF k4OzYohwBFXpdjz6zGicMTvJcSZ2BEZFZT2h/8FKD3Ynono7fFwXa6Uhup7u5mggF5+3 BsJg== X-Gm-Message-State: APjAAAUkiCOUarufnfYHw1F6NgEjPC8Cggc2k3mhsM/Ytk2PclZtkwfm YQdsQrWmmsPTDi/Bty+2oSQoom+g X-Google-Smtp-Source: APXvYqzhYb8yMTNhw0ApMCW2ZBQm6ya4wBo7X332YAxZxLAPl17yWeB/lbBze3fEavBkUbEsGFrSAA== X-Received: by 2002:a0c:acb5:: with SMTP id m50mr60958108qvc.82.1564002337597; Wed, 24 Jul 2019 14:05:37 -0700 (PDT) Received: from localhost.localdomain ([71.51.160.180]) by smtp.gmail.com with ESMTPSA id k25sm23874200qta.78.2019.07.24.14.05.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 14:05:36 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, airlied@gmail.com, daniel.vetter@ffwll.ch Subject: [pull] amdgpu, ttm drm-fixes-5.3 Date: Wed, 24 Jul 2019 16:05:27 -0500 Message-Id: <20190724210527.3415-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=p5kfdeFozHQFl0Ob+1O7aSplEg31jNIXiqABgZMp0VQ=; b=HeySAUrWWmflq/jMg8gebk91Basf6NkSqKQcxCgFAJJrdiLXyK8ljpWJbMgtu2tAfB Lcl2cADIBxBFcEtNp6gDPDDJZa6BuZfHref1Iw4PjeUwhUuIVvo7Don23AqedhvwvVn5 PvzranazNFPMMm6Btxx3MNPnN3/n/G24S9ONpp0KO2MdbuKIoeWLCYsL3vTe5XjX5RCg hUaO4kmvKwrmDReY1FlWBQhoeBrRs4j91a7AXgtSYv1xZHTsP2p/obQnVuR4/ELMQzpP Nvn/3iTdOYVeN1b7i+UM3VzXgVj895BAGbMt+c4iiBrZy7eynfnYekhTKDg5QSu/wne9 jpHw== 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: Alex Deucher Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, Daniel, Fixes for 5.3. Mostly display fixes and a few power fixes for Navi. The following changes since commit 41a5a2a8531f95d18bb4efddea581ccb469e8ee5: drm/amd/display: init res_pool dccg_ref, dchub_ref with xtalin_freq (2019-07-18 14:12:08 -0500) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux tags/drm-fixes-5.3-2019-07-24 for you to fetch changes up to 92e6475ae0a0383b012eb21c1aaf0e5456b1a3d9: drm/amd/display: Set enabled to false at start of audio disable (2019-07-23 15:27:09 -0500) ---------------------------------------------------------------- drm-fixes-5.3-2019-07-24: amdgpu: - RAS fixes for vega20 - Navi VCN fix - DC audio fixes - DC DSC fixes - DC dongle fixes - DC clk mgr fixes - Fix DDC lines on some RV2 boards - GDS fixes for compute - Navi SMU fixes ttm: - Use the same attributes when freeing d_page->vaddr ---------------------------------------------------------------- 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 Dale Zhao (1): drm/amd/display: handle active dongle port type is DP++ or DP case Derek Lai (2): drm/amd/display: Read max down spread drm/amd/display: allocate 4 ddc engines for RV2 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 Samson Tam (1): drm/amd/display: skip retrain in dc_link_set_preferred_link_settings() if using passive dongle 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/ttm/ttm_page_alloc_dma.c | 6 +- 38 files changed, 437 insertions(+), 152 deletions(-)