Skip to content

Commit c358a80

Browse files
committed
Revert "drm/ttm: increase ttm pre-fault value to PMD size"
This reverts commit 0ddd2ae. This patch causes sluggishness and stuttering in graphical apps. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3564 Link: https://www.spinics.net/lists/dri-devel/msg457005.html Signed-off-by: Alex Deucher <[email protected]> Cc: Zhu Lingshan <[email protected]> Cc: Christian König <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 9b340ae commit c358a80

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/drm/ttm/ttm_bo.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@
3939
#include "ttm_device.h"
4040

4141
/* Default number of pre-faulted pages in the TTM fault handler */
42-
#if CONFIG_PGTABLE_LEVELS > 2
43-
#define TTM_BO_VM_NUM_PREFAULT (1 << (PMD_SHIFT - PAGE_SHIFT))
44-
#else
4542
#define TTM_BO_VM_NUM_PREFAULT 16
46-
#endif
4743

4844
struct iosys_map;
4945

0 commit comments

Comments
 (0)