drm: rcar-du: Remove local CRTC enabled state
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 24 Jan 2016 22:28:11 +0000 (00:28 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 20 Feb 2016 00:58:51 +0000 (02:58 +0200)
commit6ea22ab4a027add69b61b6561c38df769c9d385b
treebffab6d2216ce31b7c11c6adda6876d312d03865
parentc1d4b38c93069dca6b419a3b88907e01e2c3abf7
drm: rcar-du: Remove local CRTC enabled state

The atomic framework guarantees that the CRTC enable and disable
functions will only be called when needed, there's no need to duplicate
the CRTC state check. By replacing the local CRTC enabled state check at
resume time with the CRTC active state we can remove the local CRTC
enabled state altogether.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_crtc.h