All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alyssa Rosenzweig <alyssa@collabora.com>
To: Robin Murphy <robin.murphy@arm.com>
Cc: Adri??n Larumbe <adrian.larumbe@collabora.com>,
	alyssa.rosenzweig@collabora.com, dri-devel@lists.freedesktop.org,
	Steven Price <steven.price@arm.com>
Subject: Re: [PATCH 2/2] drm/panfrost: replace endian-specific types with generic ones
Date: Wed, 21 Sep 2022 08:26:07 -0400	[thread overview]
Message-ID: <YysC34LemH+Qzd7l@maud> (raw)
In-Reply-To: <6ce0a88e-6114-65b2-9670-6a76cfad068d@arm.com>

> > Or of course we could just actually use native endian and detect from
> > the magic which endian is in use. That would require ripping out the
> > cpu_to_lexx() calls in Linux and making the user space tool more
> > intelligent. I'm happy with that, but it's pushing the complexity onto Mesa.
> 
> If there's a clearly identifiable header, then I'd say making the whole dump
> native-endian is probably the way to go. Unless and until anyone actually
> demands to be able to do cross-endian post-mortem GPU debugging, the
> realistic extent of the complexity in Mesa is that it doesn't recognise the
> foreign dump format and gives up, which I assume is already implemented :)

+1 to this solution. Gets the complexity out of both kernel and Mesa,
and in the vanishingly unlikely scenario that we need this
functionality, we can add it to Mesa without kernel changes. As mesa
panfrost maintainer I'll take those odds :+1:

      reply	other threads:[~2022-09-21 12:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-12 16:44 [PATCH] drm/panfrost: Give name to anonymous coredump object union Adrián Larumbe
2022-09-12 22:59 ` Alyssa Rosenzweig
2022-09-13  8:45 ` Steven Price
2022-09-19  6:44   ` Adrián Larumbe
2022-09-20 13:26     ` Steven Price
2022-09-20 14:58       ` Alyssa Rosenzweig
2022-09-20 21:15         ` [PATCH 1/2] drm/panfrost: Remove type name from internal structs Adrián Larumbe
2022-09-20 21:15           ` [PATCH 2/2] drm/panfrost: replace endian-specific types with generic ones Adrián Larumbe
2022-09-20 22:13             ` Alyssa Rosenzweig
2022-09-21  8:48               ` Steven Price
2022-09-21  9:55                 ` Robin Murphy
2022-09-21 12:26                   ` Alyssa Rosenzweig [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=YysC34LemH+Qzd7l@maud \
    --to=alyssa@collabora.com \
    --cc=adrian.larumbe@collabora.com \
    --cc=alyssa.rosenzweig@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=robin.murphy@arm.com \
    --cc=steven.price@arm.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.