Skip to content

OMAP: DSS2: Overlay Manager LCD2 support in DISPC

Archit Taneja linux-omap 6 versions – Applied

Status from this message: Thanks, applied to my devel branch!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 1 replyApplied
  2. v57 patches 8 repliesSuperseded
  3. v47 patches 7 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 RFC4 patches2 repliesSuperseded
v2 RFC7 patches2 repliesSuperseded
v1 RFC8 patches8 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/7OMAP: DSS2: Add dss_features for omap4 and overlay manager related featuresdrivers/video/omap2/dss/dss_features.c drivers/video/omap2/dss/dss_features.h+47 -30 replies
2/7OMAP: DSS2: Represent DISPC register defines with channel as parameterarch/arm/plat-omap/include/plat/display.h drivers/video/omap2/dss/dispc.c+84 -880 replies
3/7OMAP: DSS2: Introduce omap_channel argument to DISPC functions used by interface driversdrivers/video/omap2/dss/dispc.c drivers/video/omap2/dss/dpi.c drivers/video/omap2/dss/dsi.c +3 more+69 -500 replies
4/7OMAP: DSS2: Change remaining DISPC functions for new omap_channel argumentdrivers/video/omap2/dss/dispc.c drivers/video/omap2/dss/dpi.c drivers/video/omap2/dss/dsi.c +2 more+67 -530 replies
5/7OMAP: DSS2: LCD2 Channel Changes for DISPCarch/arm/plat-omap/include/plat/display.h drivers/video/omap2/dss/dispc.c drivers/video/omap2/dss/dpi.c+247 -400 replies
6/7OMAP: DSS2: Use dss_features to handle DISPC bits removed on OMAP4drivers/video/omap2/dss/dispc.c+11 -10 replies
7/7OMAP: DSS2: Introduce omap_channel as an omap_dss_device parameter, add new overlay manager.arch/arm/plat-omap/include/plat/display.h drivers/video/omap2/dss/dispc.c drivers/video/omap2/dss/dss.h +2 more+74 -440 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [PATCH v6 0/7] OMAP: DSS2: Overlay Manager LCD2 support in DISPC

This patch series which incorporates changes in DSS2 to enable omap_dss_device instances to use the new Overlay Manager LCD2 in DISPC.

On OMAP4, we have a new DISPC channel for Overlay Manager LCD2. This channel's video port is a source port for RFBI, DSI2 and DPI. The Primary channel's video port is connected to RFBI and DSI1.

There is a set of regsiters for LCD2 channel similar to the existing LCD channel, like DISPC_CONTROL2, DISPC_DIVISOR2, DISPC_CONFIG2 and so on.

In order to decide which LCD Overlay Manager to configure(LCD/LCD2), there is a need for the omap_dss_device instances to tell the interface drivers(DSI, DPI, RFBI etc) which LCD channel they want to connect to, so that the corresponding registers get configured. Therefore, a new enum omap_channel member is introduced to omap_dss_device.

This design was made keeping in mind the possible addition of more Overlay Managers in future OMAPs, this code is also backward compatible with OMAP3 as omap_dss_device instances in OMAP3 will stick only with OMAP_DSS_CHANNEL_LCD.

Archit Taneja (2):
OMAP: DSS2: Add dss_features for omap4 and overlay manager related
features
OMAP: DSS2: Use dss_features to handle DISPC bits removed on OMAP4

Sumit Semwal (5):
OMAP: DSS2: Represent DISPC register defines with channel as
parameter
OMAP: DSS2: Introduce omap_channel argument to DISPC functions used
by interface drivers
OMAP: DSS2: Change remaining DISPC functions for new omap_channel
argument
OMAP: DSS2: LCD2 Channel Changes for DISPC
OMAP: DSS2: Introduce omap_channel as an omap_dss_device parameter,
add new overlay manager.

 arch/arm/plat-omap/include/plat/display.h |    8 +
 drivers/video/omap2/dss/dispc.c           |  558 ++++++++++++++++++++---------
 drivers/video/omap2/dss/dpi.c             |   40 ++-
 drivers/video/omap2/dss/dsi.c             |   25 +-
 drivers/video/omap2/dss/dss.h             |   36 ++-
 drivers/video/omap2/dss/dss_features.c    |   43 +++-
 drivers/video/omap2/dss/dss_features.h    |    7 +-
 drivers/video/omap2/dss/manager.c         |   77 +++--
 drivers/video/omap2/dss/overlay.c         |   14 +-
 drivers/video/omap2/dss/rfbi.c            |   20 +-
 drivers/video/omap2/dss/sdi.c             |   24 +-
 11 files changed, 586 insertions(+), 266 deletions(-)

--
Version 6:
- Improve git commit messages
- Move addition of omap_channel member in omap_dss_device in the patch which brings the change in dss_recheck_connections().
Version 5:
- Replaced dssdev->channel with dssdev->manager->id in interface driver calls, dssdev->channel is only used once in dss_recheck_connections() to set up the connection between panel device and dispc managers
- DISPC_CONTROL and DISPC_CONFIG registers are not defined with channel as a parameter.
Version 4:
- Broken into smaller patches in order to build in between patches.
- Some basic cleanup
Version 3:
- Patches are reworked over dss2 features framework. Number of patches are reduced.
Version 2:
- The DISPC_BASE macro now isn't changed for OMAP4, a future hwmod patch will take care of this dynamically.
- Supported_displays member of manager is now assigned correctly for OMAP2.
- DISPC Registers common to LCD and LCD2 channels are not defined separately, now there is a parameter which differentiates between the 2 channels.
- Secondary LCD manager is now named as lcd2 instead of 2lcd, the patch given in the link below allows DSS2 interpret this correctly. Version 1:
http://www.mail-archive.com/[email protected]/msg31458.html