]> 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)
commit10329f1b8dfb931812a155f04826b3ae0ec441bf
treeccbf997ecf9d83725dca140ecbbe1253b2bbe3d0
parenta4f7fb2d045806c48f6a95c95ffaac0360f2c41b
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