Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ilo: fix some state pointer commands on Gen8 | Chia-I Wu | 2015-02-15 | 1 | -0/+20 |
| | | | | | | 3DSTATE_CC_STATE_POINTERS seems to be ignored when bit 0 of DW1 is not set. Follow i965 and set the bit for 3DSTATE_CC_STATE_POINTERS and 3DSTATE_BLEND_STATE_POINTERS. Add gen checks for all state pointer commands. | ||||
* | nvc0: allow holes in xfb target lists | Ilia Mirkin | 2015-02-14 | 2 | -4/+13 |
| | | | | | | | | Tested with a modified xfb-streams test which outputs to streams 0, 2, and 3. Signed-off-by: Ilia Mirkin <[email protected]> Cc: "10.4 10.5" <[email protected]> | ||||
* | nvc0: bail out of 2d blits with non-A8_UNORM alpha formats | Ilia Mirkin | 2015-02-14 | 1 | -2/+5 |
| | | | | | | | | This fixes the teximage-colors uploads with GL_ALPHA format and non-GL_UNSIGNED_BYTE type. Signed-off-by: Ilia Mirkin <[email protected]> Cc: "10.4 10.5" <[email protected]> | ||||
* | clover: Use Legacy PassManager for LLVM trunk (3.7) | Shawn Starr | 2015-02-14 | 1 | -0/+9 |
| | | | | | Reviewed-by: Tom Stellard <[email protected]> Signed-off-by: Shawn Starr <[email protected]> | ||||
* | ilo: fix JIP/UIP on Gen8 | Chia-I Wu | 2015-02-14 | 2 | -9/+25 |
| | | | | UIP is in DW2 and JIP is in DW3 on Gen8. Also, the units are in bytes. | ||||
* | ilo: do not set GEN6_THREADCTRL_SWITCH | Chia-I Wu | 2015-02-14 | 1 | -4/+0 |
| | | | | It is not needed on Gen6+, and it appears to be broken on Gen8. | ||||
* | ilo: correct ISA UIP/JIP decoding for Gen8 | Chia-I Wu | 2015-02-14 | 1 | -18/+39 |
| | | | | JIP is int32_t and UIP is in DW2 on Gen8. | ||||
* | ilo: prepare for 64-bit immediates decoding | Chia-I Wu | 2015-02-14 | 1 | -15/+31 |
| | | | | Replace imm32 by imm64. Add more ways (UD, D, etc) to access the immediate. | ||||
* | ilo: cleanup ISA DW1 decoding | Chia-I Wu | 2015-02-14 | 1 | -34/+55 |
| | | | | Decode the higher and lower 16 bits separately. | ||||
* | ilo: cleanup ISA DW0 decoding | Chia-I Wu | 2015-02-14 | 1 | -10/+16 |
| | | | | | Add disasm_inst_decode_dw0_opcode_gen6() to decode the opcode. Simplify branch_ctrl/acc_wr_ctrl decoding. | ||||
* | ilo: update some outdated gen checks | Chia-I Wu | 2015-02-14 | 1 | -4/+4 |
| | | | | | | Update gen checks for 3DSTATE_POLY_STIPPLE_OFFSET, 3DSTATE_POLY_STIPPLE_PATTERN, 3DSTATE_LINE_STIPPLE, and 3DSTATE_AA_LINE_PARAMETERS. | ||||
* | ilo: fix rectlist length on Gen8 | Chia-I Wu | 2015-02-14 | 1 | -1/+1 |
| | | | | 5 PIPE_CONTROLs, 2 3DSTATE_WM_HZ_OP, and depth buffer setup require 65 DWords. | ||||
* | ilo: fix 3DSTATE_VF_TOPOLOGY | Chia-I Wu | 2015-02-14 | 1 | -2/+1 |
| | | | | The pipe primitive type was wrongly translated twice. | ||||
* | os,llvmpipe: Set rasterizer thread names on Linux. | Jose Fonseca | 2015-02-13 | 2 | -1/+18 |
| | | | | | | | | | | | To help identify llvmpipe rasterizer threads -- especially when there can be so many. We can eventually generalize this to other OSes, but for that we must restrict the function to be called from the current thread. See also http://stackoverflow.com/a/7989973 Reviewed-by: Roland Scheidegger <[email protected]> | ||||
* | vc4: Make SF be a flag on the QIR instructions. | Eric Anholt | 2015-02-12 | 8 | -51/+47 |
| | | | | | | | | | | | | Right now the places that used to emit a mov.sf just put the SF on the previous instruction when it generated the source of the SF value. Even without optimization to push the sf up further (and kill thus potentially kill more MOVs), this gets us: total uniforms in shared programs: 13455 -> 13457 (0.01%) uniforms in affected programs: 3 -> 5 (66.67%) total instructions in shared programs: 40296 -> 40198 (-0.24%) instructions in affected programs: 12595 -> 12497 (-0.78%) | ||||
* | auxiliary/vl: bring back the VL code for the dri targets | Emil Velikov | 2015-02-12 | 8 | -6/+25 |
| | | | | | | | | | | | | | | | | | With commit c642e87d9f4(auxiliary/vl: rework the build of the VL code) we split out the VL code into a separate static library that was meant to be used by the VL targets alone - va, vdpau, xvmc. The commit failed to consider the way we handle vdpau-gl interop and broke it. Bring back the functionality by keeping the vl <> vl_stub separation as requrested by Christian. v2: Update the omx target as well. Update mesa-stable email address. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86837 Cc: "10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Tested-by: Andy Furniss <[email protected]> | ||||
* | ilo: update screen init for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -8/+32 |
| | | | | | This is very preliminary and is only tested with glxgears. All information about Gen8 is derived from i965 and beignet. | ||||
* | ilo: update outdated render command emissions for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -4/+4 |
| | |||||
* | ilo: update rectlist command emission for Gen8 | Chia-I Wu | 2015-02-12 | 4 | -7/+93 |
| | |||||
* | ilo: update draw command emission for Gen8 | Chia-I Wu | 2015-02-12 | 6 | -34/+517 |
| | |||||
* | ilo: update surface state emission for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -7/+8 |
| | |||||
* | ilo: update dynamic state emission for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -14/+26 |
| | |||||
* | ilo: update outdated gen assertions for Gen8 | Chia-I Wu | 2015-02-12 | 6 | -24/+23 |
| | |||||
* | ilo: add new WM related helpers for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -0/+76 |
| | |||||
* | ilo: update VS related functions for Gen8 | Chia-I Wu | 2015-02-12 | 2 | -1/+31 |
| | |||||
* | ilo: update VF related functions for Gen8 | Chia-I Wu | 2015-02-12 | 2 | -42/+157 |
| | |||||
* | ilo: update SAMPLER_STATE for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -29/+42 |
| | |||||
* | ilo: update SAMPLER_BORDER_COLOR_STATE for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -2/+3 |
| | |||||
* | ilo: update depth clear value for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -1/+4 |
| | |||||
* | ilo: update ilo_zs_surface for Gen8 | Chia-I Wu | 2015-02-12 | 5 | -82/+137 |
| | |||||
* | ilo: update ilo_view_surface for Gen8 | Chia-I Wu | 2015-02-12 | 4 | -43/+141 |
| | |||||
* | ilo: update texture layout for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -1/+3 |
| | |||||
* | ilo: update ilo_blend_state and related functions for Gen8 | Chia-I Wu | 2015-02-12 | 6 | -22/+319 |
| | |||||
* | ilo: update ilo_dsa_state and related functions for Gen8 | Chia-I Wu | 2015-02-12 | 3 | -6/+89 |
| | |||||
* | ilo: update multisample related states for Gen8 | Chia-I Wu | 2015-02-12 | 3 | -1/+116 |
| | |||||
* | ilo: update WM and PS related functions for Gen8 | Chia-I Wu | 2015-02-12 | 2 | -76/+264 |
| | |||||
* | ilo: update SBE related functions for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -20/+97 |
| | |||||
* | ilo: update SF related functions for Gen8 | Chia-I Wu | 2015-02-12 | 3 | -81/+267 |
| | |||||
* | ilo: update CLIP related functions for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -18/+20 |
| | |||||
* | ilo: update SF_CLIP_VIEWPORT for Gen8 | Chia-I Wu | 2015-02-12 | 3 | -14/+40 |
| | |||||
* | ilo: update streamout related functions for Gen8 | Chia-I Wu | 2015-02-12 | 3 | -44/+78 |
| | |||||
* | ilo: update 3DSTATE_{DS,HS,GS} for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -8/+24 |
| | |||||
* | ilo: update 3DSTATE_CONSTANT_x for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -3/+16 |
| | |||||
* | ilo: update 3DSTATE_URB_x for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -1/+8 |
| | |||||
* | ilo: update 3DSTATE_PUSH_CONSTANT_ALLOC_x for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -7/+8 |
| | |||||
* | ilo: update render engine common helpers for Gen8 | Chia-I Wu | 2015-02-12 | 4 | -34/+91 |
| | |||||
* | ilo: update BLT helpers for Gen8 | Chia-I Wu | 2015-02-12 | 1 | -25/+58 |
| | |||||
* | ilo: update MI helpers for Gen8 | Chia-I Wu | 2015-02-12 | 2 | -30/+59 |
| | |||||
* | ilo: add functions for Gen8 relocs | Chia-I Wu | 2015-02-12 | 1 | -6/+39 |
| | | | | | Extend ilo_builder_writer_reloc() for Gen8 memory addressing. Add new wrappers, ilo_builder_surface_reloc64(() and ilo_builder_batch_reloc64(). | ||||
* | ilo: update the toy compiler for Gen8 | Chia-I Wu | 2015-02-12 | 5 | -91/+501 |
| | | | | Based on what we know from the classic driver. |