Message ID | 20211217003752.3946210-28-javierm@redhat.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5B44EC433FE for <dri-devel@archiver.kernel.org>; Fri, 17 Dec 2021 00:38:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E67B310E246; Fri, 17 Dec 2021 00:38:32 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 26A9610E216 for <dri-devel@lists.freedesktop.org>; Fri, 17 Dec 2021 00:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639701507; 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=E88hmYo+ObZf3tGYS6T1KggzSFzJlGn4i9AC9N8Fn9Y=; b=Qf8bEdkB+OAZy6Ue/4bjt3WfZ/WZHWVxEwLwJcHJAdc2LVnOoZc2c/pRln39b0LKeDDebx zoeEhAsJBxEEUc7LUYnwBx5yezfxL25QBQdp3tA1i9QwLxXihbk8yEsnJpeBFkV7qwfVGU 3Bdbl0MXKDpcrvnG9FbtXITuFz0/qy4= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-390-1Vos0U6bO82xf-SMMbLacA-1; Thu, 16 Dec 2021 19:38:25 -0500 X-MC-Unique: 1Vos0U6bO82xf-SMMbLacA-1 Received: by mail-wr1-f69.google.com with SMTP id w25-20020adf8bd9000000b001a255212b7cso52586wra.18 for <dri-devel@lists.freedesktop.org>; Thu, 16 Dec 2021 16:38:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E88hmYo+ObZf3tGYS6T1KggzSFzJlGn4i9AC9N8Fn9Y=; b=qjWp8urb6+tiEC3N/4ryJC6/03lsqrCvfVd125QNsz8Yf8HhL91P2utAzRI4VYqFWA KRs75BlBrfQciuSQ2hqbfG/agq6W7p1YKV+/zWu4ffyLEVwNfk8cuyhY6H9gKGlArmM7 cVwPcw69S43cuyrSi5GZGuIW9PwxrQHSY4rU1XoEaYMITpoj86W00b4gPgPV2R2uZyWO 9eLxKXktxSSuA+AY9Skw3cZbHPScqYwInpiibaJwArtdobom9mZKFa/Z5DNVcosGykfG KrVuezVqY3FSnaO/xpYZTw+mBq/rzROuRuvjjXbUthliVa9fysMT1XLgIZlzBr6EnQ4q zQHQ== X-Gm-Message-State: AOAM532KMAiv/1DWFbIvnmC79yl0hiQAQjX75IddIRav0WzJ0oR1Xc6S vDNvnZ1Xkh/YjSPtfxQjvaS4JZYO0olq/rNnTmzjFjpBvRaWwFmLMwqkIsHreN5S1o3EP0PRzmZ WB8u29exxgyv7aLyR2xVGb2lrW+l5 X-Received: by 2002:adf:90e5:: with SMTP id i92mr344954wri.675.1639701504607; Thu, 16 Dec 2021 16:38:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1Ro2A75bOdMBtxiDF+OSPrt4upTH2ZoFakfTkrJa5WrM1j9hPOCbZctKCZYRtvUlKF/lE9w== X-Received: by 2002:adf:90e5:: with SMTP id i92mr344947wri.675.1639701504446; Thu, 16 Dec 2021 16:38:24 -0800 (PST) Received: from minerva.home ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id bg12sm7368433wmb.5.2021.12.16.16.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 16:38:24 -0800 (PST) From: Javier Martinez Canillas <javierm@redhat.com> To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v2 27/37] drm/mcde: Add support for the nomodeset kernel parameter Date: Fri, 17 Dec 2021 01:37:42 +0100 Message-Id: <20211217003752.3946210-28-javierm@redhat.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211217003752.3946210-1-javierm@redhat.com> References: <20211217003752.3946210-1-javierm@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=javierm@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Javier Martinez Canillas <javierm@redhat.com> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
drm: Make drivers to honour the nomodeset parameter
|
expand
|
diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c index 5b5afc6aaf8e..0b2910e69b42 100644 --- a/drivers/gpu/drm/mcde/mcde_drv.c +++ b/drivers/gpu/drm/mcde/mcde_drv.c @@ -491,6 +491,9 @@ static int __init mcde_drm_register(void) { int ret; + if (drm_firmware_drivers_only()) + return -ENODEV; + ret = platform_register_drivers(component_drivers, ARRAY_SIZE(component_drivers)); if (ret)