diff options
| author | Ilpo Järvinen <[email protected]> | 2024-05-07 13:25:22 +0300 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2024-06-12 14:51:07 -0500 |
| commit | 8fa0a44eb0adfa94d099e0beba641e8306a178db (patch) | |
| tree | dccda2cdc2c964e71af6651313d5924774e67a68 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 903534fa7d30214d8ba840ab1cd9e917e0c88e41 (diff) | |
PCI: Make minimum bridge window alignment reference more obvious
Calculations related to bridge window size contain literal 20 that is the
minimum alignment for a bridge window. Make the code more obvious by
converting the literal 20 to __ffs(SZ_1M).
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
[bhelgaas: squash https://lore.kernel.org/r/[email protected]]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions