MAX_PHANTOM_PIPES
if (state->phantom_stream_count >= MAX_PHANTOM_PIPES)
struct dc_stream_state *phantom_streams[MAX_PHANTOM_PIPES];
struct dc_plane_state *phantom_planes[MAX_PHANTOM_PIPES];
memcpy(phantom_streams, state->phantom_streams, sizeof(struct dc_stream_state *) * MAX_PHANTOM_PIPES);
memcpy(phantom_planes, state->phantom_planes, sizeof(struct dc_plane_state *) * MAX_PHANTOM_PIPES);
if (state->phantom_plane_count >= MAX_PHANTOM_PIPES)
struct dc_stream_state *phantom_streams[MAX_PHANTOM_PIPES];
struct dc_plane_state *phantom_planes[MAX_PHANTOM_PIPES];