[Mesa-stable] Pick 048d4c45c94eb8d99f2a53f3bf200b2c6a9f9629 to 17.3?

Kenneth Graunke kenneth at whitecape.org
Tue Oct 31 03:54:02 UTC 2017


Hi,

I forgot to mark commit 048d4c45c94eb8d99f2a53f3bf200b2c6a9f9629 with
a Cc: "17.3" <mesa-stable at lists.freedesktop.org>.  If you could pick it,
that would be much appreciated.  Thanks!

--Ken

commit 048d4c45c94eb8d99f2a53f3bf200b2c6a9f9629
Author: Plamena Manolova <plamena.manolova at intel.com>
Date:   Mon Oct 30 21:14:24 2017 +0000

    i965: Fix ARB_indirect_parameters logic.
    
    This patch modifies the ARB_indirect_parameters logic in
    brw_draw_prims, so that our implementation isn't affected if
    another application attempts to use predicates. Previously we
    were using a predicate with a DELTAS_EQUAL comparison operation
    and relying on the MI_PREDICATE_DATA register being 0. Our code
    to initialize MI_PREDICATE_DATA to 0 was incorrect, so we were
    accidentally using whatever value was written there. Because the
    kernel does not initialize the MI_PREDICATE_DATA register on
    hardware context creation, we might inherit the value from whatever
    context was last running on the GPU (likely another process).
    The Haswell command parser also does not currently allow us to write
    the MI_PREDICATE_DATA register. Rather than fixing this and requiring
    an updated kernel, we switch to a different approach which uses a
    SRCS_EQUAL predicate that makes no assumptions about the states of any
    of the predicate registers.
    
    Fixes Piglit's spec/arb_indirect_parameters/tf-count-arrays test.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103085
    Signed-off-by: Plamena Manolova <plamena.manolova at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20171030/2bc0ac46/attachment-0001.sig>


More information about the mesa-stable mailing list