]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: regs: rename .alter() --> .update()
authorJohn Hubbard <jhubbard@nvidia.com>
Sat, 25 Oct 2025 01:08:15 +0000 (18:08 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 25 Oct 2025 04:12:02 +0000 (13:12 +0900)
commit34aadecdf3ab9f0d2d4f1ce001d016f64e15fbf0
tree84f496c30aef40528709ad34fab5c39fb70054c7
parentd3917368ebc5cd89d7d08eab4673e5c4c73ff42f
gpu: nova-core: regs: rename .alter() --> .update()

This also changes .try_alter() to try_update().

After this commit, instead of "read, write and alter", the methods
available for registers are now "read, write and update".

This reads a lot easier for people who are used to working with
registers, and aligns the API with what e.g. regmap uses.

No functional changes are intended.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
[acourbot@nvidia.com: add Link tag for context.]
[acourbot@nvidida.com: mention regmap in commit log.]
Link: https://lore.kernel.org/all/2c5d90c8-e73a-4f04-9c1d-30adbd0fef07@nvidia.com/
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251025010815.566909-2-jhubbard@nvidia.com>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/regs/macros.rs