summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/xve_gp106.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2016-09-19 02:24:13 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:49 -0500
commit4afc6a1659ec058fd44953ccff7a1030275bcc92 (patch)
treea6953c8895f1ab917f3a5eca29f4568a6702749c /drivers/gpu/nvgpu/gp106/xve_gp106.h
parent49c3fb25822565a9078961cdef1222aaa8c7e89a (diff)
gpu: nvgpu: compact pte buffers
The lowest page table level may hold very few entries for mappings of large pages, but a new page is allocated for each list of entries at the lowest level, wasting memory and performance. Compact these so that the new "allocation" of ptes is appended at the end of the previous allocation, if there is space. Bug 1736604 Change-Id: I4c7c4cad9019de202325750aee6034076e7e61c2 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1222810 (cherry picked from commit 97303ecc946c17150496486a2f52bd481311dbf7) Reviewed-on: http://git-master/r/1234995 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/xve_gp106.h')
0 files changed, 0 insertions, 0 deletions