All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@nokia.com>
To: ext Archit Taneja <archit@ti.com>
Cc: linux-omap@vger.kernel.org, Sumit Semwal <sumit.semwal@ti.com>,
	Mukund Mittal <mmittal@ti.com>, Samreen <samreen@ti.com>
Subject: Re: [PATCH v5 3/7] OMAP: DSS2: Introduce omap_channel as a omap_dss_device parameter
Date: Wed, 01 Dec 2010 17:38:06 +0200	[thread overview]
Message-ID: <1291217886.10133.171.camel@tubuntu> (raw)
In-Reply-To: <1290410585-29418-4-git-send-email-archit@ti.com>

Hi,

On Mon, 2010-11-22 at 12:53 +0530, ext Archit Taneja wrote:
> From: Sumit Semwal <sumit.semwal@ti.com>
> 
> A new member 'channel' is introduced in omap_dss_device structure to determine
> which channel the panel uses. The dss_recheck_connections() called in dss_driver_probe()
> to set the correct manager to the corresponding omap_dss_device. The interface drivers
> (dsi.c, sdi.c etc) now call dispc functions with dssdev->manager->id as a parameter to
> specify the DISPC channel.
> 
> The following dispc functions are changed to incorporate channel as an argument:
> 	-dispc_enable_fifohandcheck()
> 	-dispc_set_lcd_size()
> 	-dispc_set_parallel_interface_mode()
> 	-dispc_set_tft_data_lines()
> 	-dispc_set_lcd_display_type()
> 	-dispc_set_lcd_timings()

This patch combines two separate things: 1) the new channel-field +
related changes (dss_recheck_connections), and 2) converting dispc
functions to accept channel as a parameter.

Generally about the whole patch set, I think this is starting to look
ok. But two things, which are cosmetical:

- I wouldn't mind a bit more verbose commit descriptions. Of course it's
easy to say "write better descriptions", and I don't have any direct
advice for this. However, remember that the 0000-patch won't be in the
git log, so all important information should be available also from the
patch descriptions.

- The files are getting quite crowded with code that checks for the
channel and then do the work with bits/irqs depending on the channel.
This makes the code a bit difficult to read. I don't have any clear
ideas right now how to make it clearer, but some methods to generalize
these kinds of functions would be nice. But this is not so important for
the time being, and we can improve it later.

 Tomi



  reply	other threads:[~2010-12-01 15:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22  7:22 [PATCH v5 0/7] OMAP: DSS2: Overlay Manager LCD2 support in DISPC Archit Taneja
2010-11-22  7:22 ` [PATCH v5 1/7] OMAP: DSS2: Add dss_features for omap4 and overlay manager related features Archit Taneja
2010-11-22  7:23 ` [PATCH v5 2/7] OMAP: DSS2: Represent DISPC register defines with channel as parameter Archit Taneja
2010-11-22  7:23 ` [PATCH v5 3/7] OMAP: DSS2: Introduce omap_channel as a omap_dss_device parameter Archit Taneja
2010-12-01 15:38   ` Tomi Valkeinen [this message]
2010-12-02  7:57     ` Taneja, Archit
2010-12-02  9:27       ` Tomi Valkeinen
2010-12-02  9:47         ` Taneja, Archit
2010-12-02 10:19           ` Tomi Valkeinen
2010-12-02 10:30             ` Taneja, Archit
2010-12-02 11:00               ` Tomi Valkeinen
2010-12-02 11:03                 ` Taneja, Archit
2010-11-22  7:23 ` [PATCH v5 4/7] OMAP: DSS2: Change remaining Dispc functions for new 'channel' argument Archit Taneja
2010-11-22  7:23 ` [PATCH v5 5/7] OMAP: DSS2: LCD2 Channel Changes for DISPC Archit Taneja
2010-11-22  7:23 ` [PATCH v5 6/7] OMAP: DSS2: Use dss_features to handle DISPC bits removed on OMAP4 Archit Taneja
2010-11-22  7:23 ` [PATCH v5 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=1291217886.10133.171.camel@tubuntu \
    --to=tomi.valkeinen@nokia.com \
    --cc=archit@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=mmittal@ti.com \
    --cc=samreen@ti.com \
    --cc=sumit.semwal@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.