]> git.karo-electronics.de Git - karo-tx-linux.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)
commit9696acbcbf4048cc2462834bb692200f44e50f29
treeccbf997ecf9d83725dca140ecbbe1253b2bbe3d0
parent776638e73a195fb266b84ec75a9080c3feb35b68
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