]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: avoid copy in mgr_fld_read/write
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 30 Sep 2019 10:38:35 +0000 (13:38 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 4 Oct 2019 08:30:28 +0000 (11:30 +0300)
commit973c51269881d72308b5f4f58aae98384ca3ed9e
treee6d436f9779f66b0518c38010487a8e489eeb3ff
parentf180309c9296b45ba982d0c5d89443413d5df988
drm/omap: avoid copy in mgr_fld_read/write

Avoid unnecessary copy in mgr_fld_read/write by taking a pointer to the
reg_resc and using that.

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