8a943564fd7ebacd2437bb907535b7765ff448e4 |
|
27-Sep-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
virgl: use the new parent/child pools for transfers Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
e7a73b75a0dbd599187b8980b2e1e1cb5dfdaf6d |
|
28-Aug-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: switch drivers to the slab allocator in src/util
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
1ffe77e7bb2486ea74cda077ed2a9622b758395c |
|
16-Jul-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: split transfer_inline_write into buffer and texture callbacks to reduce the call indirections with u_resource_vtbl. The worst call tree you could get was: - u_transfer_inline_write_vtbl - u_default_transfer_inline_write - u_transfer_map_vtbl - driver_transfer_map - u_transfer_unmap_vtbl - driver_transfer_unmap That's 6 indirect calls. Some drivers only had 5. The goal is to have 1 indirect call for drivers that care. The resource type can be determined statically at most call sites. The new interface is: pipe_context::buffer_subdata(ctx, resource, usage, offset, size, data) pipe_context::texture_subdata(ctx, resource, level, usage, box, data, stride, layer_stride) v2: fix whitespace, correct ilo's behavior Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Acked-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
2235b80f2a7d005db1f10a01650071bf8a2ffd8a |
|
20-May-2016 |
Rob Herring <robh@kernel.org> |
virgl: Add missing texture transfer_inline_write transfer_inline_write cannot be NULL and the virgl renderer doesn't support inline writes for textures, so add the default version. This fixes a crash in st_TexSubImage since commit fb9fe352ea41 ("st/mesa: use transfer_inline_write for memcpy TexSubImage path"). Cc: Marek Olšák <marek.olsak@amd.com> Cc: Dave Airlie <airlied@redhat.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
13eb5f596bc8ece3d1805b388aa53917e6158d7b |
|
04-Dec-2015 |
Edward O'Callaghan <eocallaghan@alterapraxis.com> |
gallium/drivers: Sanitize NULL checks into canonical form Use NULL tests of the form `if (ptr)' or `if (!ptr)'. They do not depend on the definition of the symbol NULL. Further, they provide the opportunity for the accidental assignment, are clear and succinct. Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
493e410d552e97572ca9a492d23648f6a236e4a4 |
|
29-Oct-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
virgl: unwrap the includes Include what you want, rather than relying on a header foo.h N levels down the include chain, to provide something that you need. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
7af46b9c747cbd503a2b97f00f1c603f1b75aaff |
|
28-Oct-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
virgl: introduce and use virgl_transfer/texture/resource inline wrappers The only two remaining cases of (struct virgl_resource *) require a closer look. Either the error checking is missing or the arguments provided feel wrong. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
6b123fa07ff9d73d6e67416c2372eab5c17282b6 |
|
28-Oct-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
virgl: add virgl_context/sampler_view/so_target() upcast wrappers Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
0c82c2fb0b5d7c3b481190667a481bf2dd126e36 |
|
29-Oct-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
virgl: rename virgl.h to virgl_screen.h Provide a more meaningful name considering it's purpose. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|
a8987b88ff1db4ac00720a9b56c4bc3aeb666537 |
|
22-Jan-2015 |
Dave Airlie <airlied@redhat.com> |
virgl: add driver for virtio-gpu 3D (v2) virgl is the 3D acceleration backend for the virtio-gpu shipping with qemu. The 3D acceleration is designed around gallium and TGSI as the virtualisation layer. The backend renderer translates the virgl interface into OpenGL currently. This is the initial import of the driver to mesa. The kernel driver portions are lined up for drm-next. Currently this driver supports up to GL3.3 and some misc extensions if the host driver exposes it. It is planned to iterate the virgl API to new GL levels as mesa host drivers gain features. v2: fix resource tracking across flushes to avoid ->bind hack in mapping. consolidate mapping and waiting code for transfers. use u_range for dirt tracking. handle larger shaders in protocol. include virtgpu_drm.h in mesa for now. add translation layer for gallium tgsi to virgl tgsi. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/virgl/virgl_texture.c
|