aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_screen.h
Commit message (Collapse)AuthorAgeFilesLines
* iris: Add support for the always_flush_cache=true debug option.Kenneth Graunke2019-09-091-0/+1
| | | | This can be useful for debugging missing flushes.
* iris: Support the disable_throttling=true driconf option.Kenneth Graunke2019-09-061-0/+1
|
* iris/perf: implement routines to return counter infoMark Janes2019-08-091-0/+2
| | | | | | | With this commit, Iris will report that AMD_performance_monitor is supported, and will allow the caller to query the available metrics. Reviewed-by: Kenneth Graunke <[email protected]>
* gallium: switch boolean -> bool at the interface definitionsIlia Mirkin2019-07-221-1/+1
| | | | | | | | | | | | | | | | | | This is a relatively minimal change to adjust all the gallium interfaces to use bool instead of boolean. I tried to avoid making unrelated changes inside of drivers to flip boolean -> bool to reduce the risk of regressions (the compiler will much more easily allow "dirty" values inside a char-based boolean than a C99 _Bool). This has been build-tested on amd64 with: Gallium drivers: nouveau r300 r600 radeonsi freedreno swrast etnaviv v3d vc4 i915 svga virgl swr panfrost iris lima kmsro Gallium st: mesa xa xvmc xvmc vdpau va Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]>
* iris: Start wiring up on-disk shader cacheDylan Baker2019-05-211-0/+5
| | | | | | | | This creates the on-disk shader cache data structure, and handles the build-id keying aspects. The next commits will fill it out so it's actually used. Reviewed-by: Kenneth Graunke <[email protected]>
* iris: Report the same video memory settings as i965.Kenneth Graunke2019-05-081-0/+2
| | | | This just copy and pastes Ian's code from i965.
* iris: Enable the dual_color_blend_by_location driconf option.Kenneth Graunke2019-04-221-0/+6
| | | | This fixes rendering in Unigine Valley 1.0 and Heaven 4.0.
* iris: Add mechanism for iris-specific driconf optionsKenneth Graunke2019-04-221-1/+2
| | | | | | Based on Nicolai's 0f8c5de8690e7c87aa2e24383065efaca7e6fe78. Reviewed-by: Dylan Baker <[email protected]>
* iris: support INTEL_NO_HW environment variableMike Blumenkrantz2019-04-101-0/+2
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* iris: Use copy_region and staging resources to avoid transfer stallsKenneth Graunke2019-03-081-0/+1
| | | | | | | | | | | | This is similar to intel_miptree_map_blit and intel_buffer_object.c's temporary blits in i965. Improves performance of DiRT Rally by 20-25% by eliminating stalls. Breaks piglit's spec/arb_shader_image_load_store/host-mem-barrier, by using the GPU to do uploads, exposing a st/mesa issue where it doesn't give us memory_barrier() calls. This is a pre-existing issue and will be fixed by a later patch (currently out for review).
* iris: Use READ_ONCE and WRITE_ONCE for snapshots_landedKenneth Graunke2019-02-211-0/+3
| | | | | | Suggested by Chris Wilson, if only to make it obvious to the human readers that these are volatile reads. It may also be necessary for the compiler in a few cases.
* iris: Enable precompilesKenneth Graunke2019-02-211-0/+3
|
* iris: little bits of compute basicsKenneth Graunke2019-02-211-0/+2
|
* iris: comment everythingKenneth Graunke2019-02-211-1/+11
| | | | | | 1. Write the code 2. Add comments 3. PROFIT (or just avoid cost of explaining or relearning things...)
* iris: slab allocate transfersKenneth Graunke2019-02-211-0/+3
| | | | apparently we need this for u_threaded_context
* iris: crazy pipe control codeKenneth Graunke2019-02-211-0/+1
| | | | imported from ~kwg/mesa pcx-2, gen < 8 code dropped
* iris: Soft-pin the universeKenneth Graunke2019-02-211-2/+0
| | | | Breaks everything, woo!
* iris: actually softpin at an addressKenneth Graunke2019-02-211-0/+2
|
* iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.Kenneth Graunke2019-02-211-0/+62
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