Commit e6c258cb authored by Yongqiang Sun's avatar Yongqiang Sun Committed by Alex Deucher

drm/amd/display: Refactor disable front end pipes.

There are different code to disable front end, it is
difficult to debug and adding new process.
This refactor makes all disable front end call the same
functions.
Signed-off-by: default avatarYongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 46f6b85c
...@@ -1064,6 +1064,9 @@ bool dcn_validate_bandwidth( ...@@ -1064,6 +1064,9 @@ bool dcn_validate_bandwidth(
hsplit_pipe->stream = NULL; hsplit_pipe->stream = NULL;
hsplit_pipe->top_pipe = NULL; hsplit_pipe->top_pipe = NULL;
hsplit_pipe->bottom_pipe = NULL; hsplit_pipe->bottom_pipe = NULL;
/* Clear plane_res and stream_res */
memset(&hsplit_pipe->plane_res, 0, sizeof(hsplit_pipe->plane_res));
memset(&hsplit_pipe->stream_res, 0, sizeof(hsplit_pipe->stream_res));
resource_build_scaling_params(pipe); resource_build_scaling_params(pipe);
} }
/* for now important to do this after pipe split for building e2e params */ /* for now important to do this after pipe split for building e2e params */
......
...@@ -963,9 +963,11 @@ bool dc_post_update_surfaces_to_stream(struct dc *dc) ...@@ -963,9 +963,11 @@ bool dc_post_update_surfaces_to_stream(struct dc *dc)
post_surface_trace(dc); post_surface_trace(dc);
for (i = 0; i < dc->res_pool->pipe_count; i++) for (i = 0; i < dc->res_pool->pipe_count; i++)
if (context->res_ctx.pipe_ctx[i].stream == NULL if (context->res_ctx.pipe_ctx[i].stream == NULL ||
|| context->res_ctx.pipe_ctx[i].plane_state == NULL) context->res_ctx.pipe_ctx[i].plane_state == NULL) {
dc->hwss.power_down_front_end(dc, i); context->res_ctx.pipe_ctx[i].pipe_idx = i;
dc->hwss.power_down_front_end(dc, &context->res_ctx.pipe_ctx[i]);
}
/* 3rd param should be true, temp w/a for RV*/ /* 3rd param should be true, temp w/a for RV*/
#if defined(CONFIG_DRM_AMD_DC_DCN1_0) #if defined(CONFIG_DRM_AMD_DC_DCN1_0)
...@@ -1339,8 +1341,11 @@ static void commit_planes_for_stream(struct dc *dc, ...@@ -1339,8 +1341,11 @@ static void commit_planes_for_stream(struct dc *dc,
if (update_type != UPDATE_TYPE_FULL || !pipe_ctx->plane_state) if (update_type != UPDATE_TYPE_FULL || !pipe_ctx->plane_state)
continue; continue;
if (!pipe_ctx->top_pipe && pipe_ctx->stream) { if (!pipe_ctx->top_pipe &&
struct dc_stream_status *stream_status = stream_get_status(context, pipe_ctx->stream); pipe_ctx->stream &&
pipe_ctx->stream == stream) {
struct dc_stream_status *stream_status =
stream_get_status(context, pipe_ctx->stream);
dc->hwss.apply_ctx_for_surface( dc->hwss.apply_ctx_for_surface(
dc, pipe_ctx->stream, stream_status->plane_count, context); dc, pipe_ctx->stream, stream_status->plane_count, context);
......
...@@ -1464,7 +1464,9 @@ static void disable_vga_and_power_gate_all_controllers( ...@@ -1464,7 +1464,9 @@ static void disable_vga_and_power_gate_all_controllers(
enable_display_pipe_clock_gating(ctx, enable_display_pipe_clock_gating(ctx,
true); true);
dc->hwss.power_down_front_end(dc, i); dc->current_state->res_ctx.pipe_ctx[i].pipe_idx = i;
dc->hwss.power_down_front_end(dc,
&dc->current_state->res_ctx.pipe_ctx[i]);
} }
} }
...@@ -1890,7 +1892,7 @@ static void dce110_reset_hw_ctx_wrap( ...@@ -1890,7 +1892,7 @@ static void dce110_reset_hw_ctx_wrap(
if (old_clk) if (old_clk)
old_clk->funcs->cs_power_down(old_clk); old_clk->funcs->cs_power_down(old_clk);
dc->hwss.power_down_front_end(dc, pipe_ctx_old->pipe_idx); dc->hwss.power_down_front_end(dc, pipe_ctx_old);
pipe_ctx_old->stream = NULL; pipe_ctx_old->stream = NULL;
} }
...@@ -2950,8 +2952,10 @@ static void dce110_apply_ctx_for_surface( ...@@ -2950,8 +2952,10 @@ static void dce110_apply_ctx_for_surface(
} }
} }
static void dce110_power_down_fe(struct dc *dc, int fe_idx) static void dce110_power_down_fe(struct dc *dc, struct pipe_ctx *pipe_ctx)
{ {
int fe_idx = pipe_ctx->pipe_idx;
/* Do not power down fe when stream is active on dce*/ /* Do not power down fe when stream is active on dce*/
if (dc->current_state->res_ctx.pipe_ctx[fe_idx].stream) if (dc->current_state->res_ctx.pipe_ctx[fe_idx].stream)
return; return;
......
...@@ -558,13 +558,15 @@ void dcn10_verify_allow_pstate_change_high(struct dc *dc) ...@@ -558,13 +558,15 @@ void dcn10_verify_allow_pstate_change_high(struct dc *dc)
} }
/* trigger HW to start disconnect plane from stream on the next vsync */ /* trigger HW to start disconnect plane from stream on the next vsync */
static void plane_atomic_disconnect(struct dc *dc, static void plane_atomic_disconnect(struct dc *dc, struct pipe_ctx *pipe_ctx)
int fe_idx)
{ {
int fe_idx = pipe_ctx->pipe_idx;
struct hubp *hubp = dc->res_pool->hubps[fe_idx]; struct hubp *hubp = dc->res_pool->hubps[fe_idx];
struct mpc *mpc = dc->res_pool->mpc; struct mpc *mpc = dc->res_pool->mpc;
int opp_id, z_idx; int opp_id, z_idx;
int mpcc_id = -1; int mpcc_id = -1;
struct timing_generator *tg = pipe_ctx->stream_res.tg;
struct dce_hwseq *hws = dc->hwseq;
/* look at tree rather than mi here to know if we already reset */ /* look at tree rather than mi here to know if we already reset */
for (opp_id = 0; opp_id < dc->res_pool->pipe_count; opp_id++) { for (opp_id = 0; opp_id < dc->res_pool->pipe_count; opp_id++) {
...@@ -583,29 +585,56 @@ static void plane_atomic_disconnect(struct dc *dc, ...@@ -583,29 +585,56 @@ static void plane_atomic_disconnect(struct dc *dc,
if (opp_id == dc->res_pool->pipe_count) if (opp_id == dc->res_pool->pipe_count)
return; return;
if (dc->debug.sanity_checks) mpc->funcs->remove(mpc, &(dc->res_pool->opps[opp_id]->mpc_tree),
dcn10_verify_allow_pstate_change_high(dc); dc->res_pool->opps[opp_id]->inst, fe_idx);
hubp->funcs->dcc_control(hubp, false, false);
if (hubp->funcs->hubp_disconnect)
hubp->funcs->hubp_disconnect(hubp);
if (dc->debug.sanity_checks) if (dc->debug.sanity_checks)
dcn10_verify_allow_pstate_change_high(dc); dcn10_verify_allow_pstate_change_high(dc);
mpc->funcs->remove(mpc, &(dc->res_pool->opps[opp_id]->mpc_tree), if (pipe_ctx->top_pipe) {
dc->res_pool->opps[opp_id]->inst, fe_idx); pipe_ctx->top_pipe->bottom_pipe = NULL;
pipe_ctx->top_pipe = NULL;
pipe_ctx->stream = NULL;
memset(&pipe_ctx->stream_res, 0, sizeof(pipe_ctx->stream_res));
memset(&pipe_ctx->plane_res, 0, sizeof(pipe_ctx->plane_res));
}
if (pipe_ctx->bottom_pipe) {
pipe_ctx->bottom_pipe->top_pipe = NULL;
pipe_ctx->bottom_pipe = NULL;
}
pipe_ctx->plane_state = NULL;
/* TODO: Move to tg. */
REG_UPDATE(OTG_GLOBAL_SYNC_STATUS[tg->inst],
VUPDATE_NO_LOCK_EVENT_CLEAR, 1);
} }
/* disable HW used by plane. /* disable HW used by plane.
* note: cannot disable until disconnect is complete */ * note: cannot disable until disconnect is complete */
static void plane_atomic_disable(struct dc *dc, static void plane_atomic_disable(struct dc *dc, struct pipe_ctx *pipe_ctx)
int fe_idx)
{ {
int fe_idx = pipe_ctx->pipe_idx;
struct dce_hwseq *hws = dc->hwseq; struct dce_hwseq *hws = dc->hwseq;
struct hubp *hubp = dc->res_pool->hubps[fe_idx]; struct hubp *hubp = dc->res_pool->hubps[fe_idx];
struct mpc *mpc = dc->res_pool->mpc; struct mpc *mpc = dc->res_pool->mpc;
int opp_id = hubp->opp_id; int opp_id = hubp->opp_id;
struct timing_generator *tg = pipe_ctx->stream_res.tg;
if (tg == NULL)
return;
if (opp_id == 0xf) if (opp_id == 0xf)
return; return;
if (tg->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS)
REG_WAIT(OTG_GLOBAL_SYNC_STATUS[tg->inst],
VUPDATE_NO_LOCK_EVENT_OCCURRED, 1,
1, 100000);
mpc->funcs->wait_for_idle(mpc, hubp->mpcc_id); mpc->funcs->wait_for_idle(mpc, hubp->mpcc_id);
dc->res_pool->opps[hubp->opp_id]->mpcc_disconnect_pending[hubp->mpcc_id] = false; dc->res_pool->opps[hubp->opp_id]->mpcc_disconnect_pending[hubp->mpcc_id] = false;
/*dm_logger_write(dc->ctx->logger, LOG_ERROR, /*dm_logger_write(dc->ctx->logger, LOG_ERROR,
...@@ -630,62 +659,52 @@ static void plane_atomic_disable(struct dc *dc, ...@@ -630,62 +659,52 @@ static void plane_atomic_disable(struct dc *dc,
dcn10_verify_allow_pstate_change_high(dc); dcn10_verify_allow_pstate_change_high(dc);
} }
static void reset_front_end( /* kill power to plane hw
struct dc *dc, * note: cannot power down until plane is disable
int fe_idx) */
static void plane_atomic_power_down(struct dc *dc, int fe_idx)
{ {
struct dce_hwseq *hws = dc->hwseq; struct dce_hwseq *hws = dc->hwseq;
struct timing_generator *tg; struct dpp *dpp = dc->res_pool->dpps[fe_idx];
int opp_id = dc->res_pool->hubps[fe_idx]->opp_id;
/*Already reset*/ if (REG(DC_IP_REQUEST_CNTL)) {
if (opp_id == 0xf) REG_SET(DC_IP_REQUEST_CNTL, 0,
return; IP_REQUEST_EN, 1);
dpp_pg_control(hws, fe_idx, false);
hubp_pg_control(hws, fe_idx, false);
dpp->funcs->dpp_reset(dpp);
REG_SET(DC_IP_REQUEST_CNTL, 0,
IP_REQUEST_EN, 0);
dm_logger_write(dc->ctx->logger, LOG_DEBUG,
"Power gated front end %d\n", fe_idx);
}
}
tg = dc->res_pool->timing_generators[opp_id]; static void dcn10_power_down_fe(struct dc *dc, struct pipe_ctx *pipe_ctx)
tg->funcs->lock(tg); {
int fe_idx = pipe_ctx->pipe_idx;
struct timing_generator *tg = pipe_ctx->stream_res.tg;
plane_atomic_disconnect(dc, fe_idx); if (tg != NULL) {
tg->funcs->lock(tg);
REG_UPDATE(OTG_GLOBAL_SYNC_STATUS[tg->inst], VUPDATE_NO_LOCK_EVENT_CLEAR, 1); plane_atomic_disconnect(dc, pipe_ctx);
tg->funcs->unlock(tg);
if (dc->debug.sanity_checks) tg->funcs->unlock(tg);
dcn10_verify_allow_pstate_change_high(dc);
if (tg->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS) if (dc->debug.sanity_checks)
REG_WAIT(OTG_GLOBAL_SYNC_STATUS[tg->inst], dcn10_verify_allow_pstate_change_high(dc);
VUPDATE_NO_LOCK_EVENT_OCCURRED, 1,
1, 100000);
plane_atomic_disable(dc, fe_idx); plane_atomic_disable(dc, pipe_ctx);
}
plane_atomic_power_down(dc, fe_idx);
dm_logger_write(dc->ctx->logger, LOG_DC, dm_logger_write(dc->ctx->logger, LOG_DC,
"Reset front end %d\n", "Reset front end %d\n",
fe_idx); fe_idx);
} }
static void dcn10_power_down_fe(struct dc *dc, int fe_idx)
{
struct dce_hwseq *hws = dc->hwseq;
struct dpp *dpp = dc->res_pool->dpps[fe_idx];
reset_front_end(dc, fe_idx);
REG_SET(DC_IP_REQUEST_CNTL, 0,
IP_REQUEST_EN, 1);
dpp_pg_control(hws, fe_idx, false);
hubp_pg_control(hws, fe_idx, false);
dpp->funcs->dpp_reset(dpp);
REG_SET(DC_IP_REQUEST_CNTL, 0,
IP_REQUEST_EN, 0);
dm_logger_write(dc->ctx->logger, LOG_DEBUG,
"Power gated front end %d\n", fe_idx);
if (dc->debug.sanity_checks)
dcn10_verify_allow_pstate_change_high(dc);
}
static void dcn10_init_hw(struct dc *dc) static void dcn10_init_hw(struct dc *dc)
{ {
int i; int i;
...@@ -744,7 +763,7 @@ static void dcn10_init_hw(struct dc *dc) ...@@ -744,7 +763,7 @@ static void dcn10_init_hw(struct dc *dc)
tg->funcs->set_blank(tg, true); tg->funcs->set_blank(tg, true);
hwss_wait_for_blank_complete(tg); hwss_wait_for_blank_complete(tg);
dcn10_power_down_fe(dc, i); plane_atomic_power_down(dc, i);
tg->funcs->tg_init(tg); tg->funcs->tg_init(tg);
} }
...@@ -1988,8 +2007,6 @@ static void program_all_pipe_in_tree( ...@@ -1988,8 +2007,6 @@ static void program_all_pipe_in_tree(
dcn10_verify_allow_pstate_change_high(dc); dcn10_verify_allow_pstate_change_high(dc);
} }
pipe_ctx->stream_res.tg->funcs->lock(pipe_ctx->stream_res.tg);
pipe_ctx->stream_res.tg->dlg_otg_param.vready_offset = pipe_ctx->pipe_dlg_param.vready_offset; pipe_ctx->stream_res.tg->dlg_otg_param.vready_offset = pipe_ctx->pipe_dlg_param.vready_offset;
pipe_ctx->stream_res.tg->dlg_otg_param.vstartup_start = pipe_ctx->pipe_dlg_param.vstartup_start; pipe_ctx->stream_res.tg->dlg_otg_param.vstartup_start = pipe_ctx->pipe_dlg_param.vstartup_start;
pipe_ctx->stream_res.tg->dlg_otg_param.vupdate_offset = pipe_ctx->pipe_dlg_param.vupdate_offset; pipe_ctx->stream_res.tg->dlg_otg_param.vupdate_offset = pipe_ctx->pipe_dlg_param.vupdate_offset;
...@@ -2097,62 +2114,75 @@ static void ready_shared_resources(struct dc *dc, struct dc_state *context) ...@@ -2097,62 +2114,75 @@ static void ready_shared_resources(struct dc *dc, struct dc_state *context)
dcn10_pplib_apply_display_requirements(dc, context); dcn10_pplib_apply_display_requirements(dc, context);
} }
static struct pipe_ctx *find_top_pipe_for_stream(
struct dc *dc,
struct dc_state *context,
const struct dc_stream_state *stream)
{
int i;
for (i = 0; i < dc->res_pool->pipe_count; i++) {
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
struct pipe_ctx *old_pipe_ctx =
&dc->current_state->res_ctx.pipe_ctx[i];
if (!pipe_ctx->plane_state && !old_pipe_ctx->plane_state)
continue;
if (pipe_ctx->stream != stream)
continue;
if (!pipe_ctx->top_pipe)
return pipe_ctx;
}
return NULL;
}
static void dcn10_apply_ctx_for_surface( static void dcn10_apply_ctx_for_surface(
struct dc *dc, struct dc *dc,
const struct dc_stream_state *stream, const struct dc_stream_state *stream,
int num_planes, int num_planes,
struct dc_state *context) struct dc_state *context)
{ {
int i, be_idx; int i;
struct timing_generator *tg;
bool removed_pipe[4] = { false };
struct pipe_ctx *top_pipe_to_program =
find_top_pipe_for_stream(dc, context, stream);
if (!top_pipe_to_program)
return;
tg = top_pipe_to_program->stream_res.tg;
if (dc->debug.sanity_checks) if (dc->debug.sanity_checks)
dcn10_verify_allow_pstate_change_high(dc); dcn10_verify_allow_pstate_change_high(dc);
be_idx = -1; tg->funcs->lock(tg);
for (i = 0; i < dc->res_pool->pipe_count; i++) {
if (stream == context->res_ctx.pipe_ctx[i].stream) {
be_idx = context->res_ctx.pipe_ctx[i].stream_res.tg->inst;
break;
}
}
ASSERT(be_idx != -1);
if (num_planes == 0) { if (num_planes == 0) {
for (i = dc->res_pool->pipe_count - 1; i >= 0 ; i--) {
struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
if (old_pipe_ctx->stream_res.tg && old_pipe_ctx->stream_res.tg->inst == be_idx) { /* OTG blank before remove all front end */
old_pipe_ctx->stream_res.tg->funcs->set_blank(old_pipe_ctx->stream_res.tg, true); tg->funcs->set_blank(tg, true);
dcn10_power_down_fe(dc, old_pipe_ctx->pipe_idx);
}
}
return;
} }
/* reset unused mpcc */ /* Disconnect unused mpcc */
for (i = 0; i < dc->res_pool->pipe_count; i++) { for (i = 0; i < dc->res_pool->pipe_count; i++) {
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
struct pipe_ctx *old_pipe_ctx = struct pipe_ctx *old_pipe_ctx =
&dc->current_state->res_ctx.pipe_ctx[i]; &dc->current_state->res_ctx.pipe_ctx[i];
struct hubp *hubp = dc->res_pool->hubps[i];
if (!pipe_ctx->plane_state && !old_pipe_ctx->plane_state)
continue;
if (pipe_ctx->stream_res.tg &&
pipe_ctx->stream_res.tg->inst == be_idx &&
!pipe_ctx->top_pipe)
pipe_ctx->stream_res.tg->funcs->lock(pipe_ctx->stream_res.tg);
/* /*
* Powergate reused pipes that are not powergated * Powergate reused pipes that are not powergated
* fairly hacky right now, using opp_id as indicator * fairly hacky right now, using opp_id as indicator
* TODO: After move dc_post to dc_update, this will
* be removed.
*/ */
if (pipe_ctx->plane_state && !old_pipe_ctx->plane_state) { if (pipe_ctx->plane_state && !old_pipe_ctx->plane_state) {
if (pipe_ctx->plane_res.hubp->opp_id != 0xf && pipe_ctx->stream_res.tg->inst == be_idx) { if (old_pipe_ctx->stream_res.tg == tg &&
dcn10_power_down_fe(dc, pipe_ctx->pipe_idx); old_pipe_ctx->plane_res.hubp &&
old_pipe_ctx->plane_res.hubp->opp_id != 0xf) {
dcn10_power_down_fe(dc, pipe_ctx);
/* /*
* power down fe will unlock when calling reset, need * power down fe will unlock when calling reset, need
* to lock it back here. Messy, need rework. * to lock it back here. Messy, need rework.
...@@ -2161,39 +2191,12 @@ static void dcn10_apply_ctx_for_surface( ...@@ -2161,39 +2191,12 @@ static void dcn10_apply_ctx_for_surface(
} }
} }
if (!pipe_ctx->plane_state &&
old_pipe_ctx->plane_state &&
old_pipe_ctx->stream_res.tg == tg) {
if ((!pipe_ctx->plane_state && old_pipe_ctx->plane_state) plane_atomic_disconnect(dc, old_pipe_ctx);
|| (!pipe_ctx->stream && old_pipe_ctx->stream)) { removed_pipe[i] = true;
if (old_pipe_ctx->stream_res.tg->inst != be_idx)
continue;
if (!old_pipe_ctx->top_pipe) {
ASSERT(0);
continue;
}
/* reset mpc */
dc->res_pool->mpc->funcs->remove(
dc->res_pool->mpc,
&(old_pipe_ctx->stream_res.opp->mpc_tree),
old_pipe_ctx->stream_res.opp->inst,
old_pipe_ctx->pipe_idx);
old_pipe_ctx->stream_res.opp->mpcc_disconnect_pending[old_pipe_ctx->plane_res.hubp->mpcc_id] = true;
/*dm_logger_write(dc->ctx->logger, LOG_ERROR,
"[debug_mpo: apply_ctx disconnect pending on mpcc %d]\n",
old_pipe_ctx->mpcc->inst);*/
if (hubp->funcs->hubp_disconnect)
hubp->funcs->hubp_disconnect(hubp);
if (dc->debug.sanity_checks)
dcn10_verify_allow_pstate_change_high(dc);
old_pipe_ctx->top_pipe = NULL;
old_pipe_ctx->bottom_pipe = NULL;
old_pipe_ctx->plane_state = NULL;
old_pipe_ctx->stream = NULL;
dm_logger_write(dc->ctx->logger, LOG_DC, dm_logger_write(dc->ctx->logger, LOG_DC,
"Reset mpcc for pipe %d\n", "Reset mpcc for pipe %d\n",
...@@ -2201,23 +2204,24 @@ static void dcn10_apply_ctx_for_surface( ...@@ -2201,23 +2204,24 @@ static void dcn10_apply_ctx_for_surface(
} }
} }
for (i = 0; i < dc->res_pool->pipe_count; i++) { if (num_planes > 0)
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; program_all_pipe_in_tree(dc, top_pipe_to_program, context);
struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
tg->funcs->unlock(tg);
if (pipe_ctx->stream != stream)
continue;
/* looking for top pipe to program */ for (i = 0; i < dc->res_pool->pipe_count; i++) {
if (!pipe_ctx->top_pipe) { struct pipe_ctx *old_pipe_ctx =
program_all_pipe_in_tree(dc, pipe_ctx, context); &dc->current_state->res_ctx.pipe_ctx[i];
if (pipe_ctx->stream_res.tg &&
pipe_ctx->stream_res.tg->inst == be_idx && if (removed_pipe[i]) {
(pipe_ctx->plane_state || old_pipe_ctx->plane_state)) plane_atomic_disable(dc, old_pipe_ctx);
pipe_ctx->stream_res.tg->funcs->unlock(pipe_ctx->stream_res.tg); if (num_planes == 0)
plane_atomic_power_down(dc, i);
} }
} }
dm_logger_write(dc->ctx->logger, LOG_BANDWIDTH_CALCS, dm_logger_write(dc->ctx->logger, LOG_BANDWIDTH_CALCS,
"\n============== Watermark parameters ==============\n" "\n============== Watermark parameters ==============\n"
"a.urgent_ns: %d \n" "a.urgent_ns: %d \n"
......
...@@ -129,7 +129,7 @@ struct hw_sequencer_funcs { ...@@ -129,7 +129,7 @@ struct hw_sequencer_funcs {
struct dc_bios *dcb, struct dc_bios *dcb,
enum pipe_gating_control power_gating); enum pipe_gating_control power_gating);
void (*power_down_front_end)(struct dc *dc, int fe_idx); void (*power_down_front_end)(struct dc *dc, struct pipe_ctx *pipe_ctx);
void (*power_on_front_end)(struct dc *dc, void (*power_on_front_end)(struct dc *dc,
struct pipe_ctx *pipe, struct pipe_ctx *pipe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment