]> 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)
commit49408792f71d1fd6f2154fa3e13e31c416840059
treebffab6d2216ce31b7c11c6adda6876d312d03865
parentc4a14fe4366b56ca7e4864c02fe7431c49d65963
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