]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: dw-mipi-dsi: don't configure hardware in mode_set for MIPI
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:54:44 +0000 (12:54 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:48 +0000 (14:48 -0500)
commite5b62797f62354ca5f82a8cfea8c3f06293f9bb5
tree95780790f5f3174ded96d8824ec534e26fe4e1a8
parentce0cd5e9098255dbc4da3e22e947d57b5b868eea
drm/rockchip: dw-mipi-dsi: don't configure hardware in mode_set for MIPI

With atomic modesetting the hardware will be powered off when the
mode_set function is called.  We should configure the hardware in the
enable function, which is the atomic version of "commit" so let's use
the enable hook rather than commit while we're at it.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170224125506.21533-2-john@metanate.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c