diff options
author | Taimur Hassan <syed.hassan@amd.com> | 2023-11-10 18:15:28 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-30 02:07:30 +0300 |
commit | dcf6cd7f35de572a946e2805ed32eb20d429a881 (patch) | |
tree | 6a839266798edd05c510ae02b9621e2c49c58951 /scripts/lib/kdoc/kdoc_files.py | |
parent | 2f86bf79b63dbe6963ebc647b77a5f576a906b40 (diff) | |
download | linux-dcf6cd7f35de572a946e2805ed32eb20d429a881.tar.xz |
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: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Taimur Hassan <syed.hassan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions