]> 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)
commit53d53e9661e2715d667b85bee46af06f989cc925
treee6d436f9779f66b0518c38010487a8e489eeb3ff
parent70362150df218bd97bcecb56211a6f7f0ad98c92
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