From: Marek Szyprowski Date: Fri, 12 Jun 2015 09:07:17 +0000 (+0200) Subject: drm/exynos: fimd: ensure proper hw state in fimd_clear_channel() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~17^2~8^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb88e2141222ad93c594f2babc806d71cfb65e0d;p=pandora-kernel.git drm/exynos: fimd: ensure proper hw state in fimd_clear_channel() One should not do any assumptions on the stare of the fimd hardware during driver initialization, so to properly reset fimd before enabling IOMMU, one should ensure that all power domains and clocks are really enabled. This patch adds pm_runtime and clocks management in the fimd_clear_channel() function to ensure that any access to fimd registers will be performed with clocks and power domains enabled. Signed-off-by: Marek Szyprowski Tested-by: Javier Martinez Canillas Signed-off-by: Inki Dae --- Reading git-diff-tree failed