[PATCH v2 1/2] drm: rcar-du: Rename DORCR fields to make them 0-based

Tomi Valkeinen tomi.valkeinen at ideasonboard.com
Thu Feb 23 13:51:41 UTC 2023


On 23/02/2023 01:42, Laurent Pinchart wrote:
> 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 at ideasonboard.com>
> ---
>   drivers/gpu/drm/rcar-du/rcar_du_group.c |  8 ++++----
>   drivers/gpu/drm/rcar-du/rcar_du_regs.h  | 26 ++++++++++++-------------
>   2 files changed, 17 insertions(+), 17 deletions(-)

I thought I already did this... And I see I did, but never sent the 
patch as I couldn't figure the part 2 =).

Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>

  Tomi



More information about the dri-devel mailing list