]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: Configure video mode to HW in enable() not in mode_set_nofb()
authorJyri Sarha <jsarha@ti.com>
Thu, 24 Nov 2016 21:25:08 +0000 (23:25 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 30 Nov 2016 12:19:53 +0000 (14:19 +0200)
commitfe33a3f93954babdd4837db82fa196f1da0a3873
tree349da7ee8a062fff0ef1fec293c839418f406987
parent29cb7992bef993dc67b2cec6c2b73c95c0d74940
drm/tilcdc: Configure video mode to HW in enable() not in mode_set_nofb()

Configure video mode to HW in enable() call back. There is no reason
to do it before that. This makes PM functions way easier because there
is no HW context to save when screen is for instance blanked. This
patch removes mode_set_nofb() call back from tilcdc.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c