Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp259560ybg; Tue, 28 Jul 2020 05:28:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlrQeRWyymYEs2dHf9lw+89AUHbaLq48Bc8C7SlJf+X9YmaDJ9JBSM8xO84UaLJKzmSMJH X-Received: by 2002:a17:906:c459:: with SMTP id ck25mr26540671ejb.177.1595939284266; Tue, 28 Jul 2020 05:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595939284; cv=none; d=google.com; s=arc-20160816; b=cj2myOM9tqDgufSX1ReA2+H4km18OvzLIR8jaYKwStVyu8zfiubAbTL2IiwIegpZf4 xkjDXzo/rANpmnc+UYCuUAYrCDIP71i/aDxhCipLiMYRAa8zzkAWMgw1ZdSahAlnKxaQ bEH4oZq7oARgv5U7daePPN8cchhvdQHYMXDRN7MlLczzu74e3pkHb64VRA78BJ4lr6TK TU6/uYzntwPlCZNjkPO2Svc1/FfabNPPFDXspHp04j5MWzeE0zlds+DIXCyujsSAHK2N kXblfX2IYCGKy6LE42F96J8Ojxhq4EgUfRAbF/TbcsFG/6ESuBTg0IJLxrW0Z9da2/PK qZtQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=yBYvIwf9TAceURjTfcYJWCSxycUdyCXExJl0HOeXT9k=; b=bdMd+oWs/U0RcgsF2RTf2TjqWk53/6WUjdrlvebOMcD24Q/AD1ZpLAkTuDYHDOUJ49 OGH5SsLHae9cnM6GZoAHOCjzeSp1d5NmgLIDMs6OfZ5CFkhPK03yzL455mmqMbmkvnf4 XJxINPQNIyUMyy9nRaMCjO6vApB4WfmY2PKjR7ayxORrfRyuDPdr4BBKW6QhfUAB91cW 7nsiTe7lxOVl/4/8YISm8/ftoVSDFNE7G3X1RXBU7dyY6nRRpSRP0Mcj3wzs77bvK1s+ R1rfAfOUZbzCYQqgkW7pwA0r72mE93VCEDfHMaGVBx/c4ndJkkbZ88VLaFlOe7mTyFkz twag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=SW89oCq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si2267019edv.36.2020.07.28.05.27.41; Tue, 28 Jul 2020 05:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=SW89oCq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728949AbgG1M0D (ORCPT + 99 others); Tue, 28 Jul 2020 08:26:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbgG1M0D (ORCPT ); Tue, 28 Jul 2020 08:26:03 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30704C061794 for ; Tue, 28 Jul 2020 05:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=yBYvIwf9TAceURjTfcYJWCSxycUdyCXExJl0HOeXT9k=; b=SW89oCq4NVmToiCnFUrJCN6ESd JytiZ/mUug+oIj6e+zEeWlHiSOLXfoN+DB3W4fZyWLGB2JdgB/k1PhX4n3N5JJPnj2sRBF2ioO8bW mxjQx2rKpwYDLbVKQFTwnZABaW1K+3Kk+lbNiG92oTDwpX72vQ4dQSvLBBII0bqG5Gwfm6XNnf5Xm 4N+/Gxt8iILk45H665pENdW9nFzakkmTjuOuAW8C+pxqX49BoPxLO2rt3YeQnAAYU9hXYBvdLItUt X2yrtQIrca5f7n1qfE5PxLkED5b5yKIbB0lyV25kAKdyC5o6dkvto9yMUh931OHkDaJccLWx7lC8n fnqI1X7A==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0OgC-0001rr-4Y; Tue, 28 Jul 2020 12:26:00 +0000 Subject: Re: [PATCH RFC v6 2/6] drm/sprd: add Unisoc's drm kms master To: Kevin Tang , maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <1595930879-2478-1-git-send-email-kevin3.tang@gmail.com> <1595930879-2478-3-git-send-email-kevin3.tang@gmail.com> From: Randy Dunlap Message-ID: <5ef12508-4600-a5f1-f456-ef0762b81d51@infradead.org> Date: Tue, 28 Jul 2020 05:25:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1595930879-2478-3-git-send-email-kevin3.tang@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/28/20 3:07 AM, Kevin Tang wrote: > diff --git a/drivers/gpu/drm/sprd/Kconfig b/drivers/gpu/drm/sprd/Kconfig > new file mode 100644 > index 0000000..b189a54 > --- /dev/null > +++ b/drivers/gpu/drm/sprd/Kconfig > @@ -0,0 +1,12 @@ > +config DRM_SPRD > + tristate "DRM Support for Unisoc SoCs Platform" > + depends on ARCH_SPRD || COMPILE_TEST > + depends on DRM && OF > + select DRM_KMS_HELPER > + select DRM_GEM_CMA_HELPER > + select DRM_KMS_CMA_HELPER > + select DRM_MIPI_DSI > + help > + Choose this option if you have a Unisoc chipsets. chipset. > + If M is selected the module will be called sprd-drm. sprd_drm. > + > diff --git a/drivers/gpu/drm/sprd/Makefile b/drivers/gpu/drm/sprd/Makefile > new file mode 100644 > index 0000000..86d95d9 > --- /dev/null > +++ b/drivers/gpu/drm/sprd/Makefile > @@ -0,0 +1,5 @@ > +# SPDX-License-Identifier: GPL-2.0 > + > +subdir-ccflags-y += -I$(srctree)/$(src) > + > +obj-y := sprd_drm.o -- ~Randy