]> git.baikalelectronics.ru Git - kernel.git/commit
drm: omapdrm: Remove omap_crtc enabled field
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 15 Apr 2015 15:55:27 +0000 (18:55 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:49 +0000 (22:52 +0300)
commitf8eb784e6874caa72f3a70564197fe82a41002eb
treeadeb74abe1af397ce8b95de83db23a13734738f9
parent010282b35493b5a467207fc2332c965e34d26a92
drm: omapdrm: Remove omap_crtc enabled field

The field tracks the CRTC state to avoid double-enable or -disable. As
the DRM atomic core guarantees that the CRTC enable and disable
functions won't be called on an already enabled or disabled CRTC, such
tracking isn't needed. Remove the enabled field.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c