]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29cb7992bef993dc67b2cec6c2b73c95c0d74940
treecb458362f11aa2132606ca9992873e3659891d21
parent393565005381eb0933b649e055b913ed13d197bb
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