diff options
author | Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> | 2024-12-17 07:31:36 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2024-12-17 15:12:35 +0200 |
commit | bb5f268b7662469b47e9b518c2353803bc7f4ec9 (patch) | |
tree | 91efc2832bbf2bdcbcb92bd8900a46da84554a7f /scripts/lib/kdoc/kdoc_output.py | |
parent | 6389e616fae8a101ce00068f7690461ab57b29d8 (diff) |
drm/rcar-du: Write DPTSR only if the second source exists
Currently the driver always writes DPTSR when setting up the hardware.
However, writing the register is only meaningful when the second source
for a plane is used, and the register is not even documented for SoCs
that do not have the second source.
So move the write behind a condition.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> # On R-Car M3-N
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217-rcar-gh-dsi-v5-2-e77421093c05@ideasonboard.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions