public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel-/w4YWyX8dFk@public.gmane.org>
To: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Daniel Vetter <daniel-/w4YWyX8dFk@public.gmane.org>,
	Dave Airlie <airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PULL] drm/tegra: Changes for v3.13-rc1
Date: Mon, 4 Nov 2013 17:21:21 +0100	[thread overview]
Message-ID: <20131104162121.GJ4167@phenom.ffwll.local> (raw)
In-Reply-To: <20131104121145.GB18722-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>

On Mon, Nov 04, 2013 at 01:11:46PM +0100, Thierry Reding wrote:
> On Mon, Nov 04, 2013 at 11:22:53AM +0100, Daniel Vetter wrote:
> > On Thu, Oct 31, 2013 at 10:17:28AM +0100, Thierry Reding wrote:
> [...]
> > >       drm/tegra: Move subdevice infrastructure to host1x
> > 
> > I've just shot at this patch on the m-l, but I'd be rather unhappy if the
> > new drm_bus madness this add gets into drm-next. Would be a definite step
> > backwards imo for the drm core. Also more work for me to fix it all up ...
> 
> In all fairness, the patches were posted for review a while back (4
> weeks ago) and I had no idea any such rework was in place, much less
> that anybody else considered drm_bus to be a bad idea.
> 
> Perhaps we could maintain a list of TODO items somewhere with notes as
> to what's currently being worked on. Maybe such a list already exists
> and I'm just not aware of it?

drm_bus goes back to the shadow attach horror stories of legacy drm
drivers with ums. It was done for platform drivers due to some out-of-tree
ARM drivers that luckily have never been merged. It's just part of the
lore ;-)

> It'd be unfortunate if this series can't be merged for 3.13. The patch
> you object to is early in the list and everything after it depends on
> it, so if that doesn't make it in, then none of the rest will make it
> either.
> 
> I've also explained elsewhere that the only thing drm_bus related that
> this adds is a new define for DRIVER_BUS_HOST1X and an implementation of
> .set_busid. The former should be trivial to remove, while the latter is
> the only one that you've kept in the cleanup tree you've posted.

It'll die soon, together with drm_bus. I've just grown a bit frustrated
thinking that I'm too late at preventing old cruft from spreading ;-)

> Also I'd like to reassert my offer to help. While working on this I've
> actually came across various oddities myself, like how the bus type was
> completely unused, and had added them to my TODO list of things to look
> into later.

After a bit of cooling of I've looked at the situation. See my reply to
the patch itself, it should be easily fixed by just throwing a pretty tiny
fixup patch on top. Then the host1x drm_bus is just a copy of the drm_bus,
and so really easy to deal with.

> I really appreciate the work you do, but I think we could use some more
> coordination to avoid conflicts such as these and perhaps share the load
> of cleanup work. Is there anything in particular that I could do to help
> improve the situation?

For better coordination I wonder whether we should have a drm-integration
tree with all the driver wip stuff (lesser requirements than linux-next,
so not just stuff ready for the next merge window) plus big cleanup
branches like this and big features like the atomic modeset stuff rob is
working on. But atm I'm still rather reluctant to try it out for fear of
getting stuck with it ;-)

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

      parent reply	other threads:[~2013-11-04 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31  9:17 [PULL] drm/tegra: Changes for v3.13-rc1 Thierry Reding
     [not found] ` <20131031091727.GA16198-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-11-04 10:22   ` Daniel Vetter
     [not found]     ` <20131104102253.GE4167-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org>
2013-11-04 12:11       ` Thierry Reding
     [not found]         ` <20131104121145.GB18722-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-11-04 16:21           ` Daniel Vetter [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=20131104162121.GJ4167@phenom.ffwll.local \
    --to=daniel-/w4ywyx8dfk@public.gmane.org \
    --cc=airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /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