[PATCH 1/4] gpu: ipu-v3: ipu-dmfc: Protect function ipu_dmfc_init_channel() with mutex

Philipp Zabel p.zabel at pengutronix.de
Thu Mar 31 17:27:10 UTC 2016


Hi Liu,

Am Montag, den 14.03.2016, 16:10 +0800 schrieb Liu Ying:
> 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.

Applied all four patches, thank you.

regards
Philipp



More information about the dri-devel mailing list