Skip to content
  • Paul Kocialkowki's avatar
    chamelium: Add support for HPD toggle scheduling instead of async pulses · fa8b6ee5
    Paul Kocialkowki authored and Lyude Paul's avatar Lyude Paul committed
    
    
    This adds support for the newly-introduced ScheduleHpdToggle XMLRPC
    method of the Chamelium's interface and makes use of it instead of
    starting pulses with an asynchronous call, suspending and dealing with
    the result at resume.
    
    The XMLRPC library does not guarantee that the call will be made before
    caring for its outcome and this is in fact what was happening:
    the call was being delayed until resume time, as can be seen from the
    Chamelium's logs. The quite generous timeout for HPD event detection
    would then catch the toggle, that was sent after resume.
    
    This is especially useful for testing HPD during suspend/resume.
    
    Signed-off-by: default avatarPaul Kocialkowski <paul.kocialkowski@linux.intel.com>
    Reviewed-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
    fa8b6ee5