Re: [PATCH v3] drm: rockchip: hdmi: enable higher resolutions than FHD

2020-12-15 Thread Vicente Bergas
On Tue, Dec 1, 2020 at 5:06 PM Vicente Bergas wrote: > This patch enables a QHD HDMI monitor to work at native resolution. Please, anybody? ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/

[PATCH v3] drm: rockchip: hdmi: enable higher resolutions than FHD

2020-12-02 Thread Vicente Bergas
compatibility. Changes since v1: Use alternative clock rounding code proposed by Doug Anderson Signed-off-by: Vicente Bergas --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/drivers/gpu/drm

[PATCH v2 0/3] drm: rockchip: hdmi: enable higher resolutions than FHD

2020-09-23 Thread Vicente Bergas
This patch series enable a QHD HDMI monitor to work at native resolution. Tested on a Sapphire board with RK3399 connected to a Q27q-10 monitor at 2560x1440@60 Changes since v1: Use alternative clock rounding code proposed by Doug Anderson Vicente Bergas (3): drm: rockchip: hdmi: fix clock

[PATCH v2 3/3] drm: rockchip: hdmi: add higher pixel clock frequencies

2020-09-23 Thread Vicente Bergas
In order to support video resolutions beyond FHD more bandwidth is needed. The new entry values have been taken from u-boot: https://gitlab.denx.de/u-boot/u-boot/-/blob/ba2a0cbb053951ed6d36161989d38da724696b4d/drivers/video/rockchip/rk_hdmi.c#L63 Signed-off-by: Vicente Bergas Tested-by: Vicente

Re: [PATCH 1/3] drm: rockchip: hdmi: remove vop_crtc_mode_fixup to fix clock handling【请注意,邮件由linux-rockchip-bounces+andy.yan=rock-chips....@lists.infradead.org代发】

2020-09-23 Thread Vicente Bergas
On Tue, Sep 22, 2020 at 11:24 AM crj wrote: > > Hello Vicente, > > 在 2020/9/22 15:40, Andy Yan 写道: > > Add our HDMI driver owner Algea to list. > > > > On 9/22/20 2:18 AM, Vicente Bergas wrote: > >> Under certain conditions vop_crtc_mode_fixup roun

Re: [PATCH 1/3] drm: rockchip: hdmi: remove vop_crtc_mode_fixup to fix clock handling【请注意,邮件由linux-rockchip-bounces+andy.yan=rock-chips....@lists.infradead.org代发】

2020-09-23 Thread Vicente Bergas
On Tue, Sep 22, 2020 at 4:28 PM Doug Anderson wrote: > > Hi, > > On Tue, Sep 22, 2020 at 3:13 AM crj wrote: > > > > Hi, Douglas > > > > 在 2020/9/22 17:31, Vicente Bergas 写道: > > > On Tue, Sep 22, 2020 at 11:24 AM crj wrote: > > >> He

[PATCH v2 2/3] drm: rockchip: hdmi: allow any clock that is within the range

2020-09-23 Thread Vicente Bergas
For a video mode to work it suffices that the available bandwidth is large enough. There is no need to have an exact match. This greatly expands the list of supported monitors. Signed-off-by: Vicente Bergas Tested-by: Vicente Bergas --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +- 1

[PATCH v2 1/3] drm: rockchip: hdmi: fix clock rounding code

2020-09-23 Thread Vicente Bergas
linux comes up with a black screen. A workaround was to un-plug and re-plug the HDMI display. Signed-off-by: Vicente Bergas Tested-by: Vicente Bergas --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

Re: [PATCH 1/3] drm: rockchip: hdmi: remove vop_crtc_mode_fixup to fix clock handling

2020-09-23 Thread Vicente Bergas
On Tuesday, September 22, 2020 5:26:17 PM CEST, Doug Anderson wrote: Hi, On Tue, Sep 22, 2020 at 7:52 AM Vicente Bergas wrote: On Tue, Sep 22, 2020 at 4:28 PM Doug Anderson wrote: ... Here's the code: rate = clk_round_rate(vop->dclk, adjusted_mode->clock * 1000 + 999); ad

[PATCH 3/3] drm: rockchip: hdmi: add higher pixel clock frequencies

2020-09-22 Thread Vicente Bergas
In order to support video resolutions beyond FHD more bandwidth is needed. The new entry values have been taken from u-boot: https://gitlab.denx.de/u-boot/u-boot/-/blob/ba2a0cbb053951ed6d36161989d38da724696b4d/drivers/video/rockchip/rk_hdmi.c#L63 Signed-off-by: Vicente Bergas Tested-by: Vicente

[PATCH 1/3] drm: rockchip: hdmi: remove vop_crtc_mode_fixup to fix clock handling

2020-09-22 Thread Vicente Bergas
linux comes up with a black screen. A workaround was to un-plug and re-plug the HDMI display. Signed-off-by: Vicente Bergas Tested-by: Vicente Bergas --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 45 - 1 file changed, 45 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 2/3] drm: rockchip: hdmi: allow any clock that is within the range

2020-09-22 Thread Vicente Bergas
For a video mode to work it suffices that the available bandwidth is large enough. There is no need to have an exact match. This greatly expands the list of supported monitors. Signed-off-by: Vicente Bergas Tested-by: Vicente Bergas --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +- 1

[PATCH 0/3] drm: rockchip: hdmi: enable higher resolutions than FHD

2020-09-22 Thread Vicente Bergas
This patch series enable a QHD HDMI monitor to work at native resolution. Tested on a Sapphire board with RK3399 connected to a Q27q-10 monitor at 2560x1440@60 Vicente Bergas (3): drm: rockchip: remove vop_crtc_mode_fixup to fix clock handling drm: rockchip: HDMI: allow any clock that is