From: Archit Taneja <archit@ti.com>
To: tomi.valkeinen@nokia.com
Cc: linux-omap@vger.kernel.org, Archit Taneja <archit@ti.com>
Subject: [PATCH v4 0/7] OMAP: DSS2: Overlay Manager LCD2 support in DISPC
Date: Mon, 8 Nov 2010 17:54:18 +0530 [thread overview]
Message-ID: <1289219065-1362-1-git-send-email-archit@ti.com> (raw)
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.
This will apply over current lo-dss2 branch and the following:
Premultiplied alpha support:
https://patchwork.kernel.org/patch/301872/
https://patchwork.kernel.org/patch/301882/
and,
DSS2: Fix: Read correct bit in dispc_enable_alpha_blending():
https://patchwork.kernel.org/patch/308152/
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 as a omap_dss_device parameter
OMAP: DSS2: Change remaining Dispc functions for new 'channel'
argument
OMAP: DSS2: LCD2 Channel Changes for DISPC
OMAP: DSS2: Add new Overlay Manager
arch/arm/plat-omap/include/plat/display.h | 7 +
drivers/video/omap2/dss/dispc.c | 573 +++++++++++++++++++----------
drivers/video/omap2/dss/dpi.c | 33 +-
drivers/video/omap2/dss/dsi.c | 21 +-
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 | 73 +++--
drivers/video/omap2/dss/overlay.c | 14 +-
drivers/video/omap2/dss/rfbi.c | 19 +-
drivers/video/omap2/dss/sdi.c | 22 +-
11 files changed, 559 insertions(+), 289 deletions(-)
--
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/linux-omap@vger.kernel.org/msg31458.html
next reply other threads:[~2010-11-08 12:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 12:24 Archit Taneja [this message]
2010-11-08 12:24 ` [PATCH v4 1/7] OMAP: DSS2: Add dss_features for omap4 and overlay manager related features Archit Taneja
2010-11-08 12:24 ` [PATCH v4 2/7] OMAP: DSS2: Represent DISPC register defines with channel as parameter Archit Taneja
2010-11-15 15:17 ` Tomi Valkeinen
2010-11-16 4:25 ` Taneja, Archit
2010-11-08 12:24 ` [PATCH v4 3/7] OMAP: DSS2: Introduce omap_channel as a omap_dss_device parameter Archit Taneja
2010-11-16 10:55 ` Tomi Valkeinen
2010-11-16 11:22 ` Taneja, Archit
2010-11-16 13:32 ` Tomi Valkeinen
2010-11-17 8:31 ` Taneja, Archit
2010-11-17 12:56 ` Taneja, Archit
2010-11-08 12:24 ` [PATCH v4 4/7] OMAP: DSS2: Change remaining Dispc functions for new 'channel' argument Archit Taneja
2010-11-08 12:24 ` [PATCH v4 5/7] OMAP: DSS2: LCD2 Channel Changes for DISPC Archit Taneja
2010-11-08 12:24 ` [PATCH v4 6/7] OMAP: DSS2: Use dss_features to handle DISPC bits removed on OMAP4 Archit Taneja
2010-11-08 12:24 ` [PATCH v4 7/7] OMAP: DSS2: Add new Overlay Manager Archit Taneja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1289219065-1362-1-git-send-email-archit@ti.com \
--to=archit@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=tomi.valkeinen@nokia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox