Skip to content
  • Rodrigo Vivi's avatar
    tests/kms_psr_sink_crc: Add manual mode. · e1ac0446
    Rodrigo Vivi authored
    
    
    Sink CRC is the most reliable way to test PSR. However in some platforms
    apparently auto generated packages force panel to keep calculating CRC invalidating
    our current sink crc check over debugfs.
    
    So, this manual test help us to find possible gaps on this platforms where we cannot
    trust on sink crc checks.
    
    v2: Accept Daniel's suggestions:
        * Avoid strcpy
        * don't override assert definition
        * Make --interactive-debug for every testcases instead using local --manual
    
    v3: Sink CRC can be unreliable for other platforms as well so let's skip and warn
        when we detect the misbehaviour instead hardcoded per platform.
    
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
    e1ac0446