From patchwork Thu Apr 15 11:00:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 12205171 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=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 DB333C433ED for ; Thu, 15 Apr 2021 11:10:05 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 98CCF611AB for ; Thu, 15 Apr 2021 11:10:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98CCF611AB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=RhWWK3M/CcVAbX3D+5f5GrSZNh96Dpbzw8dcld/D3K8=; b=cnACiMfAEGg300XvVEv3UXGxWU bfonsJiojbi6rFxmYOOnD3dOAn0xTKQpuWZ1ZNifzOeuYEKzui1SCAnr1WFHrcjl93RlM79oLGvuH kNoHV6rrLUe9nw71z31QLOcO6sDZGP302xDuryPIlX4EdoxcqLtaesu8mSOvKLH66KRTmhPwxYImC 56HYrbjgjmQoAE3HJ4+0QFO4D5+A3oqO/J52pbdj6kJN0IMt6l7cA285UTT/tTr9q5Mwvi+KKTjCi zi4fqYxcYTuMz2w3Y9Njf819NqpEZl9XcgNiaZRzgl664XdGPW2GUzzPm9c2URp4ogFk659ok24cz 3p6LzvWw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWzrH-00FtGI-Hh; Thu, 15 Apr 2021 11:08:27 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzjr-00Fqog-Ns for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 11:00:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=cgW5MEfkBjOqKMTuBSJISUl5icpEJcrGnlX7PM/3yq8=; b=gL5FVczghO7taiRgkDG9Qok03p Ux8A2QthZi/XFufQwEOiXT2TmOREgokoKjYliVCiaba5s816choNIPw3wvdB0r2ZAYDzYa8WdH/07 oQddO9y7tycVxo/lyXJNpzZs6sdCvqNP2QsBY/Q/jXV9O+HdIfzrQ3AEDfwleJJmNoo8wEjKy0EzZ BgQ91AGWVP4MD+bS8sLNQ9cszAHl5jRnJINKCLYN/szVa5F27EyaG87mAgdO3atzhA9x/NOYob3EW ABzsLRHLrLOoXVcTNlb6n0anbK4cMS/ROGcxWLjf/J8OXWQjPPHglKhVdooqSRx6VJMVio6Hw/PMP o4ny/RXg==; Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzjo-008Va8-Uk for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 11:00:46 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 40B24AE42; Thu, 15 Apr 2021 11:00:43 +0000 (UTC) From: Thomas Zimmermann To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, airlied@linux.ie, daniel@ffwll.ch, marex@denx.de, stefan@agner.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-graphics-maintainer@vmware.com, sroland@vmware.com, zackr@vmware.com Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Thomas Zimmermann Subject: [PATCH 0/4] drm: Fix config dependencies for fbdev emulation Date: Thu, 15 Apr 2021 13:00:36 +0200 Message-Id: <20210415110040.23525-1-tzimmermann@suse.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_040045_159391_EC6E24E3 X-CRM114-Status: UNSURE ( 8.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org While working on the recent aperture helpers, I found it hard to disable fbdev because drivers keep on selecting it automatically. Cleanup the config dependencies. Fbdev support should be configured by users. DRM drivers should check for DRM_FBDEV_EMULATION to enable fbdev support. Thomas Zimmermann (4): drm/vmwgfx: Make console emulation depend on DRM_FBDEV_EMULATION drm/mxsfb: Don't select DRM_KMS_FB_HELPER drm/zte: Don't select DRM_KMS_FB_HELPER drm: Remove DRM_KMS_FB_HELPER Kconfig option drivers/gpu/drm/Kconfig | 28 +++++++++++----------------- drivers/gpu/drm/mxsfb/Kconfig | 1 - drivers/gpu/drm/vmwgfx/Kconfig | 7 +------ drivers/gpu/drm/vmwgfx/Makefile | 4 +++- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 19 +++++++++++++++++++ drivers/gpu/drm/zte/Kconfig | 1 - 6 files changed, 34 insertions(+), 26 deletions(-) --- 2.31.1