Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753873AbdDJOpk (ORCPT ); Mon, 10 Apr 2017 10:45:40 -0400 Received: from mail-qt0-f173.google.com ([209.85.216.173]:32898 "EHLO mail-qt0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728AbdDJOph (ORCPT ); Mon, 10 Apr 2017 10:45:37 -0400 MIME-Version: 1.0 In-Reply-To: <1491833847.30990.77.camel@redhat.com> References: <20170410101202.19229-1-kraxel@redhat.com> <20170410161214.305f5daf@eldfell> <1491833847.30990.77.camel@redhat.com> From: Ilia Mirkin Date: Mon, 10 Apr 2017 10:45:26 -0400 X-Google-Sender-Auth: PIGj9TUpy5yOwHwzgYn8FpJVCZ8 Message-ID: Subject: Re: [RfC PATCH] drm: fourcc byteorder: brings header file comments in line with reality. To: Gerd Hoffmann Cc: Pekka Paalanen , Daniel Vetter , amd-gfx@lists.freedesktop.org, open list , "dri-devel@lists.freedesktop.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1199 Lines: 29 On Mon, Apr 10, 2017 at 10:17 AM, Gerd Hoffmann 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. > > Didn't try wayland. Can do, but will take a while. Don't have a > wayland-capable guest install at hand, and installing one takes a while > because I don't have a physical pseries and emulation is slooooww. > >> To solve that problem, we would like to know if anything existing would >> break for each possible solution, but no developers using BE have really >> turned up. > > That is part of the problem. > And even ppc is moving to little endian these days ... The poor saps who are still using PPC G4's and G5's with NVIDIA and ATI boards constantly get their working setups broken by people trying to "fix" BE. I think it's important to keep them in mind, and test those setups, whenever one tries to make a large sweeping change. Cheers, -ilia