Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1314442
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v12.1 07/17] drm: rockchip: dp: add rockchip platform dp driver |
| Date | 2016-01-21 20:20 +0100 |
| Message-ID | <qTsVZ-1dK-39@gated-at.bofh.it> (permalink) |
| References | <qIQIi-158-9@gated-at.bofh.it> <qSBoD-6hJ-39@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Yakir,
Am Dienstag, 19. Januar 2016, 18:04:53 schrieb Yakir Yang:
> Rockchip have three clocks for dp controller, we leave pclk_edp
> to analogix_dp driver control, and keep the sclk_edp_24m and
> sclk_edp in platform driver.
>
> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
> ---
[...]
> +static int rockchip_dp_drm_create_encoder(struct rockchip_dp_device *dp)
> +{
> + struct drm_encoder *encoder = &dp->encoder;
> + struct drm_device *drm_dev = dp->drm_dev;
> + struct device *dev = dp->dev;
> + int ret;
> +
> + encoder->possible_crtcs = drm_of_find_possible_crtcs(drm_dev,
> + dev->of_node);
> + DRM_DEBUG_KMS("possible_crtcs = 0x%x\n", encoder->possible_crtcs);
> +
> + ret = drm_encoder_init(drm_dev, encoder, &rockchip_dp_encoder_funcs,
> + DRM_MODE_ENCODER_TMDS);
should be
+ DRM_MODE_ENCODER_TMDS, NULL);
Exynos-side seems to be ok though.
With the adapted v12.1 patches it applies cleanly and display is working as
well. So with the thing above fixed, you could resubmit a full v13,
especially as you want to drop patch 16 as discussed there.
Heiko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v12.1 07/17] drm: rockchip: dp: add rockchip platform dp driver Yakir Yang <ykk@rock-chips.com> - 2016-01-19 11:10 +0100
Re: [PATCH v12.1 07/17] drm: rockchip: dp: add rockchip platform dp driver Heiko Stuebner <heiko@sntech.de> - 2016-01-21 20:20 +0100
Re: [PATCH v12.1 07/17] drm: rockchip: dp: add rockchip platform dp driver Yakir Yang <ykk@rock-chips.com> - 2016-01-22 02:40 +0100
csiph-web