]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: fix missing disable for unused encoder
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Apr 2014 13:30:03 +0000 (16:30 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Apr 2014 09:34:14 +0000 (12:34 +0300)
commitaeb0ec91fedaef037ad4fb30ac994f1dd4ab0864
treeca68b7237c5a475f77bee0a2d1b47e4b97295f68
parent7f142dee91ef5d58cd2408c4822b853ce8816c88
drm/omap: fix missing disable for unused encoder

When an encoder is no longer connected to a crtc, the driver will leave
the encoder enabled.

This patch adds code to track the encoder used for a crtc, and when the
encoder changes, the old one is disabled.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/omapdrm/omap_crtc.c