Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2092052imm; Thu, 27 Sep 2018 07:19:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61qAujZ9a5Y8hCKZ4u6GrKkAb+oGHmuUmX7hNeGTPTaNdgA2HuKI156AnAUtuHRJXv0+NBb X-Received: by 2002:a63:1f0a:: with SMTP id f10-v6mr10471986pgf.313.1538057940098; Thu, 27 Sep 2018 07:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538057940; cv=none; d=google.com; s=arc-20160816; b=ImllGyqLLyUwva+h7nhZDCjBLamepwGWzy2fRU3E4SRtfmCrt8IWxPTfHtBvLyqTIJ 9Ai+kmSDfncxExvfA5UHOgo79yL7sSqgAw3sBYBTO30U+/APHuKiwsyZqpIEFGg3lCEj uGNsaxceGMGXUIJJp1yGU9xGp7OQW/5EZP9n6Yd2HrBABEWW5QJi3ob2iwZSzbmQFerN lV6FkPWcFjocEYa0g56gm9sP3Emyxn//HVSX7PnZf5/hGBIXSQc5Tjh0LiQOgi14y2k7 7Zv0Q8eRNe+lK2n8DDCTpyAJ5U1gmATJLpmRfFhg1aQ1b9dVPo6LsxBxDImv+0OSewEB Mblw== 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:from:references:cc:to:subject; bh=0Q47LBK+04rHIPpNrbX13V/brwK+kI6wFfzVwJnILdA=; b=T2FxM5BjEdeUPCr41VN+VFihY9XLqnG6YgG9NUUKjL2GmFyphNFtvvhdOEy++vatWE /ZmXCZXu0ekMzBhC1f63scjzvIOE3V8To6FFJ7mPJ92cianAnqon0c6aNBvHU8TI9rJf wV1V5XbYagg3A7bJYH0N9++q0Vnr6OEZ2CLoeIuOQZ8fWW9AEopxvjzKg0invw9BJEdu ILbQQMtUe+gd9yoMKxV84WxdDQV5xG/Hkk49Kur8H3kKQrWAdUARh0cYQXTZvGl+5NfE jvkHZtFof7gnMTppib5QByR3o9lJYkusH39MHT9A3GsLkamNIQ8BExDnM/f8Q3U57yZz rElA== 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 t7-v6si2029986pgh.307.2018.09.27.07.18.43; Thu, 27 Sep 2018 07:19:00 -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 S1727435AbeI0Ug6 (ORCPT + 99 others); Thu, 27 Sep 2018 16:36:58 -0400 Received: from mail02.iobjects.de ([188.40.134.68]:49286 "EHLO mail02.iobjects.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727076AbeI0Ug6 (ORCPT ); Thu, 27 Sep 2018 16:36:58 -0400 Received: from tux.wizards.de (p3EE2F45F.dip0.t-ipconnect.de [62.226.244.95]) by mail02.iobjects.de (Postfix) with ESMTPSA id E6798416531F; Thu, 27 Sep 2018 16:18:26 +0200 (CEST) Received: from [192.168.100.223] (ragnarok.applied-asynchrony.com [192.168.100.223]) by tux.wizards.de (Postfix) with ESMTP id 99E33F0162C; Thu, 27 Sep 2018 16:18:26 +0200 (CEST) Subject: Re: [PATCH 4.18 74/88] drm/atomic: Use drm_drv_uses_atomic_modeset() for debugfs creation To: Sean Paul Cc: Greg Kroah-Hartman , 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> <20180927140527.GV72545@art_vandelay> From: =?UTF-8?Q?Holger_Hoffst=c3=a4tte?= Organization: Applied Asynchrony, Inc. Message-ID: <0614233b-8934-336b-d509-90973cd8d69c@applied-asynchrony.com> Date: Thu, 27 Sep 2018 16:18: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: <20180927140527.GV72545@art_vandelay> 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 16:05, Sean Paul wrote: > On Thu, Sep 27, 2018 at 03:53:26PM +0200, Holger Hoffstätte wrote: >> 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. > > Hey all, > Thanks for testing, Holger. > > This was fixed with https://patchwork.freedesktop.org/patch/250350/ which is not > Cc stable. That's what I just looked at, it's in mainline as well. I briefly considered backporting that fix manually, but was not sure why radeon is apparently not a "modesetting driver" and figured I'd rather wait for someone who understands drm better than me. > I think it'd be best to just drop the initial patch from stable, it > doesn't need to go back afaict. Agreed - using 4.18.11 just fine right now without it. :) cheers, Holger