Mesa (master): 27 new commits

Topi Pohjolainen tpohjola at kemper.freedesktop.org
Thu Jul 20 09:16:54 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67b53ee41837bb4438dd473f92b4906734cc4fbe
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Sat Apr 22 11:42:02 2017 +0300

    i965: Represent depth surfaces with isl
    
    v2 (Jason):
       - s/separate_stencil_surface/make_separate_stencil_surface/
       - drop the check for separate stencil when wrapping an
         existing buffer object with miptree. This is dead code as
         the first needs_separate_stencil() checks is
         MIPTREE_LAYOUT_FOR_BO-flag and says no.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05232a236115a5c3fc8a6586d8334ce65a30bb99
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jun 7 11:00:43 2017 +0300

    i965: Drop redundant check for non-tiled depth buffer
    
    Depth buffers are always Y-tiled. In brw_miptree_choose_tiling()
    driver opts to use linear buffers for small and 1D but this does
    not apply for depth - GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL_EXT
    are considered first.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4ac0d4949a4f33bf9d1b5298304b5743c0f23e0
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Fri Jul 7 08:40:50 2017 +0300

    intel/isl/gen4: Represent cube maps with 3D layout
    
    v2 (Jason): Check for !ISL_SURF_DIM_3D instead of CUBE_BIT.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9d3880346408917b55152f0a25d7a49efbfdc26
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jun 28 12:56:27 2017 +0300

    i965/miptree: Prepare 3D surfaces with physical 2D layout
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba4d0593f962602de3a4c732f82dc75173c48427
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Tue Jun 13 21:30:45 2017 +0300

    i965/miptree: Prepare aux state map for isl based
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bec048d9e22edae1663f92b57f2e64e4593a676a
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Apr 27 10:45:05 2017 +0300

    i965/miptree: Represent y-tiled stencil copies with isl
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f69a2ffe4440779cea76220df9ac2e37c2c74a70
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Fri May 26 11:36:38 2017 +0300

    i965/miptree: Represent w-tiled stencil surfaces with isl
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c84cb81771ac72880d0d40529e3952b361b3a4c1
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon Jul 3 12:57:57 2017 +0300

    i965/miptree: Prepare compressed offsets for isl based
    
    v2 (Jason): Simply switch to isl_surf_get_image_offset_el()
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=40e75aba730ddeb41ca4bbc25caa61054f2bbc99
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jun 28 08:56:26 2017 +0300

    i965/miptree: Add support for imported bo offsets for isl based
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f795effe512b77a21b1dd4b98430325657e1e65
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Sun Jun 4 12:36:08 2017 +0300

    i965/fbo: Add support for isl-based miptrees in rb wrapper
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=066dc9335e7afd1060bbec0f108abfc994eed514
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 21:50:18 2017 +0300

    i965: Prepare image setup from miptree for isl based
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76a3ce8fa583262d8650667390e53900e7799453
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon Apr 24 17:41:51 2017 +0300

    i965: Prepare tex, img and rt state emission for isl based miptrees
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63a43f41619c29905def36c4f0e04d9405e68e93
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Mon Apr 24 17:29:01 2017 +0300

    i965: Refactor miptree to isl converter and adjustment
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1caa6194eb88ada096942bab99f7b331544e0e9
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 21:28:15 2017 +0300

    i965: Prepare tex (sub)image for isl based
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e5c8e593bdcec4b698d710740ddc5c8dd94f8dc
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 21:20:51 2017 +0300

    i965/wm: Prepare image surfaces for isl based
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59bf765c363acccafd03cc7499046e593b88ab34
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jul 19 16:45:44 2017 +0300

    i965/wm: Fix number of layers in 3D images
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07caa5932c64076acf8c8e82a1c12d6168984852
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 21:12:40 2017 +0300

    i965/miptree: Prepare intel_miptree_copy() for isl based
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a844e6a8f40ce5c1c26f8110585cfc974bb16a8b
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 21:04:29 2017 +0300

    i965: Prepare blit engine for isl based miptrees
    
    v2: Do not concern cpp, pitch and tiling which are already
        transitioned.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e1494f13993c5c1e260be4cd92398714de28e32
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 20:56:47 2017 +0300

    i965/miptree: Store chars-per-pixel even for isl based
    
    This will significantly reduce chrun when switching remaaining
    surface types to isl. After the full transition it will be easier
    to calculate on-demand and drop the helper member in miptree.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b95caac539c4b0cc98ab613e33b5405080cdeab8
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 15:54:04 2017 +0300

    i965/miptree: Switch to isl_surf::row_pitch
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37152a559689f475edd764cc3937174e84542beb
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jul 19 13:04:06 2017 +0300

    i965/miptree: Take interleaving into account in stencil pitch
    
    This makes intel_mipmap_tree::pitch and isl_surf::row_pitch
    semantically equivalent.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43c3b5b523445c7053d7b2cbaca954244fa39c06
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 15:17:41 2017 +0300

    i965/miptree: Switch to isl_surf::tiling
    
    v2 (Daniel): Use isl tiling converters instead of introducing local.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=171b72542ccbf54097079f3ffe20440d3e2c4316
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jul 19 20:35:29 2017 +0300

    intel/isl: Add i915 to isl_tiling converter
    
    v2: s/i915_tiling_to_isl_tiling(/isl_tiling_from_i915_tiling/
    
    Reviewed-by: Daniel Stone <daniels at collabora.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8521b9960e4f0202cc61feb5eab4b34c0cfde60
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jul 19 20:30:30 2017 +0300

    i965/miptree: Use isl_tiling_to_i915_tiling()
    
    and drop local copy.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a92e6ff31579649ecbd2a6d5d5cf7311916d2bac
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 14:03:31 2017 +0300

    i965/miptree: Switch to isl_surf::samples
    
    v2 (Jason):
       - Don't trigger miptree re-creation in vain later on with ISL
         based. Core GL uses zero to indicate single sampled while
         ISL uses one - this would cause intel_miptree_match_image()
         to always fail.
       - Now that native miptree is already using sample number of
         one, there is no need for MAX2() when converting to ISL.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e2f390f9863a356d1419982dec705260d67eff
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Wed Jul 19 09:25:19 2017 +0300

    i965/miptree: Use num_samples of 1 instead of 0 for single-sampled
    
    Patch moves "assert(brw->num_samples <= 16)" from
    emit_3dstate_multisample2() to upload_multisample_state(). Latter
    is the only caller of the former and passes "brw->num_samples"
    as argument. Therefore it is clearer to assert in the caller.
    
    Possible bug fix in genX(emit_3dstate_multisample2) which
    doesn't have a case for num_samples == 0 in the switch
    statement.
    
    It should be noted that intel_miptree_map()/unmap() now checks
    additionally for "mt->surf.samples == 1" in order to support gen6
    stencil which is already transitioned to ISL. This will go away in
    next patch when native miptrees start to use isl_surf::samples as
    well.
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e8b81af7b6fa44910b1c54fe45ba455da07bf43
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date:   Thu Jun 22 09:44:57 2017 +0300

    i965/miptree: Switch to isl_surf::msaa_layout
    
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>




More information about the mesa-commit mailing list