mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-07 16:06:25 +00:00
The gpgpu fill utility functions are used in separate test so it's logical to keep them in separate file. This is similar to what media spin test did in the past. Functionally only gpgpu kernel changed. Send instruction payload size was reduced. Since offset is incremented by 0x10 bytes there is no point in using larger writes. Cc: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Dominik Zeromski <dominik.zeromski@intel.com> [Thomas: Fix typo of gpgpu_fill.h in Makefile.sources] Signed-off-by: Thomas Wood <thomas.wood@intel.com>
36 lines
897 B
C
36 lines
897 B
C
#ifndef RENDE_MEDIA_FILL_H
|
|
#define RENDE_MEDIA_FILL_H
|
|
|
|
#include <stdint.h>
|
|
#include "intel_batchbuffer.h"
|
|
|
|
void
|
|
gen8_media_fillfunc(struct intel_batchbuffer *batch,
|
|
struct igt_buf *dst,
|
|
unsigned x, unsigned y,
|
|
unsigned width, unsigned height,
|
|
uint8_t color);
|
|
|
|
void
|
|
gen7_media_fillfunc(struct intel_batchbuffer *batch,
|
|
struct igt_buf *dst,
|
|
unsigned x, unsigned y,
|
|
unsigned width, unsigned height,
|
|
uint8_t color);
|
|
|
|
void
|
|
gen8lp_media_fillfunc(struct intel_batchbuffer *batch,
|
|
struct igt_buf *dst,
|
|
unsigned x, unsigned y,
|
|
unsigned width, unsigned height,
|
|
uint8_t color);
|
|
|
|
void
|
|
gen9_media_fillfunc(struct intel_batchbuffer *batch,
|
|
struct igt_buf *dst,
|
|
unsigned x, unsigned y,
|
|
unsigned width, unsigned height,
|
|
uint8_t color);
|
|
|
|
#endif /* RENDE_MEDIA_FILL_H */
|