Skip to content

Commit

Permalink
drm/msm/dp: Make it possible to enable the test pattern
Browse files Browse the repository at this point in the history
The debugfs interface contains the knobs to make the DisplayPort
controller output a test pattern, unfortunately there's nothing
currently that actually enables the defined test pattern.

Fixes: de3ee25 ("drm/msm/dp: add debugfs nodes for video pattern tests")
Link: https://lore.kernel.org/linux-arm-msm/20210629002234.1787149-1-bjorn.andersson@linaro.org/
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
  • Loading branch information
andersson authored and 0x011011110 committed Jul 29, 2022
1 parent dfe2783 commit c1bc158
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/msm/dp/dp_debug.c
Expand Up @@ -165,6 +165,8 @@ static ssize_t dp_test_active_write(struct file *file,
debug->panel->video_test = true;
else
debug->panel->video_test = false;

dp_panel_tpg_config(debug->panel, debug->panel->video_test);
}
kfree(input_buffer);

Expand Down

0 comments on commit c1bc158

Please sign in to comment.