nouveau/mme: Add a couple helpers for working 64-bit addresses
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:12:00 +0000 (20:12 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:00 +0000 (21:32 +0000)
commit92970b1515995ded9f4e93b4fb7a4cd07855b24c
tree229e479f7542ace2ba0fab99b9a1d9f887d1ea66
parent54fd3604ef4e41736f6e49ccf4250b6dc7bf7c81
nouveau/mme: Add a couple helpers for working 64-bit addresses

In the command stream, they always come high bits first which is
backwards from little endian. These helpers follow that same convention
so that MMEs use the same conventions as other registers.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/mme/mme_builder.h