drm: sti: add HDMI driver

2014-08-29 Thread Dan Carpenter
Hello Benjamin Gaignard, The patch 5402626c83a2: "drm: sti: add HDMI driver" from Jul 30, 2014, leads to the following static checker warning: drivers/gpu/drm/sti/sti_hdmi.c:301 hdmi_avi_infoframe_config() error: buffer overflow 'frame' 13 <= 13 drivers/gpu/drm/s

[PATCH v8 04/11] drm: sti: add HDMI driver

2014-07-30 Thread Benjamin Gaignard
Add driver for HDMI output. HDMI PHY registers are mixed into HDMI device registers and their is only one IRQ for all this hardware block. That is why PHYs aren't using phy framework but only a thin hdmi_phy_ops structure with start and stop functions. HDMI driver is mapped on drm_bridge and

[PATCH v5 04/11] drm: sti: add HDMI driver

2014-06-18 Thread Benjamin Gaignard
Add driver for HDMI output. HDMI PHY registers are mixed into HDMI device registers and their is only one IRQ for all this hardware block. That is why PHYs aren't using phy framework but only a thin hdmi_phy_ops structure with start and stop functions. HDMI driver is mapped on drm_bridge and

[PATCH v4 04/11] drm: sti: add HDMI driver

2014-05-29 Thread Benjamin Gaignard
Add driver for HDMI output. HDMI PHY registers are mixed into HDMI device registers and their is only one IRQ for all this hardware block. That is why PHYs aren't using phy framework but only a thin hdmi_phy_ops structure with start and stop functions. This patch introduce sti_connector structure

[PATCH v3 03/16] drm: sti: add HDMI driver

2014-05-21 Thread Thierry Reding
On Tue, May 20, 2014 at 03:56:13PM +0200, Benjamin Gaignard wrote: [...] > diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c [...] > +/* Reference to the hdmi device */ > +struct device *hdmi_dev; No globals please. > +/* > + * Helper to write bit field > + * > + *

[PATCH v3 03/16] drm: sti: add HDMI driver

2014-05-20 Thread Benjamin Gaignard
Add driver for HDMI ouput Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/Makefile | 5 + drivers/gpu/drm/sti/sti_hdmi.c | 529 + drivers/gpu/drm/sti/sti_hdmi.h | 195 +++

[PATCH v2 04/19] drm: sti: add HDMI driver

2014-05-13 Thread Benjamin Gaignard
Add driver for HDMI ouput Signed-off-by: Benjamin Gaignard Signed-off-by: Vincent Abriou Signed-off-by: Fabien Dessenne --- drivers/gpu/drm/sti/Makefile | 5 + drivers/gpu/drm/sti/sti_hdmi.c | 530 + drivers/gpu/drm/sti/sti_hdmi.h

[PATCH v1 04/19] drm: sti: add HDMI driver

2014-05-06 Thread Rob Clark
On Tue, Apr 8, 2014 at 8:19 AM, Benjamin Gaignard wrote: > +/* > + * Attach the I2C ddc client to allow hdmi i2c communication > + * > + * @ddc: i2c client > + */ > +static struct i2c_client *hdmi_ddc; > +void sti_hdmi_attach_ddc_client(struct i2c_client *ddc) > +{ > +

[PATCH v1 04/19] drm: sti: add HDMI driver

2014-04-08 Thread Benjamin Gaignard
Add driver for HDMI ouput Signed-off-by: Benjamin Gaignard Signed-off-by: Vincent Abriou Signed-off-by: Fabien Dessenne --- drivers/gpu/drm/sti/Makefile | 5 + drivers/gpu/drm/sti/sti_hdmi.c | 503 + drivers/gpu/drm/sti/sti_hdmi.h