diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-04-06 15:31:20 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-04-07 20:28:32 +0300 |
commit | 5e570373c015b60a68828b1cd9d475cb33d3be4b (patch) | |
tree | d2e5e12a7b2aaa1ecaf1a2e55365085f95bad805 /drivers/gpu/drm/rockchip/rockchip_drm_fb.h | |
parent | 88582f5646927348d31424fa8bdb0f2d97a046c0 (diff) | |
download | linux-5e570373c015b60a68828b1cd9d475cb33d3be4b.tar.xz |
drm/rockchip: vop: Enable pm domain before vop_initial
We're trying to access vop registers here, so need to make sure
the pm domain is on.
Normally it should be enabled by the bootloader, but there's no
guarantee of it. And if we wanna do unbind/bind, it would also
cause the device to hang.
And this patch also does these:
1/ move vop_initial to the end of vop_bind for eaiser error handling.
2/ correct the err_put_pm_runtime of vop_enable.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1491481885-13775-8-git-send-email-jeffy.chen@rock-chips.com
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_fb.h')
0 files changed, 0 insertions, 0 deletions