aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_bufmgr.h
Commit message (Collapse)AuthorAgeFilesLines
* iris/bufmgr: Initialize aux map context for gen12Jordan Justen2019-10-281-0/+9
| | | | | | | | | Reworks: * free gen_buffer in gen_aux_map_buffer_free. (Rafael) * lock around aux_map_bos accesses. (Ken) Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* iris: use driconf for 'bo_reuse' parameterTapani Pälli2019-08-291-1/+2
| | | | | | Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* iris: Delete dead prototypeKenneth Graunke2019-08-271-2/+0
|
* iris: Add an explicit alignment parameter to iris_bo_alloc_tiled().Kenneth Graunke2019-07-021-0/+1
| | | | | | | | | | | | In the future, some images will need to be aligned to a larger value than 4096. Most buffers, however, don't have any such requirement, so for now we only add the parameter to iris_bo_alloc_tiled() and leave the others with the simpler interface. v2: Fix missing alignment in vma_alloc, caught by Caio! Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Tested-by: Jordan Justen <[email protected]>
* iris: Add helpers to clone a hardware context.Chris Wilson2019-05-091-0/+1
| | | | | (Chris Wilson wrote this code in a patch titled "i965: Be resilient in the face of GPU hangs"; Ken fixed a bug and copied it to iris.)
* iris: Make memzone_for_address non-staticKenneth Graunke2019-04-231-0/+2
| | | | I want to use this in iris_resource.c.
* iris: Preserve all PIPE_TRANSFER flags in xfer->usageKenneth Graunke2019-04-151-0/+3
| | | | | | | | We need to preserve PIPE_TRANSFER_FLUSH_EXPLICIT, DISCARD_RANGE, and so on, but don't want to pass them to iris_bo_map(). So, keep them all, but mask them off when calling map. Chris Wilson told me to do this a long time ago and he was right.
* iris: Use coherent allocation for PIPE_RESOURCE_STAGINGChris Wilson2019-03-131-0/+1
| | | | | | | | | On !llc machines (Atoms), reading from a linear buffers is slow and so copying from one resource into the linear staging buffer is still slow. However, we can tell the GPU to snoop the CPU cache when reading from and writing to the staging buffer eliminating the slow uncached reads. Reviewed-by: Kenneth Graunke <[email protected]>
* iris: Fix the prototype for iris_bo_alloc_tiledKenneth Graunke2019-02-211-2/+2
| | | | | This now matches the actual function in iris_bufmgr.c, as well as the equivalent brw_bufmgr.c function...
* iris: Fix IRIS_MEMZONE_COUNT to exclude the border color poolKenneth Graunke2019-02-211-1/+1
| | | | | | This is supposed to exclude single address zones. We were getting too many VMA allocators but failing to set them up, which worked out because we also forgot to destroy them...
* iris: leave a TODOKenneth Graunke2019-02-211-0/+4
|
* iris: Support multiple binder BOs, update Surface State Base AddressKenneth Graunke2019-02-211-17/+11
|
* iris: precompute hashes for cache trackingKenneth Graunke2019-02-211-0/+3
| | | | saves a touch of cpu overhead in the new resolve tracking
* iris: drop pwriteKenneth Graunke2019-02-211-3/+0
| | | | nobody uses it
* iris: Wrap userptr for creating boChris Wilson2019-02-211-0/+10
|
* iris: implement border color, fix other sampler nonsenseKenneth Graunke2019-02-211-6/+2
|
* iris: border color memory zone :(Kenneth Graunke2019-02-211-2/+14
| | | | | They took away our pointer bits, so now we need a pile of special code to handle this instead of just using u_upload_mgr. :(
* iris: don't include binder in surface VMA rangeKenneth Graunke2019-02-211-0/+1
|
* iris: bits of blorp codeKenneth Graunke2019-02-211-4/+4
|
* iris: move bo_offset_from_sbaKenneth Graunke2019-02-211-0/+16
| | | | for wider use
* iris: Defines for base addresses rather than numbers everywhereKenneth Graunke2019-02-211-2/+39
|
* iris: bindersKenneth Graunke2019-02-211-0/+3
|
* iris: include p_defines.h in iris_bufmgr.hKenneth Graunke2019-02-211-0/+1
| | | | for PIPE_TRANSFER_WRITE and friends
* iris: Soft-pin the universeKenneth Graunke2019-02-211-26/+17
| | | | Breaks everything, woo!
* iris: bufmgr updates.Kenneth Graunke2019-02-211-11/+4
| | | | | Drop BO_ALLOC_BUSY (best not to hand people a loaded gun...) Drop vestiges of alignment
* iris: mapsKenneth Graunke2019-02-211-5/+5
|
* iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.Kenneth Graunke2019-02-211-0/+308
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