drm/msm/mdp4: Clean up modeset_init
authorArchit Taneja <architt@codeaurora.org>
Mon, 19 Oct 2015 06:50:52 +0000 (12:20 +0530)
committerRob Clark <robdclark@gmail.com>
Mon, 14 Dec 2015 15:39:30 +0000 (10:39 -0500)
commitec141af624bbd3932aab90b85e1fabe7fa1ca70b
treec5054a036af8ac2d5b6bd412fbb4466a9cca86d7
parent66a42f8586897c3a95ac2fef5e2ee1e69da695c8
drm/msm/mdp4: Clean up modeset_init

modeset_init() for mdp4 isn't very flexible. That makes it hard to add
more interfaces.

Split out the encoder/connector creation code in modeset_init into a
separate function. This is similar to what's done in modeset_init for
mdp5.

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