• Marius Vlad's avatar
    tests/kms_sysfs_edid_timing: Convert sh to C version. · 2e66e8db
    Marius Vlad authored
    The debug output for a HSW machine with two connectors (VGA and HDMI):
    DEBUG: card0-VGA-1: mean.max 12896229,00ns, 12896,23us, 12,90ms, mean.avg 12785055,80ns, 12785,06us, 12,79ms
    WARNING: card0-VGA-1: probe time exceed 10ms, max=12,90ms, avg=12,79ms
    DEBUG: card0-HDMI-A-1: mean.max 781433,00ns, 781,43us, 0,78ms, mean.avg 706643,20ns, 706,64us, 0,71ms
    - do not include the time opening the fd (Chris Wilson)
    - include output from debug (Chris Wilson)
    - use igt_mean for accounting (Chris Wilson)
    - make it Intel-agnostic when searching for connectors (Chris Wilson)
    - don't read cached values (Chris Wilson)
    - warn on per connector, and fail per mean (Chris Wilson)
    These are synthetic: 10ms per connector, and 50ms for all.
    Signed-off-by: default avatarMarius Vlad <marius.c.vlad@intel.com>
    Acked-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
kms_sysfs_edid_timing.c 2.87 KB