[Mesa-dev] [PATCH] winsys/radeon: set/get the scanout flag with the tiling ioctls

Marek Olšák maraeo at gmail.com
Wed Dec 4 05:11:21 PST 2013


I wanted to keep the old behavior for R600, because it doesn't have
the issue as far as I know.

Marek

On Wed, Dec 4, 2013 at 5:16 AM, Michel Dänzer <michel at daenzer.net> wrote:
> On Fre, 2013-11-29 at 19:08 +0100, Marek Olšák wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> If we assume that all buffers allocated by the DDX are scanout, a new flag
>> that says "this is not scanout" has to be added to support the non-scanout
>> buffers and maintain backward compatibility.
>>
>> This fixes bad rendering on Wayland.
>>
>> The flag is defined as:
>>   #define RADEON_TILING_R600_NO_SCANOUT   RADEON_TILING_SWAP_16BIT
>>
>> AFAIK, RADEON_TILING_SWAP_16BIT is not used on SI.
>
> Is it used on >= R600? If not, might it make sense to use the new flag
> as of R600?
>
> Either way though,
>
> Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
>
>
> --
> Earthling Michel Dänzer            |                  http://www.amd.com
> Libre software enthusiast          |                Mesa and X developer
>


More information about the mesa-dev mailing list