aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDaniel Phillips <daniel.phillips@amd.com>2023-03-05 22:54:35 -0800
committerAlex Deucher <alexander.deucher@amd.com>2026-10-20 12:09:58 -0400
commit16df12d7158fb55f20d6e985abd1996cbabab9f8 (patch)
treebe371cc2a1d1f731d544460587d1994343d18fcd /scripts/Makefile.thinlto
parentdrm/amd/pm:restate all customized OD features on every table upload for smu 13.0.0/smu 14.0.2 (diff)
amdkfd: Fix memory availability double accounting of kfd pinned objects
Pinned objects that are not kfd objects reduce the total vram available to kfd, so we subtract the total size of pinned objects from kdf vram availability. However this double counts objects pinned by kfd itself, because they are counted both as used and pinned. So track the total size of objects pinned by kfd and add it back to kfd availability to remove the double accounting. Signed-off-by: Daniel Phillips <daniel.phillips@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit b8257bdb26ca5d9a75f4b81f629422f17afa221b) Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions