From patchwork Fri Feb 8 21:02:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 10803767 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 B1B0913B4 for ; Fri, 8 Feb 2019 21:02:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3A252EC95 for ; Fri, 8 Feb 2019 21:02:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1C372ED0F; Fri, 8 Feb 2019 21:02:31 +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=-3.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_WEB 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 7EE002EC95 for ; Fri, 8 Feb 2019 21:02:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0812F6EE97; Fri, 8 Feb 2019 21:02:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-it1-x12f.google.com (mail-it1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by gabe.freedesktop.org (Postfix) with ESMTPS id CBD426E343; Fri, 8 Feb 2019 21:02:26 +0000 (UTC) Received: by mail-it1-x12f.google.com with SMTP id y184so5952574itc.1; Fri, 08 Feb 2019 13:02:26 -0800 (PST) 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=PEHGmqmqfQInEdtlO4tTsu1LaVW49Vtzp5NfZFRz02I=; b=BWM25oEjI+9FosqqO7pUya2ACtd6s+yEGJDZtoHAP2KIGlA7TvmdQ/LtEWRM+Ma3AV 1MjonW711TeWwj6yqvNcS86kw9oedImwk8rUQiWDDB8nCTvJmuB78+mfcZVDPfn0jdof 5QoESh3j8M8BOH/iI7lTqR4TbBG2M+lWjpzQy/aWYCSccMxZC2pbzOI7C4jhua8v3Zqn F9P6AXduJNAhDGxwncV8xaAnaKq1k3j3UW9EDhEOLHvWs85dAvTHHfWJnQn6wxwlQxyQ HkuL2NuwPHq6SAMcC+0jCztGmnK/H7nlRi3Ib9DCvK7nbe6C0V2g3m3pNMXNcqq4bGXX 7rhA== X-Gm-Message-State: AHQUAubHweRCKWe1LB6nW2EkkGwFSA9W61txKO9oxeKDdVrX0iY1vVK0 1XZQ4wsU+EsxZ22TKX3430EFKrxD X-Google-Smtp-Source: AHgI3IYOXYuYPwNi7TdLz5UhvEhaLD0e4gnQpzyMXa5Lj6DLwWZBkT65xlO9B3uucOkJMx/DeOLwCA== X-Received: by 2002:a24:f607:: with SMTP id u7mr271203ith.89.1549659745672; Fri, 08 Feb 2019 13:02:25 -0800 (PST) Received: from crucial.amd.com ([165.204.55.251]) by smtp.gmail.com with ESMTPSA id y8sm1756146ita.5.2019.02.08.13.02.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 08 Feb 2019 13:02:24 -0800 (PST) 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 drm-next-5.1 Date: Fri, 8 Feb 2019 16:02:14 -0500 Message-Id: <20190208210214.27666-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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, Updates for 5.1: - GDS fixes - Add AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES interface - GPUVM fixes - PCIE DPM switching fixes for vega20 - Vega10 uclk DPM regression fix - DC Freesync fixes - DC ABM fixes - Various DC cleanups The following changes since commit 47dd8048a1bf5b2fb96e5abe99b4f1dcd208ea4d: drm/amdgpu: Show XGMI node and hive message per device only once (2019-01-29 15:16:18 -0500) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-5.1 for you to fetch changes up to 0461221316ec21e0a535a35fba3feb6ba75706e6: drm/amd/display: Check hpd_gpio for NULL before accessing it (2019-02-07 17:22:12 -0500) ---------------------------------------------------------------- Andrey Grodzovsky (1): drm/amdgpu: Add AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES Anthony Koo (8): drm/amd/display: fix issue with DC brightness low with VB drm/amd/display: link_rate_set should index into table drm/amd/display: interface to check if timing can be seamless drm/amd/display: refactor out programming of vupdate interrupt drm/amd/display: add way to determine if link is active drm/amd/display: add seamless boot flag to stream drm/amd/display: refactor programming of DRR drm/amd/display: refactor init_hw to isolate pipe related init Chiawen Huang (1): drm/amd/display: add gpio lock/unlock Christian König (4): drm/amdgpu: cleanup amdgpu_pte_update_params drm/amdgpu: fix waiting for BO moves with CPU based PD/PT updates drm/amdgpu: cleanup VM dw estimation a bit drm/amdgpu: fix NULL ptr dref in the VM code Colin Ian King (1): drm/amd/amdgpu: fix spelling mistake "matech" -> "match" Dmytro Laktyushkin (2): drm/amd/display: add a debug flag to force odm combine drm/amd/display: add n_vid_mul and half pix_rate for odm Eryk Brol (1): drm/amd/display: DC VM Fixes Harish Kasiviswanathan (2): drm/amdgpu: Fix pci platform speed and width drm/amd/powerplay: add override pcie parameters for Vega20 (v2) Harry Wentland (1): drm/amd/display: Check hpd_gpio for NULL before accessing it Ilya Bakoulin (1): drm/amd/display: Check that vrefresh is in freesync range Jerry (Fangzhi) Zuo (2): drm/amd/display: Apply fake sink back to MST sequence drm/amd/display: Clear dc_sink after it gets released John Barberiz (1): drm/amd/display: Use udelay when waiting between aux retries Josip Pavic (1): drm/amd/display: Modify ABM 2.2 Max Reduction Kenneth Feng (1): drm/amd/powerplay: update soc boot and max level on vega10 Krunoslav Kovac (1): drm/amd/display: DGAM enabled for HDR Marek Olšák (2): drm/amdgpu: clean up memory/GDS/GWS/OA alignment code drm/amdgpu: add a workaround for GDS ordered append hangs with compute queues Murton Liu (1): drm/amd/display: PIP overlay corruption Nathan Chancellor (3): drm/amd/display: Use memset to initialize variable in wait_for_training_aux_rd_interval drm/amd/display: Use memset to initialize variables in amdgpu_dm_atomic_commit_tail drm/amd/display: Use memset to initialize variables in fill_plane_dcc_attributes Nicholas Kazlauskas (8): drm/amd/display: Don't re-enable CRC when CONFIG_DEBUG_FS isn't defined drm/amd/display: Apply all surface updates onto surfaces drm/amd/display: Use the right surface for flip and FreeSync drm/amd/display: Reformat dm_determine_update_type_for_commit drm/amd/display: Initialize stream_update to zero drm/amd/display: Remove FreeSync timing changed debug output drm/amd/display: Disconnect mpcc when changing tg drm/amd/display: Don't re-program planes for DPMS changes Paul Hsieh (1): drm/amd/display: dmcu is blocking due to wrong disable ABM command Pratik Vishwakarma (1): drm/amdgpu/display: fix compiler errors [-Werror,-Wparentheses-equality] Shirish S (1): drm/amd/display: Use context parameters to enable FBC Steven Chiu (1): drm/amd/display: 3.2.16 Su Sung Chung (1): drm/amd/display: store timing sync info in dc_stream_status Wenjing Liu (1): drm/amd/display: determine if a pipe is synced by plane state Wesley Chalmers (1): drm/amd/display: Disable Stutter for Stereo 3D Xiaodong Yan (1): drm/amd/display: Add monitor patch for backlight off Yongqiang Sun (2): drm/amd/display: pass vline_config parameter by reference. drm/amd/display: Calc vline position in dc. mark mcgarrity (1): drm/amd/display: 3.2.17 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 13 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 58 ++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 7 - drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 33 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 19 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 21 ++- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 40 ++++- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 198 ++++++++++----------- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 5 + .../gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c | 2 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 189 ++++++++++++++++++-- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 66 ++++--- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 39 +--- drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c | 4 + drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 56 +++++- drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c | 18 +- drivers/gpu/drm/amd/display/dc/dc.h | 8 +- drivers/gpu/drm/amd/display/dc/dc_link.h | 2 + drivers/gpu/drm/amd/display/dc/dc_stream.h | 25 ++- drivers/gpu/drm/amd/display/dc/dc_types.h | 1 + drivers/gpu/drm/amd/display/dc/dce/dce_abm.c | 4 +- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +- .../gpu/drm/amd/display/dc/dce/dce_clock_source.c | 28 ++- .../amd/display/dc/dce110/dce110_hw_sequencer.c | 52 +++--- .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 19 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h | 2 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 23 ++- .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 194 ++++++++++---------- .../drm/amd/display/dc/dcn10/dcn10_link_encoder.c | 10 ++ .../drm/amd/display/dc/dcn10/dcn10_link_encoder.h | 2 + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 197 ++++++++++++++++++-- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h | 8 +- drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c | 12 ++ drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c | 28 +++ drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h | 10 ++ drivers/gpu/drm/amd/display/dc/inc/clock_source.h | 4 + .../gpu/drm/amd/display/dc/inc/hw/link_encoder.h | 1 + .../drm/amd/display/dc/inc/hw/timing_generator.h | 13 +- drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 2 + drivers/gpu/drm/amd/display/dc/inc/vm_helper.h | 7 +- .../gpu/drm/amd/display/include/gpio_interface.h | 8 + .../drm/amd/display/modules/color/color_gamma.c | 89 +++++---- .../drm/amd/display/modules/power/power_helpers.c | 38 ++-- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 7 + drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 47 ++--- include/uapi/drm/amdgpu_drm.h | 6 + 51 files changed, 1161 insertions(+), 486 deletions(-)