diff options
author | Taimur Hassan <syed.hassan@amd.com> | 2023-11-10 10:15:28 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-29 18:07:30 -0500 |
commit | dcf6cd7f35de572a946e2805ed32eb20d429a881 (patch) | |
tree | 6a839266798edd05c510ae02b9621e2c49c58951 /tools/perf/scripts/python/gecko.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: 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 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions