linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v1] drm/arm/mali-dp: Disable checking for required pixel clock rate
@ 2019-05-15  2:42 Wen He
  2019-05-15 15:45 ` liviu.dudau
  2019-05-15 17:14 ` Robin Murphy
  0 siblings, 2 replies; 11+ messages in thread
From: Wen He @ 2019-05-15  2:42 UTC (permalink / raw)
  To: dri-devel, linux-kernel, liviu.dudau; +Cc: Leo Li, Wen He

Disable checking for required pixel clock rate if ARCH_LAYERSCPAE
is enable.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Signed-off-by: Wen He <wen.he_1@nxp.com>
---
change in description:
	- This check that only supported one pixel clock required clock rate
	compare with dts node value. but we have supports 4 pixel clock
	for ls1028a board.
 drivers/gpu/drm/arm/malidp_crtc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/arm/malidp_crtc.c b/drivers/gpu/drm/arm/malidp_crtc.c
index 56aad288666e..bb79223d9981 100644
--- a/drivers/gpu/drm/arm/malidp_crtc.c
+++ b/drivers/gpu/drm/arm/malidp_crtc.c
@@ -36,11 +36,13 @@ static enum drm_mode_status malidp_crtc_mode_valid(struct drm_crtc *crtc,
 
 	if (req_rate) {
 		rate = clk_round_rate(hwdev->pxlclk, req_rate);
+#ifndef CONFIG_ARCH_LAYERSCAPE
 		if (rate != req_rate) {
 			DRM_DEBUG_DRIVER("pxlclk doesn't support %ld Hz\n",
 					 req_rate);
 			return MODE_NOCLOCK;
 		}
+#endif
 	}
 
 	return MODE_OK;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-05-17 16:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15  2:42 [v1] drm/arm/mali-dp: Disable checking for required pixel clock rate Wen He
2019-05-15 15:45 ` liviu.dudau
2019-05-16  8:10   ` [EXT] " Wen He
2019-05-16  8:23     ` liviu.dudau
2019-05-17 10:38       ` Wen He
2019-05-17 16:17         ` liviu.dudau
2019-05-15 17:14 ` Robin Murphy
2019-05-16  9:42   ` [EXT] " Wen He
2019-05-16 10:45     ` Robin Murphy
2019-05-17 10:37       ` Wen He
2019-05-17 16:13         ` liviu.dudau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).