Lines Matching defs:copy
55 struct tegra_plane_state *copy;
58 copy = kmalloc(sizeof(*copy), GFP_KERNEL);
59 if (!copy)
62 __drm_atomic_helper_plane_duplicate_state(plane, ©->base);
63 copy->tiling = state->tiling;
64 copy->format = state->format;
65 copy->swap = state->swap;
66 copy->reflect_x = state->reflect_x;
67 copy->reflect_y = state->reflect_y;
68 copy->opaque = state->opaque;
69 copy->total_peak_memory_bandwidth = state->total_peak_memory_bandwidth;
70 copy->peak_memory_bandwidth = state->peak_memory_bandwidth;
71 copy->avg_memory_bandwidth = state->avg_memory_bandwidth;
74 copy->blending[i] = state->blending[i];
77 copy->iova[i] = DMA_MAPPING_ERROR;
78 copy->map[i] = NULL;
81 return ©->base;