Lines Matching refs:copy
53 struct tegra_plane_state *copy; in tegra_plane_atomic_duplicate_state() local
56 copy = kmalloc(sizeof(*copy), GFP_KERNEL); in tegra_plane_atomic_duplicate_state()
57 if (!copy) in tegra_plane_atomic_duplicate_state()
60 __drm_atomic_helper_plane_duplicate_state(plane, ©->base); in tegra_plane_atomic_duplicate_state()
61 copy->tiling = state->tiling; in tegra_plane_atomic_duplicate_state()
62 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
63 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state()
64 copy->reflect_x = state->reflect_x; in tegra_plane_atomic_duplicate_state()
65 copy->reflect_y = state->reflect_y; in tegra_plane_atomic_duplicate_state()
66 copy->opaque = state->opaque; in tegra_plane_atomic_duplicate_state()
69 copy->blending[i] = state->blending[i]; in tegra_plane_atomic_duplicate_state()
72 copy->iova[i] = DMA_MAPPING_ERROR; in tegra_plane_atomic_duplicate_state()
73 copy->sgt[i] = NULL; in tegra_plane_atomic_duplicate_state()
76 return ©->base; in tegra_plane_atomic_duplicate_state()