Commit 8a4cf458 authored by Yue Hin Lau's avatar Yue Hin Lau Committed by Alex Deucher
Browse files

drm/amd/display: Only update dchub if hubbub is available

parent bc71a20d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2509,6 +2509,7 @@ void dcn10_update_pending_status(struct pipe_ctx *pipe_ctx)

void dcn10_update_dchub(struct dce_hwseq *hws, struct dchub_init_data *dh_data)
{
	if (hws->ctx->dc->res_pool->hubbub != NULL)
		hubbub1_update_dchub(hws->ctx->dc->res_pool->hubbub, dh_data);
}