]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaeaf0353a2d812db143f84a50b0fb645f16a743c
treebffab6d2216ce31b7c11c6adda6876d312d03865
parenta0998cae109dfdaad9b1743f209b63201d65e976
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