]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: drop unneeded locking from mgr_fld_write()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 30 Sep 2019 10:38:34 +0000 (13:38 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 4 Oct 2019 08:30:28 +0000 (11:30 +0300)
commit70362150df218bd97bcecb56211a6f7f0ad98c92
treea7f085d56b55588e565c8bc2622da1fecc8f63e1
parentfbcc99791c104caa64ffb54a6dec27d284130470
drm/omap: drop unneeded locking from mgr_fld_write()

Commit 2466f90f4df960afb366d3099490f328253c249d ("OMAPDSS: DISPC: lock
access to DISPC_CONTROL & DISPC_CONFIG") added locking to
mgr_fld_write(). This was needed in omapfb times due to lack of good
locking, especially in the case of both V4L2 and fbdev layers using the
DSS driver.

This is not needed for omapdrm, so we can remove the locking.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190930103840.18970-2-tomi.valkeinen@ti.com
drivers/gpu/drm/omapdrm/dss/dispc.c