[Mesa-dev] i965: Transition the rest of surfaces (i.e., color) to isl

Tomasz Figa tfiga at chromium.org
Sat Jul 29 03:17:37 UTC 2017


Hi Topi, Jason,

On Sat, Jul 22, 2017 at 12:00 AM, Topi Pohjolainen
<topi.pohjolainen at gmail.com> wrote:
> First patch actually should have been included already when
> gen6 stencil got transitioned - it has been giving warning ever
> since.
>
> Most of the work actually got already done for depth surfaces (which
> is y-tiled such as color surfaces). What is left are color surface
> specifics, mostly preparing for corner cases.
>
> This is now all green in ci-system. For snb and older i965 wasn't
> checking hardware incapabilities as hard as isl does. Certain
> format/size/msaa combinations were allowed that shouldn't have.
> Moving to isl exposed code paths that didn't report surface creation
> failures resulting in asserts firing later on. Patches 10 and 11
> now properly tell the client if the surface type can't be supported
> allowing piglit tests to skip them.

I think it might be related to previously merged patches, but the
topic is still ISL, so let me ask my question here. Is there any
possibility to add some diagnostic information to the validation code?
We've been seeing EGL image import failures on new Mesa as a result of
ISL catching issues in our allocator (cros_gralloc on top of ChromeOS
minigbm), but it's close to impossible to identify the cause without
manually inserting some printfs and recompiling the code. I think
having some error messages printed in case of a buffer validation
failure would be a great benefit.

Best regards,
Tomasz


More information about the mesa-dev mailing list