mesa.git
5 years agoiris: smaller blend state
Kenneth Graunke [Tue, 30 Jan 2018 09:50:44 +0000 (01:50 -0800)]
iris: smaller blend state

5 years agoiris: don't do samplers for disabled stages
Kenneth Graunke [Tue, 30 Jan 2018 09:44:07 +0000 (01:44 -0800)]
iris: don't do samplers for disabled stages

5 years agoiris: render targets!
Kenneth Graunke [Tue, 30 Jan 2018 09:40:14 +0000 (01:40 -0800)]
iris: render targets!

5 years agoiris: fix silly unused batch with addr macro
Kenneth Graunke [Tue, 30 Jan 2018 09:09:53 +0000 (01:09 -0800)]
iris: fix silly unused batch with addr macro

5 years agoiris: warning fixes
Kenneth Graunke [Mon, 29 Jan 2018 23:06:08 +0000 (15:06 -0800)]
iris: warning fixes

5 years agoiris: basic SBE code
Kenneth Graunke [Mon, 29 Jan 2018 23:06:04 +0000 (15:06 -0800)]
iris: basic SBE code

5 years agoiris: alpha testing in PSB
Kenneth Graunke [Fri, 26 Jan 2018 05:58:31 +0000 (21:58 -0800)]
iris: alpha testing in PSB

5 years agoiris: blend state
Kenneth Graunke [Fri, 26 Jan 2018 05:53:41 +0000 (21:53 -0800)]
iris: blend state

5 years agoiris: dummy constants
Kenneth Graunke [Fri, 26 Jan 2018 05:39:44 +0000 (21:39 -0800)]
iris: dummy constants

5 years agoiris: URB configs.
Kenneth Graunke [Fri, 26 Jan 2018 05:23:45 +0000 (21:23 -0800)]
iris: URB configs.

5 years agoiris: actually set KSP offsets
Kenneth Graunke [Fri, 26 Jan 2018 04:12:37 +0000 (20:12 -0800)]
iris: actually set KSP offsets

5 years agoiris: actually softpin at an address
Kenneth Graunke [Fri, 26 Jan 2018 04:04:37 +0000 (20:04 -0800)]
iris: actually softpin at an address

5 years agoiris: actually destroy the cache
Kenneth Graunke [Fri, 26 Jan 2018 03:43:45 +0000 (19:43 -0800)]
iris: actually destroy the cache

5 years agoiris: rewrite program cache to use u_upload_mgr
Kenneth Graunke [Fri, 26 Jan 2018 03:39:10 +0000 (19:39 -0800)]
iris: rewrite program cache to use u_upload_mgr

5 years agoiris: no NEW_SBA
Kenneth Graunke [Thu, 25 Jan 2018 18:57:13 +0000 (10:57 -0800)]
iris: no NEW_SBA

5 years agoiris: shuffle comments
Kenneth Graunke [Thu, 25 Jan 2018 10:13:28 +0000 (02:13 -0800)]
iris: shuffle comments

5 years agoiris: bits of WM key
Kenneth Graunke [Thu, 25 Jan 2018 10:09:59 +0000 (02:09 -0800)]
iris: bits of WM key

5 years agoiris: move key pop to state module
Kenneth Graunke [Thu, 25 Jan 2018 10:03:18 +0000 (02:03 -0800)]
iris: move key pop to state module

shader key population needs to read state

5 years agoiris: fix SBA
Kenneth Graunke [Thu, 25 Jan 2018 09:53:52 +0000 (01:53 -0800)]
iris: fix SBA

5 years agoiris: use vtbl to avoid multiple symbols, fix state base address
Kenneth Graunke [Thu, 25 Jan 2018 09:36:49 +0000 (01:36 -0800)]
iris: use vtbl to avoid multiple symbols, fix state base address

5 years agoiris: softpin some things
Kenneth Graunke [Thu, 25 Jan 2018 09:19:58 +0000 (01:19 -0800)]
iris: softpin some things

5 years agoiris: drop const from prog data parameters
Kenneth Graunke [Wed, 24 Jan 2018 04:01:28 +0000 (20:01 -0800)]
iris: drop const from prog data parameters

we ralloc steal things, which makes it a little bogus

5 years agoiris: more comes from bits filled in
Kenneth Graunke [Tue, 23 Jan 2018 09:23:54 +0000 (01:23 -0800)]
iris: more comes from bits filled in

tomorrow, fix the build system to avoid symbol clashes somehow...
we're getting gen9 functions because they happen to be listed before 10
in the link list.

5 years agoiris: index buffer BO
Kenneth Graunke [Tue, 23 Jan 2018 09:10:05 +0000 (01:10 -0800)]
iris: index buffer BO

5 years agoiris: WM.
Kenneth Graunke [Tue, 23 Jan 2018 09:07:09 +0000 (01:07 -0800)]
iris: WM.

I could have added a dirty bit for this, but it doesn't seem worth it

5 years agoiris: initial gpu state
Kenneth Graunke [Tue, 23 Jan 2018 08:44:44 +0000 (00:44 -0800)]
iris: initial gpu state

5 years agoiris: reorganize commands to match brw
Kenneth Graunke [Tue, 23 Jan 2018 07:39:38 +0000 (23:39 -0800)]
iris: reorganize commands to match brw

5 years agoiris: don't forget about TE
Kenneth Graunke [Tue, 23 Jan 2018 07:25:18 +0000 (23:25 -0800)]
iris: don't forget about TE

5 years agoiris: convert IRIS_DIRTY_* to #defines
Kenneth Graunke [Tue, 23 Jan 2018 07:03:54 +0000 (23:03 -0800)]
iris: convert IRIS_DIRTY_* to #defines

enums are SIGNED.  so IRIS_DIRTY_VS << 4 gets sign extended, making it
not equal to IRIS_DIRTY_FS.  Surprising!

5 years agoiris: emit shader packets
Kenneth Graunke [Tue, 23 Jan 2018 06:40:51 +0000 (22:40 -0800)]
iris: emit shader packets

5 years agoiris: actually save derived state
Kenneth Graunke [Tue, 23 Jan 2018 06:31:27 +0000 (22:31 -0800)]
iris: actually save derived state

5 years agoiris: promote iris_program_cache_item to iris_compiled_shader
Kenneth Graunke [Mon, 22 Jan 2018 19:52:58 +0000 (11:52 -0800)]
iris: promote iris_program_cache_item to iris_compiled_shader

5 years agoiris: some shader bits
Kenneth Graunke [Mon, 22 Jan 2018 07:55:04 +0000 (23:55 -0800)]
iris: some shader bits

5 years agoiris: scissor slots
Kenneth Graunke [Mon, 22 Jan 2018 05:23:48 +0000 (21:23 -0800)]
iris: scissor slots

5 years agoiris: bind_state -> compute state
Kenneth Graunke [Mon, 22 Jan 2018 05:20:44 +0000 (21:20 -0800)]
iris: bind_state -> compute state

5 years agoiris: 3DPRIMITIVE fields
Kenneth Graunke [Mon, 22 Jan 2018 05:19:26 +0000 (21:19 -0800)]
iris: 3DPRIMITIVE fields

5 years agoiris: fix VF instancing length so we don't get garbage in batch
Kenneth Graunke [Mon, 22 Jan 2018 05:09:30 +0000 (21:09 -0800)]
iris: fix VF instancing length so we don't get garbage in batch

5 years agoiris: vertex packet fixes
Kenneth Graunke [Mon, 22 Jan 2018 05:02:05 +0000 (21:02 -0800)]
iris: vertex packet fixes

5 years agoiris: fix VBs
Kenneth Graunke [Mon, 22 Jan 2018 04:10:57 +0000 (20:10 -0800)]
iris: fix VBs

5 years agoiris: fix assert
Kenneth Graunke [Mon, 22 Jan 2018 04:10:43 +0000 (20:10 -0800)]
iris: fix assert

5 years agoiris: fix indentation
Kenneth Graunke [Mon, 22 Jan 2018 02:12:18 +0000 (18:12 -0800)]
iris: fix indentation

5 years agoiris: hack to stop crashing on samplers for now
Kenneth Graunke [Mon, 22 Jan 2018 02:08:15 +0000 (18:08 -0800)]
iris: hack to stop crashing on samplers for now

5 years agoiris: initialize dirty bits to ~0ull
Kenneth Graunke [Mon, 22 Jan 2018 02:04:05 +0000 (18:04 -0800)]
iris: initialize dirty bits to ~0ull

5 years agoiris: actually advance forward when emitting commands
Kenneth Graunke [Mon, 22 Jan 2018 02:03:58 +0000 (18:03 -0800)]
iris: actually advance forward when emitting commands

5 years agoiris: actually flush the commands
Kenneth Graunke [Mon, 22 Jan 2018 01:44:08 +0000 (17:44 -0800)]
iris: actually flush the commands

5 years agoiris: actually APPEND commands, not stomp over the top and never incr
Kenneth Graunke [Mon, 22 Jan 2018 01:43:49 +0000 (17:43 -0800)]
iris: actually APPEND commands, not stomp over the top and never incr

5 years agoiris: VB fixes
Kenneth Graunke [Mon, 22 Jan 2018 01:34:41 +0000 (17:34 -0800)]
iris: VB fixes

5 years agoiris: DEBUG=bat
Kenneth Graunke [Mon, 22 Jan 2018 00:49:02 +0000 (16:49 -0800)]
iris: DEBUG=bat

Deleted in the interest of making the branch compile at each step

5 years agoiris: VB addresses
Kenneth Graunke [Sun, 21 Jan 2018 23:28:59 +0000 (15:28 -0800)]
iris: VB addresses

5 years agoiris: reference VB BOs
Kenneth Graunke [Sun, 21 Jan 2018 21:14:49 +0000 (13:14 -0800)]
iris: reference VB BOs

5 years agoiris: so, sba then.
Kenneth Graunke [Sun, 21 Jan 2018 20:26:09 +0000 (12:26 -0800)]
iris: so, sba then.

5 years agoiris: try and have an iris address
Kenneth Graunke [Sun, 21 Jan 2018 20:20:30 +0000 (12:20 -0800)]
iris: try and have an iris address

5 years agoiris: flag SBA updates when instruction BO changes
Kenneth Graunke [Sun, 21 Jan 2018 08:36:54 +0000 (00:36 -0800)]
iris: flag SBA updates when instruction BO changes

5 years agoiris: bit of SBA code
Kenneth Graunke [Sun, 21 Jan 2018 08:16:26 +0000 (00:16 -0800)]
iris: bit of SBA code

genxml MOCS is stupid, addresses are hard news at 11

5 years agoiris: move MAX defines to iris_batch.h
Kenneth Graunke [Sun, 21 Jan 2018 08:16:15 +0000 (00:16 -0800)]
iris: move MAX defines to iris_batch.h

for SBA

5 years agoiris: kill iris_new_batch
Kenneth Graunke [Sun, 21 Jan 2018 07:14:24 +0000 (23:14 -0800)]
iris: kill iris_new_batch

reset and new are too similar, and this had exactly one caller

5 years agoiris: make iris_batch target a particular ring
Kenneth Graunke [Sun, 21 Jan 2018 07:11:37 +0000 (23:11 -0800)]
iris: make iris_batch target a particular ring

5 years agoiris: lower io
Kenneth Graunke [Sun, 21 Jan 2018 07:04:02 +0000 (23:04 -0800)]
iris: lower io

5 years agoiris: do the FS...asserts because we don't lower uniforms yet
Kenneth Graunke [Sun, 21 Jan 2018 00:56:59 +0000 (16:56 -0800)]
iris: do the FS...asserts because we don't lower uniforms yet

5 years agoiris: import program cache code
Kenneth Graunke [Sat, 20 Jan 2018 10:47:04 +0000 (02:47 -0800)]
iris: import program cache code

5 years agoiris: reworks, FS compile pieces
Kenneth Graunke [Sat, 20 Jan 2018 10:01:07 +0000 (02:01 -0800)]
iris: reworks, FS compile pieces

5 years agoiris: parse INTEL_DEBUG
Kenneth Graunke [Sat, 20 Jan 2018 09:12:12 +0000 (01:12 -0800)]
iris: parse INTEL_DEBUG

5 years agoiris: draw->restart_index is uninitialized if PR is not enabled
Kenneth Graunke [Sat, 20 Jan 2018 09:09:36 +0000 (01:09 -0800)]
iris: draw->restart_index is uninitialized if PR is not enabled

5 years agoiris: fix bogus index buffer reference
Kenneth Graunke [Sat, 20 Jan 2018 09:07:41 +0000 (01:07 -0800)]
iris: fix bogus index buffer reference

5 years agoiris: fix prim type
Kenneth Graunke [Sat, 20 Jan 2018 09:05:13 +0000 (01:05 -0800)]
iris: fix prim type

5 years agoiris: msaa sample count packing problems
Kenneth Graunke [Sat, 20 Jan 2018 08:59:49 +0000 (00:59 -0800)]
iris: msaa sample count packing problems

0 -> ffffffffffffffffffffffffffff

5 years agoiris: actually save VBs
Kenneth Graunke [Sat, 20 Jan 2018 08:57:01 +0000 (00:57 -0800)]
iris: actually save VBs

5 years agoiris: fix/rework line stipple
Kenneth Graunke [Sat, 20 Jan 2018 08:55:16 +0000 (00:55 -0800)]
iris: fix/rework line stipple

5 years agoiris: init the batch!
Kenneth Graunke [Sat, 20 Jan 2018 05:55:32 +0000 (21:55 -0800)]
iris: init the batch!

5 years agoiris: delete iris_pipe.c, shuffle code around
Kenneth Graunke [Sat, 20 Jan 2018 02:57:30 +0000 (18:57 -0800)]
iris: delete iris_pipe.c, shuffle code around

5 years agoiris: disable execbuf for now
Kenneth Graunke [Sat, 20 Jan 2018 02:35:24 +0000 (18:35 -0800)]
iris: disable execbuf for now

5 years agoiris: make an ice->render_batch field
Kenneth Graunke [Sat, 20 Jan 2018 02:25:55 +0000 (18:25 -0800)]
iris: make an ice->render_batch field

we may want a second one for transfers

5 years agoiris: drop unused field
Kenneth Graunke [Sat, 20 Jan 2018 02:23:59 +0000 (18:23 -0800)]
iris: drop unused field

5 years agoiris: shader debug log
Kenneth Graunke [Fri, 19 Jan 2018 23:41:46 +0000 (15:41 -0800)]
iris: shader debug log

5 years agoiris: maps
Kenneth Graunke [Fri, 19 Jan 2018 23:30:55 +0000 (15:30 -0800)]
iris: maps

5 years agoiris: linear resources
Kenneth Graunke [Fri, 19 Jan 2018 23:09:05 +0000 (15:09 -0800)]
iris: linear resources

5 years agoiris: some program code
Kenneth Graunke [Tue, 16 Jan 2018 09:15:15 +0000 (01:15 -0800)]
iris: some program code

5 years agoiris: basic push constant alloc
Kenneth Graunke [Fri, 12 Jan 2018 07:01:28 +0000 (23:01 -0800)]
iris: basic push constant alloc

5 years agoiris: emit 3DSTATE_SAMPLER_STATE_POINTERS
Kenneth Graunke [Fri, 12 Jan 2018 06:50:12 +0000 (22:50 -0800)]
iris: emit 3DSTATE_SAMPLER_STATE_POINTERS

5 years agoiris: sampler states
Kenneth Graunke [Fri, 12 Jan 2018 06:18:54 +0000 (22:18 -0800)]
iris: sampler states

5 years agoiris: COLOR_CALC_STATE
Kenneth Graunke [Wed, 10 Jan 2018 08:36:44 +0000 (00:36 -0800)]
iris: COLOR_CALC_STATE

5 years agoiris: fix crash - CSO binding can be NULL (when destroying context)
Kenneth Graunke [Wed, 10 Jan 2018 08:21:56 +0000 (00:21 -0800)]
iris: fix crash - CSO binding can be NULL (when destroying context)

5 years agoiris: some draw info, vbs, sample mask
Kenneth Graunke [Wed, 10 Jan 2018 08:19:29 +0000 (00:19 -0800)]
iris: some draw info, vbs, sample mask

5 years agoiris: a bit of depth
Kenneth Graunke [Wed, 10 Jan 2018 07:30:21 +0000 (23:30 -0800)]
iris: a bit of depth

still need to allocate separate stencil

5 years agoiris: fix SF_CL length
Kenneth Graunke [Wed, 10 Jan 2018 07:17:43 +0000 (23:17 -0800)]
iris: fix SF_CL length

5 years agoiris: don't segfault on !old_cso
Kenneth Graunke [Wed, 10 Jan 2018 07:14:10 +0000 (23:14 -0800)]
iris: don't segfault on !old_cso

5 years agoiris: framebuffers
Kenneth Graunke [Wed, 10 Jan 2018 07:13:16 +0000 (23:13 -0800)]
iris: framebuffers

5 years agoiris: stipples and vertex elements
Kenneth Graunke [Wed, 10 Jan 2018 05:29:09 +0000 (21:29 -0800)]
iris: stipples and vertex elements

5 years agoiris: sampler views
Kenneth Graunke [Wed, 10 Jan 2018 01:54:43 +0000 (17:54 -0800)]
iris: sampler views

5 years agoiris: Surfaces!
Kenneth Graunke [Tue, 9 Jan 2018 22:34:15 +0000 (14:34 -0800)]
iris: Surfaces!

5 years agoiris: SF_CLIP_VIEWPORT
Kenneth Graunke [Tue, 9 Jan 2018 19:58:28 +0000 (11:58 -0800)]
iris: SF_CLIP_VIEWPORT

5 years agoiris: scissors
Kenneth Graunke [Tue, 9 Jan 2018 19:51:34 +0000 (11:51 -0800)]
iris: scissors

5 years agoiris: RASTER + SF + some CLIP, fix DIRTY vs. NEW
Kenneth Graunke [Tue, 9 Jan 2018 19:44:04 +0000 (11:44 -0800)]
iris: RASTER + SF + some CLIP, fix DIRTY vs. NEW

5 years agoiris: initial gpu state, merges
Kenneth Graunke [Tue, 9 Jan 2018 19:25:29 +0000 (11:25 -0800)]
iris: initial gpu state, merges

5 years agoiris: merge pack
Kenneth Graunke [Mon, 8 Jan 2018 22:44:22 +0000 (14:44 -0800)]
iris: merge pack

this lets us merge dynamic and pre-baked state, also like anv

5 years agoiris: packing with valgrind.
Kenneth Graunke [Mon, 8 Jan 2018 22:44:14 +0000 (14:44 -0800)]
iris: packing with valgrind.

borrowed macros from anv!

5 years agoiris: initial render state upload
Kenneth Graunke [Wed, 27 Dec 2017 10:54:26 +0000 (02:54 -0800)]
iris: initial render state upload

5 years agoiris: port over batchbuffer updates
Kenneth Graunke [Wed, 27 Dec 2017 10:25:20 +0000 (02:25 -0800)]
iris: port over batchbuffer updates

5 years agoiris: viewport state, sort of
Kenneth Graunke [Sat, 23 Dec 2017 22:33:04 +0000 (14:33 -0800)]
iris: viewport state, sort of

5 years agoiris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.
Kenneth Graunke [Fri, 24 Nov 2017 07:15:14 +0000 (23:15 -0800)]
iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.

This commit introduces a new Gallium driver for Intel Gen8+ GPUs,
named 'iris_dri.so' after the hardware.

Developed by:
- Kenneth Graunke (overall driver)
- Dave Airlie (shaders, conditional render, overflow query, Gen8 port)
- Chris Wilson (fencing, pinned memory, ...)
- Jordan Justen (compute shaders)
- Jason Ekstrand (image load store)
- Caio Marcelo de Oliveira Filho (tessellation control passthrough)
- Rafael Antognolli (auxiliary buffer fixes)
- The rest of the i965 contributors and the Mesa community