diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2017-10-30 17:32:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 12:47:30 -0500 |
commit | e6c258cb4e6fbc7500c493df22f52e1046c575b0 (patch) | |
tree | f0c8f7f6df0d029156caf82c4b7cfcb8018099a5 /drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | |
parent | 46f6b85cff2d20a0648c8ef61bfabe12dcf5b640 (diff) |
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: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h index f3c5468854bd..19cfca91bb4e 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h @@ -129,7 +129,7 @@ struct hw_sequencer_funcs { struct dc_bios *dcb, 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, struct pipe_ctx *pipe, |