Skip to content

Commit

Permalink
Revert "drm/ttm: increase ttm pre-fault value to PMD size"
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
alexdeucher committed Aug 23, 2024
1 parent 9b340ae commit c358a80
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/drm/ttm/ttm_bo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c358a80

Please sign in to comment.