summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorEliot Courtney <ecourtney@nvidia.com>2026-05-25 16:57:29 +0300
committerDanilo Krummrich <dakr@kernel.org>2026-05-25 17:30:34 +0300
commit99e110a36885ffc91c711e84d3121160a5c5eb77 (patch)
treeb7a09cce15e28cbb7dc0568be6a421cf3d7ae677 /include/uapi/linux
parentb2a48fc068ea67729a822c3b85c3a535a01da793 (diff)
downloadlinux-99e110a36885ffc91c711e84d3121160a5c5eb77.tar.xz
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/uapi/linux')
0 files changed, 0 insertions, 0 deletions