]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: support runtime power management
authorYannick Fertré <yannick.fertre@st.com>
Mon, 3 Jun 2019 08:32:02 +0000 (10:32 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Fri, 7 Jun 2019 12:45:22 +0000 (14:45 +0200)
commit5c81fb8d431b0fb7e3b2db029decec39c3b750df
treebacdb0f3003ae4a1d59520587780151940d7d6c3
parent72c71ceb6889595421cd7b26d155e4cd9bd908d7
drm/stm: support runtime power management

This patch enables runtime power management (runtime PM) support for
the display controller. pm_runtime_enable() and pm_runtime_disable()
are added during ltdc load and unload respectively.
pm_runtime_get_sync() and pm_runtime_put_sync() are added for ltdc
register access.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1559550722-14091-1-git-send-email-yannick.fertre@st.com
drivers/gpu/drm/stm/drv.c
drivers/gpu/drm/stm/ltdc.c