From patchwork Tue Sep 11 06:46:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Skeggs X-Patchwork-Id: 10595105 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 EFD1D14DB for ; Tue, 11 Sep 2018 06:46:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE29028F52 for ; Tue, 11 Sep 2018 06:46:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D16572912F; Tue, 11 Sep 2018 06:46:18 +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 7A1B328F52 for ; Tue, 11 Sep 2018 06:46:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C3A836E313; Tue, 11 Sep 2018 06:46:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 093B36E313 for ; Tue, 11 Sep 2018 06:46:14 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id p84-v6so45134421oic.4 for ; Mon, 10 Sep 2018 23:46:14 -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; bh=/nMs5xqBbktkyTasV/Pd/NSHuu0G1x0Q8x45VmkoNW4=; b=ORx+KXC2yuwUJm2Cdv9cvCkf3momShZZmDWYY/tRJXH+eFaGixMo8/b6pjzBUZ8eLb bkWn/7XNXGpESChQG0xEVkdIsV63+Qf3wgfC/YnYcqv/xNvUphmpJRhd97Aqm9OcTNYF nWJQiEUHSaD/afoZozRVp86b97XpyEGqOBVnZnZ5aawUu1TfB3tZHD7ck4vG0r6nOqYl R89uGwYVJjs2t8Uiy+Cfykkni0KKVN8ZIgUtfsHJuLEGlhPdTqVN8CXj1AppBK6htkel BgrauY87FsA2YaqvyuCN/Jvr2Ceq3fPxV1+2IEQ8kpkuKHiNqMoRc7vlpS3qKQp44RRT DPbQ== X-Gm-Message-State: APzg51CjzYMOI3SdmomOfUH6f5XZsJb4orAB+4d/AuuCc81gNMs6TAep BmWVrfwSv8Kj6XX5tP7ROEKThU69Wfx7hD7Lrf211s/x X-Google-Smtp-Source: ANB0VdYgm4pOjHAwTR/yyo3b0R13zxnpUtrzxpqiQxMTIHmE0jOFmYfNbbmG9oTS0I7uUeLIL+I64atfw3p+S46MhCw= X-Received: by 2002:aca:b1c1:: with SMTP id a184-v6mr2347803oif.182.1536648373120; Mon, 10 Sep 2018 23:46:13 -0700 (PDT) MIME-Version: 1.0 From: Ben Skeggs Date: Tue, 11 Sep 2018 16:46:02 +1000 Message-ID: Subject: nouveau-fixes 4.19 To: dri-devel , David Airlie 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hey Dave, A bunch of fixes for MST/runpm problems and races, as well as fixes for issues that prevent more recent laptops from booting. Thanks, Ben. The following changes since commit 57361846b52bc686112da6ca5368d11210796804: Linux 4.19-rc2 (2018-09-02 14:37:30 -0700) are available in the Git repository at: git://github.com/skeggsb/linux linux-4.19 for you to fetch changes up to a521fb62af91521ce7cb76216c75b1f4abb5ae36: drm/nouveau: Start using new drm_dev initialization helpers (2018-09-07 15:18:05 +1000) ---------------------------------------------------------------- Ben Skeggs (7): drm/nouveau: fix oops in client init failure path drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer drm/nouveau/devinit: don't fail when PMU/PRE_OS is missing from VBIOS drm/nouveau/disp: remove unused struct member drm/nouveau/disp: move eDP panel power handling drm/nouveau/disp: fix DP disable race drm/nouveau/disp/gm200-: enforce identity-mapped SOR assignment for LVDS/eDP panels Lyude Paul (21): drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend() drm/nouveau/drm/nouveau: Fix deadlock with fb_helper with async RPM requests drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect() drm/nouveau: Fix deadlocks in nouveau_connector_detect() drm/nouveau: Remove useless poll_enable() call in switcheroo_set_state() drm/nouveau: Remove useless poll_disable() call in switcheroo_set_state() drm/nouveau: Remove useless poll_enable() call in drm_load() drm/nouveau: Only write DP_MSTM_CTRL when needed drm/nouveau: Reset MST branching unit before enabling drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload drm/nouveau: Fix nouveau_connector_ddc_detect() drm/nouveau: Check backlight IDs are >= 0, not > 0 drm/nouveau: Add NV_PRINTK_ONCE and variants drm/nouveau: Move backlight device into nouveau_connector drm/nouveau/drm/nouveau: s/nouveau_backlight_exit/nouveau_backlight_fini/ drm/nouveau: Cleanup indenting in nouveau_backlight.c drm/nouveau: Refactor nvXX_backlight_init() drm/nouveau: Fix potential memory leak in nouveau_drm_load() drm/nouveau: Start using new drm_dev initialization helpers drivers/gpu/drm/nouveau/dispnv50/disp.c | 67 +++++-- drivers/gpu/drm/nouveau/nouveau_backlight.c | 220 ++++++++++----------- drivers/gpu/drm/nouveau/nouveau_connector.c | 130 +++++++----- drivers/gpu/drm/nouveau/nouveau_connector.h | 33 ++++ drivers/gpu/drm/nouveau/nouveau_display.c | 46 +++-- drivers/gpu/drm/nouveau/nouveau_display.h | 27 +-- drivers/gpu/drm/nouveau/nouveau_drm.c | 200 +++++++++++-------- drivers/gpu/drm/nouveau/nouveau_drv.h | 10 +- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 57 ++++++ drivers/gpu/drm/nouveau/nouveau_fbcon.h | 5 + drivers/gpu/drm/nouveau/nouveau_vga.c | 2 - drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c | 14 ++ drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c | 54 ++++- drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h | 1 + drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c | 6 +- drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c | 18 +- drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h | 5 +- .../gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c | 24 +-- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +- 19 files changed, 581 insertions(+), 340 deletions(-)