hello there,
Source code is
ÂÂÂ for (i = 0; i < dc->res_pool->pipe_count; i++) {
ÂÂÂÂÂÂÂ if (res_ctx->pipe_ctx[i].stream) {
ÂÂÂÂÂÂÂÂÂÂÂ pipe_ctx = &res_ctx->pipe_ctx[i];
ÂÂÂÂÂÂÂÂÂÂÂ *pipe_idx = i;
ÂÂÂÂÂÂÂÂÂÂÂ break;
ÂÂÂÂÂÂÂ }
ÂÂÂ }
ÂÂÂ /* Only supports eDP */
ÂÂÂ if (pipe_ctx->stream->sink->link->connector_signal != SIGNAL_TYPE_EDP)
ÂÂÂÂÂÂÂ return false;
Suggest add some code to deal with the case that the for loop doesn't find
what it is looking for and so pipe_ctx is NULL.
Regards
David Binderman
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx