All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Ryan Eatmon <reatmon@ti.com>
Cc: afd@ti.com, meta-arago@lists.yoctoproject.org
Subject: Re: [meta-arago][master/kirkstone][PATCH] weston: update bbappend 9.0.0 -> 10.0.2
Date: Wed, 18 Jan 2023 16:50:07 -0500	[thread overview]
Message-ID: <20230118215007.GK22689@denix.org> (raw)
In-Reply-To: <703f4c52-85a0-598e-c6c9-2e08d2048614@ti.com>

On Wed, Jan 04, 2023 at 04:15:44PM -0600, Andrew Davis via lists.yoctoproject.org wrote:
> On 1/4/23 3:07 PM, Denys Dmytriyenko wrote:
> >On Wed, Jan 04, 2023 at 01:07:39PM -0600, Andrew Davis via lists.yoctoproject.org wrote:
> >>To match upstream oe-core/master.
> >>
> >>Signed-off-by: Andrew Davis <afd@ti.com>
> >>---
> >>  ...equire-GL_EXT_unpack_subimage-commit.patch | 91 +++++++++++++++++++
> >>  ...ct-plane-based-on-current-attached-C.patch | 52 +++++------
> >>  ..._9.0.0.bbappend => weston_10.0.2.bbappend} |  3 +-
> >>  3 files changed, 115 insertions(+), 31 deletions(-)
> >>  create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston/0001-Revert-require-GL_EXT_unpack_subimage-commit.patch
> >>  rename meta-arago-distro/recipes-graphics/wayland/{weston_9.0.0.bbappend => weston_10.0.2.bbappend} (78%)
> >>
> >>diff --git a/meta-arago-distro/recipes-graphics/wayland/weston/0001-Revert-require-GL_EXT_unpack_subimage-commit.patch b/meta-arago-distro/recipes-graphics/wayland/weston/0001-Revert-require-GL_EXT_unpack_subimage-commit.patch
> >>new file mode 100644
> >>index 00000000..8bc882fb
> >>--- /dev/null
> >>+++ b/meta-arago-distro/recipes-graphics/wayland/weston/0001-Revert-require-GL_EXT_unpack_subimage-commit.patch
> >>@@ -0,0 +1,91 @@
> >>+From 6558a9153cc81199146132041c61023a2c2e1b2e Mon Sep 17 00:00:00 2001
> >>+From: Andrew Davis <afd@ti.com>
> >>+Date: Thu, 6 Oct 2022 15:49:31 -0500
> >>+Subject: [PATCH] Revert require GL_EXT_unpack_subimage commit
> >>+
> >>+This reverts commit 593d5af43a8e2c2a3371088fa7ae430d0517c82d.
> >>+
> >>+That commit removed support for GPU drivers without GL_EXT_unpack_subimage
> >>+which SGX does not support. Add back support for GPUs without this
> >>+extension.
> >
> >The obvious question - how safe is it to assume GL_EXT_unpack_subimage is
> >not being used some place else outside of this commit and not guarded by:
> >
> >if (!gr->has_unpack_subimage)
> >
> >
> >Is this extention really in the driver, or just in a Mesa API translation
> >layer? Could it be better fixed in the DDK?
> >
> 
> You are right, it is not a very safe assumption, this patch is almost certainly
> not complete for all cases. And even if it was, it only fixes Weston, others like
> wlroots have the same issues[0], so other compositors are going to be broken too.
> 
> Long term this extension will need added to the driver. Unfortunately all work on
> keeping this driver alive is unofficial, and I just don't have the free time to
> add and test new extensions right now :(
> 
> Andrew
> 
> [0] https://github.com/tmlind/wlroots/commit/04491889240bbadb693aa37036dc55835118b2cc

Ryan,

I see you are pulling this patch to the WIP branches - what's the consensus 
here? As discussed, this is a very partial solution. Moreover, it only "fixes" 
meta-arago, so won't help people using just meta-ti with other distros...

-- 
Denys


  reply	other threads:[~2023-01-18 21:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04 19:07 [meta-arago][master/kirkstone][PATCH] weston: update bbappend 9.0.0 -> 10.0.2 Andrew Davis
2023-01-04 21:07 ` Denys Dmytriyenko
2023-01-04 22:15   ` Andrew Davis
2023-01-18 21:50     ` Denys Dmytriyenko [this message]
2023-01-18 22:34       ` Andrew Davis
2023-01-19 22:58         ` Denys Dmytriyenko

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=20230118215007.GK22689@denix.org \
    --to=denis@denix.org \
    --cc=afd@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=reatmon@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.