All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilia Mirkin <imirkin@alum.mit.edu>
To: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	open list <linux-kernel@vger.kernel.org>,
	amd-gfx@lists.freedesktop.org,
	Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [RfC PATCH] drm: fourcc byteorder: brings header file comments in line with reality.
Date: Mon, 10 Apr 2017 12:10:14 -0400	[thread overview]
Message-ID: <CAKb7UvhbgSGwx-2EsrQrHmghzYqO9AhRQ10bDWKfdcXHc3fJeQ@mail.gmail.com> (raw)
In-Reply-To: <20170410180941.43922e25@eldfell>

On Mon, Apr 10, 2017 at 11:09 AM, Pekka Paalanen <ppaalanen@gmail.com> wrote:
> On Mon, 10 Apr 2017 16:17:27 +0200
> Gerd Hoffmann <kraxel@redhat.com> wrote:
>
>>   Hi,
>>
>> > which software have you used as representative of "reality"?
>>
>> ppc64 (big endian) virtual machine, running with qemu stdvga & bochs-drm
>> driver.  Xorg with modesetting driver uses DRM_FORMAT_XRGB8888 (one and
>> only format supported by bochs-drm), and we have to interpret that in
>> bigendian byte order on the host side to get a correct display.
>
> I wonder if that is just an oversight from trying to match OpenGL
> formats to DRM formats. It's full of gotcha's.
>
> Did you try with GLAMOR? Do you see a difference with and without
> GLAMOR? Hmm, but you have no GPU support, so GLAMOR would be through a
> Mesa software renderer? I think I heard someone say something about
> Mesa software on BE...
>
> But even if this actually is a valid example of software we must keep
> working as is, well, ouch. But if I cannot show that your fix breaks
> anything, then I suppose you win. Your proposal would certainly solve
> the dilemma we have with wl_shm formats in Wayland.
>
> I also wonder if a real BE machine could have different results than
> the virtual machine.

I have a PPC G5 with an AGP GeForce FX 5200 that I can test things on,
if necessary. (I got it specifically for this purpose, as the people
who use this type of hw daily tend to perform updates rarely... in no
small part due to the fact that updates tend to break the HW.)

Just let know what you need tested, I should be able to turn it around
within a couple of days.

Cheers,

  -ilia

WARNING: multiple messages have this Message-ID (diff)
From: Ilia Mirkin <imirkin@alum.mit.edu>
To: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>,
	amd-gfx@lists.freedesktop.org, Gerd Hoffmann <kraxel@redhat.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [RfC PATCH] drm: fourcc byteorder: brings header file comments in line with reality.
Date: Mon, 10 Apr 2017 12:10:14 -0400	[thread overview]
Message-ID: <CAKb7UvhbgSGwx-2EsrQrHmghzYqO9AhRQ10bDWKfdcXHc3fJeQ@mail.gmail.com> (raw)
In-Reply-To: <20170410180941.43922e25@eldfell>

On Mon, Apr 10, 2017 at 11:09 AM, Pekka Paalanen <ppaalanen@gmail.com> wrote:
> On Mon, 10 Apr 2017 16:17:27 +0200
> Gerd Hoffmann <kraxel@redhat.com> wrote:
>
>>   Hi,
>>
>> > which software have you used as representative of "reality"?
>>
>> ppc64 (big endian) virtual machine, running with qemu stdvga & bochs-drm
>> driver.  Xorg with modesetting driver uses DRM_FORMAT_XRGB8888 (one and
>> only format supported by bochs-drm), and we have to interpret that in
>> bigendian byte order on the host side to get a correct display.
>
> I wonder if that is just an oversight from trying to match OpenGL
> formats to DRM formats. It's full of gotcha's.
>
> Did you try with GLAMOR? Do you see a difference with and without
> GLAMOR? Hmm, but you have no GPU support, so GLAMOR would be through a
> Mesa software renderer? I think I heard someone say something about
> Mesa software on BE...
>
> But even if this actually is a valid example of software we must keep
> working as is, well, ouch. But if I cannot show that your fix breaks
> anything, then I suppose you win. Your proposal would certainly solve
> the dilemma we have with wl_shm formats in Wayland.
>
> I also wonder if a real BE machine could have different results than
> the virtual machine.

I have a PPC G5 with an AGP GeForce FX 5200 that I can test things on,
if necessary. (I got it specifically for this purpose, as the people
who use this type of hw daily tend to perform updates rarely... in no
small part due to the fact that updates tend to break the HW.)

Just let know what you need tested, I should be able to turn it around
within a couple of days.

Cheers,

  -ilia
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2017-04-10 16:10 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 10:12 [RfC PATCH] drm: fourcc byteorder: brings header file comments in line with reality Gerd Hoffmann
2017-04-10 10:12 ` Gerd Hoffmann
2017-04-10 12:02 ` Daniel Vetter
2017-04-10 12:02   ` Daniel Vetter
2017-04-10 16:28   ` Alex Deucher
2017-04-10 16:28     ` Alex Deucher
2017-04-10 13:12 ` Pekka Paalanen
2017-04-10 13:12   ` Pekka Paalanen
2017-04-10 14:17   ` Gerd Hoffmann
2017-04-10 14:17     ` Gerd Hoffmann
2017-04-10 14:45     ` Ilia Mirkin
2017-04-10 14:45       ` Ilia Mirkin
2017-04-10 16:26       ` Alex Deucher
2017-04-10 16:26         ` Alex Deucher
2017-04-10 15:09     ` Pekka Paalanen
2017-04-10 15:09       ` Pekka Paalanen
2017-04-10 16:10       ` Ilia Mirkin [this message]
2017-04-10 16:10         ` Ilia Mirkin
2017-04-11  7:31         ` Pekka Paalanen
2017-04-11  7:31           ` Pekka Paalanen
2017-04-11 11:23           ` Gerd Hoffmann
2017-04-11 11:23             ` Gerd Hoffmann
2017-04-13  7:44             ` Pekka Paalanen
2017-04-13  7:44               ` Pekka Paalanen
2017-04-11 14:18           ` Ilia Mirkin
2017-04-11 14:18             ` Ilia Mirkin
2017-04-17  6:43             ` Ilia Mirkin
2017-04-18  2:53               ` Michel Dänzer
2017-04-18  2:53                 ` Michel Dänzer
2017-04-18  5:04                 ` Ilia Mirkin
2017-04-18  5:04                   ` Ilia Mirkin
2017-04-18  5:58                   ` Michel Dänzer
2017-04-18  5:58                     ` Michel Dänzer
2017-04-18 10:14                     ` Gerd Hoffmann
2017-04-18 10:14                       ` Gerd Hoffmann
2017-04-19  1:01                       ` Michel Dänzer
2017-04-19  1:01                         ` Michel Dänzer
2017-04-19  3:19                         ` Ilia Mirkin
2017-04-19  3:19                           ` Ilia Mirkin
2017-04-19  3:28                           ` Ilia Mirkin
2017-04-19  3:28                             ` Ilia Mirkin
2017-04-19  7:09                         ` Pekka Paalanen
2017-04-19  7:09                           ` Pekka Paalanen
2017-04-19 12:34                           ` Gerd Hoffmann
2017-04-19 12:34                             ` Gerd Hoffmann
2017-04-18 10:00       ` Gerd Hoffmann
2017-04-18 10:00         ` Gerd Hoffmann
2017-04-18 11:18         ` Pekka Paalanen
2017-04-18 11:18           ` Pekka Paalanen
2017-04-18 13:39           ` Gerd Hoffmann
2017-04-18 13:39             ` Gerd Hoffmann
2017-04-18 14:01             ` Pekka Paalanen
2017-04-18 14:01               ` Pekka Paalanen
2017-04-18 20:50               ` Gerd Hoffmann
2017-04-18 20:50                 ` Gerd Hoffmann

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=CAKb7UvhbgSGwx-2EsrQrHmghzYqO9AhRQ10bDWKfdcXHc3fJeQ@mail.gmail.com \
    --to=imirkin@alum.mit.edu \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kraxel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ppaalanen@gmail.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.