]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Temporarily disable the huge_fault() callback
authorThomas Hellstrom (VMware) <thomas_os@shipmail.org>
Thu, 9 Apr 2020 16:49:25 +0000 (18:49 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Apr 2020 20:38:23 +0000 (06:38 +1000)
commit2bff143df82a3b241649ff50b63519ea0b321088
treefc80d410db121ed52e140b36b222570b3049cbc8
parenteff0f0e969aa4566364d55c958a6a78a1658e037
drm/ttm: Temporarily disable the huge_fault() callback

With amdgpu and CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y, there are
errors like:
BUG: non-zero pgtables_bytes on freeing mm
and:
BUG: Bad rss-counter state
with TTM transparent huge-pages.
Until we've figured out what other TTM drivers do differently compared to
vmwgfx, disable the huge_fault() callback, eliminating transhuge
page-table entries.

Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Thomas Hellstrom (VMware) <thomas_os@shipmail.org>
Reported-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
Tested-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200409164925.11912-1-thomas_os@shipmail.org
drivers/gpu/drm/ttm/ttm_bo_vm.c