We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f6d9e3 commit 5a25cefCopy full SHA for 5a25cef
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
@@ -3278,7 +3278,8 @@ void dcn10_wait_for_mpcc_disconnect(
3278
if (pipe_ctx->stream_res.opp->mpcc_disconnect_pending[mpcc_inst]) {
3279
struct hubp *hubp = get_hubp_by_inst(res_pool, mpcc_inst);
3280
3281
- if (pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg))
+ if (pipe_ctx->stream_res.tg &&
3282
+ pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg))
3283
res_pool->mpc->funcs->wait_for_idle(res_pool->mpc, mpcc_inst);
3284
pipe_ctx->stream_res.opp->mpcc_disconnect_pending[mpcc_inst] = false;
3285
hubp->funcs->set_blank(hubp, true);
0 commit comments