From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: Re: [PATCH 2/3] drm: Renesas R-Car Display Unit DRM driver Date: Thu, 7 Feb 2013 11:15:52 +0900 Message-ID: <20130207021551.GA29824@verge.net.au> References: <1359596703-17556-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <1359596703-17556-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1359596703-17556-3-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-sh-owner@vger.kernel.org To: Laurent Pinchart Cc: linux-sh@vger.kernel.org, dri-devel@lists.freedesktop.org, magnus.damm@gmail.com List-Id: dri-devel@lists.freedesktop.org On Thu, Jan 31, 2013 at 02:45:02AM +0100, Laurent Pinchart wrote: > The R-Car Display Unit (DU) DRM driver supports both superposition > processors and all eight planes in RGB and YUV formats without alpha > blending. > > Only VGA and LVDS encoders and connectors are currently supported. > > Signed-off-by: Laurent Pinchart [snip] > diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig > new file mode 100644 > index 0000000..686486d > --- /dev/null > +++ b/drivers/gpu/drm/rcar-du/Kconfig > @@ -0,0 +1,11 @@ > +config DRM_RCAR_DU > + tristate "DRM Support for R-Car Display Unit" > + depends on DRM && ARCH_SHMOBILE > + select DRM_KMS_HELPER > + select DRM_KMS_CMA_HELPER > + select DRM_GEM_CMA_HELPER > + select OF > + help > + Choose this option if you have an R-Car chipset. > + If M is selected the module will be called rcar-du-drm. > + Git tells me there is a blank line at EOF here. [snip] > diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.h b/drivers/gpu/drm/rcar-du/rcar_du_kms.h > new file mode 100644 > index 0000000..363ed0b > --- /dev/null > +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.h > @@ -0,0 +1,34 @@ > +/* > + * rcar_du_kms.h -- R-Car Display Unit Mode Setting > + * > + * Copyright (C) 2013 Renesas Corporation > + * > + * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + */ > + > +#ifndef __RCAR_DU_KMS_H__ > +#define __RCAR_DU_KMS_H__ > + > +#include > + > +struct rcar_du_device; > + > +struct rcar_du_format_info { > + u32 fourcc; > + unsigned int bpp; > + unsigned int planes; > + unsigned int dddf; > + unsigned int edf; > +}; > + > +const struct rcar_du_format_info *rcar_du_format_info(u32 fourcc); > + > +int rcar_du_modeset_init(struct rcar_du_device *rcdu); > + > +#endif /* __RCAR_DU_KMS_H__ */ > + And here [snip]