linux/drivers/gpu/drm/omapdrm
Archit Taneja ec72a81e27 drm/omap: fix: disable encoder before destroying it
Currently, an encoder is disabled only when an apply work is queued for the
corresponding crtc. This works fine for the paths where userspace explicitly
disables crtc, this results in disabling the omapdss device in the crtc's
pre_apply function.

However, when the omapdrm module is removed, there is no work queued to ensure
that the encoder is disabled. This can result in an enabled omapdss device when
removing omapdrm. omapdss is left in an inconsistent state, and that prevents us
from using that omapdss device being used again.

Disable enabled encoders in omap_encoder_destroy, we could consider a better
place for doing this later.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-01-09 15:17:25 +02:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/omap: kill omap_gem_helpers.c 2013-08-19 10:36:16 +10:00
omap_connector.c drm/omap: Make fixed resolution panels work 2013-04-11 13:25:52 +03:00
omap_crtc.c drm/omap: fix: Defer probe if an omapdss device requests for it at connect 2014-01-09 15:17:25 +02:00
omap_debugfs.c
omap_dmm_priv.h
omap_dmm_tiler.c DMA-API: others: use dma_set_coherent_mask() 2013-10-31 14:49:07 +00:00
omap_dmm_tiler.h
omap_drv.c drm/omap: fix: disconnect devices when omapdrm module is removed 2014-01-09 15:17:25 +02:00
omap_drv.h drm/omap: fix: Defer probe if an omapdss device requests for it at connect 2014-01-09 15:17:25 +02:00
omap_encoder.c drm/omap: fix: disable encoder before destroying it 2014-01-09 15:17:25 +02:00
omap_fb.c drm/omap: use flip-work helper 2013-08-19 10:33:39 +10:00
omap_fbdev.c drm: Drop all the stub gamma_get, gamma_set, load_lut functions from drivers 2013-06-17 19:42:47 +10:00
omap_gem_dmabuf.c drm/gem: add mutex lock when using drm_gem_mmap_obj 2013-06-28 12:30:15 +10:00
omap_gem.c drm: kill ->gem_init_object() and friends 2013-10-09 14:38:02 +10:00
omap_irq.c drm/omap: fix (un)registering irqs inside an irq handler 2014-01-09 15:15:24 +02:00
omap_plane.c drm/omap: use flip-work helper 2013-08-19 10:33:39 +10:00
tcm-sita.c
tcm-sita.h
tcm.h
TODO