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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B682CC433EF for ; Wed, 20 Oct 2021 13:19:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 79D09613A2 for ; Wed, 20 Oct 2021 13:19:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 79D09613A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F5F289FC9; Wed, 20 Oct 2021 13:19:54 +0000 (UTC) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by gabe.freedesktop.org (Postfix) with ESMTPS id 76D55892E4 for ; Wed, 20 Oct 2021 13:19:44 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id A1C2F1FDA1; Wed, 20 Oct 2021 13:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1634735982; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PSSae/s0vdP4zU6lEC9WIE3+NIdpDa/Xw7BPCyqUjbw=; b=XYtq/3rv83NMBk78bmsAyRRIR7PEyyWd5RwMQxJPALxwL2d17Prf56cVrFGpclWHIR8Ujf yPKQdaGpfY4kQpBPhHdEnDSMyibGAQoqdwWzOF9nBCMvbbk0A3M4YkRcYdfeOfxQhRBnoo NDX3kKL6lbUfhIOELKj9mRt+sMrf+EA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1634735982; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PSSae/s0vdP4zU6lEC9WIE3+NIdpDa/Xw7BPCyqUjbw=; b=dRTce8ogiKgtjvmoSumu42c07aZtGmMBJ358qYl8ZOJRUBu0mFBKY3DA7rC31VvVWGcZOf 4/faHkFNdYgZhdCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7DF8213B29; Wed, 20 Oct 2021 13:19:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id zWfNHW4XcGHsdwAAMHmgww (envelope-from ); Wed, 20 Oct 2021 13:19:42 +0000 From: Thomas Zimmermann To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, airlied@linux.ie, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, Thomas Zimmermann Subject: [PATCH 0/3] drm: Move several files from DRM core into modules Date: Wed, 20 Oct 2021 15:19:38 +0200 Message-Id: <20211020131941.15367-1-tzimmermann@suse.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Move a number of files into modules and behind config options. So far, early boot graphics was provided by fbdev. With simpledrm, and possibly other generic DRM drivers, it's now possible to have general early-boot output with DRM. This requires the DRM core to be linked into the kernel binary image. The reduction in size here is only ~1%, but the patchset is part of a larger effort to reduce the size of the DRM core module. Thomas Zimmermann (3): drm: Build drm_irq.o only if CONFIG_DRM_LEGACY has been set drm: Link several object files into drm_kms_helper.ko drm: Move GEM memory managers into modules drivers/gpu/drm/Kconfig | 4 ++-- drivers/gpu/drm/Makefile | 26 +++++++++++++++----------- drivers/gpu/drm/drm_gem_cma_helper.c | 4 ++++ drivers/gpu/drm/drm_gem_shmem_helper.c | 4 ++++ drivers/gpu/drm/drm_irq.c | 2 -- 5 files changed, 25 insertions(+), 15 deletions(-) -- 2.33.0