linux/drivers/gpu/drm/mediatek
Bibby Hsieh ac08500c1b drm/mediatek: Fix mtk_atomic_complete for runtime_pm
To properly implement atomic w/ runtime pm, we move
drm_atomic_helper_commit_modeset_enables() above
drm_atomic_helper_commit_planes() to ensure CRTCs are enabled before
modifying plane registers, and set active_only to true to filter out
plane update notifications when the CRTC is disabled.

According to the document from linux kernel:
Set the active_only parameters to true in order not to receive plane
update notifications related to a disabled CRTC. This avoids the need
to manually ignore plane updates in driver code when the driver and/or
hardware can't or just don't need to deal with updates on disabled
CRTCs, for example when supporting runtime PM.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1470279597-60453-8-git-send-email-bibby.hsieh@mediatek.com
2016-08-08 14:20:02 -04:00
..
Kconfig MT8173 HDMI support 2016-06-24 13:16:07 +10:00
Makefile drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_cec.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_cec.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_disp_ovl.c
mtk_disp_rdma.c
mtk_dpi_regs.h drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_dpi.c drm/mediatek: mtk_dpi: remove invalid error message 2016-06-01 16:09:54 +02:00
mtk_drm_crtc.c drm/mediatek: Use drm_atomic destroy_state helpers 2016-08-08 14:20:01 -04:00
mtk_drm_crtc.h drm/mediatek: Remove mtk_drm_crtc_check_flush 2016-08-08 14:19:59 -04:00
mtk_drm_ddp_comp.c
mtk_drm_ddp_comp.h
mtk_drm_ddp.c
mtk_drm_ddp.h
mtk_drm_drv.c drm/mediatek: Fix mtk_atomic_complete for runtime_pm 2016-08-08 14:20:02 -04:00
mtk_drm_drv.h drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_drm_fb.c drm: mediatek: fixup drm_gem_object_lookup API change 2016-05-18 19:16:16 +02:00
mtk_drm_fb.h
mtk_drm_gem.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
mtk_drm_gem.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
mtk_drm_plane.c drm/mediatek: plane: Use FB's format's cpp to compute x offset 2016-08-08 14:20:02 -04:00
mtk_drm_plane.h drm/mediatek: Remove mtk_drm_plane 2016-08-08 14:20:00 -04:00
mtk_dsi.c drm: mediatek: Rely on the default ->best_encoder() behavior 2016-06-09 08:43:26 +02:00
mtk_hdmi_ddc.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_hdmi_regs.h drm/mediatek: enable hdmi output control bit 2016-06-16 16:30:38 +02:00
mtk_hdmi.c ASoC: Add private data for HDMI CODEC callbacks 2016-07-05 09:57:23 +10:00
mtk_hdmi.h drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00
mtk_mipi_tx.c drm/mediatek/mtk_mipi_tx: checking the wrong variable 2016-07-12 14:47:04 +02:00
mtk_mt8173_hdmi_phy.c drm/mediatek: Add HDMI support 2016-06-16 16:30:38 +02:00