commit | 52ab7891fb8e45bda6015da8b5ac82ad600355e3 | [log] [tgz] |
---|---|---|
author | Mark Yao <mark.yao@rock-chips.com> | Thu Jan 22 18:29:57 2015 +0800 |
committer | Mark Yao <mark.yao@rock-chips.com> | Mon Mar 16 13:50:32 2015 +0800 |
tree | 9e65cc1eb981f4b4dbd1a334b8d60072b6c17ad6 | |
parent | 31e980c5a2d35ce411034b7fd842433542c1c60e [diff] |
drm/rockchip: vop: set vop enabled after enable iommu there is a Bug that: vop_enable()->drm_vblank_on, drm_vblank_on may call vop enable vblank. if it happen, vblank enable would failed, then cause irq status error. because is_enabled value is set after drm_vblank_on. after enable vop clocks and iommu regs, we can sure that R/W vop regs and do vop plane flip is safe, so place is_enabled = true after enable iommu is suitable. Signed-off-by: Mark Yao <mark.yao@rock-chips.com>