Skip to content
  • Michel Thierry's avatar
    tests/gem_reset_stats: Enforce full chip reset mode before run · 1b4d6e50
    Michel Thierry authored
    
    
    Platforms with per-engine reset enabled (i915.reset=2) are unlikely to
    perform a full chip reset, keeping the reset_count unmodified. In order
    to keep the expectations of this test, enforce that full GPU reset is
    enabled (i915.reset=1).
    
    Later on, we can expand the reset_stats ioctl to also return the number
    of per-engine resets and use reset_count + reset_engine_count when
    checking for the updated reset count.
    
    v2: Rebase, don't use gem_gpu_reset_type directly, since we now have
    additional helpers.
    
    Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Signed-off-by: default avatarMichel Thierry <michel.thierry@intel.com>
    Acked-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
    1b4d6e50