AnsweredAssumed Answered

resolution issue with ADV7611 during htplug

Question asked by ravi1 on Feb 5, 2015
Latest reply on Feb 20, 2015 by ravi1

We have observed scaling issue with the following set-up during hotplu. We are using ADV7611 on the Jacinto6 customized board for HDMI input.

        iPad ------> Apple Lightning Digital AV Adapter ---------> ADV7611(HDMI receiver)

                              

    We have executed following steps sequentially using below command.

        command: gst-launch v4l2src device=/dev/video0 queue-size=8 use-dmabuf=true ! 'video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! 'video/x-raw-yuv, format=(fourcc)NV12, width=(int)1024, height=(int)600' ! waylandsink sync=false

              

                              

    Step1: Board powered on with the iPad connected to ADV7611 through "Lightning Digital AV Adapter". ADV7611 is locked to the requested resolution in the gst-launch command.              

        Logs:   locked active width = 1280 (0x500) <----- Locked to the correct resolution requested using gst-launch command

                locked active height = 720 (0x2d0)

 

    Step 2: Removed iPad from ADV7611 and reconnected. ADV7611 is locked to different resolution than the requested one in the gst-launch command.      

         Logs:  locked active width = 1920 (0x780) <------ Locked to higher resolution than the requested one in gst-launch command.

                locked active height = 1080 (0x438)

 

    Step 3: Stopped the gst-launch command and re-executed. ADV7611 is locked to different resolution than the requested one in the gst-launch command.

         Logs:  locked active width = 1920 (0x780) <------ Locked to higher resolution than the requested one in gst-launch command.

                locked active height = 1080 (0x438)

 

The log messages show above are from active_res() function(updated in the attachment) by reading 0x07,0x08,0x09 and 0x0A registers.  we can’t change these locked resolution values as all the registers(0x07,0x08,0x09,0xA) are read-only.

The resolution requested from the user space is receiving correctly to adv7604_s_mbus_fmt() function(updated in the attachment ) and updating in 0x00 and 0x01 registers.

 

Could you please help to understand why ADV7611 is locking to different frequencies, is it because iPad is giving different resolution when reconnected or during hotplug(reconnect iPad) the resolution negotiation with HDMI source having the issue(issue with EDID updated in ADV7611).

 

 

 

How this resolution negotiation will happen between ADV7611 and HDMI source? 

Outcomes