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=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 161D2C433E1 for ; Thu, 20 Aug 2020 17:29:40 +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 E575D20724 for ; Thu, 20 Aug 2020 17:29:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E575D20724 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F3B176E99A; Thu, 20 Aug 2020 17:29:34 +0000 (UTC) Received: from asavdk3.altibox.net (asavdk3.altibox.net [109.247.116.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2091A6E98D; Thu, 20 Aug 2020 17:29:33 +0000 (UTC) Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 40DC62001E; Thu, 20 Aug 2020 19:29:30 +0200 (CEST) Date: Thu, 20 Aug 2020 19:29:28 +0200 From: Sam Ravnborg To: Anitha Chrisanthus Message-ID: <20200820172928.GC194134@ravnborg.org> References: <1597096418-28937-1-git-send-email-anitha.chrisanthus@intel.com> <1597096418-28937-2-git-send-email-anitha.chrisanthus@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1597096418-28937-2-git-send-email-anitha.chrisanthus@intel.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=f+hm+t6M c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=8nJEP1OIZ-IA:10 a=cz9QPSLc_2ERrwG0xJgA:9 a=1qB7dQoxvKhqk_Vz:21 a=m1QiOsuidX_Vl2ZZ:21 a=wPNLvfGTeEIA:10 Subject: Re: [Intel-gfx] [PATCH v6] drm/kmb: Add support for KeemBay Display X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.vetter@intel.com, intel-gfx@lists.freedesktop.org, edmund.j.dea@intel.com, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Anitha. On Mon, Aug 10, 2020 at 02:53:38PM -0700, Anitha Chrisanthus wrote: > This is a basic KMS atomic modesetting display driver for KeemBay family = of > SOCs. Driver has no 2D or 3D graphics.It calls into the ADV bridge > driver at the connector level. > = > Single CRTC with LCD controller->mipi DSI-> ADV bridge > = > Only 1080p resolution and single plane is supported at this time. > = > v2: moved extern to .h, removed license text > use drm_dev_init, upclassed dev_private, removed HAVE_IRQ. > = > v3: Squashed all 59 commits to one > = > v4: review changes from Sam Ravnborg > renamed dev_p to kmb > moved clocks under kmb_clock, consolidated clk initializations > use drmm functions > use DRM_GEM_CMA_DRIVER_OPS_VMAP > = > v5: corrected spellings > v6: corrected checkpatch warnings I have asked a few persons to review, but they lack time at the moment. So I will continue this monolouge of review feedback. I had hoped to provide all feedback in a few itearations, but I continue to find more stuff. First part of this round is some feedback on plane stuff Sam > diff --git a/drivers/gpu/drm/kmb/kmb_plane.c b/drivers/gpu/drm/kmb/kmb_pl= ane.c > new file mode 100644 > index 0000000..31bcba0 > --- /dev/null > +++ b/drivers/gpu/drm/kmb/kmb_plane.c > @@ -0,0 +1,519 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright =A9 2018-2020 Intel Corporation > + */ > + > +#include > +#include > +#include Not used I think. > +#include