From: Robert Foss <robert.foss@collabora.com>
To: Chih-Wei Huang <cwhuang@android-x86.org>
Cc: ML dri-devel <dri-devel@lists.freedesktop.org>,
Adrian Salido <salidoa@google.com>
Subject: Re: [PATCH hwc v2 1/6] drm_hwcomposer: Remove threading
Date: Fri, 29 Sep 2017 15:16:22 +0200 [thread overview]
Message-ID: <1506690982.2185.7.camel@collabora.com> (raw)
In-Reply-To: <CAKc24n38n7AWmw3nG9B1MuYn2KoXBsoGe_6D_AqeqaR_6h4Jtw@mail.gmail.com>
On Fri, 2017-09-29 at 17:07 +0800, Chih-Wei Huang wrote:
> 2017-09-29 16:44 GMT+08:00 Robert Foss <robert.foss@collabora.com>:
> > On Fri, 2017-09-29 at 13:49 +0800, Chih-Wei Huang wrote:
> > > 2017-09-29 5:29 GMT+08:00 Rob Herring <robh@kernel.org>:
> > > > Perhaps just leave the current state as a separate branch.
> > >
> > > Did you mean we maintain the branch in our repo?
> > > (that's what we do now, but I hope to avoid that)
> > >
> > > Or fd.o could help to maintain the two branches (HWC1 and HWC2)?
> >
> > Android later than O will not support HWC1 (as far as I understand
> > it),
> > so HWC2 is the way forward.
>
> If all x86 GPUs we want to support
> can work with drm_hwcomposer,
> I'm happy to switch to HWC2.
> However it seems impossible at this moment. :(
>
> > Furthermore I think targeting aosp/master at all time is the right
> > thing to do for drm_hwcomposer.
> >
> > I for one am less than keen on maintaining branch that is
> > incompatible
> > with aosp/master upstream.
> >
> > Ideally we wouldn't maintain a compile time switch either, not on
> > principle but because of the development overhead it causes.
> > We have very finite resources contributing to drm_hwcomposer.
> > If it was cheap&&easy to support old Android versions we should,
> > but I
> > don't think it is.
>
> My point is not to support old Android versions,
> but to support old(?) GPUs that can't work with drm_hwcomposer.
>
If some GPU (which supports fences and atomic) does not work on
drm_hwcomposer, I would consider that a bug.
So the idea would be to fix it, and fixing it would prevent you from
having any issues with HWC2 being the only supported API as far as I
understand our IRC chat.
Rob.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-09-29 13:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 11:58 [PATCH hwc v2 0/6] Implement fencing Robert Foss
2017-09-27 11:58 ` [PATCH hwc v2 1/6] drm_hwcomposer: Remove threading Robert Foss
2017-09-27 13:34 ` Emil Velikov
2017-09-27 18:53 ` Robert Foss
2017-09-27 19:14 ` Sean Paul
2017-09-28 16:22 ` Robert Foss
2017-09-28 16:43 ` Chih-Wei Huang
2017-09-28 21:29 ` Rob Herring
2017-09-29 5:49 ` Chih-Wei Huang
2017-09-29 8:44 ` Robert Foss
2017-09-29 9:07 ` Chih-Wei Huang
2017-09-29 13:16 ` Robert Foss [this message]
2017-09-27 11:58 ` [PATCH hwc v2 2/6] drm_hwcomposer: Add support for IN_FENCE_FD property to DrmPlane Robert Foss
2017-09-27 19:14 ` Sean Paul
2017-09-27 11:58 ` [PATCH hwc v2 3/6] drm_hwcomposer: Submit in-fence to DRM Robert Foss
2017-09-27 18:55 ` Sean Paul
2017-09-27 18:59 ` Robert Foss
2018-02-12 22:10 ` Rob Herring
2017-09-27 11:58 ` [PATCH hwc v2 4/6] drm_hwcomposer: Add FENCE_OUT_PTR property to DrmCrtc Robert Foss
2017-09-27 19:15 ` Sean Paul
2017-09-27 11:58 ` [PATCH hwc v2 5/6] drm_hwcomposer: Add GetCrtcCount function Robert Foss
2017-09-27 19:12 ` Sean Paul
2017-09-28 16:21 ` Robert Foss
2017-09-27 11:58 ` [PATCH hwc v2 6/6] drm_hwcomposer: Add out-fence support Robert Foss
2017-09-27 19:11 ` Sean Paul
2017-09-28 16:21 ` Robert Foss
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=1506690982.2185.7.camel@collabora.com \
--to=robert.foss@collabora.com \
--cc=cwhuang@android-x86.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=salidoa@google.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.