devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/tilcdc: Address LCDC rev 2 color errata
@ 2016-08-16  9:24 Jyri Sarha
  2016-08-16  9:24 ` [PATCH 1/4] drm/tilcdc: Remove drm_helper_disable_unused_functions() call Jyri Sarha
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jyri Sarha @ 2016-08-16  9:24 UTC (permalink / raw)
  To: dri-devel, devicetree, bcousson, tony
  Cc: Jyri Sarha, peter.ujfalusi, tomi.valkeinen, laurent.pinchart

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-19 11:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16  9:24 [PATCH 0/4] drm/tilcdc: Address LCDC rev 2 color errata Jyri Sarha
2016-08-16  9:24 ` [PATCH 1/4] drm/tilcdc: Remove drm_helper_disable_unused_functions() call Jyri Sarha
2016-08-16  9:24 ` [PATCH 2/4] drm/tilcdc: Add blue-and-red-wiring -device tree property Jyri Sarha
2016-08-18 19:17   ` Rob Herring
2016-08-19 11:48     ` Jyri Sarha
2016-08-16  9:24 ` [PATCH 3/4] drm/tilcdc: Choose console BPP that supports RGB Jyri Sarha
2016-08-16  9:24 ` [PATCH 4/4] ARM: dts: am335x-boneblack: Convert BGR from LCDC to RGB in tda19988 Jyri Sarha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).