1. 11 Mar, 2019 1 commit
  2. 18 Jul, 2018 1 commit
  3. 06 Jul, 2018 2 commits
  4. 14 Jun, 2018 1 commit
    • Lukasz Kalamarz's avatar
      lib/gen8_render: Cleanup of libs · 5be86f2f
      Lukasz Kalamarz authored
      This patch implements some changes in gen8_render header and
      all files that include it. Renamed all definition that were
      introduced in that file with prefix GEN8_* instead of
      previous GEN's one if they were not implemented there,
      otherwise dropped duplicates. Modified include to use
      gen7_render header instead of gen6.
      
      v2: Fixed commit message
      v3: fixed typo in commit msg
      Signed-off-by: Lukasz Kalamarz's avatarLukasz Kalamarz <lukasz.kalamarz@intel.com>
      Cc: Katarzyna Dec <katarzyna.dec@intel.com>
      Cc: Antonio Argenziano <antonio.argenziano@intel.com>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Ewelina Musial <ewelina.musial@intel.com>
      Reviewed-by: Katarzyna Dec's avatarKatarzyna Dec <katarzyna.dec@intel.com>
      5be86f2f
  5. 09 Oct, 2014 1 commit
    • Mika Kuoppala's avatar
      tools/null_state_gen: Add Gen8 golden state · 0e8ac72d
      Mika Kuoppala authored
      Previously we didn't have a clear understanding what is necessary
      for a pipeline state to be properly initialized. So we had to improvise
      and use a stripped out render copy.
      
      Now we have a more clear understanding so switch out render copy based
      frankenstate to state we can call golden state.
      
      v2: - export intel_batch_state_offset
          - add 3DSTATE_RASTER (Bradley Volkin)
      
      Cc: Volkin, Bradley D <bradley.d.volkin@intel.com>
      Signed-off-by: 's avatarMika Kuoppala <mika.kuoppala@intel.com>
      0e8ac72d
  6. 04 Jun, 2014 1 commit
  7. 26 Mar, 2014 1 commit
  8. 10 Dec, 2013 1 commit
  9. 06 Nov, 2013 2 commits
    • Damien Lespiau's avatar
      rendercopy/bdw: Fix the original implementation · 91e58972
      Damien Lespiau authored
      For posterity, I've squashed these commits against Damien's request.
      
      rendercopy/gen8: Fix the include guards
      
      rendercopy/gen8: Update the 3DSTATE_MULTISAMPLE opcode
      
      The opcode has changed in BDW.
      
      rendercopy/gen8: Add the VF_TOPOLOGY state
      
      The primitive type has moved out of the 3DPRIMITIVE to its own state,
      VF_TOPOLOGY.
      
      rendercopy/gen8: Fixup 3STATE_PS
      
      Update the state to the latest BSpec, in particular the thread count was
      using a wrong shift and we were missing kernel2 offset.
      
      rendercopy/gen8: Update 3DSTATE_BASE_ADDRESS
      
      This state has seen its fields moved around a bit, follow the BSpec.
      
      rendercopy/gen8: Allocate 64 VUEs
      
      The simulator screams at us if we try to allocate less than that.
      
      rendercopy/gen8: Surface states have to be 64 bytes a aligned
      
      rendercopy/gen8: Vertical/horizontal align 2 does not exist any more
      
      So set them to 4. This should not matter with rendercopy (which is not
      using compressed textures), but it makes the simulator moan.
      
      rendercopy/gen8: Make sure the vertex buffer is 8 bytes aligned
      
      rendercopy/gen8: Adjust 3DSTATE_VERTEX_BUFFERS for gen8
      
      The address of the buffer is now on 48 bits. Also the size was computed
      as offset + size where the field is really the size of the buffer
      itself, not the end address.
      
      rendercopy/gen8: Update the SF/SBE states for gen8
      
      gen8 has a few changes around those states and a new ones RASTER and
      SBE_SWIZ.
      
      rendercopy/gen8: Add the PS_EXTRA and PS_BLEND states
      
      rendercopy/gen8: Fix building with DEBUG_RENDERCOPY defined
      
      The forward declaration was missing the final ';'. Let's move the whole
      function at the top instead.
      
      rendercopy/gen8: Update the PS and CONSTANT_PS states
      
      rendercopy/gen8: Fix the red channel selection
      
      Make it output red.
      
      rendercopy/gen8: Update the write -1 shader
      
      With the latest assembler changes from Haihao.
      
      rendercopy/gen8: Remove blit.g8a
      
      There is no diff between this file and blig.g7a. Remove it.
      
      rendercopy/gen8: Fix the surface relocation offset
      
      The surface base address is now at dwords 8/9 so the relocation has to
      mirror the change.
      
      rendercopy/gen8: Add the VF_INSTANCING state
      
      Should work without, but doesn't hurt to add it.
      
      rendercopy/gen8: Set the Attribule enable field in PS_EXTRA
      
      When the SF is set up to output some attributes, the pixel shader also
      have to be told there's attributes to care about.
      
      rendercopy/gen8: Set the force bits to read URB offset/length
      
      If we want to override the URB offset/length in the SBE state itself, we
      need to set the force bits on (new in gen8)
      Signed-off-by: 's avatarDamien Lespiau <damien.lespiau@intel.com>
      Acked-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Signed-off-by: 's avatarBen Widawsky <ben@bwidawsk.net>
      91e58972
    • Jesse Barnes's avatar
      3edfff16