Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1185636ybe; Wed, 11 Sep 2019 10:40:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwK2Eu6lTuFGfy8t/Ikzc2956vWJ+BqsQopRoGPKOmlLmSGQtyxMs3qrhUydOBF9rh9QnnC X-Received: by 2002:a50:d5c5:: with SMTP id g5mr34800894edj.57.1568223616483; Wed, 11 Sep 2019 10:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568223616; cv=none; d=google.com; s=arc-20160816; b=zxD8tA1Nj1sCU8dzbcs3tlOUdgJKE1LxlNt9ZaptsZBHqC+VAtEKR7T98ZwtKddlat OmYSEzWe6tr5siQFLJQaqRv9BRNGdnu9L4qm+1vJvXCTGprcSUWBHpslnSlxJwnGO1l7 cglF3jS0DNUhVsn+mtNSGmUob+agzbk+6+SIPQrMqkKwhD2/nO+gf5LLgdxe+46BIfCP 7JEZr5WpZdwPzS8cKP+ABq4iywewQWzRSgxQJ750R+7ardmx8wam/dOvARaXXrSiOkPN V1SfW9N8dSZiGwbFMZKlH/G1K5X7sPyrj7LcHfQc7E3cbvzTWiy0Gem/VTjKcV+QIz2s U/aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mJD6iQtvN/UCjy4Ek8D93A8B4R/KlP3wDuq4/HX54Nk=; b=SFJPBRI//kv3S4eC7z6REYnvczISXT+uRKCA5YGMR2oQGGybv9Vaojnz9zfp36LENM HgaF6Hz1ANKlKFXeYX0MoIgBbMnGVfWBRG5jy5+4JbupH0SEMnbGZMkA3ECWHbZx6Grp rr5TtG7zBvj7eUvjBaCPiFKNzR4RRftD39Rw7H2kmugEGMFDbzcyoYtKtv4QELPg0aJ8 HbETx1LnDhO5Vwmj/5C2kHSvRMacKNozXxQrEiMkcmKAMfsoDhTlL6pzjDA6nku/aVrp sNE5va2nfKhJIArnPqMl4kmTpwFhTuhy6hACinX45kQM+q+lP32byFSIa+Yht7ooZG/s EDYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="ESsau/uU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oq16si11390327ejb.48.2019.09.11.10.39.52; Wed, 11 Sep 2019 10:40:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="ESsau/uU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729647AbfIKRf2 (ORCPT + 99 others); Wed, 11 Sep 2019 13:35:28 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:43070 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729352AbfIKRf1 (ORCPT ); Wed, 11 Sep 2019 13:35:27 -0400 Received: by mail-qt1-f196.google.com with SMTP id l22so26220654qtp.10 for ; Wed, 11 Sep 2019 10:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mJD6iQtvN/UCjy4Ek8D93A8B4R/KlP3wDuq4/HX54Nk=; b=ESsau/uU7KkgWzaER4y2/52TBwwEMzglevQZgPhz8mpsh/psDnnwjhgCfMZx2xn7RO pTQMc4weP+eRGMm7La/QZypjUcjwfXOSY31sJWbO9DllIrfBVvcSDUt15jbMJJ5IQnkr fNnSmRkOk62gX4p8GqROfsCMVJkvswWy3bjYmTudOEQNz3hvX2e1t+Df2R313l4H0CQ7 xDhRgrN7QroVOiWA7CvNIccCpQ6PsgEbUr3mVULnSlr7MoIuZxR5jpA5CMZYoQMPR7xY CTfHGHAhQCmh+Th+AdcgeGVctHvcOXk7cadtaOtxfl2XVnRMAexGlG1idU8BFky60sgz u38g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mJD6iQtvN/UCjy4Ek8D93A8B4R/KlP3wDuq4/HX54Nk=; b=h8uS75hoXYuoKs+MH5Tk/nic5gHzuUtcDuWmvDOBzi9BokkahSV6khseuURcjRhzZu Ere6JWVjy/yyw0fp5ntgVZ7ISC4pt0fUIgrvJy5Ly0h3V31f9LKDjjAgcj27CzhGAtnT GpDzEQT2m8sP/f8VO5+HttHnJiVHaluPJ37PdIXg2mowAYo+hGtnLpCIYWdjCvu1YYSl pSJtBaEJtTapOms7R41bSAhNKbKwnCRHh53y6DvpNBnjSSNvhHoqyN0UWqyolreEpDKn IFuLf1WiaW58vDm+qw+4sjIQil24Pg+keBklJB4XwEhPcIgt+balPvqZ1mvtz7xYBami aYEA== X-Gm-Message-State: APjAAAVA3jQocs06QdDc+bV3w0z3hHblWCyY3wnSfFBn32XU6Scu1jM6 HdTTjXtDviymqSVqEE1xy8AlIA== X-Received: by 2002:aed:22cc:: with SMTP id q12mr37648607qtc.232.1568223320208; Wed, 11 Sep 2019 10:35:20 -0700 (PDT) Received: from ovpn-125-217.rdu2.redhat.com (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id c204sm850853qkb.90.2019.09.11.10.35.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Sep 2019 10:35:19 -0700 (PDT) From: Qian Cai To: airlied@linux.ie, daniel@ffwll.ch Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, yamada.masahiro@socionext.com, michal.lkml@markovi.net, emil.l.velikov@gmail.com, dri-devel@lists.freedesktop.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Qian Cai Subject: [RFC PATCH] gpu: no need to compile drm/ if CONFIG_DRM=n Date: Wed, 11 Sep 2019 13:34:53 -0400 Message-Id: <20190911173453.958-1-cai@lca.pw> X-Mailer: git-send-email 2.20.1 (Apple Git-117) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit c0e09200dc08 ("drm: reorganise drm tree to be more future proof.") changed the behavior from only compiling drm/ if CONFIG_DRM=y to always compiling drm/. This restores the behavior, so people don't need to waste time compiling stuff they don't need. Fixes: c0e09200dc08 ("drm: reorganise drm tree to be more future proof.") --- drivers/gpu/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/Makefile b/drivers/gpu/Makefile index f17d01f076c7..a793b9ace34b 100644 --- a/drivers/gpu/Makefile +++ b/drivers/gpu/Makefile @@ -3,5 +3,6 @@ # taken to initialize them in the correct order. Link order is the only way # to ensure this currently. obj-$(CONFIG_TEGRA_HOST1X) += host1x/ -obj-y += drm/ vga/ +obj-$(CONFIG_DRM) += drm/ +obj-y += vga/ obj-$(CONFIG_IMX_IPUV3_CORE) += ipu-v3/ -- 2.20.1 (Apple Git-117)