Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1631811

Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to drm_mode_legacy_fb_format

From Michel Dänzer <michel@daenzer.net>
Newsgroups linux.kernel
Subject Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to drm_mode_legacy_fb_format
Date 2017-04-27 03:00 +0200
Message-ID <tAFWO-1s3-9@gated-at.bofh.it> (permalink)
References (1 earlier) <tzFFv-3rT-1@gated-at.bofh.it> <tzZbb-7xO-13@gated-at.bofh.it> <tAo9A-6v2-9@gated-at.bofh.it> <tArAu-oA-13@gated-at.bofh.it> <tAu5j-2ac-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 26/04/17 09:11 PM, Gerd Hoffmann wrote:
>   Hi,
> 
>>>> Just to reiterate, this won't work for the radeon driver, which programs
>>>> the GPU to use (effectively, per the current definition that these are
>>>> little endian GPU formats) DRM_FORMAT_XRGB8888 with pre-R600 and
>>>> DRM_FORMAT_BGRX8888 with >= R600.
>>>
>>> Hmm, ok, how does bigendian fbdev emulation work on pre-R600 then?
>>
>> Using a GPU byte swapping mechanism which only affects CPU access to
>> video RAM.
> 
> That is done using the RADEON_TILING_SWAP_{16,32}BIT flag mentioned in
> another thread?

Right.


> What about dumb bos?  You've mentioned the swap flag isn't used for
> those.  Which implies they are in little endian byte order (both gpu and
> cpu view).

Right, AFAICT from looking at the code.


> Does the modesetting driver work correctly on that hardware?

Not sure.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Michel Dänzer <michel@daenzer.net> - 2017-04-25 05:20 +0200
  Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Ville Syrjälä <ville.syrjala@linux.intel.com> - 2017-04-25 12:00 +0200
    Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Michel Dänzer <michel@daenzer.net> - 2017-04-26 04:10 +0200
      Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Ville Syrjälä <ville.syrjala@linux.intel.com> - 2017-04-26 16:40 +0200
  Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Gerd Hoffmann <kraxel@redhat.com> - 2017-04-26 08:00 +0200
    Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Michel Dänzer <michel@daenzer.net> - 2017-04-26 11:40 +0200
      Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Gerd Hoffmann <kraxel@redhat.com> - 2017-04-26 14:20 +0200
        Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Michel Dänzer <michel@daenzer.net> - 2017-04-27 03:00 +0200
          Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Gerd Hoffmann <kraxel@redhat.com> - 2017-04-27 08:50 +0200
            Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Michel Dänzer <michel@daenzer.net> - 2017-04-27 09:10 +0200
              Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Gerd Hoffmann <kraxel@redhat.com> - 2017-04-28 12:10 +0200
    Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Eric Engestrom <eric.engestrom@imgtec.com> - 2017-04-26 15:30 +0200
      Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to  drm_mode_legacy_fb_format Gerd Hoffmann <kraxel@redhat.com> - 2017-04-26 16:00 +0200

csiph-web