mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
ac08500c1b
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 |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtk_cec.c | ||
mtk_cec.h | ||
mtk_disp_ovl.c | ||
mtk_disp_rdma.c | ||
mtk_dpi_regs.h | ||
mtk_dpi.c | ||
mtk_drm_crtc.c | ||
mtk_drm_crtc.h | ||
mtk_drm_ddp_comp.c | ||
mtk_drm_ddp_comp.h | ||
mtk_drm_ddp.c | ||
mtk_drm_ddp.h | ||
mtk_drm_drv.c | ||
mtk_drm_drv.h | ||
mtk_drm_fb.c | ||
mtk_drm_fb.h | ||
mtk_drm_gem.c | ||
mtk_drm_gem.h | ||
mtk_drm_plane.c | ||
mtk_drm_plane.h | ||
mtk_dsi.c | ||
mtk_hdmi_ddc.c | ||
mtk_hdmi_regs.h | ||
mtk_hdmi.c | ||
mtk_hdmi.h | ||
mtk_mipi_tx.c | ||
mtk_mt8173_hdmi_phy.c |