aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWesley Chalmers <[email protected]>2020-11-23 19:04:23 -0500
committerAlex Deucher <[email protected]>2020-12-08 23:04:19 -0500
commit5a83bf80723dbc18d2f4d3949466bab216225c30 (patch)
tree910e7cb64f40df77825ef670929efdde7f9287c1
parenta013dd15d470b9ace50cb7a152b1eddabf9c36ad (diff)
drm/amd/display: Use provided offset for DPG generation
[Why] Currently, the offset provided to dcn30_set_disp_pattern_generator is not forwarded to OPP for display pattern generation, resulting in misaligned patterns and test failures. [How] Use the provided offset. Signed-off-by: Wesley Chalmers <[email protected]> Reviewed-by: Samson Tam <[email protected]> Acked-by: Eryk Brol <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
index 7a7efe9ea961..283995ab9eeb 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
@@ -832,5 +832,5 @@ void dcn30_set_disp_pattern_generator(const struct dc *dc,
int width, int height, int offset)
{
pipe_ctx->stream_res.opp->funcs->opp_set_disp_pattern_generator(pipe_ctx->stream_res.opp, test_pattern,
- color_space, color_depth, solid_color, width, height, 0);
+ color_space, color_depth, solid_color, width, height, offset);
}