]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit6cca481c0556d197f8aa287aec784b20f515fd12
treeadeb74abe1af397ce8b95de83db23a13734738f9
parentdee8260d9c2e6f43ebecd2777caff3524477bf9f
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