drm/rockchip: vop: Don't reject empty modesets
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 18 Mar 2016 11:22:02 +0000 (12:22 +0100)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 28 Mar 2016 06:48:30 +0000 (14:48 +0800)
commiteac5ad8861639754a3976bfa1581a73e772624c6
tree8f5d63c56c7d11339fe870b5673018c201bee2d7
parentf135046e519dc54a701110fa93a6d61c4989ed96
drm/rockchip: vop: Don't reject empty modesets

So that when DRM_IOCTL_MODE_SETCRTC is called without a FB nor mode, the
CRTC gets disabled.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Link: http://lkml.kernel.org/g/CAAObsKAv+05ih5U+=4kic_NsjGMhfxYheHR8xXXmacZs+p5SHw@mail.gmail.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.c