MLK-17368-2: drm: imx: dcss: split dcss_ctxld_write
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 12 Jan 2018 11:56:58 +0000 (13:56 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:54 +0000 (14:52 -0500)
commit8d939b9d70e5d993b07bc41884926bc0ee9a04ce
tree123ac2fdb86e4e9a12095a81624b31da047c14fc
parenta91584759842539b7231071b0f860397048a10d5
MLK-17368-2: drm: imx: dcss: split dcss_ctxld_write

In order for DTRC to work properly, we need to be able to write the DCTL
registers (to switch banks), just before activating CTXLD. However,
__dcss_ctxld_enable() function is usually called from irq context, or
whn the mutex is taken. Hence, create a function the can be called from
irq context.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-ctxld.c
drivers/gpu/imx/dcss/dcss-prv.h