MLK-16075-1 gpu: imx: dpu: fetchdecode: Update funcs to enable/disable src buf
authorLiu Ying <victor.liu@nxp.com>
Mon, 24 Jul 2017 05:26:19 +0000 (13:26 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:48 +0000 (15:33 -0500)
commit5d2147da0e82168d810c9dca532b4d15e5b856b2
tree59256bfd411726f1ca7c58e70d941a7e3a4cae42
parent332fc0e08b33eaad6749b854f873b374ea7ec43e
MLK-16075-1 gpu: imx: dpu: fetchdecode: Update funcs to enable/disable src buf

The bit to enable/disable source buffer is embedded in the register
LAYERPORPERTY0.  However, the other bits of the register may have
other functionalities.  So, using fetchdecode_layerproperty() to
enable/disable source buffer isn't appropriate.  This patch uses
new functions to enable/disable fetchdecode source buffer so that
the function names could be a bit specific about what they are doing.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/drm/imx/dpu/dpu-crtc.c
drivers/gpu/drm/imx/dpu/dpu-plane.c
drivers/gpu/imx/dpu/dpu-fetchdecode.c
include/video/dpu.h