]> git.karo-electronics.de Git - karo-tx-linux.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)
commit75d7f277eefcbd25c154d81f6836d7fdefaba89c
tree349da7ee8a062fff0ef1fec293c839418f406987
parent274c34dbe756d441e2c1925465569ef93d380541
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