]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: cleanup offset calculation
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 May 2017 12:01:10 +0000 (15:01 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:22 +0000 (10:57 +0300)
commit6a30d8f84d21654bad9afaca5d77cd750c01bd29
treeb1f475a173661de6447231192ebfa658f87e3ff6
parent74a01d87b49ded7bec46b11ed059f5e7bb778af3
drm/omap: cleanup offset calculation

The code to calculate offset in dispc's calc_offset() is overly complex.
Simplify it.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dispc.c