Mesa (master): 51 new commits

Kenneth Graunke kwg at kemper.freedesktop.org
Wed May 18 06:48:27 UTC 2011


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e98318fc1722171a07d867a99ab7608ecf758cd
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 12 21:05:30 2011 -0700

    i965: Instead of fallback on missing region, just bind a null renderbuffer.
    
    The change for GPU hanging in 13bab58f04c1ec6d0d52760eab490a0997d9abe2
    fell back even when rb == NULL, which is wrong for GLES2 and caused
    segfaulting in GLES2 conformance.  For the GPU hang case (where the
    broken 2D driver failed to allocate a BO for the window system
    renderbuffer), it also would assertion fail/segfault immediately after
    the fallback setup when the renderbuffer map failed.
    
    Fixes GLES2 conformance packed_depth_stencil.
    
    Signed-off-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=461e193971db4ac456be0d383e9aebf15868542a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 17 12:53:55 2011 -0700

    i965: Updated fixed-point sizes in Ivybridge SAMPLER_STATE.
    
    Texture LOD Bias is now S4.8 instead of S4.6;
    Min LOD, and Max LOD are now U4.8 instead of U4.6.
    
    Fixes piglit test tex-miplevel-selection.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ead7d73a5143ccfc55e6c00b8ab5ba0b893e5f33
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 17 14:17:21 2011 -0700

    i965: Ivybridge uses the Gen4 SAMPLER_BORDER_COLOR_STATE.
    
    Volume 5c 1.13.7 lists it as [PreDevILK] and [DevIVB+].
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2c1f8ff1d98f03be79892b7730372afdb94ba58
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 26 12:25:56 2011 -0700

    egl: Recognize Ivybridge PCI IDs.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b3d354743269ac1da80984da55d7545974f7345
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 22 16:45:52 2011 -0700

    intel: Recognize new Ivybridge PCI IDs.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f5e0d2a908d4f7ba781d70731172a07b640f401
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri May 13 09:25:27 2011 -0700

    i965: Disable register spilling on Ivybridge for now.
    
    The data port messages for this are rather different.  For now, fail to
    compile rather than hanging the GPU.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=344283de5d3f4e2bfa10455f6b974cf731184b55
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 11 02:18:24 2011 -0700

    i965: Fix RNDZ and RNDE on Sandybridge and Ivybridge.
    
    On gen4/5, the RNDZ and RNDE instructions return floor(x), but set special
    "round increment bits" in the flag register; a predicated ADD (+1) fixes
    the result.
    
    The documentation still lists '.r' as existing, and says that the
    predicated add is necessary, but it apparently lies.  According to the
    simulator, BRW_CONDITIONAL_R (7) is not a valid conditional modifier
    and the RNDZ and RNDE instructions simply produce the correct value.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=199a2f90abdd5dd11f8e2b95e587401d3b46f3ff
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 11 01:49:10 2011 -0700

    i965: Fix data port reads on Ivybridge.
    
    These also need to use gen7_dp.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a95568f64a6641a49a2d4855272e9be2ac2db6d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed May 11 07:54:57 2011 -0700

    i965: Avoid register coalescing away MATH workarounds on Ivybridge.
    
    The MATH instruction cannot handle source modifiers, even on Gen7.
    So, apply this workaround for Sandybridge on Ivybridge as well.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e918163dfbdc829f31a0aefc07248c49b890d1d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 30 01:30:55 2011 -0700

    i965: Make the CONT instruction point to the WHILE instruction.
    
    This fixes piglit test glsl-fs-loop-continue.shader_test on Ivybridge.
    According to the documentation, the CONT instruction's UIP field should
    point to the WHILE instruction on both Sandybridge and Ivybridge.
    
    The previous code made UIP point to the implicit DO instruction, which
    seems incorrect.  I'm not sure how it could have worked on Sandybridge.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77397ef96edbc17a698ae2a02ec4807b1059c036
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 30 01:17:52 2011 -0700

    i965: Add support for loops on Ivybridge.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64ce592679a5b08d66e3cbbf964f9e695e14aee1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Mar 15 23:53:40 2011 -0700

    i965: Add support for IF/ELSE/ENDIF control flow on Ivybridge.
    
    Ivybridge's IF instruction doesn't support conditional modifiers.
    It also introduces UIP, which must point to the ENDIF instruction.
    
    ELSE and ENDIF remain the same except that JIP moves from dst to src1.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff6e3c73f6553cd29b915497b5b00e3ef158a27d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 14:19:04 2011 -0700

    i965: Add support for Ivybridge texturing messages.
    
    Ivybridge puts the shadow comparator first, then lod/bias, and finally
    the coordinate---unlike previous generations which always reserved four
    slots for the coordinate at the beginning.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36f8de02e71ee5c2ca55d86c486eb00d043ae1f5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 01:43:10 2011 -0700

    i965: Fix sampler message descriptor on Ivybridge.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f44043da37bcd0c481ceddf4f878ddb3419b763
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Apr 28 22:46:15 2011 -0700

    i965: Fix SAMPLER_STATE on Ivybridge.
    
    Most of this code copied from brw_wm_sampler_state.c.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3984372104ec6ac5986dedb07b8ca99d53dede18
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 01:18:20 2011 -0700

    i965: Mark some brw_wm_sampler_state.c helper functions as non-static.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2b6cc662271d611462532222ef2fcc30042bd0f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 27 18:12:20 2011 -0700

    i965: Update SURFACE_STATE for Ivybridge.
    
    I'm still not happy with the amount of code duplication here, but it
    will have to do for now.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c12a93d5c452da16ff0c8955e55770b8eda28036
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 27 18:11:31 2011 -0700

    i965: Mark a few more brw_wm_surface_state functions as non-static.
    
    I need to reuse them.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70c6cd39bd9396b0d3f9e84df41fd8bef1f26cc4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 27 18:03:49 2011 -0700

    i965: Change brw_format_for_mesa_format to a non-static function.
    
    This will make it easier to share between files.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62b79b4bb9d8a4a8679c3d1e1f5455ce33d7b90a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 19 15:38:10 2011 -0700

    i965: Set Address Modify Enable in VERTEX_BUFFER on Ivybridge.
    
    Otherwise, Ivybridge seems to ignore the newly supplied data, giving us
    rubbish for vertices.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09d881bf7420c97a0f684283c24b8ec3e42404ff
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 26 17:24:38 2011 -0700

    i965: Enable channel masks in Ivybridge's URB_WRITE_HWORD header.
    
    This shouldn't be done using MRFs, but until I have a proper solution
    for dealing with MRFs, this allows my hack to keep working.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97d4d6f77e885d2c343697f26a5ecf821caaf13b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Apr 18 23:59:30 2011 -0700

    i965: Fix the URB write message descriptor on Ivybridge.
    
    The message header is still incorrect, but this is a start.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce526a7452abf552af38b86bd3546d6ff9a83194
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Apr 18 23:38:21 2011 -0700

    i965: Fix render target writes on Ivybridge.
    
    Ivybridge shifts the data port messages by one bit.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=482e8a6cd59292c58b11a9282632aaa9b24f44ae
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 00:32:46 2011 -0700

    i965: Mad hacks to avoid using MRFs on Ivybridge.
    
    Ivybridge's SEND instruction uses GRFs instead of MRFs.  Unfortunately,
    a lot of our code explicitly uses MRFs, and rewriting it would take a
    fair bit of effort.  In the meantime, use a hack:
    
    - Change brw_set_dest, brw_set_src0, and brw_set_src1 to implicitly
      convert any MRFs into the top 16 GRFs.
    - Enable gen6_resolve_implied_move on Ivybridge: Moving g0 to m0
      actually moves it to g111 thanks to the previous hack.
    
    It remains to officially reserve these registers so the allocator
    doesn't try to reuse them.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=550ad737f77cfae9abf2db1638711713ad9d920e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Apr 12 11:51:36 2011 -0700

    i965: Emit 3DPRIMITIVE Ivybridge-style.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa4b23581b4ee8a07400364dccbd61b749c2d1d1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Apr 14 14:56:19 2011 -0700

    i965: Don't use the GS for breaking down quads on Ivybridge.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d58400eb4a2605640267436f63d9e856fb3c1f96
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 00:53:46 2011 -0700

    i965: Emit extra 0's in 3DSTATE_MULTISAMPLE on Ivybridge.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c8985bdd714f43a96ce922a7c0284d50aec3d1a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 8 23:51:21 2011 -0700

    i965: Add depth buffer support on Ivybridge.
    
    This also disables the HiZ and separate stencil buffers.  We still need
    to implement stencil.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc08d4ebb832769aacb4aecaaf1e490f97c53d65
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Feb 8 17:27:37 2011 -0800

    i965: Upload sampler state pointers on Ivybridge.
    
    Since we currently only support sampling in the fragment shader, we only
    bother to emit the PS variant.  In the future we'll need to emit others.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a94fe79464df088d8e26386d3f0db9a231bfdb61
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Apr 20 18:23:38 2011 -0700

    i965: Disable binding table pointers for unused pipeline stages.
    
    This may not be necessary, but it seems like a good idea.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=706dbf85f15d42c320481dabe2a3db0c2cbbebb8
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Feb 22 13:30:34 2011 -0800

    i965: Upload binding table pointers on Ivybridge.
    
    Ivybridge uses per-stage commands to update binding table pointers.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0e2c045965f7bd4becae3dce8394f8455184e0d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Feb 22 13:30:02 2011 -0800

    i965: Split BRW_NEW_BINDING_TABLE dirty bit into one per stage.
    
    Ivybridge can update each stage's binding table pointer independently,
    so we want separate dirty bits.  Previous generations can simply
    subscribe to all three dirty bits and emit as usual.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bac10b58de69108bdb2cc3358733e2648ab7c5d2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 02:30:34 2011 -0700

    i965: Explicitly disable unused pipeline stages on Ivybridge.
    
    This may not be strictly necessary, but seems wise.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b2010df7d55ad9feacbbcf708a83a66cdf91aaf
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 01:16:06 2011 -0700

    i965: Initial Ivybridge VS state.
    
    Copied from gen6_vs_state.c; reuses create_vs_constant_bo from there.
    
    The 3DSTATE_VS command is identical but 3DSTATE_CONSTANT_VS is not.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18402fbf79e96d7afb6b690906a7656f01a92b9d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Feb 9 00:49:59 2011 -0800

    i965: Initial Ivybridge Viewport state setup.
    
    SF and CLIP viewport state has been combined into SF_CLIP_VIEWPORT;
    SF_CLIP and CC state pointers can now be uploaded independently.
    
    Some portions of the hardware documentation refer to separate upload
    commands for SF and CLIP; these are outdated and incorrect.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81fd03fe56372c5c702bf257e821cea71ee25448
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Mar 28 13:12:21 2011 -0700

    i965: Initial Ivybridge Clip state setup.
    
    Copied from gen6_clip_state.c.
    
    This enables early culling and sets the necessary fields.  Otherwise, it
    is entirely the same, so I doubt this patch is strictly necessary for a
    functional driver.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24d0ed72c1817b624e3021b12a0987b2c5edd71b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Feb 9 01:05:40 2011 -0800

    i965: Initial Ivybridge CC state setup.
    
    The state itself still seems to be the same; the only change is that
    each part (CC, BLEND, DEPTH_STENCIL) can now be uploaded independently.
    Thus, we still rely on the code in gen6_cc.c to set up the state.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a924d69b57a82c02f2d4fba3fc0b31bf6a4f744e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Feb 2 16:00:08 2011 -0800

    i965: Initial Ivybridge WM/PS state setup.
    
    Copied from gen6_wm_state.c.
    
    The main change from Sandybridge seems to be that 3DSTATE_WM was split
    into two separate state packet commands: 3DSTATE_WM and 3DSTATE_PS.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d608d0c331c101088273655708965fb9f1be56e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 5 01:21:06 2011 -0800

    i965: Initial Ivybridge SF/SBE state setup.
    
    Copied from gen6_sf_state.c.
    
    The main change from Sandybridge seems to be that 3DSTATE_SF was split
    into two separate state packet commands: 3DSTATE_SF and 3DSTATE_SBE
    ("setup backend").  The bit-offsets are even the same - only the DWords
    numbers have shuffled around a bit.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dc4bc1f78db876d2dcb76153ecf9992fcce73e4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Apr 29 00:29:02 2011 -0700

    i965: Make gen6_sf_state.c's get_attr_override non-static.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8832920c298f4e13ffd5e53feeba509be69edb16
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Mar 27 01:18:41 2011 -0700

    i965: Initial Ivybridge URB space partitioning, including push constants.
    
    Currently this always reserves 16kB for push constants, regardless of
    how much space is needed, and partitions it evenly betwen the VS and FS.
    This is probably not ideal, but is straightforward.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=477e2fe0318c79978dedd51a5a6039cf05fc59fb
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Apr 9 01:57:31 2011 -0700

    i965: Set maximum number of threads for Ivybridge.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=235fa21a0950150bcb78851e2d0cd2deeb1536f8
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Feb 3 11:10:23 2011 -0800

    i965: Split out tracked state atoms for Ivybridge.
    
    Currently, gen7_atoms is a verbatim copy of gen6_atoms; future commits
    will update it to contain gen7-specific state.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89a82d72cafc1efbcf099e5229ba9b1cb53504f0
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 15:19:22 2011 -0700

    intel: Initial IS_GEN7 plumbing.
    
    Currently, IS_GEN7, IS_IVYBRIDGE, IS_IVB_GT1, and IS_IVB_GT2 all return
    false.  This allows me to write the code for them before actually adding
    the PCI IDs and thus enabling the hardware.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d55471768e308853432de7d18f663034ddbc8599
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat May 14 23:42:46 2011 -0700

    i965: Rename max_vs_handles to max_vs_entries for consistency.
    
    The documentation uses the term "vertex URB entries", the code talks
    about "entry size", and so on.  Also, handles are just "pointers" to
    entries (actually small integers).
    
    Also rename max_gs_handles to max_gs_entries.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0f0d064825c457964614bee8fedcf31526a0775
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 14:17:15 2011 -0700

    i965: Convert BRW_NEW_* dirty bits to use an enum.
    
    This will make it much easier to add new dirty bits.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Chad Versace <chad.versace at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c638180fc715aff84422c1092926120af966d417
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 13:40:00 2011 -0700

    i965: Rework IF/ELSE jump target back-patching.
    
    The primary motivation for this is to better support Ivybridge control
    flow.  Ivybridge IF instructions need to point to the first instruction
    of the ELSE block -and- the ENDIF instruction; the existing code only
    supported back-patching one instruction ago.
    
    A second goal is to simplify and centralize the back-patching, hopefully
    clarifying the code somewhat.
    
    Previously, brw_ELSE back-patched the IF instruction, and brw_ENDIF
    back-patched the previous instruction (IF or ELSE).  With this patch,
    brw_ENDIF is responsible for patching both the IF and (optional) ELSE.
    
    To support this, the control flow stack (if_stack) maintains pointers to
    both the IF and ELSE instructions.  Unfortunately, in single program
    flow (SPF) mode, both were emitted as ADD instructions, and thus
    indistinguishable.
    
    To remedy this, this patch simply emits IF and ELSE, rather than ADDs;
    brw_ENDIF will convert them to ADDs (the SPF version of back-patching).
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5936d96d33e767aa99f6afa92f2a6582ff04df23
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 12:25:18 2011 -0700

    i965: Move IF stack handling into the EU abstraction layer/brw_compile.
    
    This hides the IF stack and back-patching of IF/ELSE instructions from
    each of the code generators, greatly simplifying the interface.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=774fb90db3e83d5e7326b7a72e05ce805c306b24
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 11:49:57 2011 -0700

    i965: Get a ralloc context into brw_compile.
    
    This would be so much easier if we were using C++; we could simply use
    constructors and destructors.  Instead, we have to update all the
    callers.
    
    While we're at it, ralloc various brw_wm_compile fields rather than
    explicitly calloc/free'ing them.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebeea9857339da5f0f0455c45a8350190bbad189
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 11:41:32 2011 -0700

    i965/gs: Move generation check for bailing earlier.
    
    On Sandybridge, we don't need to break down primitives.  There's no need
    to bother setting up brw_compile and such if it's not going to be used;
    bail as early as possible.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6175d78705aaca23fc5561a3a73be0b6a952b27
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon May 16 22:00:17 2011 -0700

    i965: Add _NEW_LIGHT to Gen6 clip state dirty bits.
    
    ctx->Light.ProvokingVertex depends on _NEW_LIGHT.
    
    Found by inspection.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>




More information about the mesa-commit mailing list