projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b340ae
)
Revert "drm/ttm: increase ttm pre-fault value to PMD size"
author
Alex Deucher
<alexander.deucher@amd.com>
Tue, 20 Aug 2024 13:46:00 +0000
(09:46 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 23 Aug 2024 13:43:23 +0000
(09:43 -0400)
This reverts commit
0ddd2ae586d28e521d37393364d989ce118802e0
.
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
include/drm/ttm/ttm_bo.h
patch
|
blob
|
blame
|
history
diff --git
a/include/drm/ttm/ttm_bo.h
b/include/drm/ttm/ttm_bo.h
index ef0f52f56ebc6367132bf0f84c6a5fb1b9c05c00..6ccf96c91f3ae320ce7d50348f554577c9666b58 100644
(file)
--- a/
include/drm/ttm/ttm_bo.h
+++ b/
include/drm/ttm/ttm_bo.h
@@
-39,11
+39,7
@@
#include "ttm_device.h"
/* Default number of pre-faulted pages in the TTM fault handler */
-#if CONFIG_PGTABLE_LEVELS > 2
-#define TTM_BO_VM_NUM_PREFAULT (1 << (PMD_SHIFT - PAGE_SHIFT))
-#else
#define TTM_BO_VM_NUM_PREFAULT 16
-#endif
struct iosys_map;