Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | intel/genxml: Use enum 3D_Logic_Op_Function where applicable | Kristian H. Kristensen | 2016-11-29 | 1 | -18/+20 |
| | | | | | Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Use blend function and factor enums where applicable | Kristian H. Kristensen | 2016-11-29 | 1 | -38/+36 |
| | | | | | Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Use enum 3D_Vertex_Component_Control where applicable | Kristian H. Kristensen | 2016-11-29 | 1 | -4/+4 |
| | | | | | Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Use enum 3D_Stencil_Operation where applicable | Kristian H. Kristensen | 2016-11-29 | 1 | -24/+17 |
| | | | | | Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Use enum SURFACE_FORMAT where applicable | Kristian H. Kristensen | 2016-11-29 | 1 | -2/+2 |
| | | | | | Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Use enum 3D_Prim_Topo_Type where applicable | Kristian H. Kristensen | 2016-11-29 | 1 | -1/+1 |
| | | | | | Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Remove duplicate COMPAREFUNCTION values | Kristian H. Kristensen | 2016-11-29 | 1 | -40/+4 |
| | | | | | | | | These values were defined both as an enum and as inline values. Remove the inline values and reference the 3D_Compare_Function enum instead. Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Move enums above structs | Kristian H. Kristensen | 2016-11-29 | 1 | -279/+279 |
| | | | | | | | | | We'll need to define them before we can reference them in structs and instructions. Enums have no dependencies, so move them first in the file. Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | genxml: Add values for Barycentric Interpolation Mode | Kristian H. Kristensen | 2016-11-29 | 1 | -1/+8 |
| | | | | | Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Make 3DSTATE_WM more consistent across gens | Jason Ekstrand | 2016-11-16 | 1 | -3/+13 |
| | | | | | Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | intel/genxml: Make some 3DSTATE_PS fields more consistent | Jason Ekstrand | 2016-11-16 | 1 | -3/+3 |
| | | | | | Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> | ||||
* | intel/genxml: Make some 3DSTATE_GS fields more consistent | Jason Ekstrand | 2016-11-16 | 1 | -2/+2 |
| | | | | | Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> | ||||
* | intel/genxml: Make some VS/GS fields consistent across gens | Jason Ekstrand | 2016-11-16 | 1 | -3/+3 |
| | | | | | | | We use the names from gen8+ Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> | ||||
* | intel: genxml: add SAMPLER_BORDER_COLOR_STATE structures | Lionel Landwerlin | 2016-10-18 | 1 | -0/+32 |
| | | | | | Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | intel/genxml: Make some PIPE_CONTROL fields booleans | Jason Ekstrand | 2016-10-15 | 1 | -6/+3 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | intel/genxml; Make "Use Global GTT a boolean | Jason Ekstrand | 2016-10-15 | 1 | -7/+4 |
| | | | | | | | | We also remove the redundant zero defaults since everything without an explicit default gets zeroed automatically. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | intel/genxml; Make "Tiled Surface" a boolean | Jason Ekstrand | 2016-10-15 | 1 | -2/+2 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | intel/genxml: Make "Vector Mask Enable" a boolean | Jason Ekstrand | 2016-10-15 | 1 | -3/+3 |
| | | | | | | | We also get rid of the "(VME)" a few places Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | intel/genxml: Make "Single Program Flow" a boolean | Jason Ekstrand | 2016-10-15 | 1 | -3/+3 |
| | | | | | | | We also get rid of the "(SPF)" a few places. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | intel/genxml: Add a uint MOCS field to 3DSTATE_STENCIL_BUFFER | Jason Ekstrand | 2016-10-14 | 1 | -0/+1 |
| | | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> | ||||
* | genxml: Add a uint MOCS field to VERTEX_BUFFER_STATE | Jason Ekstrand | 2016-08-19 | 1 | -0/+1 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml: Make a couple of VERTEX_BUFFER_STATE fields boolean | Jason Ekstrand | 2016-08-19 | 1 | -1/+1 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml: Make VERTEX_ELEMENT_STATE::Valid a bool | Jason Ekstrand | 2016-08-19 | 1 | -1/+1 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml/gen6: Make SAMPLER_STATE look a bit more like gen7 | Jason Ekstrand | 2016-08-19 | 1 | -19/+26 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml: Add a uint MOCS field to DEPTH_BUFFER packets | Jason Ekstrand | 2016-08-19 | 1 | -0/+2 |
| | | | | | | | This is easier than dealing with structs all the time Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml/gen6: Make "Depth Clear Value" a uint | Jason Ekstrand | 2016-08-19 | 1 | -1/+1 |
| | | | | | | | | The actual data storred is in float, UNORM24, or UNORM16 depending on the actual depth format. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml/gen6: Add the 3D_Prim_Topo_Type enum | Jason Ekstrand | 2016-08-19 | 1 | -0/+24 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml/gen6: Fix the length of 3DSTATE_WM | Jason Ekstrand | 2016-08-19 | 1 | -2/+2 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml/gen6: Add a Surface Base Address field to HIER_DEPTH_BUFFER | Jason Ekstrand | 2016-08-19 | 1 | -2/+3 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml/gen6: Add uint MOCS fields for most things | Jason Ekstrand | 2016-08-19 | 1 | -0/+6 |
| | | | | | Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | genxml: Add APIMODE_D3D missing enum values and improve consistency. | Kenneth Graunke | 2016-07-20 | 1 | -0/+1 |
| | | | | | | Cc: "12.0" <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | genxml: Make X/Y Offset field of SURFACE_STATE a uint | Jason Ekstrand | 2016-07-15 | 1 | -2/+2 |
| | | | | | | | | | | | THe offset type has special implications that it's intended to be some form of aligned memory address. These assumptions allow it to handle the case where there is some alignment requirement on the offset and the bottom bits are used for other things. However, the offsets in the surface state field are really just unsigned integers. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Chad Versace <[email protected]> | ||||
* | genxml: Make gen6-7 blending look more like gen8 | Jason Ekstrand | 2016-07-15 | 1 | -1/+7 |
| | | | | | | | | | | This renames BLEND_STATE to BLEND_STATE_ENTRY and adds an new struct BLEND_STATE which is just an array of 8 BLEND_STATE_ENTRYs. This will make it much easier to write gen-agnostic blend handling code. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Cc: "12.0" <[email protected]> | ||||
* | genxml: Make ScratchSpaceBasePointer an address instead of an offset | Jason Ekstrand | 2016-06-22 | 1 | -4/+4 |
| | | | | | | | | While we're here, we also fixup MEDIA_VFE_STATE and rename the field in 3DSTATE_VS on gen6-7.5 to be consistent with the others. Signed-off-by: Jason Ekstrand <[email protected]> Cc: "12.0" <[email protected]> | ||||
* | genxml/gen6,7,75: s/BackFace/Backface | Jason Ekstrand | 2016-06-03 | 1 | -2/+2 |
| | | | | | | | | This is more consistent with gen8+ Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Cc: "12.0" <[email protected]> | ||||
* | genxml: Make PIPE_CONTROL::CommandStreamerStallEnable a boolean | Jason Ekstrand | 2016-05-27 | 1 | -1/+1 |
| | | | | | | | This has been declared as a uint since SNB but it's only one bit. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Jordan Justen <[email protected]> | ||||
* | genxml: Fix the name of a 3DSTATE_SF/SBE field on gen6-7.5 | Jason Ekstrand | 2016-04-09 | 1 | -1/+1 |
| | |||||
* | genxml: Break output detail of 3DSTATE_SF on gen7 into a struct | Jason Ekstrand | 2016-04-09 | 1 | -41/+24 |
| | | | | This makes it work like 3DSTATE_SBE[_SWIZ] on gen7+ | ||||
* | genxml: Fix up MOCS in RENDER_SURFACE_STATE on gen6 to match gen7 | Jason Ekstrand | 2016-04-09 | 1 | -1/+2 |
| | |||||
* | genxml: Add GEN6 genxml | Kristian Høgsberg Kristensen | 2016-04-06 | 1 | -0/+1939 |
Not used yet, but let's put it here for now. |