diff options
author | Taimur Hassan <[email protected]> | 2023-11-10 10:15:28 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-11-29 18:07:30 -0500 |
commit | dcf6cd7f35de572a946e2805ed32eb20d429a881 (patch) | |
tree | 6a839266798edd05c510ae02b9621e2c49c58951 /scripts/generate_rust_analyzer.py | |
parent | 2f86bf79b63dbe6963ebc647b77a5f576a906b40 (diff) |
drm/amd/display: Fix conversions between bytes and KB
[Why]
There are a number of instances where we convert HostVMMinPageSize or
GPUVMMinPageSize from bytes to KB by dividing (rather than multiplying) and
vice versa.
Additionally, in some cases, a parameter is passed through DML in KB but
later checked as if it were in bytes.
Cc: [email protected]
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Taimur Hassan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions