On 03.06.2016 19:52, Marek Olšák wrote:
> From: Marek Olšák <[email protected]>
> 
> Simply ignore the "scanout" flag if the surface dimensions are unlikely
> to be used by DCE.

I don't like this.

Ideally, there should be feedback from the display server so that he
state tracker(s) can set the PIPE_BIND_SCANOUT flag only when it's
really necessary.

In the meantime, if we want to go for a hack like this, it should be in
the place(s) setting the flag instead of the driver ignoring it.


> Also ignore the "scanout" flag for non-2D, non-color, and AA surfaces.

If there's any code setting PIPE_BIND_SCANOUT for such surfaces, it's
buggy and should be fixed.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to