]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/vmwgfx: Remove the deprecated lower mem limit
authorZack Rusin <zackr@vmware.com>
Fri, 5 Nov 2021 19:38:42 +0000 (15:38 -0400)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 28 Jan 2022 09:59:20 +0000 (10:59 +0100)
commit255a795d783c43ca66accae65472009a15484078
tree6a12e918358cd56fe4ede23ced2da3968f334fca
parent30c439defc0e970cb9d73038d4dd6fd0532d4c7d
drm/vmwgfx: Remove the deprecated lower mem limit

BugLink: https://bugs.launchpad.net/bugs/1959376
[ Upstream commit 826c387d015247df396a91eadbaca94f0394853c ]

TTM during the transition to the new page allocator lost the ability
to constrain the allocations via the lower_mem_limit. The code has
been unused since the change:
256dd44bd897 ("drm/ttm: nuke old page allocator")
and there's no reason to keep it.

Fixes: 256dd44bd897 ("drm/ttm: nuke old page allocator")
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211105193845.258816-2-zackr@vmware.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/drm/vmwgfx/ttm_memory.c
drivers/gpu/drm/vmwgfx/ttm_memory.h