Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1473124
| From | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: drm/atmel-hlcdc: connector type & fbdev mode settings |
| Date | 2016-08-31 09:40 +0200 |
| Message-ID | <sc8hR-7T2-83@gated-at.bofh.it> (permalink) |
| References | <sc3Bv-4VN-3@gated-at.bofh.it> |
| Organization | Free Electrons |
On Wed, 31 Aug 2016 11:29:53 +0900 Hyung Jin Jung <realbright@lgcns.com> wrote: > According to Atmel's guideline... http://www.at91.com/linux4sam/bin/view/Linux4SAM/UsingAtmelDRMDriver > > the "fbdev emulation mode" could be set from kernel command line (LVDS-1:...) > however, driver register it as DRM_MODE_CONNECTOR_Unknown connector. Just adapt the command line with Unknown-1:... > > Actually we using sama5d3x with LVDS cable so that below patch would be correct. No it wouldn't. The sama5 SoC is providing a raw RGB interface, so if you really have an LVDS interface on your board this means you have a bridge in the middle. This bridge should be represented in the DT, and attached to a driver in the kernel. > But I don't know the other case such as HDMI, composite... > > Do we need to consider using DT or auto-detection?? > > Signed-off-by: HyungJin Jung <realbright@lgcns.com> > --- > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c > index 6119b50..da97efe > --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c > +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c > @@ -208,7 +208,7 @@ static int atmel_hlcdc_attach_endpoint(struct drm_device *dev, > &atmel_hlcdc_panel_connector_helper_funcs); > ret = drm_connector_init(dev, &output->connector, > &atmel_hlcdc_panel_connector_funcs, > - DRM_MODE_CONNECTOR_Unknown); > + DRM_MODE_CONNECTOR_LVDS); > if (ret) > goto err_encoder_cleanup; >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
drm/atmel-hlcdc: connector type & fbdev mode settings Hyung Jin Jung <realbright@lgcns.com> - 2016-08-31 04:40 +0200 Re: drm/atmel-hlcdc: connector type & fbdev mode settings Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-08-31 09:40 +0200
csiph-web