]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Create mdp5_hwpipe_mode_set
authorArchit Taneja <architt@codeaurora.org>
Thu, 23 Mar 2017 10:28:09 +0000 (15:58 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:35 +0000 (06:59 -0400)
commit26a94eb788fb567937cacd09e006f6a0c257a38f
treeb37e5387fc715b1d7042bd3d2906afe244f22de0
parentd739326c3bc883d42885ca9cf5b5006879375b6b
drm/msm/mdp5: Create mdp5_hwpipe_mode_set

Refactor mdp5_plane_mode_set to call mdp5_hwpipe_mode_set. The latter
func takes in only the hwpipe and the parameters that need to be
programmed into the hwpipe registers. All the code that calculates these
parameters is left as is in mdp5_plane_mode_set.

In the future, when we let drm_plane be comprised of 2 hwpipes, this func
allow us to configure each pipe without adding redundant code.

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