]> 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)
commitf180309c9296b45ba982d0c5d89443413d5df988
treea7f085d56b55588e565c8bc2622da1fecc8f63e1
parentf826c83f215779724270b3618d2776c630dd9459
drm/omap: drop unneeded locking from mgr_fld_write()

Commit c9e583aa654d099aff0fafd453d07b91b78fe03c ("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