- 18 Nov, 2020 1 commit
-
-
Marek Olšák authored
This removes 8 bytes from pipe_draw_info (think u_threaded_context) and a lot of info->indirect pointer indirections. Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!7441>
-
- 27 Jun, 2020 1 commit
-
-
Vinson Lee authored
Fix warning reported by Coverity Scan. Double unlock (LOCK) double_unlock: mtx_unlock unlocks rb_pipe->call_mutex while it is unlocked. Fixes: 07838ff9 ("rbug: Use the call mutex") Closes: #3023Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Jakob Bornecrantz <jakob@collabora.com> Part-of: <!5196>
-
- 29 Apr, 2020 1 commit
-
-
Mike Blumenkrantz authored
this adds a new pipe cap that drivers can support which enables passing buffer clears with scissor test enabled through to be handled by the driver instead of having mesa draw a quad also adjust all existing clear() hooks to have the new parameter Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Vasily Khoruzhick <anarsoul@gmail.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!4310>
-
- 18 Oct, 2019 4 commits
-
-
Lucas Stach authored
Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
Lucas Stach authored
Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
Lucas Stach authored
All the other context method initialzation follow the order of the pipe_context structure definition making it easy to find unimplemented methods in rbug. Move the flush_resource init to follow the same order. Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
Lucas Stach authored
All resources passed to the drivers below rbug need to be unwrapped before being passed down. We missed to do this for the index buffer resource when this was made part of the draw_info structure. Fixes: 330d0607 (gallium: remove pipe_index_buffer and set_index_buffer) Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
- 23 Jul, 2019 1 commit
-
-
Ilia Mirkin authored
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 <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Acked-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
-
- 13 Apr, 2018 1 commit
-
-
Marek Olšák authored
which also simplifies the build scripts.
-
- 10 May, 2017 2 commits
-
-
Marek Olšák authored
pipe_draw_info::indexed is replaced with index_size. index_size == 0 means non-indexed. Instead of pipe_index_buffer::offset, pipe_draw_info::start is used. For indexed indirect draws, pipe_draw_info::start is added to the indirect start. This is the only case when "start" affects indirect draws. pipe_draw_info::index is a union. Use either index::resource or index::user depending on the value of pipe_draw_info::has_user_indices. v2: fixes for nine, svga
-
Marek Olšák authored
-
- 08 Mar, 2017 1 commit
-
-
Brian Paul authored
Reviewed-by:
Edward O'Callaghan <funfunctor@folklore1984.net>
-
- 06 Mar, 2017 5 commits
-
-
Timothy Arceri authored
pipe_mutex_unlock() was made unnecessary with fd33a6bc. Replaced using: find ./src -type f -exec sed -i -- \ 's:pipe_mutex_unlock(\([^)]*\)):mtx_unlock(\&\1):g' {} \; Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
replace pipe_mutex_lock() was made unnecessary with fd33a6bc. Replaced using: find ./src -type f -exec sed -i -- \ 's:pipe_mutex_lock(\([^)]*\)):mtx_lock(\&\1):g' {} \; Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
pipe_mutex_init() was made unnecessary with fd33a6bc. Replace was done using: find ./src -type f -exec sed -i -- \ 's:pipe_mutex_init(\([^)]*\)):(void) mtx_init(\&\1, mtx_plain):g' {} \; Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
pipe_condvar_wait() was made unnecessary with fd33a6bc. Reviewed-by:
Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
pipe_condvar_init() was made unnecessary with fd33a6bc. Reviewed-by:
Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 14 Feb, 2017 1 commit
-
-
Marek Olšák authored
Notes: - make sure the default size is large enough to handle all state trackers - pipe wrappers don't receive transfer calls from stream_uploader, because pipe_context::stream_uploader points directly to the underlying driver's stream_uploader (to keep it simple for now) v2: add error handling to nv50, nvc0, noop v3: set const_uploader Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> (v1) Tested-by:
Charmaine Lee <charmainel@vmware.com>
-
- 29 Aug, 2016 2 commits
-
-
Kai Wasserbäch authored
Signed-off-by:
Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Kai Wasserbäch authored
v1 → v2: - Fixed indentation (noted by Brian Paul) - Removed second assert from nouveau's switch statements (suggested by Brian Paul) Signed-off-by:
Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 09 Aug, 2016 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com>
-
- 23 Jul, 2016 1 commit
-
-
Marek Olšák authored
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>
-
- 20 Jun, 2016 1 commit
-
-
Rob Clark authored
Signed-off-by:
Rob Clark <robclark@freedesktop.org> Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com>
-
- 03 May, 2016 1 commit
-
-
Brian Paul authored
Signed-off-by:
Brian Paul <brianp@vmware.com>
-
- 22 Apr, 2016 1 commit
-
-
Nicolai Hähnle authored
Even when begin_query succeeds, there can still be failures in query handling. For example for radeon, additional buffers may have to be allocated when queries span multiple command buffers. Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 12 Apr, 2016 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com>
-
- 05 May, 2015 1 commit
-
-
Samuel Pitoiset authored
GL_AMD_performance_monitor must return an error when a monitoring session cannot be started. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Martin Peres <martin.peres@free.fr>
-
- 29 Jan, 2015 1 commit
-
-
Eric Anholt authored
The code was exactly the same, except util/ has c++ guards and a struct simple_node declaration. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 24 Sep, 2014 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 19 Aug, 2014 3 commits
-
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 01 Jul, 2014 1 commit
-
-
Ilia Mirkin authored
Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 21 May, 2014 1 commit
-
-
Rob Clark authored
Signed-off-by:
Rob Clark <robclark@freedesktop.org> Reviewed-by:
Jakob Bornecrantz <jakob@vmware.com>
-
- 28 Nov, 2013 1 commit
-
-
Roland Scheidegger authored
This adds support for this to more drivers, in particular for all the "special" ones useful for debugging. HW drivers are left alone, some should be able to support it if they want but they may not be interested at this point. Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
- 23 Oct, 2013 1 commit
-
-
Brian Paul authored
The new function replaces four old functions: set_fragment/vertex/ geometry/compute_sampler_views(). Note: at this time, it's expected that the 'start' parameter will always be zero. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Tested-by:
Emil Velikov <emil.l.velikov@gmail.com>
-
- 03 Oct, 2013 2 commits
-
-
Brian Paul authored
-
Brian Paul authored
-
- 20 Sep, 2013 1 commit
-
-
Marek Olšák authored
r600g needs explicit flushing before DRI2 buffers are presented on the screen. v2: add (stub) implementations for all drivers, fix frontbuffer flushing v3: fix galahad Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
- 25 May, 2013 1 commit
-
-
Zack Rusin authored
Gallium supported only a single viewport/scissor combination. This commit changes the interface to allow us to add support for multiple viewports/scissors. Signed-off-by:
Zack Rusin <zackr@vmware.com> Reviewed-by:
Marek Olšák <maraeo@gmail.com> Reviewed-by: José Fonseca<jfonseca@vmware.com> Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-