mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
drm/amd/display: add pipe topology update log
Given an issue with pipe topology transition. It is very hard to tell the before and after pipe topology without a pipe topology logging. The change adds such logging to help with visualizing the issue. Reviewed-by: Jun Lei <jun.lei@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
39d39a0196
commit
d8bafc2b1e
@@ -437,6 +437,13 @@ int resource_get_odm_slice_count(const struct pipe_ctx *otg_master);
|
||||
/* Get the ODM slice index counting from 0 from left most slice */
|
||||
int resource_get_odm_slice_index(const struct pipe_ctx *opp_head);
|
||||
|
||||
/* determine if pipe topology is changed between state a and state b */
|
||||
bool resource_is_pipe_topology_changed(const struct dc_state *state_a,
|
||||
const struct dc_state *state_b);
|
||||
|
||||
/* log the pipe topology update in state */
|
||||
void resource_log_pipe_topology_update(struct dc *dc, struct dc_state *state);
|
||||
|
||||
/*
|
||||
* Look for a free pipe in new resource context that is used as a secondary OPP
|
||||
* head by cur_otg_master.
|
||||
|
||||
Reference in New Issue
Block a user