DRM_FORMAT_MAX_PLANES
struct iosys_map argb4444_dst[DRM_FORMAT_MAX_PLANES] = {
unsigned int argb4444_dst_pitch[DRM_FORMAT_MAX_PLANES] = {
struct iosys_map argb4444_dst[DRM_FORMAT_MAX_PLANES] = {
unsigned int argb4444_dst_pitch[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const unsigned int default_dst_pitch[DRM_FORMAT_MAX_PLANES] = {
static const unsigned int default_dst_pitch[DRM_FORMAT_MAX_PLANES] = {
static const unsigned int default_dst_pitch[DRM_FORMAT_MAX_PLANES] = {
static const unsigned int default_dst_pitch[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
static const u8 dst_pixsize[DRM_FORMAT_MAX_PLANES] = {
struct drm_gem_object *objs[DRM_FORMAT_MAX_PLANES];
uint64_t iova[DRM_FORMAT_MAX_PLANES];
unsigned int src_pitches[DRM_FORMAT_MAX_PLANES];
const u32 src[DRM_FORMAT_MAX_PLANES][TEST_BUF_SIZE];
unsigned int dst_pitches[DRM_FORMAT_MAX_PLANES];
const u32 expected[DRM_FORMAT_MAX_PLANES][TEST_BUF_SIZE];
size_t dst_size[DRM_FORMAT_MAX_PLANES] = { 0 };
u32 *buf[DRM_FORMAT_MAX_PLANES] = { 0 };
__le32 *src_cp[DRM_FORMAT_MAX_PLANES] = { 0 };
__le32 *expected[DRM_FORMAT_MAX_PLANES] = { 0 };
struct iosys_map dst[DRM_FORMAT_MAX_PLANES];
struct iosys_map src[DRM_FORMAT_MAX_PLANES];
memcpy(fb.pitches, params->src_pitches, DRM_FORMAT_MAX_PLANES * sizeof(int));
u32 ptr0_offset[DRM_FORMAT_MAX_PLANES];
unsigned int upm_handle[DRM_FORMAT_MAX_PLANES];
for (i = 0; i < DRM_FORMAT_MAX_PLANES; i++) {
for (i = 0; i < DRM_FORMAT_MAX_PLANES; i++) {
for (i = 0; i < DRM_FORMAT_MAX_PLANES; i++) {
struct iosys_map map[DRM_FORMAT_MAX_PLANES];
struct iosys_map data[DRM_FORMAT_MAX_PLANES];
u8 char_per_block[DRM_FORMAT_MAX_PLANES];
u8 block_w[DRM_FORMAT_MAX_PLANES];
u8 block_h[DRM_FORMAT_MAX_PLANES];
u8 cpp[DRM_FORMAT_MAX_PLANES];
unsigned int pitches[DRM_FORMAT_MAX_PLANES];
unsigned int offsets[DRM_FORMAT_MAX_PLANES];
struct drm_gem_object *obj[DRM_FORMAT_MAX_PLANES];
struct iosys_map map[DRM_FORMAT_MAX_PLANES];
struct iosys_map data[DRM_FORMAT_MAX_PLANES];
struct iosys_map map[DRM_FORMAT_MAX_PLANES];
unsigned int pitch[DRM_FORMAT_MAX_PLANES];