drm/bridge: dw_hdmi: Colorspace registers

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

 



Hi Russell,

When using driver dw-hdmi in any other colorspace than RGB the
Y1, Y0 and YCC values are not correct. I confirmed in databook
that these registers are being written to the wrong offset (per
my databook they should be written in bits 0:1 and 7 instead of
bits 4:5). The piece of code in question is this:

    val = (frame.colorspace & 3) << 4 | (frame.scan_mode & 0x3);

So colorspace is being written to bits 4 and 5 instead of bits 0,
1 and 7.

Can you confirm if this is specific to Synopsys Phy?

Please notice that by default the colorspace is fixed to RGB
(where Y1, Y0 and YCC are zero) so this is only reproducible when
trying to use a different colorspace.

Best regards,
Jose Miguel Abreu
_______________________________________________
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