OSDN Git Service

drm/exynos: mixer: Fix enabling of the runtime power management
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 14 May 2020 10:08:12 +0000 (12:08 +0200)
committerInki Dae <inki.dae@samsung.com>
Mon, 18 May 2020 02:37:26 +0000 (11:37 +0900)
commitfda022143f6f00fc4c3c296175b5e315c7c12710
treed9c3a369c63a785d93849900f00ebbc086090322
parenta046e7bf4e27d77a34595778945adbd4450d803a
drm/exynos: mixer: Fix enabling of the runtime power management

Runtime power management is essential for the Exynos Mixer driver
operation. It should be enabled before adding its DRM component, because
in some cases (when deferred probe takes place due to the IOMMU
availability) the DRM driver might be initialized directly from the
Mixer's component_add() call, what results in starting the driver
operation without enabling the runtime power management.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c