]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp4: Call custom round_pixclk helper only if the encoder type is TMDS
authorArchit Taneja <architt@codeaurora.org>
Wed, 18 Nov 2015 12:27:16 +0000 (17:57 +0530)
committerRob Clark <robdclark@gmail.com>
Mon, 14 Dec 2015 15:39:47 +0000 (10:39 -0500)
commit526b4312792ef37f7c691cdc4b291509b99ce4e7
treeccbf997ecf9d83725dca140ecbbe1253b2bbe3d0
parent096061d5988cae0fbd0e71c52f4335d669f2e082
drm/msm/mdp4: Call custom round_pixclk helper only if the encoder type is TMDS

The mdp_kms round_pixclk op creates problems when we have more
interfaces in use. It calls the DTV encoder's helper by default.

Check on encoder type and call the corresponding encoder's
func meant for rounding pixel clock. DSI and LVDS don't require
rounding, so just return rate in their case.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c