Skip to content
Commit e2435d69 authored by Angelo Ribeiro's avatar Angelo Ribeiro Committed by Neil Armstrong
Browse files

drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs



Add support for the video pattern generator (VPG) BER pattern mode and
configuration in runtime.

This enables using the debugfs interface to manipulate the VPG after
the pipeline is set.
Also, enables the usage of the VPG BER pattern.

Changes in v2:
  - Added VID_MODE_VPG_MODE
  - Solved incompatible return type on __get and __set

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Reported-by: default avatarAdrian Pop <pop.adrian61@gmail.com>
Signed-off-by: default avatarAngelo Ribeiro <angelo.ribeiro@synopsys.com>
Tested-by: default avatarYannick Fertre <yannick.fertre@st.com>
Tested-by: default avatarAdrian Pop <pop.adrian61@gmail.com>
Acked-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Jose Abreu <jose.abreu@synopsys.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a809feb7d7153a92e323416f744f1565e995da01.1586180592.git.angelo.ribeiro@synopsys.com
parent c6d94e37
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