History log of /external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cba9d59362130e1b44cd9cfc4f38ad3773111442 27-Dec-2016 Marek Olšák <marek.olsak@amd.com> radeonsi: implement SDMA-based buffer clearing for SI

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
29d6a367a6508a6814f44039166a65a4b69f53b1 27-Dec-2016 Marek Olšák <marek.olsak@amd.com> radeonsi: do all math in bytes in SI DMA code

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
9e1aa81dfeced2381aa0df73758dd76f2722d857 27-Dec-2016 Marek Olšák <marek.olsak@amd.com> gallium/radeon: prevent SDMA stalls by detecting RAW hazards in need_dma_space

Call r600_dma_emit_wait_idle only when there is a possibility of
a read-after-write hazard. Buffers not yet used by the SDMA IB don't
have to wait.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
b21912e2e92234d66c90b0f6f014a83698ef5ecb 04-Nov-2016 Nicolai Hähnle <nicolai.haehnle@amd.com> radeonsi: fix/silence unused variable warnings in optimized builds

I'm leaving num_out_sgpr around since it's not in a fast path, and besides
the compiler should be able to optimize it away easily. The alternative
with #if/#endif would be extremely ugly.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
e9c76eeeaa673331fec6056a4baa30095de42f5e 26-Oct-2016 Marek Olšák <marek.olsak@amd.com> gallium/radeon: remove radeon_surf_level::pitch_bytes

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
7e73ff87c0255a8e0498a47991b640cdece35928 23-Oct-2016 Marek Olšák <marek.olsak@amd.com> gallium/radeon: remove unnecessary fields from radeon_surf_level

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
8c6ea5a6ffddd94cbdd5071d18b323f2e63b98c7 02-Oct-2016 Marek Olšák <marek.olsak@amd.com> radeonsi: remove unnecessary #includes

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
c23273532e711f3f0263bfff8bf8a0e733b90e12 06-May-2016 Nicolai Hähnle <nicolai.haehnle@amd.com> gallium/radeon: use radeon_emit

Mostly generated using a sed-script, with manual fix-up for multi-line
statements.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
fb89f066983eb3799bb05e2570dbbf66639f4818 28-Apr-2016 Marek Olšák <marek.olsak@amd.com> radeonsi: consolidate radeon_add_to_buffer_list calls for DMA

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
bb74152597de44ee877b8928587b1cece8b49656 28-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium/radeon: flush if DMA IB memory usage is too high

This prevents IB rejections due to insane memory usage from
many concecutive texture uploads.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
a512da36aed3a1c893b34681dec2dfd51d250ee5 26-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium/radeon: fix (S)DMA read-after-write hazards

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
498a40cae8023a8461e7cfe95cb837a0aa459337 22-Apr-2016 Marek Olšák <marek.olsak@amd.com> radeonsi: only expose *_init_*dma_functions from (S)DMA files

just normalizing the interfaces

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
2f173b8e13308bea0690684f841fad28ccc2e40e 21-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium/radeon: use a common function for DMA blit preparation

this is more robust and probably fixes some bugs already

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
0c2cba1ec66485c441157fcaa72eb40efe6a8aef 01-May-2016 Marek Olšák <marek.olsak@amd.com> radeonsi: just read tile mode arrays in SI DMA setup

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
92f6af2c4a360c6e499ead0fdfbd57e63615e9bb 22-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium/radeon: drop support for LINEAR_GENERAL layout

Unused. All texture imports use LINEAR_ALIGNED regardless of what
the DDX does.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
b744ac9f44099e1b50d335dc9bdc0950ab7ec374 21-Feb-2016 Marek Olšák <marek.olsak@amd.com> radeonsi: allocate DCC in the same backing buffer as the texture

To allow sharing textures with DCC enabled.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
6cc8f6c6a72b1aab7bb506deb220e04ae50d8c2b 07-Nov-2015 Marek Olšák <marek.olsak@amd.com> gallium/radeon: inline the r600_rings structure

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
235d38584cd47faa2837cd66ebdc770f295f47c4 22-Oct-2015 Marek Olšák <marek.olsak@amd.com> radeonsi: properly check if DCC is enabled and allocated

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
bb77467df9863c522c8d8550e295e2ad7bbef37c 21-Oct-2015 Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> radeonsi: Disable operations that do not work with DCC.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
5804c6adf8361adb5d04feaf578dffbf840475d6 06-Sep-2015 Marek Olšák <marek.olsak@amd.com> gallium/radeon: add separate stencil level dirty flags

We will only do depth-only or stencil-only decompress blits, whichever is
needed by textures, instead of always doing both.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
2edb0606397d16fe88d7b488285df379aaae5893 26-Sep-2015 Marek Olšák <marek.olsak@amd.com> gallium/radeon: tell the winsys the exact resource binding types

Use the priority flags and expand them.
This information will be used for debugging.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
7ff2991e344130c8eb6e4be0b146320b3f02c1e6 30-Aug-2015 Marek Olšák <marek.olsak@amd.com> gallium/radeon: rename r600_context_bo_reloc -> radeon_add_to_buffer_list

this name should be easy to understand without other knowledge

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
379e3382e8631fdd15c28c6643512205483e7b99 23-Aug-2015 Marek Olšák <marek.olsak@amd.com> radeonsi: remove no-op 32-bit masking

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
56e38edc960bf08213cdb0282838ccec3e5ea10e 26-May-2015 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Add CIK SDMA support

Based on the corresponding SI support. Same as that, this is currently
only enabled for one-dimensional buffer copies due to issues with
multi-dimensional SDMA copies.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
ae4536b4f71cbe76230ea7edc7eb4d6041e651b4 11-Nov-2014 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Disable asynchronous DMA except for PIPE_BUFFER

Using the asynchronous DMA engine for multi-dimensional operations seems
to cause random GPU lockups for various people. While the root cause for
this might need to be fixed in the kernel, let's disable it for now.

Before re-enabling this, please make sure you can hit all newly enabled
paths in your testing, preferably with both piglit and real world apps,
and get in touch with people on the bug reports below for stability
testing.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85647
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83500
Cc: "10.3 10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Grigori Goronzy <greg@chown.ath.cx>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
61128d750789fa5e3947cb50b165bac5ebb3265e 30-Sep-2014 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Pass the slice size to si_dma_copy_buffer

Otherwise some parts of tiled slices can be missed.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
74aeccd701c13851e69120d562fe5e899b10fb93 11-Sep-2014 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Catch more cases that can't be handled by si_dma_copy_buffer/tile

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
d17b85524dfd74824a2135d5d4112a1fae86ed17 10-Sep-2014 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Fix si_dma_copy(_tile) for compressed formats

Fixes GPUVM faults when running the piglit test "getteximage-formats
init-by-rendering" with R600_DEBUG=forcedma on SI.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
761d80ddab9ce854dc964b2023bc4fbc734fafc7 10-Sep-2014 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Fix tiling mode index for stencil resources

We are currently only dealing with depth-only or stencil-only resources
here, not with resources having both depth and stencil[0]. In both cases,
the tiling mode index is in the tile_mode field, not in the
stencil_tile_mode field.

[0] Add an assertion for that.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
d13d2fd16132f351ec7c8184f165faeac3b31bb4 06-Sep-2014 Marek Olšák <marek.olsak@amd.com> r600g,radeonsi: add debug option which forces DMA for copy_region and blit
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
82edcb918be3fdff12af3123269552d0829316ed 09-Sep-2014 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Simplify si_dma_copy_tile function

No functional change intended.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
a131263a2f19507ca0d2f6093672d930a7c054d1 16-Aug-2014 Emil Velikov <emil.l.velikov@gmail.com> gallium/radeon: cleanup header inclusion

- Add top_srcdir/src/gallium/winsys to GALLIUM_DRIVER_C{XXFLAGS}.
- Remove top_srcdir/src/gallium/drivers/radeon from the includes.

As a result:
- Common radeon headers are prefixed with 'radeon/'
- Winsys header inclusion is prefixed 'radeon/drm'

Cc: Marek Olšák <marek.olsak@amd.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
a3333099796b8aabd72b17c39d8f12b9b5fa501c 18-Aug-2014 Marek Olšák <marek.olsak@amd.com> radeonsi: simplify si_num_banks function

This makes it easier to use.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
1c03a690bfc3265c7fefa7f87e69782a6672a9b2 06-Aug-2014 Marek Olšák <marek.olsak@amd.com> radeonsi: use gpu_address from r600_resource

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
c8011c1885003b79c9f0c6530e46ae6cb0e69575 09-Jul-2014 Christian König <christian.koenig@amd.com> radeonsi: fix order of r600_need_dma_space and r600_context_bo_reloc

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
360038fa5028b32837580478d36e5ec2c54d8652 21-Apr-2014 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Fix calculation of number of banks for SI

The way cik_num_banks() was calculating the index only makes sense for
the CIK specific macrotile mode array. For SI, we need to use the tile
mode index directly.

This happened to work most of the time because most of the SI tiling
modes use the same number of banks.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
7489f3eedafbdad905158196873c8b3f5ccb546f 18-Apr-2014 Alex Deucher <alexander.deucher@amd.com> radeonsi: fix num banks selection on SI for dma setup (v2)

The number of banks varies based on the tile mode index
just like CIK.

Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=77533

v2: fix ordering for nbanks calculation for consistency

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c
71254732db12c8813c002425b5c1b7c31bf56f65 17-Mar-2014 Niels Ole Salscheider <niels_ole@salscheider-online.de> radeonsi: Implement DMA blit

This code is a slightly modified version of evergreen_dma_blit (and
evergreen_dma_copy as well as evergreen_dma_copy_tile).
It would be nice to share some of the code in the long term.

I have reused some "cik"-prefixed functions that also return the right
value for SI. I am not sure if they should be renamed.

v2: Marek> removed gfx.flush in si_dma_copy_tile

Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/radeonsi/si_dma.c