• Sally Qi's avatar
    tests/i915/gem_huc_copy: Enable a HuC copy test · 32f8759b
    Sally Qi authored
    This test case loads the HuC copy firmware to copy the content of
    the source buffer to the destination buffer.
    v2: (Tony Ye)
     * Restructured some functions and files.
     * Defined the copy buffer size as 4K explicitly as the HuC Copy kernel
       always copy 4K bytes from src buffer to dst buffer.
    v3: (Feng Qi, Antonio Argenziano, Tony Ye)
     * Restructured some functions as igt requested, exclude libdrm function call.
     * Remove huc function wrappers
     * Random initialize source input buffer
    v4: (Robert Fosha)
     * Fix autotools build failure.
    v5: (Feng Qi, Tony Ye)
     * Released all bo buffer after huc copying.
     * Restructured huc_copy() function.
    v6: (Feng Qi)
     * Fixed the function of huc enabling and status check
     * Added huc_copy to fast feedback testlist
    v7: (Tony Ye, Feng Qi, Robert Fosha, Chris Wilson, Michal Wajdeczko)
     * Check error with HUC_STATUS ioctl instead of debugfs
    v8: (Antonio Argenziano)
     * Remove unnecessary variable.
     * Add huc_load subtest.
     * Move failure checks out of igt_fixture.
     * get_huc_status() returns errno and then status as a parameter
    v9: (Antonio Argenziano)
     * Remove huc_load subtest - to be added later.
     * Rebase
     * Remove huc_load subtest from fast-feedback.testlist.
    Signed-off-by: default avatarFeng Qi <feng.qi@intel.com>
    Signed-off-by: default avatarTony Ye <tony.ye@intel.com>
    Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Acked-by: Antonio Argenziano's avatarAntonio Argenziano <antonio.argenziano@intel.com>
meson.build 9.56 KB