AR# 68629

DisplayPort RX Subsystem v2.0 (Rev.3) - How do I support 3 EDID blocks? How do I support an EDID larger than 256 bytes?

Description

How can I support 3 EDID blocks?

How can I support an EDID larger than 256 bytes?

Solution

DisplayPort RX Subsystem:

There is a known issue in the DisplayPort RX Subsystem v2.0 (Rev.3) and earlier that does not allow support for more then 2 EDID blocks.

This issue will be resolved in the 2017.1 version and later. 

If you are using Vivado 2016.4, you can apply the patch in (Xilinx Answer 68455)

 

XAPP1271:

In addition, XAPP1271 will also require an updated local EDID IP example that adds support for 3 EDID blocks.

The can be obtained from the attachment below (2017-01-25_-_vid_edid_v1_0.zip).

You will also need to update the size of the EDID in your main program.  Below is an example of a 3 EDID block:

    UINT8 edid[384] = {
        0x00, 0xff , 0xff , 0xff , 0xff , 0xff , 0xff , 0x00 , 0x05 , 0xa4 , 0x34 , 0x12 , 0x00 , 0x00 , 0x00 , 0x00,
        0x28, 0x18 , 0x01 , 0x04 , 0xa5 , 0x1f , 0x11 , 0x78 , 0x03 , 0x87 , 0xe5 , 0xa4 , 0x56 , 0x50 , 0x9e , 0x26,
        0x0d, 0x50 , 0x54 , 0x21 , 0x0b , 0x00 , 0xd1 , 0xc0 , 0xd1 , 0xfc , 0x81 , 0xc0 , 0xa9 , 0xc0 , 0xa9 , 0xfc,
        0x01, 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x2a , 0x82 , 0x80 , 0x50 , 0x70 , 0x38 , 0x4d , 0x40 , 0x08 , 0x20,
        0xf8, 0x0c , 0x36 , 0xaa , 0x10 , 0x00 , 0x00 , 0x1a , 0x23 , 0xe5 , 0x00 , 0x50 , 0xa0 , 0xa0 , 0x67 , 0x50,
        0x08, 0x20 , 0xf8 , 0x0c , 0x36 , 0xaa , 0x10 , 0x00 , 0x00 , 0x1a , 0x00 , 0x00 , 0x00 , 0xfd , 0x00 , 0x1e,
        0x90, 0xfe , 0xfe , 0x6c , 0x01 , 0x0a , 0x20 , 0x20 , 0x20 , 0x20 , 0x20 , 0x20 , 0x00 , 0x00 , 0x00 , 0xfe,
        0x00, 0x44 , 0x52 , 0x52 , 0x2d , 0x33 , 0x30 , 0x2d , 0x31 , 0x34 , 0x34 , 0x48 , 0x7a , 0x0a , 0x02 , 0x24,
 
        0x02, 0x03 , 0x25 , 0xc2 , 0x23 , 0x09 , 0x07 , 0x07 , 0x83 , 0x01 , 0x00 , 0x00 , 0x47 , 0x61 , 0x3f , 0x40,
        0x5d, 0x5f , 0x60 , 0x5e , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
        0x00, 0x00 , 0x00 , 0x00 , 0x0c , 0x4d , 0xd0 , 0x7c , 0xa0 , 0x10 , 0x70 , 0x3e , 0x80 , 0x30 , 0x20 , 0x35,
        0x00, 0x36 , 0xaa , 0x10 , 0x00 , 0x00 , 0x1a , 0x56 , 0x5e , 0x00 , 0xa0 , 0xa0 , 0xa0 , 0x29 , 0x50 , 0x30,
        0x20, 0x35 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x1a , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
        0x00, 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
        0x00, 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00,
        0x00, 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0xf7,
 
        0x70, 0x12 , 0x67 , 0x00 , 0x00 , 0x03 , 0x00 , 0x64 , 0x3b , 0xa4 , 0x01 , 0x04 , 0xff , 0x0e , 0x4f , 0x00,
        0x07, 0x80 , 0x1f , 0x00 , 0x6f , 0x08 , 0x7e , 0x00 , 0x70 , 0x00 , 0x07 , 0x00 , 0x5c , 0x7f , 0x01 , 0x04,
        0xff, 0x0e , 0x4f , 0x00 , 0x07 , 0x80 , 0x1f , 0x00 , 0x6f , 0x08 , 0x73 , 0x00 , 0x65 , 0x00 , 0x07 , 0x00,
        0xd3, 0x5a , 0x01 , 0x04 , 0xff , 0x0e , 0x4f , 0x00 , 0x07 , 0x80 , 0x1f , 0x00 , 0x6f , 0x08 , 0x68 , 0x00,
        0x5a, 0x00 , 0x07 , 0x00 , 0xa0 , 0x36 , 0x01 , 0x04 , 0xff , 0x0e , 0x4f , 0x00 , 0x07 , 0x80 , 0x1f , 0x00,
        0x6f, 0x08 , 0x5d , 0x00 , 0x4f , 0x00 , 0x07 , 0x00 , 0xc3 , 0x12 , 0x01 , 0x04 , 0xff , 0x0e , 0x4f , 0x00,
        0x07, 0x80 , 0x1f , 0x00 , 0x6f , 0x08 , 0x52 , 0x00 , 0x44 , 0x00 , 0x07 , 0x00 , 0x2b , 0x00 , 0x00 , 0x00,
        0x00, 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x90,
    };
 
    for(i=0;i<384;i=i+16){
        for(j=i;j<(i+16);j++){
            XGpio_WriteReg (XPAR_VID_EDID_0_BASEADDR, j, edid[i+1]);
        }
    }
    for(i=0;i<384;i++){
        XGpio_WriteReg (XPAR_VID_EDID_0_BASEADDR, i, edid[i]);
    }

Attachments

Associated Attachments

Name File Size File Type
2017-01-25_-_vid_edid_v1_0.zip 78 KB ZIP
AR# 68629
Date 03/06/2018
Status Archive
Type General Article
Devices
Tools
IP