drm: rcar-du: Rename DORCR fields to make them 0-based
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 22 Feb 2023 22:08:14 +0000 (00:08 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 25 Mar 2023 20:38:10 +0000 (22:38 +0200)
commit3d3f8d8cb80ae6170cece11d39127fef95211056
treebecae3a1fe3e8e2982572d1825fe6108d1798d01
parent2c5c13efc43630071977377877bbba5353e69cc4
drm: rcar-du: Rename DORCR fields to make them 0-based

The DORCR fields were documented in the R-Car H1 datasheet with 1-based
named, and then got renamed to 0-based in Gen2. The 0-based names are
used for Gen3 and Gen4, making H1 an outlier. Rename the field macros to
make them 0-based, in order to increase readability of the code when
comparing it with the documentation.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_group.c
drivers/gpu/drm/rcar-du/rcar_du_regs.h