]> 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)
commitf35f5404acdb96da1a4ac71173c7b9de32d4f986
treebacdb0f3003ae4a1d59520587780151940d7d6c3
parent9c1c103d6cd4b1b6aa794ca36bc9815fd15284c8
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