Whether DisplayPort device insertion or removal, the value of 0xF5 register is always 0X06.
Is this normal?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Whether DisplayPort device insertion or removal, the value of 0xF5 register is always 0X06.
Is this normal?
Hi,
When the DisplayPort device is removed, if you clear the register 0xF5 with a write of 0xFF and then read back, does register 0xF5 still read back as 0x06?
Thanks
David
Hi,
What you are seeing is the correct behavior.
A HPD_REMOVAL event is defined as a change that causes the HPD state to transition from INSERTION state to the REMOVAL state. A HPD_INSERT event is defined as a change that causes the HPD state to transition from the REMOVAL state to the INSERTION state. The REPLUG event is caused by the sink deasserting HPD for more than 2 ms but less than 100 ms.
So when you plug in the monitor, the register 0x0F5 will be 0x02 indicating the insertion of the cable. When you remove the cable, bit 3 of the register 0xF5 will be set to indicate the removal of the cable. With bit 2 not being cleared, you will read back a 0x06.
The register 0xF5 will not clear itself, you will have to write 0xFF to it to clear it.
Thanks
David