drm/rockchip: vop: fixup plane zpos
authorMark Yao <mark.yao@rock-chips.com>
Thu, 7 Jul 2016 00:45:23 +0000 (08:45 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 11 Jul 2016 03:00:02 +0000 (11:00 +0800)
commitd7834287a51ee8bb9b7385d2411414b002877b8c
tree69701f5949d2756722104f0f4e16ed010fb51e50
parent5e313262445a599546749e796fa4fe0eb3c35b07
drm/rockchip: vop: fixup plane zpos

Set unused plane with top zpos will cause a alpha problem.

if there are two planes use same zpos, hardware will do twice
alpha compute, that would cause display abnormal.

Change-Id: I3b5d15c5239412c670ad377edbcc66d7f6c59341
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
drivers/gpu/drm/rockchip/rockchip_vop_reg.c