Skip to content
Commit c445c166 authored by Thomas Hellstrom (VMware)'s avatar Thomas Hellstrom (VMware) Committed by Dave Airlie
Browse files

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: default avatarThomas Hellstrom (VMware) <thomas_os@shipmail.org>
Reported-by: default avatarAlex Xu (Hello71) <alex_y_xu@yahoo.ca>
Tested-by: default avatarAlex Xu (Hello71) <alex_y_xu@yahoo.ca>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200409164925.11912-1-thomas_os@shipmail.org
parent cb6d4066
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment