I915 GPU CRC — i915 gpu crc
#include <i915_crc.h>
Intel gpu crc calculation implementation.
uint32_t i915_crc32 (int i915, uint64_t ahnd, const intel_ctx_t *ctx, const struct intel_execution_engine2 *e, uint32_t data_handle, uint32_t data_size);
int i915
uint64_t ahnd
const intel_ctx_t *ctx
const struct intel_execution_engine2 *e
uint32_t data_handle
uint32_t data_size
Function calculates crc32 for data_handle with size data_size .
data_handle
data_size
i915
drm fd
ahnd
allocator handle
ctx
intel context
e
engine on which crc32 calculation will be executed
bo which is subject of crc32 calculation
length of bo data to calculate (must be multiple of 4)
uint32_t crc32.
bool supports_i915_crc32 (int i915);
flag if i915_crc32() is able to generate crc32 on gpu.
i915_crc32()