Tegra: Add DC one-shot support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 16 repliesIn review
- v1 RFC12 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- Define one-shot flag in drm_display_mode->private_flags, according to Daniel's comments
- Remove the "te-polarity" property in dts. The TE polarity is determined by panel so there is not necessary to define it in DTS. We can define it in panel driver.
- Rebased the patch series on top of 6/29 linux-next.
- Fix a bug in DSI suspend DPMS event, to wait DSI idle before suspend
- Fix a bug in DSI driver to correct the DPMS state(patch #11)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | drm: panel: Add a new private mode flag: DRM_PANEL_FLAG_PREFER_ONE_SHOTinclude/ | +2 | 2 replies | |
| 2/12 | drm: panel: Add one-shot flag to Sharp lq101r1sx01 driverdrivers/ | +1 | 0 replies | |
| 3/12 | drm: panel: Turn on TE(Tearing Effect) on Sharp lq101r1sx01drivers/ | +7 | 0 replies | |
| 4/12 | drm: panel: Add DRM panel private mode flag: TE polarityinclude/ | +2 | 0 replies | |
| 5/12 | drm: panel: Set TE polarity flag in Sharp lq101r1sx01 driverdrivers/ | +2 | 0 replies | |
| 6/12 | drm/tegra: Set NC(Non-contiguous) mode to dc for one-shotdrivers/ drivers/ | +32 | 0 replies | |
| 7/12 | drm/panel: Add panel func: idle/busyinclude/ | +18 | 0 replies | |
| 8/12 | drm: dsi: Add "enter idle" & "exit idle" dcs functionsdrivers/ include/ | +38 | 2 replies | |
| 9/12 | drm: panel: Add idle/busy in Sharp lq101r1sx01 driverdrivers/ | +26 | 0 replies | |
| 10/12 | drm/tegra: Suspend dc/dsi/panel in one-shot modedrivers/ drivers/ drivers/ | +132 | 2 replies | |
| 11/12 | drm/tegra: dsi: Set connector DPMS state when enable/disabledrivers/ | +3 | 0 replies | |
| 12/12 | JUST FOR TEST: Add one-shot trigger to update displaydrivers/ drivers/ | +38 | 10 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/12] Tegra: Add DC one-shot support
This patch set adds the Tegra dc one-shot support. The patch set is tested on Dalmore + Sharp lq101r1sx01.
Please be noticed that the patch #12 is not part of the feature, it's just used for testing.
Changes in v2:
- Define one-shot flag in drm_display_mode->private_flags, according to Daniel's comments
- Remove the "te-polarity" property in dts. The TE polarity is determined by panel so there is not necessary to define it in DTS. We can define it in panel driver.
- Rebased the patch series on top of 6/29 linux-next.
- Fix a bug in DSI suspend DPMS event, to wait DSI idle before suspend
- Fix a bug in DSI driver to correct the DPMS state(patch #11)
Mark Zhang (12):
drm: panel: Add a new private mode flag:
DRM_PANEL_FLAG_PREFER_ONE_SHOT
drm: panel: Add one-shot flag to Sharp lq101r1sx01 driver
drm: panel: Turn on TE(Tearing Effect) on Sharp lq101r1sx01
drm: panel: Add DRM panel private mode flag: TE polarity
drm: panel: Set TE polarity flag in Sharp lq101r1sx01 driver drm/tegra: Set NC(Non-contiguous) mode to dc for one-shot drm/panel: Add panel func: idle/busy
drm: dsi: Add "enter idle" & "exit idle" dcs functions
drm: panel: Add idle/busy in Sharp lq101r1sx01 driver drm/tegra: Suspend dc/dsi/panel in one-shot mode drm/tegra: dsi: Set connector DPMS state when enable/disable JUST FOR TEST: Add one-shot trigger to update display
drivers/gpu/drm/drm_mipi_dsi.c | 36 +++++++ drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 35 +++++++ drivers/gpu/drm/tegra/dc.c | 128 +++++++++++++++++++++-- drivers/gpu/drm/tegra/dc.h | 5 + drivers/gpu/drm/tegra/drm.h | 4 + drivers/gpu/drm/tegra/dsi.c | 79 +++++++++++++- include/drm/drm_mipi_dsi.h | 2 + include/drm/drm_panel.h | 22 ++++ 8 files changed, 300 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.9.5