]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/mxsfb: Add pm_runtime calls to pipe_enable/disable
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 17 Sep 2018 13:42:13 +0000 (16:42 +0300)
committerStefan Agner <stefan@agner.ch>
Wed, 26 Sep 2018 20:07:40 +0000 (22:07 +0200)
commit4201f4e8484509499a40feb9fd6a6642f453f61e
tree90aa701ce4524c091b6ac331c3d2b3a1b8337358
parent2dc3620eac2df1545bc4a4b9110dcc7961c24a50
drm/mxsfb: Add pm_runtime calls to pipe_enable/disable

Adding lcdif nodes to a power domain currently results in
black/corrupted screens or hangs because power is not correctly enabled
when required.

Ensure power is on when display is active by adding
pm_runtime_get/put_sync to mxsfb_pipe_enable/disable.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/ee88148399c63494cda4129b05444b0ac331b7a7.1537191359.git.leonard.crestez@nxp.com
drivers/gpu/drm/mxsfb/mxsfb_drv.c