summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml
Commit message (Collapse)AuthorAgeFilesLines
* genxml: mark re strings as rawDylan Baker2016-05-311-2/+2
| | | | | | | | This is a correctness issue. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> cc: 12.0 <[email protected]>
* genxml: Make classes descendants of objectDylan Baker2016-05-311-4/+4
| | | | | | | | | This is the default in python3, but in python2 you get old style classes. No one likes old-style classes. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> cc: 12.0 <[email protected]>
* genxml: mark gen_pack_header.py as encoded in utf-8Dylan Baker2016-05-311-0/+1
| | | | | | | | | There is unicode in this file, and I'm actually surprised that the python interpreter hasn't gotten grumpy. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> cc: 12.0 <[email protected]>
* genxml: move the sources (headers) list to Makefile.sourcesMauro Rossi2016-05-302-6/+9
| | | | | | [Emil Velikov: use the file in the autoconf build] Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* genxml: Make PIPE_CONTROL::CommandStreamerStallEnable a booleanJason Ekstrand2016-05-275-5/+5
| | | | | | | 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: Expand SKL's SurfaceFormat field width for ASTCNanley Chery2016-05-201-2/+1
| | | | | | | | | In the expanded field, only ASTC format enums have the MSB set to 1. Expanding the field width makes the process of handling these formats identical to the way other formats are handled. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* genxml/hsw: Add L3 cache control registersJordan Justen2016-05-171-0/+8
| | | | | | | | These were added to the i965 driver in 5912da45a69923afa1b7f2eb5bb371d848813c41. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* genxml: Use llroundf() and store to appropriate type.Matt Turner2016-05-161-2/+2
| | | | | | | Both functions return uint64_t, so I expect the masking/shifting should be done on 64-bit types. Reviewed-by: Kristian Høgsberg <[email protected]>
* genxml: avoid using a GNU make pattern ruleJonathan Gray2016-05-101-1/+5
| | | | | | | | | | | % pattern rules are a GNU extension. Convert the use of one to a inference rule to allow this to build on OpenBSD. v2: inference rules can't have additional prerequisites so add a target rule to still depend on gen_pack_header.py Signed-off-by: Jonathan Gray <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* genxml: ship all the files needed in the tarballEmil Velikov2016-05-011-0/+11
| | | | | | | v2: The xml files are not called "gen*_pack.xml" (Jason) Signed-off-by: Emil Velikov <[email protected]> Acked-by: Jason Ekstrand <[email protected]>
* anv: remove description about GENX_FUNC macroEmil Velikov2016-05-011-14/+0
| | | | | | | | | The macro has been gone since commit 1f1cf6fcb0e "anv: Get rid of GENX_FUNC" Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eduardo Lima Mitev <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* genxml: use PYTHON3Jonathan Gray2016-04-232-1/+3
| | | | | | | | | | | Allows the build to work when the python3 binary is not "python3". v2: remove x bit from the script at Emil's suggestion Signed-off-by: Jonathan Gray <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* genxml: Fix the name of a 3DSTATE_SF/SBE field on gen6-7.5Jason Ekstrand2016-04-093-3/+3
|
* genxml: Break output detail of 3DSTATE_SF on gen7 into a structJason Ekstrand2016-04-091-41/+24
| | | | This makes it work like 3DSTATE_SBE[_SWIZ] on gen7+
* genxml: Fix up MOCS in RENDER_SURFACE_STATE on gen6 to match gen7Jason Ekstrand2016-04-091-1/+2
|
* genxml: Add GEN6 genxmlKristian Høgsberg Kristensen2016-04-062-0/+1940
| | | | Not used yet, but let's put it here for now.
* genxml: Add L3 Cache Control register definitionsJordan Justen2016-03-244-0/+69
| | | | | | Based on intel_reg.h (5912da45a69923afa1b7f2eb5bb371d848813c41) Signed-off-by: Jordan Justen <[email protected]>
* genxml: Add register supportJordan Justen2016-03-241-19/+43
| | | | Signed-off-by: Jordan Justen <[email protected]>
* genxml/gen75: Add the clear color bits to RENDER_SURFACE_STATEJason Ekstrand2016-03-101-0/+4
|
* genxml: Make the border color pointer consistent across gensJason Ekstrand2016-03-012-2/+2
|
* genxml: Break output detail of 3DSTATE_SBE on gen7 into a structJason Ekstrand2016-02-292-70/+46
| | | | | This makes it work like 3DSTATE_SBE_SWIZ on gen8+ which is much more convenient.
* genxml: Add MOCS fields to RENDER_SURFACE_STATEJason Ekstrand2016-02-274-0/+4
| | | | This allows us to set MOCS as a single uint32_t on all platforms.
* gen/genX_pack: Add genxml to the pack header pathJason Ekstrand2016-02-271-4/+4
| | | | | | | | If you have an out-of-tree build, gen8_pack.h and friends will not be in the same folder as genX_pack.h so this will be a problem. We fixed out-of-tree earlier by adding the genxml folder to the includes for the vulkan driver. However, this is not a good long-term solution because we want to use it in ISL as well.
* intel/genxml: Update macro documentationJason Ekstrand2016-02-221-2/+2
|
* intel/genxml: Add READMEKristian Høgsberg Kristensen2016-02-221-0/+60
| | | | | | | I've had people ask about the design of the pack functions, for example, why aren't we using bitfields. I wrote up a bit of background on why and how we ended up with the current design and we might as well keep that with the code.
* genxml: Add mote includes in the generated headersJason Ekstrand2016-02-201-0/+3
|
* anv: Get rid of GENX_FUNCJason Ekstrand2016-02-201-58/+0
| | | | It was a bad idea.
* intel/genxml: Add a couple of helper headersJason Ekstrand2016-02-202-0/+188
|
* genxml: Stop using unicode in the pack generatorJason Ekstrand2016-02-191-1/+1
| | | | | This causes python problems and problems when people don't have a locale set properly in their shell.
* anv: fix warning about unused width variable.Dave Airlie2016-02-191-2/+1
| | | | We don't use width outside the debug clause here.
* vulkan: Move XML and generator into src/intel/genxmlJason Ekstrand2016-02-187-0/+12718