From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6B33C4320A for ; Thu, 5 Aug 2021 19:21:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B85BC60BD3 for ; Thu, 5 Aug 2021 19:21:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242683AbhHETVe (ORCPT ); Thu, 5 Aug 2021 15:21:34 -0400 Received: from aposti.net ([89.234.176.197]:54850 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242531AbhHETVa (ORCPT ); Thu, 5 Aug 2021 15:21:30 -0400 From: Paul Cercueil To: Greg Kroah-Hartman , Rob Herring , "Rafael J . Wysocki" , David Airlie , Daniel Vetter , Sam Ravnborg Cc: list@opendingux.net, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, Paul Cercueil Subject: [PATCH 0/2] gpu/drm: ingenic: Handle disabled drivers Date: Thu, 5 Aug 2021 21:21:07 +0200 Message-Id: <20210805192110.90302-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, A small patchset to make sure that the ingenic-drm driver won't fail to probe if an optional device (e.g. HDMI chip) has its driver disabled in the kernel config. Since most of the boards using the ingenic-drm driver have a LCD panel attached, the drivers for external devices (be it a HDMI transmitter or a TV encoder) really are optional and shouldn't prevent the DRM driver from probing. Cheers, -Paul Paul Cercueil (2): drivers core: Export driver_deferred_probe_check_state() gpu/drm: ingenic: Add workaround for disabled drivers drivers/base/dd.c | 1 + drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) -- 2.30.2