[PATCH 0/3] drm/mxsfb: support swapped RGB lanes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I got a board with the RED[0:7]/BLUE[0:7] lanes originating from the
LCDIF swapped and would like to describe this in the device tree:

This first patch extends the mxsfb driver to support
following bus formats:
	MEDIA_BUS_FMT_BGR888_1X24
	MEDIA_BUS_FMT_RBG888_1X24
	MEDIA_BUS_FMT_GBR888_1X24

The latter two patches add a new interface-pix-fmt property
(named so because fsl,imx-parallel-display has one),
which allows a device tree to override the bus format to account
for swapped signal lanes.

Thoughts?

Cheers
Ahmad

--

Ahmad Fatoum (3):
  drm/mxsfb: use bus_format to determine pixel RGB component order
  drm/mxsfb: implement interface-pix-fmt of_property to override bus
    format
  dt-bindings: mxsfb: document new interface-pix-fmt property

 .../devicetree/bindings/display/mxsfb.txt     |  5 +++
 drivers/gpu/drm/mxsfb/mxsfb_crtc.c            | 45 +++++++++++++++----
 drivers/gpu/drm/mxsfb/mxsfb_drv.c             | 13 ++++++
 drivers/gpu/drm/mxsfb/mxsfb_drv.h             |  7 +++
 drivers/gpu/drm/mxsfb/mxsfb_regs.h            | 17 +++++++
 5 files changed, 79 insertions(+), 8 deletions(-)

-- 
2.19.1

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux