All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@linux.intel.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: platform-driver-x86@vger.kernel.org, akpm@linux-foundation.org,
	sreedhara.ds@intel.com, mingo@elte.hu
Subject: Re: [PATCH] IPC driver for Intel Mobile Internet Device (MID) platforms
Date: Mon, 26 Apr 2010 16:39:58 +0100	[thread overview]
Message-ID: <20100426163958.2b5f16b7@linux.intel.com> (raw)
In-Reply-To: <20100426154300.GA10782@srcf.ucam.org>

> The case I'm worried about is where the graphics driver never gets
> into a mergable state and we end up with a pile of mainline code that
> can't sanely run on the hardware. As long as the plan is to get it to
> avoid duplicating the entire Intel modesetting code and including its
> own TTM then that seems fair enough, but Intel's track record on this
> side of things hasn't been great.

I don't track the public DRM lists but the last I saw on that on the
archives was Keith Packard blocking patches to enable such a merge.
You'd have to ask him about it. On the acceleration side mrst/psb
graphics are not i9xx style.

> > There are patches further down the pile that correct that one
> > funnily enough.
> 
> Good to know. Worth getting them in before merging, given that it 
> changes the interface?

I'll pull that one in and push the I²C out.

> Ok. I'd prefer it if passing random numbers resulted in failure
> rather than default behaviour, but if there's never going to be
> another platform that uses the Moorestown format then that's not a
> real problem.

I'd like to think the format would remain the same. 

> > One is the exposed external API, the other is a little one line
> > internal helper that does unrelated things.
> 
> It just made me double-take.

Good reason to rename it.

> > > > +int intel_scu_ipc_battery_cc_read(u32 *value)
> > > 
> > > I'm a bit confused by the cc functions. The actual battery code
> > > isn't in this driver, so why are these functions not in the
> > > battery driver?
> > 
> > Because the locking is in this driver. You can either smear the
> > locking all over the kernel or put the message format aware
> > functions in one place. I have some ideas how to tackle this better
> > longer term.
> 
> Ok.

Having had a wander down the beach and watched the waves a bit I've got
a cunning plan. Watch this space...

> > That is how I inherited the driver code and it's not a driver
> > internal interface so I believe EXPORT_SYMBOL is correct based upon
> > Linus description of _GPL.
> 
> Ok. We expect the platform to be usable without non-GPL drivers that 
> require the IPC mechanism?

Certainly. The Meego tree as is should give you a usable platform
(barring X graphics accel which isn't something I am in a position to
fix unfortunately). There is lots in that tree which isn't pretty and
I'm trying to get stuff out of that tree into the kernel while doing
the laundry on the way.

Alan
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" 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:[~2010-04-26 16:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23 14:30 [PATCH] IPC driver for Intel Mobile Internet Device (MID) platforms Alan Cox
2010-04-26 15:09 ` Matthew Garrett
2010-04-26 14:55   ` Alan Cox
2010-04-26 15:43     ` Matthew Garrett
2010-04-26 15:39       ` Alan Cox [this message]
2010-04-26 16:22         ` Matthew Garrett
2010-04-26 16:28           ` Alan Cox
2010-04-26 17:06             ` Matthew Garrett
2010-04-26 17:13               ` Alan Cox
2010-05-07 18:25                 ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2010-04-21 12:25 Alan Cox
2010-04-09 10:29 Alan Cox
2010-04-21 20:16 ` Andrew Morton
2010-04-21 20:26   ` Alan Cox
2010-04-22 13:16   ` Alan Cox
2010-04-22 13:41     ` Andrew Morton

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=20100426163958.2b5f16b7@linux.intel.com \
    --to=alan@linux.intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=mingo@elte.hu \
    --cc=mjg59@srcf.ucam.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=sreedhara.ds@intel.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.