drm/rockchip: vop: export rockchip_drm_register_notifier_to_dmc
authorFinley Xiao <finley.xiao@rock-chips.com>
Tue, 9 May 2017 13:34:24 +0000 (21:34 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 11 May 2017 06:47:15 +0000 (14:47 +0800)
commitf0c414b0953af021d0db203a0945783b364b00d6
tree0056e908ed3bcb007425a0131dc78b983656df1d
parent30d22f86ef8d8821a13c77de5ba061a591d1423b
drm/rockchip: vop: export rockchip_drm_register_notifier_to_dmc

This function registers a notifier to dmc devfreq, devfreq thread will
lock the mutex of vop when scaling frequency, so vop_crtc will not be
disabled when it is waiting for line flag.

Change-Id: I886e5dc5d36a0f14f35662cec3423a2c5550a7a6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
include/soc/rockchip/rockchip_dmc.h