commit | 31e980c5a2d35ce411034b7fd842433542c1c60e | [log] [tgz] |
---|---|---|
author | Mark Yao <mark.yao@rock-chips.com> | Thu Jan 22 14:37:56 2015 +0800 |
committer | Mark Yao <mark.yao@rock-chips.com> | Mon Mar 16 13:50:04 2015 +0800 |
tree | 010ab3ff3a243aa5910fe33bcc04915b3dad15f5 | |
parent | 44ddb7ef38ae720849cf81e71c370e55071b05a7 [diff] |
drm/rockchip: vop use is_enabled instead of dpms mode drm dpms have many power modes: ON,OFF,SUSPEND,STANDBY, etc. but vop only have enable/disable mode, maybe case such bug: --> DRM_DPMS_ON: power on vop --> DRM_DPMS_SUSPEND: power off vop --> DRM_DPMS_OFF: already power off at SUSPEND, crash so use a bool val is more suitable. Signed-off-by: Mark Yao <mark.yao@rock-chips.com>