diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-05-25 22:57:29 +0900 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-05-25 16:30:34 +0200 |
| commit | 99e110a36885ffc91c711e84d3121160a5c5eb77 (patch) | |
| tree | b7a09cce15e28cbb7dc0568be6a421cf3d7ae677 /include/linux/debugobjects.h | |
| parent | b2a48fc068ea67729a822c3b85c3a535a01da793 (diff) | |
gpu: nova-core: vbios: simplify setup_falcon_data
The code first computes `pmu_in_first_fwsec` or adjusts the offset and
then uses it in a branch just once to get the correct source for the PMU
table. This can be simplified to a single branch while also avoiding the
mutation of `offset`. Also, adjust the code after this to keep the
success case non-nested.
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260525-fix-vbios-v5-11-e5e455251537@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
