Skip to content
  • Jeff McGee's avatar
    tests/core_getparams: Create new test core_getparams · ae339f09
    Jeff McGee authored and Daniel Vetter's avatar Daniel Vetter committed
    
    
    New test core_getparams consists of 2 subtests, each one testing
    the ability of userspace to query the correct value of a GT config
    attribute: subslice total or EU total. drm/i915 implementation of
    these queries is required for Cherryview and Gen9+ devices (non-
    simulated).
    
    v2: Duplicate small amount of new libdrm functionality to avoid
        bumping libdrm version requirement (Daniel). Convert some
        igt_asserts to the appropriate comparison variants. Add a
        test description.
    v3: Actually use the LOCAL GETPARAM defines. Otherwise can't build
        against older libdrm as intended by v2.
    
    For: VIZ-4636
    Signed-off-by: default avatarJeff McGee <jeff.mcgee@intel.com>
    Reviewed-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    ae339f09