mesa/src/gallium/drivers
Marek Olšák 5ee3cac138 radeonsi: increase performance for DRI PRIME offloading if 2nd GPU is CIK or VI
SDMA is much faster for tiled->linear blits from VRAM to GTT.
I have Bonaire in my second PCIe slot.

$ glxinfo | grep OpenGL.renderer
OpenGL renderer string: Gallium 0.4 on AMD TONGA ...

$ DRI_PRIME=1 glxinfo | grep OpenGL.renderer
OpenGL renderer string: Gallium 0.4 on AMD BONAIRE ...

Without SDMA:
$ DRI_PRIME=1 glxgears
8796 frames in 5.0 seconds = 1759.074 FPS
8899 frames in 5.0 seconds = 1779.672 FPS

With SDMA:
$ DRI_PRIME=1 glxgears
12765 frames in 5.0 seconds = 2552.788 FPS
12888 frames in 5.0 seconds = 2577.495 FPS

The 1st GPU is irrelevant. The improvement should be much lower at 60 fps,
but definitely measurable.

SI will get this once we add SDMA blit support for it.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2016-08-26 15:50:10 +02:00
..
ddebug gallium: add a pipe_context parameter to resource_get_handle 2016-08-25 14:09:48 +02:00
freedreno nir: Change nir_shader_get_entrypoint to return an impl. 2016-08-25 19:18:24 -07:00
i915 gallium: add a cap to expose whether driver supports mixed color/zs bits 2016-08-23 18:30:49 -04:00
ilo gallium: add a pipe_context parameter to resource_get_handle 2016-08-25 14:09:48 +02:00
llvmpipe gallium: add a pipe_context parameter to resource_get_handle 2016-08-25 14:09:48 +02:00
noop gallium/noop: use 3-space indentation 2016-08-25 14:09:48 +02:00
nouveau nvc0: invalidate textures/samplers on GK104+ 2016-08-24 22:26:36 +02:00
r300 gallium: add a pipe_context parameter to resource_get_handle 2016-08-25 14:09:48 +02:00
r600 gallium/radeon: merge USER_SHADER and INTERNAL_SHADER priority flags 2016-08-26 15:50:10 +02:00
radeon gallium/radeon: increase priority for shader binaries 2016-08-26 15:50:10 +02:00
radeonsi radeonsi: increase performance for DRI PRIME offloading if 2nd GPU is CIK or VI 2016-08-26 15:50:10 +02:00
rbug gallium: add a pipe_context parameter to resource_get_handle 2016-08-25 14:09:48 +02:00
softpipe gallium: add a pipe_context parameter to resource_get_handle 2016-08-25 14:09:48 +02:00
svga svga: fix regression related to srgb 2016-08-26 06:19:52 -06:00
swr gallium: add a cap to expose whether driver supports mixed color/zs bits 2016-08-23 18:30:49 -04:00
trace gallium: add a pipe_context parameter to resource_get_handle 2016-08-25 14:09:48 +02:00
vc4 vc4: Add support for fddx/fddy 2016-08-25 17:24:11 -07:00
virgl gallium: add a cap to expose whether driver supports mixed color/zs bits 2016-08-23 18:30:49 -04:00