Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3535674pxb; Mon, 24 Jan 2022 11:39:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWed+pYMGCg6Mcos0U6stt4v3pQbhxrht3v+zkrA6erlRkc4yDil3MdLQsNhy20I5EaNSW X-Received: by 2002:a17:90b:1a85:: with SMTP id ng5mr3349460pjb.19.1643053140649; Mon, 24 Jan 2022 11:39:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643053140; cv=none; d=google.com; s=arc-20160816; b=orkd0QwDDaaFcNwpdFyTPbzlt7tLmgjH51ECndCjbGyLEPT3zt6D5Nu8iYf51EP4aR XKi4KIx1DqRLbInu3kynIQwsiNyLS/Rbhe+5NdHd9nYS//XYPGDuBTrO9eUqxWI8xmXw Kazfibh0+LMppvTOpoC1UjjvFWi8AfJy2syaJV/RlfffjViJVxiweSFi4cU1PhLgbFER XEvAdvQpmrEo+W1ra0b/NxTsDjgFkaOvAgzqIy0GyGujDchOkVPcTZs3nv5hha0t6Fww 7jb/rDxSZy8OMTKU7nHaDgzqy9G4Xc4Ay4J+/r3PYgqrw0PWmVDCUs9zO/yhnmqYQCyJ ZO5g== 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=qwWQDTMcv/LxvsA0iuOdEHeABrHSqFDF9VWD1C5iOMo=; b=q5IVB5SWl8BKu466A9hzTNwQgfjlEBeyGhhaysFs7CvdFoO3PrqAkelCZ53ZOZCAHj I1H5aKF7068Znk4T6GNL7IT65p/EServH1X9gVQ106f/y4kShhw/cvoSWax/TtJQoLml AWuzaxGJQZm7Otq1bCNdpR5XAJq3Zx0utwDr0x9UjiTkWCgiRCCnhGJn93g55EG0A1ND eEZG72GVvvYFWRssqL0AA3j9TbgvgBQnwmOIK0AyOb9vj1fdWVUxkL5cXkT3uJbfCuQ8 DG/7S5dIQb0/J2YBMJm/nmpcXnKiudCl0ylrWI0z0NItQeapimh+GGD/vD3Toh7X+Fes 2kQA== 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 j1si5279698pfe.242.2022.01.24.11.38.46; Mon, 24 Jan 2022 11:39:00 -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 S244181AbiAXRKN (ORCPT + 99 others); Mon, 24 Jan 2022 12:10:13 -0500 Received: from foss.arm.com ([217.140.110.172]:41132 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244122AbiAXRKL (ORCPT ); Mon, 24 Jan 2022 12:10:11 -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 765CD113E; Mon, 24 Jan 2022 09:10:11 -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 DEE863F73B; Mon, 24 Jan 2022 09:10:10 -0800 (PST) Message-ID: <5d9d0ead-f828-1e8a-b7cd-3ad50213c6bd@foss.arm.com> Date: Mon, 24 Jan 2022 17:09:55 +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 02/60] drm/arm/hdlcd: 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 References: <20211215010008.2545520-1-javierm@redhat.com> <20211215010008.2545520-3-javierm@redhat.com> From: Carsten Haitzler Organization: Arm Ltd. In-Reply-To: <20211215010008.2545520-3-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/hdlcd_drv.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_drv.c > index 479c2422a2e0..0939a64a9bd2 100644 > --- a/drivers/gpu/drm/arm/hdlcd_drv.c > +++ b/drivers/gpu/drm/arm/hdlcd_drv.c > @@ -382,6 +382,9 @@ static int hdlcd_probe(struct platform_device *pdev) > struct device_node *port; > struct component_match *match = NULL; > > + if (drm_firmware_drivers_only()) > + return -ENODEV; > + > /* there is only one output port inside each device, find it */ > port = of_graph_get_remote_node(pdev->dev.of_node, 0, 0); > if (!port)