Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3535640pxb; Mon, 24 Jan 2022 11:38:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqYHdlfnA06SHg9IbOHYcxBMdUMrxdqZaaElETngBRVwn4mNtinxllOPiT6vdmUScLM4aq X-Received: by 2002:a17:903:191:b0:14b:5625:14e3 with SMTP id z17-20020a170903019100b0014b562514e3mr5093912plg.65.1643053137199; Mon, 24 Jan 2022 11:38:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643053137; cv=none; d=google.com; s=arc-20160816; b=Vxeh5m9qBAQROQi6zNnOssKQdicL2oRjmI3CrQUi2vQ9egFwVD6UCK2c586w7ID/ug UgD3tA5+vf9n3m+QFFISRxyZ0wIKC9Ud3nJAf5egVzK0y6X6KrhLvAPYVf9qn0Pr9UOx qtcHivU548gY7dPsZtJ3oiFUorSjVIWBiRkQfR0mCHFRug4ZJlCdL/2LmOje9MCpOZbi 9XgSLuzFj930EG5HJSkc//N4fZrCqIDZVWA6lFRjMIfSVGfhbxstdStsiM/dMNHc/LbH ApT/b5gB6Qg1WTSs7u4ZYX/mzdjsG6gRvonLrwFjY7sVyveqMi/NEcgw2iftpwQOzYzb jIxg== 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=2kh0Ny47JTVEjOARP5b9+EY+wgQgMl+fkfpOwkC32CA=; b=d1WS1C1e4Jb2Wl4rQysiMpvPxi+e/64Fww3h1/kNT/7pRKHk5t7qn+DScQBPJ5txUc ZCD/NDxJNewYBd6RZcdX4G5yex2kSjl8Ly/iohzyhPBpuB1gp4Sl2J2hJS0TqFlgZZ3+ qdvEaEMzSatSf6xs7GQpo5RMxNxY5zL6DesE4PDTkbacGuYf0/uacFiT6lfmvH9LSU3A ZUE/virxu4fSMFlFYM8onNgbfRZ/qNheEaa5B88O/VazLm9YlBnkwtxLGHdh0Juw/Jnn OmdquXc9DnfPY4089Oon3lvnAl/U13VxFekftg0Z8WRbJdOkFoeDhmiB/4mtM76VWxNv vYpw== 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 p13si14638912plo.272.2022.01.24.11.38.43; Mon, 24 Jan 2022 11:38:57 -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 S244157AbiAXRKA (ORCPT + 99 others); Mon, 24 Jan 2022 12:10:00 -0500 Received: from foss.arm.com ([217.140.110.172]:41092 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244090AbiAXRJ6 (ORCPT ); Mon, 24 Jan 2022 12:09:58 -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 76333D6E; 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 DB3C03F73B; Mon, 24 Jan 2022 09:09:57 -0800 (PST) Message-ID: Date: Mon, 24 Jan 2022 17:09:48 +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 03/60] drm/malidp: 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-4-javierm@redhat.com> From: Carsten Haitzler Organization: Arm Ltd. In-Reply-To: <20211215010008.2545520-4-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 to me. 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/malidp_drv.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/arm/malidp_drv.c b/drivers/gpu/drm/arm/malidp_drv.c > index 78d15b04b105..5da4168eb76d 100644 > --- a/drivers/gpu/drm/arm/malidp_drv.c > +++ b/drivers/gpu/drm/arm/malidp_drv.c > @@ -938,6 +938,9 @@ static int malidp_platform_probe(struct platform_device *pdev) > struct device_node *port; > struct component_match *match = NULL; > > + if (drm_firmware_drivers_only()) > + return -ENODEV; > + > if (!pdev->dev.of_node) > return -ENODEV; >