All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: "Noralf Trønnes" <noralf@tronnes.org>
Cc: David Lechner <david@lechnology.com>,
	daniel.vetter@ffwll.ch, emil.l.velikov@gmail.com,
	josef@lusticky.cz, dri-devel@lists.freedesktop.org,
	thierry.reding@gmail.com, laurent.pinchart@ideasonboard.com
Subject: Re: [PATCH 2/4] drm/tiny/ili9341: Move driver to drm/panel
Date: Sun, 11 Aug 2019 17:24:48 +0200	[thread overview]
Message-ID: <20190811152448.GA14660@ravnborg.org> (raw)
In-Reply-To: <20190801135249.28803-3-noralf@tronnes.org>

Hi Noralf.

Most feedback on this driver was covered in comment to 1/4.
Only a few things caught my eye.

On Thu, Aug 01, 2019 at 03:52:47PM +0200, Noralf Trønnes wrote:
> Move the driver to drm/panel and take advantage of the new panel support
> in drm_mipi_dbi. Change the file name to match the naming standard in
> drm/panel. The DRM driver name is kept since it is ABI.
> 
> Add missing MAINTAINERS entry.
> 
> Cc: David Lechner <david@lechnology.com>
> Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
> ---
>  MAINTAINERS                                   |   7 +
>  drivers/gpu/drm/panel/Kconfig                 |  12 ++
>  drivers/gpu/drm/panel/Makefile                |   1 +
>  .../panel-ilitek-ili9341.c}                   | 174 ++++++++++--------
>  drivers/gpu/drm/tiny/Kconfig                  |  13 --
>  drivers/gpu/drm/tiny/Makefile                 |   1 -
>  6 files changed, 113 insertions(+), 95 deletions(-)
>  rename drivers/gpu/drm/{tiny/ili9341.c => panel/panel-ilitek-ili9341.c} (66%)
> 
> +
> +struct ili9341 {
> +	struct mipi_dbi_dev dbidev; /* This must be the first entry */

Can we avoid the need for this to be the first entry?


> -static struct drm_driver ili9341_driver = {
> -	.driver_features	= DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC,
> -	.fops			= &ili9341_fops,
> -	.release		= mipi_dbi_release,
> -	DRM_GEM_CMA_VMAP_DRIVER_OPS,
> -	.debugfs_init		= mipi_dbi_debugfs_init,
> -	.name			= "ili9341",
> -	.desc			= "Ilitek ILI9341",
> -	.date			= "20180514",
> -	.major			= 1,
> -	.minor			= 0,

> +DEFINE_DRM_MIPI_DBI_PANEL_DRIVER(ili9341, "Ilitek ILI9341", "20180514");
Update the date. This is a major change so let it be refelcted in the
date.

	Sam
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2019-08-11 15:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01 13:52 [PATCH 0/4] drm/mipi-dbi: Support panel drivers Noralf Trønnes
2019-08-01 13:52 ` [PATCH 1/4] drm/mipi-dbi: Support command mode " Noralf Trønnes
2019-08-11 14:16   ` Sam Ravnborg
2019-08-12 12:05     ` Noralf Trønnes
2019-08-12 18:49       ` Sam Ravnborg
2019-08-13 16:24         ` Noralf Trønnes
2019-08-01 13:52 ` [PATCH 2/4] drm/tiny/ili9341: Move driver to drm/panel Noralf Trønnes
2019-08-01 19:43   ` David Lechner
2019-08-02 14:19     ` Noralf Trønnes
2019-08-11 15:24   ` Sam Ravnborg [this message]
2019-08-12 12:11     ` Noralf Trønnes
2019-08-01 13:52 ` [PATCH 3/4] drm/tiny/mi0283qt: Move driver to panel-ilitek-ili9341 Noralf Trønnes
2019-08-01 19:13   ` David Lechner
2019-08-01 13:52 ` [PATCH 4/4] drm/panel/ili9341: Support DPI panels Noralf Trønnes
2019-08-01 19:10   ` [4/4] " David Lechner
2019-08-02 14:14     ` Noralf Trønnes
2019-08-11 16:41   ` [PATCH 4/4] " Sam Ravnborg
2019-08-12 12:13     ` Noralf Trønnes
2019-08-12 15:35       ` Laurent Pinchart
2019-08-12 18:20         ` Sam Ravnborg
2019-08-11 17:02   ` Sam Ravnborg
2019-08-12 12:18     ` Noralf Trønnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190811152448.GA14660@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=david@lechnology.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.l.velikov@gmail.com \
    --cc=josef@lusticky.cz \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=noralf@tronnes.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.