Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3535647pxb; Mon, 24 Jan 2022 11:38:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL1Zkh08AwjNaKRVR4Ff9AwF0DVDnASFHEeUCgc5juw8ImWMLMlwY/URh9E0gjs+2MTEBR X-Received: by 2002:a17:902:b60b:b0:14a:fa6d:7e4c with SMTP id b11-20020a170902b60b00b0014afa6d7e4cmr15892937pls.109.1643053138460; Mon, 24 Jan 2022 11:38:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643053138; cv=none; d=google.com; s=arc-20160816; b=lqwf/IwFry1CFDojyF8VBbwjk7S4NN8Nl5TY6r4VIn8cNY5tkQSXVRobyhaTMVG0fI gnrOfnsOsgZdDDVUpjNvhTUwX2EfG6kGGtrLOt5zYkz4LJUex3tobu2cfARLA5TkESnv S6S1hTalDgt/NmvDkHTjXFINE6fgI7GTxsOLQq28cFKzFqVOKXIc2q7ZXpg5Lk5yCqiI ilrgxSBuszH2I5TJ2ZBdqEG3LH3yb9W13cU9OvY+fl1wku0siPrkRpYxmmCXdSkEvbYN JHFbBvjj8ANTxd8Z6xuCcGm7i7nrIgBFcsVL9pzbSlIDGbz83b800dn88j9ZXuf/Jgfe XeKg== 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 :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=4mTYUCjpC0QNoi8Ccd+ttKYoLxjH+/TDfVFiyHZLNhc=; b=I/Bn5Xvu8IeyAxQbpzrxocKZ7Ax7yYT3HhS9ra452VXb2wnLdyWhzzc4tYfZNygCvV ZeplQVHa1uEvoFbtC6H+grbxBNIWhZ3n3kkEy2nXYkz9gv6OX+VSQSM8zjEqjnA1Urss P5rvWE6OVo28D+0fDp8Ynt9M39zbK8M2CKJnLqLqVM0329tYP514nLBlr3uDP37gmLJu R7kAN3gT+Z6LAtg3l3rCFX+gPUf0rz3BTHK5FSBhyz9ky5SUHFKQUGUmO1tCoslJwC2f cNPaohXyMc+PaOPpDjC38ED7C8AwYe9JKdiInfv3GbXaKnJz+fgRXy9SMtlYtgw2VhS6 V7fA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si13885901pgr.180.2022.01.24.11.38.45; Mon, 24 Jan 2022 11:38:58 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244171AbiAXRKB (ORCPT + 99 others); Mon, 24 Jan 2022 12:10:01 -0500 Received: from foss.arm.com ([217.140.110.172]:41102 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244122AbiAXRJ7 (ORCPT ); Mon, 24 Jan 2022 12:09:59 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D5D4F101E; Mon, 24 Jan 2022 09:09:58 -0800 (PST) Received: from [192.168.99.12] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2D12F3F7F5; Mon, 24 Jan 2022 09:09:58 -0800 (PST) Message-ID: <5d7a6077-9a44-1f8b-9e65-3bb7ed94523e@foss.arm.com> Date: Mon, 24 Jan 2022 17:09:57 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 01/60] drm/komeda: Add support for the nomodeset kernel parameter Content-Language: en-US To: Javier Martinez Canillas , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Liviu Dudau , "James (Qian) Wang" References: <20211215010008.2545520-1-javierm@redhat.com> <20211215010008.2545520-2-javierm@redhat.com> From: Carsten Haitzler Organization: Arm Ltd. In-Reply-To: <20211215010008.2545520-2-javierm@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Seems fine. Reviewed-by: Carsten Haitzler On 12/15/21 00:59, Javier Martinez Canillas wrote: > According to disable Documentation/admin-guide/kernel-parameters.txt, this > parameter can be used to disable kernel modesetting. > > DRM drivers will not perform display-mode changes or accelerated rendering > and only the systewm system framebuffer will be available if it was set-up. > > But only a few DRM drivers currently check for nomodeset, make this driver > to also support the command line parameter. > > Signed-off-by: Javier Martinez Canillas > --- > > drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c > index e7933930a657..4f6d5c2103ec 100644 > --- a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c > @@ -9,6 +9,7 @@ > #include > #include > #include > +#include > #include > #include "komeda_dev.h" > #include "komeda_kms.h" > @@ -117,6 +118,9 @@ static int komeda_platform_probe(struct platform_device *pdev) > struct component_match *match = NULL; > struct device_node *child; > > + if (drm_firmware_drivers_only()) > + return -EINVAL; > + > if (!dev->of_node) > return -ENODEV; >