From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/8] drm: atmel-hlcdc: fix connector and encoder types
Date: Tue, 8 Mar 2016 16:03:41 +0100 [thread overview]
Message-ID: <56DEE9CD.1030501@atmel.com> (raw)
In-Reply-To: <1452075569-8545-4-git-send-email-boris.brezillon@free-electrons.com>
Le 06/01/2016 11:19, Boris Brezillon a ?crit :
> The hlcdc IP keep the pixel stream in raw RGB mode, and does not provide
> any specific connector. Since DRM_MODE_CONNECTOR_RAW_RGB does not exist,
> use DRM_MODE_CONNECTOR_Unknown.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Yes:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> index 0f7ec01..49494e9 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> @@ -256,7 +256,7 @@ static int atmel_hlcdc_create_panel_output(struct drm_device *dev,
> &atmel_hlcdc_panel_encoder_helper_funcs);
> ret = drm_encoder_init(dev, &panel->base.encoder,
> &atmel_hlcdc_panel_encoder_funcs,
> - DRM_MODE_ENCODER_LVDS, NULL);
> + DRM_MODE_ENCODER_NONE, NULL);
> if (ret)
> return ret;
>
> @@ -266,7 +266,7 @@ static int atmel_hlcdc_create_panel_output(struct drm_device *dev,
> &atmel_hlcdc_panel_connector_helper_funcs);
> ret = drm_connector_init(dev, &panel->base.connector,
> &atmel_hlcdc_panel_connector_funcs,
> - DRM_MODE_CONNECTOR_LVDS);
> + DRM_MODE_CONNECTOR_Unknown);
> if (ret)
> goto err_encoder_cleanup;
>
>
--
Nicolas Ferre
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Boris Brezillon <boris.brezillon@free-electrons.com>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/8] drm: atmel-hlcdc: fix connector and encoder types
Date: Tue, 8 Mar 2016 16:03:41 +0100 [thread overview]
Message-ID: <56DEE9CD.1030501@atmel.com> (raw)
In-Reply-To: <1452075569-8545-4-git-send-email-boris.brezillon@free-electrons.com>
Le 06/01/2016 11:19, Boris Brezillon a écrit :
> The hlcdc IP keep the pixel stream in raw RGB mode, and does not provide
> any specific connector. Since DRM_MODE_CONNECTOR_RAW_RGB does not exist,
> use DRM_MODE_CONNECTOR_Unknown.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Yes:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> index 0f7ec01..49494e9 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> @@ -256,7 +256,7 @@ static int atmel_hlcdc_create_panel_output(struct drm_device *dev,
> &atmel_hlcdc_panel_encoder_helper_funcs);
> ret = drm_encoder_init(dev, &panel->base.encoder,
> &atmel_hlcdc_panel_encoder_funcs,
> - DRM_MODE_ENCODER_LVDS, NULL);
> + DRM_MODE_ENCODER_NONE, NULL);
> if (ret)
> return ret;
>
> @@ -266,7 +266,7 @@ static int atmel_hlcdc_create_panel_output(struct drm_device *dev,
> &atmel_hlcdc_panel_connector_helper_funcs);
> ret = drm_connector_init(dev, &panel->base.connector,
> &atmel_hlcdc_panel_connector_funcs,
> - DRM_MODE_CONNECTOR_LVDS);
> + DRM_MODE_CONNECTOR_Unknown);
> if (ret)
> goto err_encoder_cleanup;
>
>
--
Nicolas Ferre
next prev parent reply other threads:[~2016-03-08 15:03 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-06 10:19 [PATCH 0/8] drm: atmel-hlcdc: various fixes/improvements Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-01-06 10:19 ` [PATCH 1/8] drm: atmel-hlcdc: add a ->cleanup_fb() operation Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-03-08 15:03 ` Nicolas Ferre
2016-03-08 15:03 ` Nicolas Ferre
2016-01-06 10:19 ` [PATCH 2/8] drm: atmel-hlcdc: support asynchronous atomic commit operations Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-01-06 10:19 ` [PATCH 3/8] drm: atmel-hlcdc: fix connector and encoder types Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-03-08 15:03 ` Nicolas Ferre [this message]
2016-03-08 15:03 ` Nicolas Ferre
2016-01-06 10:19 ` [PATCH 4/8] drm: atmel-hlcdc: remove leftovers from atomic mode setting migration Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-03-08 15:04 ` Nicolas Ferre
2016-03-08 15:04 ` Nicolas Ferre
2016-01-06 10:19 ` [PATCH 5/8] drm: atmel-hlcdc: support extended timing ranges on sama5d4 and sama5d2 Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-03-08 15:08 ` Nicolas Ferre
2016-03-08 15:08 ` Nicolas Ferre
2016-01-06 10:19 ` [PATCH 6/8] drm: atmel-hlcdc: move output mode selection in CRTC implementation Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-01-06 10:19 ` [PATCH 7/8] drm: atmel-hlcdc: rework the output code to support drm bridges Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-01-06 10:19 ` [PATCH 8/8] drm: atmel-hlcdc: check display mode validity in crtc->mode_fixup() Boris Brezillon
2016-01-06 10:19 ` Boris Brezillon
2016-03-08 15:44 ` Nicolas Ferre
2016-03-08 15:44 ` Nicolas Ferre
2016-03-01 10:55 ` [PATCH 0/8] drm: atmel-hlcdc: various fixes/improvements Boris Brezillon
2016-03-01 10:55 ` Boris Brezillon
2016-03-17 2:43 ` Dave Airlie
2016-03-17 2:43 ` Dave Airlie
2016-03-17 8:33 ` Boris Brezillon
2016-03-17 8:33 ` Boris Brezillon
2016-03-16 13:06 ` Nicolas Ferre
2016-03-16 13:06 ` Nicolas Ferre
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=56DEE9CD.1030501@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.