public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Fritz <chf.fritz@googlemail.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Dave Airlie <airlied@gmail.com>,
	linux-omap <linux-omap@vger.kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>
Subject: [PATCH] OMAPDSS: DPI: add dependency to DSI
Date: Thu, 18 Apr 2013 10:37:05 +0200	[thread overview]
Message-ID: <1366274225.4085.44.camel@mars> (raw)
In-Reply-To: <516BDD35.4000807@ti.com>

Hi Tomi

On Mon, 2013-04-15 at 13:57 +0300, Tomi Valkeinen wrote:
> Tomi Valkeinen (38):
>       OMAPDSS: add fields to panels' platform data
>       OMAPDSS: DSI: remove DSI & DISPC clk divisors from dssdev
>       OMAPDSS: HDMI: remove HDMI clk divisors from dssdev
>       OMAPDSS: DPI: remove omap_dss_device uses
>       OMAPDSS: DSI: remove omap_dss_device uses
>       OMAPDSS: Taal: remove multi-panel support
>       OMAPDSS: APPLY: remove dssdev from dss_mgr_wait_for_vsync
>       OMAPDSS: add missing export for omap_dss_get_output()
>       OMAPDSS: HDMI: init output earlier
>       OMAPDSS: add output->name
>       OMAPDSS: add output->dispc_channel
>       OMAPDSS: DSI: delay dispc initialization
>       OMAPDSS: DSI: fix DSI channel source initialization
>       OMAPDSS: Taal: remove rotate & mirror support
>       OMAPDSS: DPI: fix dpi_get_dsidev() for omap5
>       OMAPDSS: DISPC: store core clk rate
>       OMAPDSS: DSI: fix wrong unsigned long long use
>       OMAPDSS: DSI: simplify dsi configuration
>       OMAPDSS: DSI: get line buffer size at probe
>       OMAPDSS: DSI: add enum omap_dss_dsi_trans_mode
>       OMAPDSS: DSI remove unneeded clk source setup code
>       OMAPDSS: DISPC: add new clock calculation code
>       OMAPDSS: DSS: add new clock calculation code
>       OMAPDSS: DSI: add new clock calculation code
>       OMAPDSS: SDI: use new clock calculation code
>       OMAPDSS: DPI: use new clock calculation code

With linux-next this patch breaks compiling here because DPI now depends
on DSI - but my omap3 board here doesn't use DSI at all:

drivers/video/omap2/dss/dpi.c: In function ‘dpi_calc_pll_cb’:
drivers/video/omap2/dss/dpi.c:181: error: implicit declaration of function ‘dsi_hsdiv_calc’
drivers/video/omap2/dss/dpi.c: In function ‘dpi_dsi_clk_calc’:
drivers/video/omap2/dss/dpi.c:201: error: implicit declaration of function ‘dsi_get_pll_clkin’
drivers/video/omap2/dss/dpi.c:212: error: implicit declaration of function ‘dsi_pll_calc’

Enabling OMAP2_DSS_DSI fixes this. This is my proposed patch. You may be want to merge it?

From: Christoph Fritz <chf.fritz@googlemail.com>
Date: Thu, 18 Apr 2013 10:26:54 +0200
Subject: [PATCH] OMAPDSS: DPI: add dependency to DSI

A dependency from DPI to DSI is introduced by commit 100c82623
"OMAPDSS: DPI: use new clock calculation code".
This patch adds the dependency also on Kconfig-Level.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 drivers/video/omap2/dss/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/omap2/dss/Kconfig b/drivers/video/omap2/dss/Kconfig
index cb0f145..b4211c5 100644
--- a/drivers/video/omap2/dss/Kconfig
+++ b/drivers/video/omap2/dss/Kconfig
@@ -36,6 +36,7 @@ config OMAP2_DSS_COLLECT_IRQ_STATS
 config OMAP2_DSS_DPI
 	bool "DPI support"
 	default y
+	select OMAP2_DSS_DSI
 	help
 	  DPI Interface. This is the Parallel Display Interface.
 
-- 
1.7.10.4



--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2013-04-18  8:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15 10:57 [GIT PULL] omap display changes for 3.10 Tomi Valkeinen
2013-04-18  8:37 ` Christoph Fritz [this message]
2013-04-18  9:09   ` [PATCH] OMAPDSS: DPI: add dependency to DSI Tomi Valkeinen
2013-04-18  9:21     ` Tomi Valkeinen
2013-04-18 10:13       ` Christoph Fritz
2013-04-18 14:37         ` Tomi Valkeinen
2013-04-18 17:26           ` Christoph Fritz
2013-04-22 11:51       ` Tomi Valkeinen

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=1366274225.4085.44.camel@mars \
    --to=chf.fritz@googlemail.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-omap@vger.kernel.org \
    --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