UPSTREAM: drm/rockchip: Disarm vop->is_enabled
authorMark Yao <mark.yao@rock-chips.com>
Tue, 2 Aug 2016 09:24:37 +0000 (17:24 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Tue, 2 Aug 2016 12:08:59 +0000 (20:08 +0800)
commitacb8c96304b55b224f95a34c0edebe509ae80266
treeed6ba325c1ffc485b23c0d4d12f0adaadcda63f3
parent9384c6c19e6629fa47549f22ad33a3ce444fb123
UPSTREAM: drm/rockchip: Disarm vop->is_enabled

With atomic helpers there's no need to track the enabled state of a pipe
any more, because atomic helpers track this accurately already.

Just disable the early returns, since the debug checks might be useful.

v2: Don't call drm_helper_disable_unused_functions, it blows up
without this check. At least explains why rockchip still needed this
old legacy-style state tracing - to work around issues from calling
other legacy style functions!

Change-Id: Ib63ad83b0212c5e2b0a44c1c5e2d188e7c876107
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Mark yao <mark.yao@rock-chips.com>
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465388359-8070-18-git-send-email-daniel.vetter@ffwll.ch
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.c