- 29 Jul, 2021 7 commits
-
-
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa@collabora.com>
-
Alyssa Rosenzweig authored
Logic is lifted from bi_layout.c, adapted to work on instructions (not clauses) and for Valhall's off-by-one semantic which is annoyingly different than Bifrost. (But the same as Midgard -- Bifrost was annoyingly different than Midgard!) Signed-off-by:
Alyssa Rosenzweig <alyssa@collabora.com>
-
Alyssa Rosenzweig authored
These are pre-conditions required for packing. Signed-off-by:
Alyssa Rosenzweig <alyssa@collabora.com>
-
Alyssa Rosenzweig authored
This handles enough for basic compute shaders to compile. Signed-off-by:
Alyssa Rosenzweig <alyssa@collabora.com>
-
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa@collabora.com>
-
Alyssa Rosenzweig authored
Used to determine the instruction's action. Signed-off-by:
Alyssa Rosenzweig <alyssa@collabora.com>
-
Alyssa Rosenzweig authored
Just NOP everything out for now. Signed-off-by:
Alyssa Rosenzweig <alyssa@collabora.com>
-
- 22 Apr, 2021 1 commit
-
-
Boris Brezillon authored
Indirect dispatch is implemented using an extra compute job patching the compute job header to apply the final num_workgroup values. Add helpers to simplify emission of the such jobs. Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <mesa/mesa!10332>
-
- 13 Apr, 2021 1 commit
-
-
Boris Brezillon authored
pan_blitter.c is meant to replace the pan_blit.c which currently provides helpers to preload the tile buffer. Some changes are worth mentioning: - we use pre-frame DCDs on Bifrost (Midgard still uses a tiler job to preload the tile buffer) - the blit shaders are now stored in a hash table and created lazily - we now cache blend shader binaries and blit RSDs too This library will soon be extended to cover regular blits. Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <mesa/mesa!10033>
-
- 22 Mar, 2021 1 commit
-
-
Rob Clark authored
The freedreno pps datasource is going to need the same, so split out helpers that can be re-used. Signed-off-by:
Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!9758>
-
- 03 Apr, 2019 1 commit
-
-
Alyssa Rosenzweig authored
Previously, there was minimal support for interoperating with legacy kernels (reusing kernel modules originally designed for proprietary legacy userspaces, rather than for upstream-friendly free software stacks). Now that the Panfrost kernel is stabilising, this commit drops the legacy code path. Panfrost users need to use a modern, mainline kernel supporting the Panfrost kernel driver from this commit forward. Signed-off-by:
Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by:
Tomeu Vizoso <tomeu.vizoso@collabora.com>
-
- 05 Feb, 2019 1 commit
-
-
Alyssa Rosenzweig authored
This patch adds an initial stub for the Gallium driver, containing simple screen functions and the majority of the driver headers but no actual functionality. It further adds the winsys glue for linking in this stub driver via kmsro on Rockchip/Amlogic boards. Signed-off-by:
Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by:
Jason Ekstrand <jason@jlekstrand.net> Acked-by:
Rob Clark <robdclark@gmail.com> Acked-by:
Eric Anholt <eric@anholt.net> Acked-by:
Emil Velikov <emil.velikov@collabora.com>
-
- 22 Mar, 2017 2 commits
-
-
Timothy Arceri authored
V2: pass the seed to the seed function so that we can isolate its uses. Stop leaking fd when urandom couldn't be read. Reviewed-by:
Grazvydas Ignotas <notasas@gmail.com> Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com>
-
Timothy Arceri authored
V2: pass the seed to rand_xorshift128plus() so that we can isolate its uses. Reviewed-by:
Grazvydas Ignotas <notasas@gmail.com> Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com>
-
- 30 Nov, 2016 1 commit
-
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
- 15 Nov, 2014 1 commit
-
-
Rob Clark authored
Very initial support. Basic stuff working (es2gears, es2tri, and maybe about half of glmark2). Expect broken stuff. Still missing: mem->gmem (restore), queries, mipmaps (blob segfaults!), hw binning, etc. Signed-off-by:
Rob Clark <robclark@freedesktop.org>
-
- 13 May, 2014 1 commit
-
-
Rob Clark authored
Signed-off-by:
Rob Clark <robclark@freedesktop.org>
-
- 23 Feb, 2014 1 commit
-
-
Rob Clark authored
Instead in the common code, construct these shaders from TGSI. For now we let a2xx keep it's hand coded shaders, as it's compiler isn't quite up to the job yet. All the same it is a net drop in code size and gets rid of special cases. Signed-off-by:
Rob Clark <robclark@freedesktop.org>
-
- 08 Jun, 2013 1 commit
-
-
Rob Clark authored
Split the parts that are specific to adreno a2xx series GPUs from the parts that will be in common with a3xx, so that a3xx support can be added more cleanly. Signed-off-by:
Rob Clark <robclark@freedesktop.org>
-
- 12 Mar, 2013 1 commit
-
-
Currently works on a220. Others in the a2xx family look pretty similar and should be pretty straightforward to support with the same driver. The a3xx has a new shader ISA, and while many registers appear similar, the register addresses have been completely shuffled around. I am not sure yet whether it is best to support with the same driver, but different compiler, or whether it should be split into a different driver. v1: original v2: build file updates from review comments, and remove GPL licensed header files from msm kernel v3: smarter temp/pred register assignment, fix clear and depth/stencil format issues, resource_transfer fixes, scissor fixes Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
- 12 Nov, 2012 2 commits
-
-
Emma Anholt authored
Mesa's chaining hash table for object names is slow, and this should be much faster. I namespaced the functions under _mesa_*, to avoid visibility troubles that we may have had before with hash_table_* functions. v2: Move .c file to main/, const a few things, clean up loop conditions, add/extend some comments. Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
-
Paul Berry authored
This patch adjusts the aliasing pattern in the GL API description XML, and the functions that implement the GL API within Mesa, to consistently follow these naming conventions: - When several function names are aliases of each other, the primary name is the one with no extension suffix (or the name with the suffix "ARB", if no unsuffixed name is available). (By "primary name", I mean the name that all the other functions point to using the XML "alias" attribute). - The name of the mesa implementation of each function is the same as the primary name, with the prefix "_mesa_". This patch renames the following mesa functions: _check_GetTexGenxvOES => _mesa_GetTexGenxvOES _check_TexGenxOES => _mesa_TexGenxOES _check_TexGenxvOES => _mesa_TexGenxvOES _es_AlphaFuncx => _mesa_AlphaFuncx _es_ClearColorx => _mesa_ClearColorx _es_ClearDepthx => _mesa_ClearDepthx _es_ClipPlanef => _mesa_ClipPlanef _es_ClipPlanex => _mesa_ClipPlanex _es_Color...
-
- 01 Nov, 2012 1 commit
-
-
Paul Berry authored
This patch creates a header querymatrix.h, to allow functions defined in querymatrix.c to be used from other .c files. It also switches from the nonstandard GL_APIENTRY to GLAPIENTRY. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> v2: Don't declare _mesa_Get{Integer,Float}v in querymatrix.c. Instead, just include main/get.h. Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
- 31 May, 2012 1 commit
-
-
Kenneth Graunke authored
I started writing unit tests for a new piece of code, and discovered they all failed due to a bug in ralloc. Clearly it needs a test suite. v2: Rename to 'ralloc-test' and fix copyright date. (idr review) Signed-off-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 24 Jun, 2010 1 commit
-
-
Emma Anholt authored
-
- 05 May, 2010 1 commit
-
-
Emma Anholt authored
-
- 23 Apr, 2010 1 commit
-
-
Emma Anholt authored
We still don't inline for control flow in the inlined function, and we don't have any limits on what we will inline.
-
- 21 Apr, 2010 1 commit
-
-
Kenneth Graunke authored
-
- 08 Apr, 2010 1 commit
-
-
Emma Anholt authored
-
- 07 Apr, 2010 2 commits
-
-
Ian Romanick authored
-
Ian Romanick authored
This touches a lot of files because everything derived from ir_visitor has to be updated. This is the primary disadvantage of the visitor pattern.
-
- 06 Apr, 2010 1 commit
-
-
Emma Anholt authored
-
- 29 Mar, 2010 1 commit
-
-
Ian Romanick authored
The following tests now pass: glslparsertest/shaders/if1.frag glslparsertest/shaders/if2.frag The following tests that used to pass now fail. It appears that most of these fail because ast_nequal and ast_equal are not converted to HIR. shaders/glsl-unused-varying.frag shaders/glsl-fs-sqrt-branch.frag
-
- 26 Mar, 2010 2 commits
-
-
Kenneth Graunke authored
Also turn generate_swizzle into a static "create" method of the new class; we'll want to use it for the IR reader as well. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Ian Romanick authored
Also make a slight change to ir_variable. The ir_dereference tracks the number of nested dereferences. If an ir_variable is visited and the count is non-zero, just print the name of the variable.
-
- 19 Mar, 2010 1 commit
-
-
Ian Romanick authored
-
- 11 Mar, 2010 1 commit
-
-
Ian Romanick authored
-
- 10 Mar, 2010 2 commits
-
-
Ian Romanick authored
-
Ian Romanick authored
The ir_visitor class is the abstract base class for all visitors. ir_print_visitor contains the beginnings of a concrete visitor class that will print out an IR sequence in a Lisp / Scheme-like syntax.
-
- 23 Feb, 2010 1 commit
-
-
Ian Romanick authored
The ast_expression_bin subclass is used for all binary expressions such as addition, subtraction, and comparisons. Several other subclasses are soon to follow.
-