Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2062733imm; Thu, 27 Sep 2018 06:54:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV625XMMVSkvz5cJhZNBAHbaMexMvsZZMo2kfxC9tn91DQ/1lbuYwxkssps58XmlhDFZ3NvuI X-Received: by 2002:a62:8d16:: with SMTP id z22-v6mr2190019pfd.185.1538056472621; Thu, 27 Sep 2018 06:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538056472; cv=none; d=google.com; s=arc-20160816; b=budAtdQhEQGYCem3yGMXzpOAuyjHs7BUCcHElKRoTVg5j1nnXrCnNEYlF8Af8daaaE 8CyOLpn+A4BBhQdbjoiW00DA/BNmqzrZNl0noI1wUrPFGY2dDVT3oORe0v4ysMkwYSEV v4ZJi6Xfbbygy3HoEeyLPJTuMYoiXfaWddakfdzzrIZx/LcsvJrtffKE/w2lSUtPMgxn 95hwtEcytGjQR+a1YphhkDe7oKQtxMyLVqkoHCqwXVYOjED4hXntv5RbbXV3c4m5mIeL 1tqQuy6hHy17GndahWcHUyFiK1LoZJ20NKxWJOu++/XV0LJx3oMMYlgYJpGt/nuEBoch bGSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:from:subject; bh=txxCv8VNSkBerlwaL8zL+TsdIvkgqcyooGF9pXJa24I=; b=fMlszYupLXwKED+5rNN9W4pYobmAhAOG0DzLu0MHVS0LELURS7T79RVgPXntNN9XB6 XkF3HS4F+/M+BFzI1PQ8nVdKUaSPfFRFezgRbKsaf2hXcPumU410Qw1rfy6FSnnJeZLt JmMPttKM5fUEQQDwpDZBeKd7T8ttKcJq09fSIYs9u7WhwOi3jGuTCPIuxXqneRSvs8+u t5IE75AJ1ClUlYlOkooeKxDnxV2SG7un/wwNZQrSaF/JpwDgiwWjVP8nBL3v5RE66FeF O3WBtfsOs9e7aImxf6NOQ7SR0k3nBLY5XM0G+apVr11LBDcy4/X5WjyWgzQQxaJImNKR hFKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7-v6si2051527plk.122.2018.09.27.06.54.17; Thu, 27 Sep 2018 06:54:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727526AbeI0ULv (ORCPT + 99 others); Thu, 27 Sep 2018 16:11:51 -0400 Received: from mail02.iobjects.de ([188.40.134.68]:49216 "EHLO mail02.iobjects.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbeI0ULv (ORCPT ); Thu, 27 Sep 2018 16:11:51 -0400 Received: from tux.wizards.de (p3EE2F45F.dip0.t-ipconnect.de [62.226.244.95]) by mail02.iobjects.de (Postfix) with ESMTPSA id 3508E416063B; Thu, 27 Sep 2018 15:53:27 +0200 (CEST) Received: from [192.168.100.223] (ragnarok.applied-asynchrony.com [192.168.100.223]) by tux.wizards.de (Postfix) with ESMTP id D8304F0162C; Thu, 27 Sep 2018 15:53:26 +0200 (CEST) Subject: Re: [PATCH 4.18 74/88] drm/atomic: Use drm_drv_uses_atomic_modeset() for debugfs creation From: =?UTF-8?Q?Holger_Hoffst=c3=a4tte?= To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Lyude Paul , Daniel Vetter , Sean Paul References: <20180927090300.631426620@linuxfoundation.org> <20180927090309.614592493@linuxfoundation.org> <42cbbf9c-3076-0c49-36c2-b6fd09628694@applied-asynchrony.com> <20180927123706.GA23563@kroah.com> Organization: Applied Asynchrony, Inc. Message-ID: Date: Thu, 27 Sep 2018 15:53:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/27/18 15:26, Holger Hoffstätte wrote: > On 09/27/18 14:37, Greg Kroah-Hartman wrote: >> On Thu, Sep 27, 2018 at 12:43:33PM +0200, Holger Hoffstätte wrote: >>> On 09/27/18 11:03, Greg Kroah-Hartman wrote: >>>> 4.18-stable review patch.  If anyone has any objections, please let me know. >>>> >>>> ------------------ >>>> >>>> From: Lyude Paul >>>> >>>> commit 3c499ea0c662e2f38aafbd4f516b08aab8cfa0e5 upstream. >>>> >>>> As pointed out by Daniel Vetter, we should be usinng >>>> drm_drv_uses_atomic_modeset() for determining whether or not we want to >>>> make the debugfs nodes for atomic instead of checking DRIVER_ATOMIC, as >>>> the former isn't an accurate representation of whether or not the driver >>>> is actually using atomic modesetting internally (even though it might >>>> not be exposing atomic capabilities). >>>> >>>> Signed-off-by: Lyude Paul >>>> Cc: Daniel Vetter >>>> Cc: stable@vger.kernel.org >>>> Reviewed-by: Sean Paul >>>> Link: https://patchwork.freedesktop.org/patch/msgid/20180917173733.21293-1-lyude@redhat.com >>>> Signed-off-by: Greg Kroah-Hartman >>> >>> This patch breaks switching the console to high resolution during boot on my >>> workstation with a Radeon card; it worked fine with 4.18.10 and reverting it >>> fixes the problem: >> >> Is 4.19-rc5 also a problem? >> > > No, 4.19-rc5 with the same config works fine and properly switches the > console during boot. > > Interestingly another machine with i915 chip seemed to work fine with this > patch included (rebooted that one first), so it might well be related to > different motherboard/chipset or the Radeon card (an admittedly old, but > otherwise completely functional fanless r600). > > I'll try to find more clues, but for now that's all I got. Looking at mainline include/drm I see several recent movements and cleanups related to drm_drv_uses_atomic_modeset(), moving it out of drmP.h and into drm, changes to atomic modesetting and such, all part of the 4.19 merge window. I'm reasonably sure some relatred changes went missing here wrt. this patch. -h