drm/tilcdc: Load palette at the end of mode_set_nofb()
authorJyri Sarha <jsarha@ti.com>
Tue, 15 Nov 2016 21:57:42 +0000 (23:57 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 30 Nov 2016 12:19:44 +0000 (14:19 +0200)
commit274c34dbe756d441e2c1925465569ef93d380541
treecb458362f11aa2132606ca9992873e3659891d21
parente59f5af9fba2cfccd26ceed085b9c5e89c81f0ca
drm/tilcdc: Load palette at the end of mode_set_nofb()

Load palette at the end of mode_set_nofb(). Moving the palette loading
to mode_set_nofb() saves us from storing and restoring of framebuffer
addresses in dma registers that were just recently written there.

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