Skip to content
Commit 31e980c5 authored by Mark Yao's avatar Mark Yao
Browse files

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: default avatarMark Yao <mark.yao@rock-chips.com>
parent 44ddb7ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment