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

Michel Dänzer michel at daenzer.net
Tue Dec 3 20:16:45 PST 2013


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