URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea3e9d541ff03037b0cef7fb1f1e03835268965a
Author: Rob Clark <[email protected]>
Date: Sat Mar 4 11:03:36 2023 -0800
freedreno/a6xx: Simplify iova emit
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ca3481b5d2ed6e57968bd1a69043fbf74a7f333
Author: Danylo Piliaiev <[email protected]>
Date: Fri Mar 3 14:10:19 2023 +0100
freedreno/register: Define chip enum values
Otherwise it cannot be used in templates
Signed-off-by: Danylo Piliaiev <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b2c1b00ff3661498e64db725b6d6ffe8f81d194
Author: Rob Clark <[email protected]>
Date: Tue Mar 7 07:52:36 2023 -0800
freedreno/registers: Define rest of CP_REG_WRITE
Enough that we can use OUT_PKT() to emit it, which will be needed when
we use it to write regs that are different btwn a6xx and a7xx.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dd5b4ca5f1ba405cc210b9800c5f7db592e4309
Author: Rob Clark <[email protected]>
Date: Mon Mar 6 10:35:22 2023 -0800
freedreno/registers: Fix nameless fields
Originally if we had an anonymous field (ie. field declared as part of
the register definition itself) the name in the generated field struct
would include the gen prefix (ie. .a6xx_rb_stencil_buffer_pitch), but
this doesn't work for variants because the variant regs would have
different gen prefixes. Fix this by using reg name instead of the
full_name.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc43237d1a845bbb357b59287c1ffff3d989adb3
Author: Rob Clark <[email protected]>
Date: Thu Mar 2 11:18:05 2023 -0800
freedreno/registers: Add c++ magic for register variants
For regs with multiple variants, generate a template'ized function to
pack the reg value. If the template param is known at compile time
(which is the expected usage) this will optimize to the same thing as
the "traditional" reg packing.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d58af7b5c7fe8c9b6d191155e46d0a9d7b45cb3c
Author: Rob Clark <[email protected]>
Date: Thu Mar 2 11:17:06 2023 -0800
freedreno/registers: Split out regpair builder helper
We are going to want to re-use this in the next commit.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d54edcfc72aad9e98ec3b91344826f248210acb7
Author: Rob Clark <[email protected]>
Date: Wed Mar 1 15:17:57 2023 -0800
freedreno/registers: Track varset
Track varset and assert that variants refer to a valid varset enum
value. This adds a bit of extra sanity checking, but becomes more
useful in the next commit.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f011189642c413cc5cc686995279b65b2322f702
Author: Rob Clark <[email protected]>
Date: Wed Aug 3 07:56:35 2022 -0700
freedreno/registers: Start adding stuff for a7xx
Start adding the bits needed for userspace.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b90d4a07012c4c00de1c817c62c7ad29df097fc9
Author: Rob Clark <[email protected]>
Date: Tue Aug 2 15:51:53 2022 -0700
freedreno/decode: Start adding a7xx support
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd6e7041abb2de01ec1de4c17e2b910def36d7a6
Author: Rob Clark <[email protected]>
Date: Tue Aug 2 15:39:32 2022 -0700
freedreno/registers: Start adding a7xx pipe/control regs
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=56f9371f7e0da94851a2845a2d0184180606eb4b
Author: Rob Clark <[email protected]>
Date: Sat Jul 23 15:14:22 2022 -0700
freedreno/registers: Merge a6xx and a7xx regs
They have more similarities than differences, so merge them and use
"variant" attribute as needed to manage differences.
Note initially using "variant" conservatively when it comes to regs
known on a7xx but not a6xx. It could be that they exist also on later
versions of a6xx as well, for example. For ex, LPAC related regs/bits
likely existed on later a6xx (eg. a660 family) but BV stuff is not.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=684931166d5378dcf8de0e6c9ec3088a2d796c08
Author: Rob Clark <[email protected]>
Date: Tue Aug 2 09:53:25 2022 -0700
freedreno/registers: Add prefix="variant"
To merge a7xx and a6xx regs, using variant property to manage the
differences, we'll want regs/etc to be named according to the first
generation it is use rather than the domain name. Add a new prefix
type to accomplish this. By default, if no variant property, things
will still be named based on domain (ie. REG_A6XX_...), and things
that have variant="A6XX" will also end up as they currently are
(since the chip enum matches domain name), but things that have
variant="A7XX" will end up as REG_A7XX_...
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fadf76b938317200184cf654b5f4d609bd7afa49
Author: Rob Clark <[email protected]>
Date: Fri Jul 29 11:44:16 2022 -0700
freedreno/registers: Fix designator order
C++ is picky about order matching for some reason.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a528e8f5f7403454042338911142cb2e5df6b4b
Author: Rob Clark <[email protected]>
Date: Sun Jul 17 07:55:43 2022 -0700
freedreno/a6xx: Convert to c++
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce336097f1c3f77db89f663e6eb8fe7f20f2cacc
Author: Rob Clark <[email protected]>
Date: Sun Mar 5 12:38:24 2023 -0800
freedreno/a6xx: Fix designator initializer order
Clang seems more relaxed about this, allowing C99 style initializers
without requiring ordering. But unfortunately g++ is more picky :-/
TODO this doesn't completely fix everything with g++, namely sparse
array initialization.. for ir3 driver-params, I think we can convert
these to structs. But there are still one or two others to deal with.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=96ca37b9afd7df28f58f6d992590a7d75e7abc02
Author: Rob Clark <[email protected]>
Date: Sun Feb 26 09:59:33 2023 -0800
freedreno/a6xx: Add missing "inline"
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af2f0c3d9b83bb56f05a136e6b046d60dd186d6d
Author: Rob Clark <[email protected]>
Date: Sun Feb 26 09:57:24 2023 -0800
freedreno/a6xx: Rework texture_clear fallback
C++ is more picky about a goto jumping over variable initialization,
even if unused after the goto label (presumably because of destructors
that can be called after a variable goes out of scope). Since there is
only a single fallback path, get rid of the goto.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f921b7c09bb3b153ff81fdf0d82d8c912d1325d9
Author: Rob Clark <[email protected]>
Date: Sun Jul 17 11:04:54 2022 -0700
freedreno: c++-proofing
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=05958fa6c9109d7b2353f0713db4bfb013502cf6
Author: Rob Clark <[email protected]>
Date: Sat Feb 25 09:28:16 2023 -0800
freedreno: Un-inline buffer-mask enum
Also, fix obsolete comment.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=37a036500a1d11f1b17bd349478a4b4276c7cda3
Author: Rob Clark <[email protected]>
Date: Mon Mar 6 08:02:14 2023 -0800
freedreno/ir3: Add missing driver params
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eed59cc874ca510f051d75aa37883ffc01cfdf8
Author: Rob Clark <[email protected]>
Date: Mon Mar 6 07:59:19 2023 -0800
freedreno/ir3+tu: Calculate subgroup size in ir3
TBD if the size changes for a7xx, but at least let's have it in one
place instead of duplicating in turnip and gallium.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c449e638090b240f23d0f1580cd106d5dad48ed3
Author: Rob Clark <[email protected]>
Date: Sun Jul 17 10:12:11 2022 -0700
freedreno/ir3: c++-proof the headers
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bff0ff5ae30830d9fdf28b2b243eea4742512f4e
Author: Rob Clark <[email protected]>
Date: Fri Aug 5 09:39:18 2022 -0700
freedreno/ir3: Don't use negative opc for meta instructions
Stricter compilers complain about this, ie:
error: left operand of shift expression ‘(-1 << 7)’ is negative
[-fpermissive]
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c7761574ea4ee0d8148eb51023cef6193082d60
Author: Rob Clark <[email protected]>
Date: Sun Jul 17 09:20:09 2022 -0700
freedreno/ir3: Un-inline enums
It seems to be a thing that c++ dislikes
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=69947b284e99495816f7e7e7c467a9d10d53ad4e
Author: Rob Clark <[email protected]>
Date: Sun Jul 17 08:12:41 2022 -0700
freedreno: Quiet c++ warning about designated initializers
And various other things that c++ is more strict about. Perhaps we
re-instate a few of the more reasonable warnings over time.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=64e93ca9a1744a81eb12a2c72de1aa8774c80ae2
Author: Rob Clark <[email protected]>
Date: Wed Aug 3 08:56:14 2022 -0700
freedreno/registers: Add regs for a690
New regs needed on kernel side.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=44d0365a4d3d1d49eb1e85f93746cbba8c0a193a
Author: Rob Clark <[email protected]>
Date: Sat Jul 23 14:13:21 2022 -0700
freedreno/registers: Schema validation for gen_header.py
Lets catch issues at build time, and not relying on someone remembering
to run the unit tests.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=963729af2aa8c7b3f13a8970be64b0c64540409d
Author: Rob Clark <[email protected]>
Date: Tue Mar 7 13:26:58 2023 -0800
freedreno: Nerf strict-aliasing warning for all of gcc
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>