Searched hist:"32 c26a56af3ae823a883e926b96e3ff00854e6a8" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-dmfc.c | diff 32c26a56af3ae823a883e926b96e3ff00854e6a8 Mon Mar 14 09:10:08 CET 2016 Liu Ying <gnuiyl@gmail.com> gpu: ipu-v3: ipu-dmfc: Protect function ipu_dmfc_init_channel() with mutex
To avoid race condition issue, we should protect the function ipu_dmfc_init_channel() with the mutex dmfc->priv->mutex, since it configures the register DMFC_GENERAL1 at runtime which contains several control bits for various display channels. This matches better with fine grained locking logic in upper layer.
Signed-off-by: Liu Ying <gnuiyl@gmail.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|