diff options
author | Marek Vasut <marex@denx.de> | 2022-04-01 18:21:54 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2022-04-13 16:26:22 +0200 |
commit | 83c784e7003625d63ff4609500c9f11736edebed (patch) | |
tree | a6d1a7a053bda36d842d389142111e3af1c4427e /Documentation/core-api/symbol-namespaces.rst | |
parent | 03fa454bb666f243d2ffe8ee7395b89cf4e3c27d (diff) |
drm/panel: lvds: Use bus_flags from DT panel-timing property
This driver currently rewrites bus_flags based solely on the value of
DT property 'data-mirror' and ignores bus_flags which might have been
set in DT panel-timing node. Specificaly, the 'de-active' DT property
sets DRM_BUS_FLAG_DE_ bus_flags.
Since of_get_drm_panel_display_mode() conveniently parses the bus_flags
out of DT panel-timing property, just ORR them with bus_flags inferred
from 'data-mirror' DT property and use the result as panel bus_flags.
This fixes handling of panels with 'panel-timing { de-active = <1>; };'.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dmitry Osipenko <digetx@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
To: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220401162154.295152-2-marex@denx.de
Diffstat (limited to 'Documentation/core-api/symbol-namespaces.rst')
0 files changed, 0 insertions, 0 deletions