Skip to content

OMAPDSS: Create output entities

Archit Taneja linux-fbdev linux-omap 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest23 patches 19 repliesIn review
  2. v123 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Output drivers private data structs hold the output struct rather than output.c allocating it. This struct is added to a list when dss_register_output()is called.
- Outputs are not passed from panel driver to output driver anymore. We are sticking to passing omap_dss_device for now till we get a clearer picture on how common panel framework turns out. Outputs are still used within the output driver, rather than passing dssdev everywhere.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23OMAPDSS: outputs: Create a new entity called outputsdrivers/video/omap2/dss/Makefile drivers/video/omap2/dss/dss.h drivers/video/omap2/dss/output.c +1 more+77 -10 replies
2/23OMAPDSS: outputs: Create and register output instancesdrivers/video/omap2/dss/dpi.c drivers/video/omap2/dss/dsi.c drivers/video/omap2/dss/hdmi.c +3 more+95 -02 replies
3/23OMAPDSS: output: Add set/unset device ops for omap_dss_outputdrivers/video/omap2/dss/output.c include/video/omapdss.h+72 -03 replies
4/23OMAPDSS: APPLY: Add manager set/unset output ops for omap_overlay_managerdrivers/video/omap2/dss/apply.c drivers/video/omap2/dss/dss.h drivers/video/omap2/dss/dss_features.c +3 more+134 -00 replies
5/23OMAPDSS: Remove manager->device referencesdrivers/video/omap2/dss/apply.c drivers/video/omap2/dss/dispc.c drivers/video/omap2/dss/manager.c +1 more+27 -100 replies
6/23OMAP_VOUT: Remove manager->device referencesdrivers/media/video/omap/omap_vout.c+57 -232 replies
7/23OMAPFB: remove manager->device referencesdrivers/video/omap2/omapfb/omapfb-main.c drivers/video/omap2/omapfb/omapfb.h+8 -40 replies
8/23OMAPDRM: Remove manager->device referencesdrivers/staging/omapdrm/omap_drv.c+3 -20 replies
9/23OMAPDSS: Create links between managers, outputs and devicesdrivers/video/omap2/dss/overlay.c+56 -406 replies
10/23OMAPDSS: DPI: Pass omap_dss_output within the driverdrivers/video/omap2/dss/dpi.c+34 -212 replies
11/23OMAPDSS: DSI: Remove dsi_pdev_map global structdrivers/video/omap2/dss/dsi.c+9 -50 replies
12/23OMAPDSS: DSI: Pass omap_dss_output within the driverdrivers/video/omap2/dss/dsi.c+130 -880 replies
13/23OMAPDSS: SDI: Pass omap_dss_output within the driverdrivers/video/omap2/dss/sdi.c+11 -90 replies
14/23OMAPDSS: RFBI: Pass omap_dss_output within the driverdrivers/video/omap2/dss/rfbi.c+14 -100 replies
15/23OMAPDSS: RFBI: Add dssdev pointers as arguments to all exported functionsdrivers/video/omap2/displays/panel-n8x0.c drivers/video/omap2/dss/rfbi.c include/video/omapdss.h+60 -452 replies
16/23OMAPDSS: VENC: Pass omap_dss_output within the driverdrivers/video/omap2/dss/venc.c+20 -120 replies
17/23OMAPDSS: HDMI: Pass omap_dss_output within the driverdrivers/video/omap2/dss/hdmi.c+24 -160 replies
18/23OMAPDSS: HDMI: Add dssdev pointer as an argument to all functions used by hdmi panedrivers/video/omap2/dss/dss.h drivers/video/omap2/dss/hdmi.c drivers/video/omap2/dss/hdmi_panel.c+28 -260 replies
19/23OMAPDSS/OMAPFB: Change dssdev->manager referencesdrivers/video/omap2/dss/display.c drivers/video/omap2/omapfb/omapfb-ioctl.c+13 -40 replies
20/23OMAPDSS: MANAGER: Update display sysfs storedrivers/video/omap2/dss/manager.c+20 -52 replies
21/23OMAPDSS: MANAGER: Get device via outputdrivers/video/omap2/dss/manager.c+1 -10 replies
22/23OMAPDSS: APPLY: Remove omap_dss_device references from dss_ovl_enable/disabledrivers/video/omap2/dss/apply.c+2 -40 replies
23/23OMAPDSS: Remove old way of setting manager and device linksdrivers/video/omap2/dss/apply.c drivers/video/omap2/dss/manager.c include/video/omapdss.h+0 -710 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/23] OMAPDSS: Create output entities

Create a new entity in OMAPDSS called outputs. These represent the interfaces/outputs like DSI, HDMI etc. that a panel connects to. An output sits in between an overlay manager and a panel. More details about outputs are explained in the first patch of the series.

This series adds omap_dss_output as an entity along with omap_overlay, omap_overlay_manager and omap_dss_device. It changes the code to establish links between managers and outputs, and outputs and devices.

Changes since v1:
- Output drivers private data structs hold the output struct rather than output.c allocating it. This struct is added to a list when dss_register_output()is called.
- Outputs are not passed from panel driver to output driver anymore. We are sticking to passing omap_dss_device for now till we get a clearer picture on how common panel framework turns out. Outputs are still used within the output driver, rather than passing dssdev everywhere.

Reference tree:

git://gitorious.org/~boddob/linux-omap-dss2/archit-dss2-clone.git 2-add-outputs

Archit Taneja (23):
OMAPDSS: outputs: Create a new entity called outputs
OMAPDSS: outputs: Create and register output instances
OMAPDSS: output: Add set/unset device ops for omap_dss_output
OMAPDSS: APPLY: Add manager set/unset output ops for
omap_overlay_manager
OMAPDSS: Remove manager->device references
OMAP_VOUT: Remove manager->device references
OMAPFB: remove manager->device references
OMAPDRM: Remove manager->device references
OMAPDSS: Create links between managers, outputs and devices
OMAPDSS: DPI: Pass omap_dss_output within the driver
OMAPDSS: DSI: Remove dsi_pdev_map global struct
OMAPDSS: DSI: Pass omap_dss_output within the driver
OMAPDSS: SDI: Pass omap_dss_output within the driver
OMAPDSS: RFBI: Pass omap_dss_output within the driver
OMAPDSS: RFBI: Add dssdev pointers as arguments to all exported
functions
OMAPDSS: VENC: Pass omap_dss_output within the driver
OMAPDSS: HDMI: Pass omap_dss_output within the driver
OMAPDSS: HDMI: Add dssdev pointer as an argument to all functions
used by hdmi panel driver
OMAPDSS/OMAPFB: Change dssdev->manager references
OMAPDSS: MANAGER: Update display sysfs store
OMAPDSS: MANAGER: Get device via output
OMAPDSS: APPLY: Remove omap_dss_device references from
dss_ovl_enable/disable
OMAPDSS: Remove old way of setting manager and device links

 drivers/media/video/omap/omap_vout.c      |   81 +++++++---
 drivers/staging/omapdrm/omap_drv.c        |    5 +-
 drivers/video/omap2/displays/panel-n8x0.c |   55 ++++---
 drivers/video/omap2/dss/Makefile          |    2 +-
 drivers/video/omap2/dss/apply.c           |   52 +++---
 drivers/video/omap2/dss/dispc.c           |   10 +-
 drivers/video/omap2/dss/display.c         |   11 +-
 drivers/video/omap2/dss/dpi.c             |   70 +++++---
 drivers/video/omap2/dss/dsi.c             |  249 ++++++++++++++++++-----------
 drivers/video/omap2/dss/dss.h             |   23 ++-
 drivers/video/omap2/dss/dss_features.c    |   52 ++++++
 drivers/video/omap2/dss/dss_features.h    |    1 +
 drivers/video/omap2/dss/hdmi.c            |   72 ++++++---
 drivers/video/omap2/dss/hdmi_panel.c      |   20 +--
 drivers/video/omap2/dss/manager.c         |   48 ++++--
 drivers/video/omap2/dss/output.c          |  110 +++++++++++++
 drivers/video/omap2/dss/overlay.c         |   96 ++++++-----
 drivers/video/omap2/dss/rfbi.c            |   66 +++++---
 drivers/video/omap2/dss/sdi.c             |   35 ++--
 drivers/video/omap2/dss/venc.c            |   47 ++++--
 drivers/video/omap2/omapfb/omapfb-ioctl.c |    7 +-
 drivers/video/omap2/omapfb/omapfb-main.c  |    7 +-
 drivers/video/omap2/omapfb/omapfb.h       |    5 +-
 include/video/omapdss.h                   |   72 +++++++--
 24 files changed, 848 insertions(+), 348 deletions(-)
 create mode 100644 drivers/video/omap2/dss/output.c
Signature · 1 line
1.7.9.5