From patchwork Fri Sep 27 05:18:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Airlie X-Patchwork-Id: 11163747 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 946161747 for ; Fri, 27 Sep 2019 05:19:14 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7653C2146E for ; Fri, 27 Sep 2019 05:19:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7653C2146E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 618926EE47; Fri, 27 Sep 2019 05:19:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 36C6C6EE47 for ; Fri, 27 Sep 2019 05:19:11 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id m7so1206679lji.2 for ; Thu, 26 Sep 2019 22:19:11 -0700 (PDT) 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; bh=r8lBKoBJtqjx4pldSQUNGMPY5GHC/F6IscYKypNYQL8=; b=rMlf2qbNWohqmmJB71uSyXVSV5bzLX8N4/lPLwiVotWy0U5rHM0e5GTHYK8/sFaS+K idg1W4lz5YYWX+/00/r+fGArTLYaghWLRpjoHFGMKmgjv8+TElC/frGYPImq//WaOL/p dzCQpFIHVxmpzf45k8dWp2W6WpU0bDef7Mz+h1abAJayn+2JX0J/kKinNfFUSGHFZoLd u8WkUmXPz/c19vdp2tSOZoZnUaggkFyj4Lp+oSHL+BfrPkXoVlryVxs1qBrNZxNYWRN1 F+MHGjwZzifZtam5sM5lu5e5DtU+7l7C6nRZhNKsDwlDtRtK6bGoiKPOoQ9yS4hALu74 TuYw== X-Gm-Message-State: APjAAAWd0w1IbyGikbz6OqNcDbMIMXroVtMIYRKdhdh759nw5FQ1631w iRfwOiqEo/JhHyA8r7PAlKPXIDKiKjDGmgFqhKI= X-Google-Smtp-Source: APXvYqy5hsuzQsxZJCogBCCuF1PTWvD0iHDMCSuuLibiiNpnTmQlIRZ4u2IFba+kSCEYiZzSUYCd1QKinoVsHq1r0RA= X-Received: by 2002:a2e:3808:: with SMTP id f8mr1372753lja.7.1569561549022; Thu, 26 Sep 2019 22:19:09 -0700 (PDT) MIME-Version: 1.0 From: Dave Airlie Date: Fri, 27 Sep 2019 15:18:57 +1000 Message-ID: Subject: [git pull] drm fixes for 5.4-rc1 To: Linus Torvalds , Daniel Vetter X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=r8lBKoBJtqjx4pldSQUNGMPY5GHC/F6IscYKypNYQL8=; b=Tm8lp3isjjFbB7jRkT8sqQ/YpH3oj+5MW7Sdfohs6USuwLLlW0JPv0e+aLnCCoAxLr Vwns0cxgOGvK7uoQLjR2VRtbsNm8pxqyss4VK3Xap27puKNIwu8y2yIFMb83H7k+8aMf sPJfEiD4ucFCiiLrupN6eCywrHFAjmXzVdlCEcHtSvl/MsJICHCPa2TBKjf6VwWwyyLa onxha76Xd4JQIcg0Cf68g2rkCliHUHSqR/VrUNYjujXjxIKuTYZpRikjzw1L0wh6LAKP MKYvHC/o6jmA0zZ9+NHZhpp8PfqPeUurKCo3KJm3oQ9KrWsQjchB+DM+uvcTswoIoQEs vXyA== 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" Hey Linus, Fixes built up over the past 1.5 weeks or so, it's two weeks of amdgpu, some core cleanups and some panfrost fixes. I also finally figured out why my desktop was slow to do a bunch of stuff (someone gave it an IPv6 address which can't reach anything!). Dave. drm-next-2019-09-27: drm fixes for 5.4-rc1 core: - Some cleanups and fixes in the self-refresh helpers - Some cleanups and fixes in the atomic helpers amdgpu: - Fix a 64 bit divide - Prevent a memory leak in a failure case in dc - Load proper gfx firmware on navi14 variants - Add more navi12 and navi14 PCI ids - Misc fixes for renoir - Fix bandwidth issues with multiple displays on vega20 - Support for Dali - Fix a possible oops with KFD on hawaii - Fix for backlight level after resume on some APUs - Other misc fixes panfrost: - Multiple panfrost fixes for regulator support and page fault handling The following changes since commit 945b584c94f8c665b2df3834a8a6a8faf256cd5f: Merge branch 'linux-5.4' of git://github.com/skeggsb/linux into drm-next (2019-09-17 16:31:34 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm tags/drm-next-2019-09-27 for you to fetch changes up to 3e2cb6d89325dc36a03937a2b82fc7eb902c96b0: Merge tag 'drm-fixes-5.4-2019-09-25' of git://people.freedesktop.org/~agd5f/linux into drm-next (2019-09-26 11:59:40 +1000) ---------------------------------------------------------------- drm fixes for 5.4-rc1 core: - Some cleanups and fixes in the self-refresh helpers - Some cleanups and fixes in the atomic helpers amdgpu: - Fix a 64 bit divide - Prevent a memory leak in a failure case in dc - Load proper gfx firmware on navi14 variants - Add more navi12 and navi14 PCI ids - Misc fixes for renoir - Fix bandwidth issues with multiple displays on vega20 - Support for Dali - Fix a possible oops with KFD on hawaii - Fix for backlight level after resume on some APUs - Other misc fixes panfrost: - Multiple panfrost fixes for regulator support and page fault handling ---------------------------------------------------------------- Aaron Liu (3): drm/amdgpu: disable stutter mode for renoir drm/amd/display: update renoir_ip_offset.h drm/amdgpu: remove program of lbpw for renoir Alex Deucher (3): drm/amdgpu: flag navi12 and 14 as experimental for 5.4 drm/amdgpu/display: fix 64 bit divide drm/amdgpu/display: include slab.h in dcn21_resource.c Andrey Grodzovsky (2): drm/amdgpu: Add smu lock around in pp_smu_i2c_bus_access drm/amdgpu: Remove clock gating restore. Bhawanpreet Lakha (2): drm/amd/display: add Asic ID for Dali drm/amd/display: Implement voltage limitation for dali Charlene Liu (1): drm/amd/display: dce11.x /dce12 update formula input Daniel Vetter (4): drm/kms: Duct-tape for mode object lifetime checks drm/atomic: Take the atomic toys away from X drm/atomic: Reject FLIP_ASYNC unconditionally drm/atomic: Rename crtc_state->pageflip_flags to async_flip Dave Airlie (2): Merge tag 'drm-misc-next-fixes-2019-09-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-next Merge tag 'drm-fixes-5.4-2019-09-25' of git://people.freedesktop.org/~agd5f/linux into drm-next Felix Kuehling (1): drm/amdgpu: Fix KFD-related kernel oops on Hawaii Hans de Goede (1): drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passed Jay Cornwall (1): drm/amdkfd: Swap trap temporary registers in gfx10 trap handler Kai-Heng Feng (1): drm/amd/display: Restore backlight brightness after system resume Mark Brown (1): drm/panfrost: Fix regulator_get_optional() misuse Navid Emamdoost (1): drm/amd/display: prevent memory leak Prike Liang (2): drm/amd/amdgpu: power up sdma engine when S3 resume back drm/amd/powerplay: implement sysfs for getting dpm clock Rob Clark (1): Revert "drm/bridge: adv7511: Attach to DSI host at probe time" Roman Li (1): drm/amd/display: Add stereo mux and dig programming calls for dcn21 Sean Paul (2): drm: Fix kerneldoc and remove unused struct member in self_refresh helper drm: Measure Self Refresh Entry/Exit times to avoid thrashing Steven Price (2): drm/panfrost: Remove NULL checks for regulator drm/panfrost: Prevent race when handling page fault Tianci.Yin (3): drm/amdgpu: add navi14 PCI ID for work station SKU drm/amdgpu: add navi12 pci id drm/amdgpu/gfx10: add support for wks firmware loading Trek (1): drm/amdgpu: Check for valid number of registers to read Zhan Liu (1): drm/amd/display: Add missing HBM support and raise Vega20's uclk. drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 7 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 3 + drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 22 +++++-- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 - drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 10 +-- drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 10 ++- drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h | 6 +- .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm | 10 +-- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++- drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 4 ++ .../amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c | 27 ++++++-- drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 4 +- .../drm/amd/display/dc/dce100/dce100_resource.c | 1 + .../drm/amd/display/dc/dce110/dce110_resource.c | 1 + .../drm/amd/display/dc/dce112/dce112_resource.c | 17 +++-- .../drm/amd/display/dc/dce120/dce120_resource.c | 12 +++- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 1 + .../gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 + .../amd/display/dc/gpio/dcn21/hw_factory_dcn21.c | 38 ++++++++++- .../amd/display/dc/gpio/dcn21/hw_translate_dcn21.c | 3 +- drivers/gpu/drm/amd/display/dc/inc/resource.h | 2 + drivers/gpu/drm/amd/display/include/dal_asic_id.h | 7 ++- drivers/gpu/drm/amd/include/renoir_ip_offset.h | 2 +- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 7 ++- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 + drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 70 +++++++++++++++++++++ drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 25 ++++++++ drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 12 +--- drivers/gpu/drm/drm_atomic_helper.c | 22 ++++++- drivers/gpu/drm/drm_atomic_state_helper.c | 2 +- drivers/gpu/drm/drm_atomic_uapi.c | 3 +- drivers/gpu/drm/drm_drv.c | 4 +- drivers/gpu/drm/drm_ioctl.c | 7 ++- drivers/gpu/drm/drm_mode_object.c | 4 +- drivers/gpu/drm/drm_self_refresh_helper.c | 73 +++++++++++++++++++--- drivers/gpu/drm/nouveau/dispnv50/wndw.c | 4 +- drivers/gpu/drm/panfrost/panfrost_devfreq.c | 10 ++- drivers/gpu/drm/panfrost/panfrost_device.c | 8 +-- drivers/gpu/drm/panfrost/panfrost_mmu.c | 55 ++++++++++------ drivers/gpu/drm/radeon/radeon_drv.c | 31 +++++++++ drivers/gpu/drm/radeon/radeon_kms.c | 25 -------- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 5 +- include/drm/drm_crtc.h | 10 +-- include/drm/drm_self_refresh_helper.h | 6 +- 46 files changed, 444 insertions(+), 146 deletions(-)