diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2019-12-17 13:45:59 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2019-12-18 02:40:26 +0200 |
commit | 59c1f061c97e70d81b046e90b259589b645bb87f (patch) | |
tree | dfb9b963a81ed14339ecd6198509ea17e5251a50 /lib | |
parent | 65112cfa56c32030a7f04a8a4c28251b89b5cf26 (diff) |
drm: rcar-du: lvds: Allow for even and odd pixels swap
DT properties dual-lvds-even-pixels and dual-lvds-odd-pixels
can be used to work out if the driver needs to swap even
and odd pixels around.
This patch makes use of the return value from function
drm_of_lvds_get_dual_link_pixel_order to determine if we
need to swap odd and even pixels around for things to work
properly.
The dual_link boolean field from struct rcar_lvds is not
sufficient to describe the type of LVDS link anymore, since
we now have information related to pixel order, therefore
rename it to link_type and repurpose its usage to fit the
new requirements.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions