__DML2_WRAPPER_MAX_STREAMS_PLANES__
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
ASSERT(disp_cfg_stream_location >= 0 && disp_cfg_stream_location < __DML2_WRAPPER_MAX_STREAMS_PLANES__);
ASSERT(disp_cfg_plane_location >= 0 && disp_cfg_plane_location < __DML2_WRAPPER_MAX_STREAMS_PLANES__);
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
memset(dc_main_pipes, 0, sizeof(struct pipe_ctx *) * __DML2_WRAPPER_MAX_STREAMS_PLANES__);
memset(dc_phantom_pipes, 0, sizeof(struct pipe_ctx *) * __DML2_WRAPPER_MAX_STREAMS_PLANES__);
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
struct pipe_ctx *dc_main_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__],
struct pipe_ctx *dc_phantom_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__],
struct pipe_ctx *dc_main_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__],
struct pipe_ctx *dc_phantom_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__],
struct pipe_ctx *dc_main_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
struct pipe_ctx *dc_phantom_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__] = {0};
struct pipe_ctx *dc_main_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
struct pipe_ctx *dc_phantom_pipes[__DML2_WRAPPER_MAX_STREAMS_PLANES__] = {0};
unsigned int odm_mode_array[__DML2_WRAPPER_MAX_STREAMS_PLANES__] = {0}, dpp_per_surface_array[__DML2_WRAPPER_MAX_STREAMS_PLANES__] = {0};
return __DML2_WRAPPER_MAX_STREAMS_PLANES__;
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
disp_cfg_index_max = __DML2_WRAPPER_MAX_STREAMS_PLANES__;
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
return __DML2_WRAPPER_MAX_STREAMS_PLANES__;
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
unsigned int disp_cfg_to_stream_id[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
bool disp_cfg_to_stream_id_valid[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
unsigned int disp_cfg_to_plane_id[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
bool disp_cfg_to_plane_id_valid[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
unsigned int dml_pipe_idx_to_stream_id[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
bool dml_pipe_idx_to_stream_id_valid[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
unsigned int dml_pipe_idx_to_plane_id[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
bool dml_pipe_idx_to_plane_id_valid[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
unsigned int dml_pipe_idx_to_plane_index[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
bool dml_pipe_idx_to_plane_index_valid[__DML2_WRAPPER_MAX_STREAMS_PLANES__];
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
ASSERT(disp_cfg_stream_location >= 0 && disp_cfg_stream_location < __DML2_WRAPPER_MAX_STREAMS_PLANES__);
ASSERT(disp_cfg_plane_location >= 0 && disp_cfg_plane_location < __DML2_WRAPPER_MAX_STREAMS_PLANES__);
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
for (i = 0; i < __DML2_WRAPPER_MAX_STREAMS_PLANES__; i++) {
if (i >= __DML2_WRAPPER_MAX_STREAMS_PLANES__) {
__func__, i, __DML2_WRAPPER_MAX_STREAMS_PLANES__);