linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Archit Taneja <archit@ti.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Rob Clark <rob@ti.com>,
	linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org
Subject: Re: [PATCH 00/32] OMAPDSS: create compat layer
Date: Fri, 16 Nov 2012 07:17:35 +0000	[thread overview]
Message-ID: <50A5E5BF.40405@ti.com> (raw)
In-Reply-To: <1352995120-3288-1-git-send-email-tomi.valkeinen@ti.com>

On Thursday 15 November 2012 09:28 PM, Tomi Valkeinen wrote:
> Hi,
>
> This series is about improving omapdss API for omapdrm.
>
> We have two separate, exclusive, users of omapdss: 1) omapfb + omap_vout and 2)
> omapdrm. Because omapfb and omap_vout are independent drivers, we've built
> layers in omapdss to manage the two simultaneous callers. These layers are not
> needed for omapdrm, as omapdrm is the sole user of omapdss, and these layers in
> fact only create trouble for omapdrm.
>
> The simple option to improve omapdrm situation would be to copy the omapdss
> code for omapdrm. We are trying to avoid this, as omapdss and the panel drivers
> are quite a lot of code together, and most of the code would be used without
> change.
>
> Thus this series helps the situation by moving the omapdss code required by
> omapfb + omap_vout to separate files, creating a distinct layer used only by
> omapfb + omap_vout. We call this layer "compat layer". This compat layer then
> uses the core omapdss driver to operate the hardware. omapdrm will use the core
> omapdss directly, without any layers in between.
>
> After this series, omapfb, omap_vout and omapdrm can all be compiled at the
> same time. Obviously omapdrm and omapfb+omap_vout cannot be run at the same
> time (the first one to start will "win"), so compiling them at the same time is
> only sensible as modules for testing purposes. Normal users should only compile
> one of those.
>
> This series does not make omapdrm use the core omapdss API, that will happen in
> a separate series for omapdrm.
>
> The series is based on current omapdss master, and can also be found from:
> git://gitorious.org/linux-omap-dss2/linux.git work/apply-test-9

Series looks fine to me. Will test it out.

Archit

>
>   Tomi
>
> Tomi Valkeinen (32):
>    OMAPDSS: remove declarations for non-existing functions
>    OMAPDSS: DPI: fix crash with dpi_verify_dsi_pll()
>    OMAPDSS: don't WARN if there's no DSI device
>    OMAPDSS: DISPC: add no_framedone_tv feat
>    OMAPDSS: DISPC: use get_framedone_irq in disable_digit_out
>    OMAPDSS: DISPC: Remove blocking code from dispc_wb_enable()
>    OMAPDSS: cleanup WB enable/is_enabled functions
>    OMAPDSS: DISPC: use WARN_ON() in dispc_mgr_go
>    OMAPDSS: DISPC: pclk & lclk rates for writeback
>    OMAPDSS: DISPC: pass pclk to calc_core_clk()
>    OMAPDSS: DISPC: pass pclk & lclk to check_horiz_timing_omap3
>    OMAPDSS: DISPC: pass pclk & lclk to calc_scaling
>    OMAPDSS: DISPC: pass pclk & lclk to dispc_ovl_calc_scaling
>    OMAPDSS: create display-sysfs.c
>    OMAPDSS: add dss_get_core_pdev()
>    OMAPDSS: add omapdss_compat_init()
>    OMAPDSS: move ovl & ovl-mgr init to apply.c
>    OMAPDSS: move ovl-mgr function setup to apply.c
>    OMAPDSS: move ovl function setup to apply.c
>    OMAPDSS: add manager ops
>    OMAPDSS: manage framedone irq with mgr ops
>    OMAPDSS: move blocking mgr enable/disable to compat layer
>    OMAPDSS: move omap_dispc_wait_for_irq_interruptible_timeout to
>      dispc-compat.c
>    OMAPDSS: move irq handling to dispc-compat
>    OMAPDSS: DISPC: add dispc_ovl_check()
>    OMAPDSS: DPI: use dispc's check_timings
>    OMAPDSS: move display sysfs init to compat layer
>    OMAPDSS: separate compat files in the Makefile
>    OMAPDSS: export dss_mgr_ops functions
>    OMAPDSS: export dss_feat functions
>    OMAPDSS: export dispc functions
>    OMAPDSS: use omapdss_compat_init() in other drivers
>
>   drivers/media/platform/omap/omap_vout.c  |   17 +-
>   drivers/staging/omapdrm/omap_drv.c       |   11 +
>   drivers/video/omap2/dss/Makefile         |    6 +-
>   drivers/video/omap2/dss/apply.c          |  245 ++++++++-
>   drivers/video/omap2/dss/core.c           |   13 +-
>   drivers/video/omap2/dss/dispc-compat.c   |  667 +++++++++++++++++++++++
>   drivers/video/omap2/dss/dispc-compat.h   |   30 ++
>   drivers/video/omap2/dss/dispc.c          |  863 +++++-------------------------
>   drivers/video/omap2/dss/display-sysfs.c  |  321 +++++++++++
>   drivers/video/omap2/dss/display.c        |  285 +---------
>   drivers/video/omap2/dss/dpi.c            |    4 +-
>   drivers/video/omap2/dss/dsi.c            |   26 +-
>   drivers/video/omap2/dss/dss.h            |   75 +--
>   drivers/video/omap2/dss/dss_features.c   |    5 +
>   drivers/video/omap2/dss/dss_features.h   |    4 -
>   drivers/video/omap2/dss/manager.c        |   39 --
>   drivers/video/omap2/dss/output.c         |   65 +++
>   drivers/video/omap2/dss/overlay.c        |   17 -
>   drivers/video/omap2/dss/rfbi.c           |   12 +-
>   drivers/video/omap2/omapfb/omapfb-main.c |    6 +
>   include/video/omapdss.h                  |   80 ++-
>   21 files changed, 1582 insertions(+), 1209 deletions(-)
>   create mode 100644 drivers/video/omap2/dss/dispc-compat.c
>   create mode 100644 drivers/video/omap2/dss/dispc-compat.h
>   create mode 100644 drivers/video/omap2/dss/display-sysfs.c
>


      parent reply	other threads:[~2012-11-16  7:17 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15 15:58 [PATCH 00/32] OMAPDSS: create compat layer Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 01/32] OMAPDSS: remove declarations for non-existing functions Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 02/32] OMAPDSS: DPI: fix crash with dpi_verify_dsi_pll() Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 03/32] OMAPDSS: don't WARN if there's no DSI device Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 04/32] OMAPDSS: DISPC: add no_framedone_tv feat Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 05/32] OMAPDSS: DISPC: use get_framedone_irq in disable_digit_out Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 06/32] OMAPDSS: DISPC: Remove blocking code from dispc_wb_enable() Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 07/32] OMAPDSS: cleanup WB enable/is_enabled functions Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 08/32] OMAPDSS: DISPC: use WARN_ON() in dispc_mgr_go Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 09/32] OMAPDSS: DISPC: pclk & lclk rates for writeback Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 10/32] OMAPDSS: DISPC: pass pclk to calc_core_clk() Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 11/32] OMAPDSS: DISPC: pass pclk & lclk to check_horiz_timing_omap3 Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 12/32] OMAPDSS: DISPC: pass pclk & lclk to calc_scaling Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 13/32] OMAPDSS: DISPC: pass pclk & lclk to dispc_ovl_calc_scaling Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 14/32] OMAPDSS: create display-sysfs.c Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 15/32] OMAPDSS: add dss_get_core_pdev() Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 16/32] OMAPDSS: add omapdss_compat_init() Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 17/32] OMAPDSS: move ovl & ovl-mgr init to apply.c Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 18/32] OMAPDSS: move ovl-mgr function setup " Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 19/32] OMAPDSS: move ovl " Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 20/32] OMAPDSS: add manager ops Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 21/32] OMAPDSS: manage framedone irq with mgr ops Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 22/32] OMAPDSS: move blocking mgr enable/disable to compat layer Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 23/32] OMAPDSS: move omap_dispc_wait_for_irq_interruptible_timeout to dispc-compat.c Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 24/32] OMAPDSS: move irq handling to dispc-compat Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 25/32] OMAPDSS: DISPC: add dispc_ovl_check() Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 26/32] OMAPDSS: DPI: use dispc's check_timings Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 27/32] OMAPDSS: move display sysfs init to compat layer Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 28/32] OMAPDSS: separate compat files in the Makefile Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 29/32] OMAPDSS: export dss_mgr_ops functions Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 30/32] OMAPDSS: export dss_feat functions Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 31/32] OMAPDSS: export dispc functions Tomi Valkeinen
2012-11-15 15:58 ` [PATCH 32/32] OMAPDSS: use omapdss_compat_init() in other drivers Tomi Valkeinen
2012-11-16  7:17 ` Archit Taneja [this message]

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=50A5E5BF.40405@ti.com \
    --to=archit@ti.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=rob@ti.com \
    --cc=tomi.valkeinen@ti.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;
as well as URLs for NNTP newsgroup(s).