[PATCH 0/4] drm/tilcdc: Address LCDC rev 2 color errata
Jyri Sarha
jsarha at ti.com
Tue Aug 16 09:24:26 UTC 2016
The first patch ("drm/tilcdc: Remove drm_helper_disable_unused_functions()
call") is completely independent fix.
The red and blue components are reversed between 24 and 16 bit modes
on am335x LCDC output pins. To get 24 RGB format the wires red and
blue wires has to be crossed and this in turn causes 16 colors output
to be in BGR format. With straight wiring the 16 color is RGB and 24
bit is BGR. These patches try to deal with the issue in reasonable
manner.
For more details see section 3.1.1 in AM335x Silicon Errata:
http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=sprz360
Jyri Sarha (4):
drm/tilcdc: Remove drm_helper_disable_unused_functions() call
drm/tilcdc: Add blue-and-red-wiring -device tree property
drm/tilcdc: Choose console BPP that supports RGB
ARM: dts: am335x-boneblack: Convert BGR from LCDC to RGB in tda19988
.../devicetree/bindings/display/tilcdc/tilcdc.txt | 12 +++++
arch/arm/boot/dts/am335x-boneblack.dts | 11 ++++
drivers/gpu/drm/tilcdc/tilcdc_drv.c | 59 ++++++++++++++++++----
drivers/gpu/drm/tilcdc/tilcdc_drv.h | 5 +-
drivers/gpu/drm/tilcdc/tilcdc_external.c | 7 ++-
drivers/gpu/drm/tilcdc/tilcdc_external.h | 2 +-
drivers/gpu/drm/tilcdc/tilcdc_panel.c | 2 -
drivers/gpu/drm/tilcdc/tilcdc_plane.c | 9 ++--
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 2 -
9 files changed, 82 insertions(+), 27 deletions(-)
--
1.9.1
More information about the dri-devel
mailing list