CRC

CRC — igt crc tables and calculation functions

Functions

uint32_t igt_cpu_crc32 ()

Includes

#include <igt_crc.h>

Description

Introduction

Providing vendor agnostic crc calculation is useful to avoid code duplication. Especially if vendor will decide to do on-gpu crc calculation it will need to inject crc table to gpu.

All crc tables are globals to allow direct in-code use.

Functions

igt_cpu_crc32 ()

uint32_t
igt_cpu_crc32 (const void *buf,
               size_t size);

Types and Values