Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2686461pxb; Fri, 5 Nov 2021 03:01:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGTOqQFrGXYTMTLby2O/pLpYY1JM6CId80pVcDufh4uFp2753SIuaBkDy61t2ytzLDofgw X-Received: by 2002:aa7:cada:: with SMTP id l26mr36232243edt.376.1636106519369; Fri, 05 Nov 2021 03:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636106519; cv=none; d=google.com; s=arc-20160816; b=fb7+cf1cN6AwCPTLsudued96gixNrOy2PjcP7pVfWo73SwpSSUzUiL+2cTHTYZsCs2 7xt9I4+YanuzYcoGPtGgGvuN336+PsTr3w5cji+NcJ0KepX2/SbCRMPu1R8V6ObH1SMA BIMIdhY9qMZ6nJeb8oI9g/qNMDkxiJYVq8b0PrGFy90tqva3R32VN9yr0JGZ1mF6zM1f dTyYRtEd/9BVSRH+OiTHIQOJmaQjPGM4TLVge6cfgsEcmeTfyxl+OSywdwWTu0bUVY7I T3nGl4KlcFeBKpABBA1uGCPCY/U768+0kBLE3v5OpnY0lxV0kceN3M3iMoX1whgnbxYl qB6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=PAYCTLIu4BclXd+cEViyuoXMMG/fW8iPDkQUaON6iK4=; b=Hz2XVEfAyOBwO9XSlSI46XK+zdnMcP4D7wS8v/JOBiXsQrwmdKerWDnLQ4qnVa2ja0 nE6gWFwfJwqQZ0KNWyMCDsJJYt6KjrgL8u6fAfoqC1GXIfAIaCMLHDiw3b55zoRVJEvO 11fVZuHRsHOSH8ocHQLgr3cexqbS5AvyVWx+yK17UplVNtIyt5dbKPZkV73UZm1dMYEZ 9vt1oPA5jMGjHsOglRZMe8itew7ytOZCwxI8iRO7XmIeAI3FwofTC2SPy0EX/0dVOQlB q1ipJLkDRq4ghdWWKS+F8mnxwCmeCZ0qZZHpRxA5Khx/cEFqEOLv0x7tXllntQvDorC/ h2Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CqULCLW8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn8si14470060ejc.193.2021.11.05.03.01.35; Fri, 05 Nov 2021 03:01:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CqULCLW8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232883AbhKEKBl (ORCPT + 99 others); Fri, 5 Nov 2021 06:01:41 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:56710 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232955AbhKEKBj (ORCPT ); Fri, 5 Nov 2021 06:01:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636106340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PAYCTLIu4BclXd+cEViyuoXMMG/fW8iPDkQUaON6iK4=; b=CqULCLW89Y0wGu31R3NUuP46hlTKi/ghcATCHNKGuooAnf92HOGa8RXgcCxZ7jMVY7MDMR sNt21nF/zwsGfTM6PA4W+NdhHnmvNHRXR1BAkrCY50jmLQnDewAPk9nPFk95630/4EDhy+ Zs8nlZ3hvna5oSB9/r6GShAM+II7NZU= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-550-7578yrBzNcSfM7ZRhBZXQg-1; Fri, 05 Nov 2021 05:58:58 -0400 X-MC-Unique: 7578yrBzNcSfM7ZRhBZXQg-1 Received: by mail-wr1-f72.google.com with SMTP id d13-20020adf9b8d000000b00160a94c235aso2149127wrc.2 for ; Fri, 05 Nov 2021 02:58:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=PAYCTLIu4BclXd+cEViyuoXMMG/fW8iPDkQUaON6iK4=; b=UVoWtaXQhpRKpqJCX2NRz2MDHc8RheelZO8u/rcPkfPcFUSnyoglSkE5u/1z5//QMF z8a7Rsb13aAeb4DSUmhmpy7a24hMf9OY10fSQOZVR9xcytETtH0mRtAbNKuH2fGbb7cf CkOp7fHTxJJ1OFRCs99VBqNgyLBg5hi2xpQs2Pgu3neElX555Avkdr8G4X9oZgxxBw1a +ACLSLXrRA//mM5r52wATnstHWLPTieKHwbJ5IEdn+dCng19He/TBcJRegAIoLMnf+70 eK5iCkpWKwwkpPxSGKIyoeQcO2DHzM0rpiNwgTY+r18SL23MD4uhVXKs3p8DqABnsKFH Bduw== X-Gm-Message-State: AOAM532bjmiGA4Y6yGrszKnyCKHh6VNzqf0hdwMAHSGhYc0RvrNIGPi3 03gv/qAxn3/jC9QnnDIXQwSH6fzenGJVSq7GBfZFdAP02CJu3XpVjkQmCniad13asSf9OXyd6sB DDL+XGyRJ3QRRdd32tFIJTTnH X-Received: by 2002:adf:ec90:: with SMTP id z16mr46047438wrn.247.1636106336897; Fri, 05 Nov 2021 02:58:56 -0700 (PDT) X-Received: by 2002:adf:ec90:: with SMTP id z16mr46047414wrn.247.1636106336738; Fri, 05 Nov 2021 02:58:56 -0700 (PDT) Received: from [192.168.1.128] ([92.176.231.106]) by smtp.gmail.com with ESMTPSA id c17sm7678095wmk.23.2021.11.05.02.58.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Nov 2021 02:58:56 -0700 (PDT) Message-ID: <87a6bb4a-01ef-4979-f5c2-c0bb0d0a29f9@redhat.com> Date: Fri, 5 Nov 2021 10:58:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v2 2/2] drm: Move nomodeset kernel parameter to the DRM subsystem Content-Language: en-US To: Thomas Zimmermann , Jani Nikula , linux-kernel@vger.kernel.org Cc: =?UTF-8?Q?Michel_D=c3=a4nzer?= , Daniel Vetter , Peter Robinson , Pekka Paalanen , Alex Deucher , Ben Skeggs , Chia-I Wu , =?UTF-8?Q?Christian_K=c3=b6nig?= , Daniel Vetter , Dave Airlie , David Airlie , Gerd Hoffmann , Greg Kroah-Hartman , Gurchetan Singh , Hans de Goede , Joonas Lahtinen , Maarten Lankhorst , Maxime Ripard , "Pan, Xinhui" , Rodrigo Vivi , VMware Graphics , Zack Rusin , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-fbdev@vger.kernel.org, nouveau@lists.freedesktop.org, spice-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org References: <20211104160707.1407052-1-javierm@redhat.com> <20211104160707.1407052-3-javierm@redhat.com> <87cznf9cty.fsf@intel.com> <2698c680-6d05-f58d-d7c2-ea76aeb0bb47@suse.de> From: Javier Martinez Canillas In-Reply-To: <2698c680-6d05-f58d-d7c2-ea76aeb0bb47@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/5/21 10:39, Thomas Zimmermann wrote: [snip] >>>> >>>> +obj-$(CONFIG_VGA_CONSOLE) += drm_nomodeset.o >>>> + >>> >>> This now depends on the VGA textmode console. Even if you have no VGA >>> console, you'd want drm_nomodeset.o. Simpledrm might be built-in and can >>> provide graphics. Non-PC systems don't even have a VGA device. >> >> This was discussed in an earlier version, which had this builtin but the >> header still had a stub for CONFIG_VGA_CONSOLE=n. >> >>> I think we really want a separate boolean config option that gets >>> selected by CONFIG_DRM. >> >> Perhaps that should be a separate change on top. > > Sure, make it a separate patch. > Agreed. I was planning to do it as a follow-up as well and drop the #ifdef CONFIG_VGA_CONSOLE guard in the header. > We want to make this work on ARM systems. I even have a request to > replace offb on Power architecture by simpledrm. So the final config has > to be system agnostic. > Same, since we want to drop the fbdev drivers in Fedora, for all arches. > Best regards > Thomas > Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat