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 <alexander.deucher@amd.com> Cc: Zhu Lingshan <lingshan.zhu@amd.com> Cc: Christian König <christian.koenig@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240820134600.1909370-1-alexander.deucher@amd.com
1 parent 9b340ae commit c358a80

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

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)