kms/crtc: Increase default deadline evasion to 800 microseconds

This seems to be enough to fix:
 * Constant stuttering on Apple Magic Trackpad 2 (90Hz)
 * Constant stuttering on Microsoft IntelliMouse Explorer 3.0 (125Hz)
 * Wake-from-idle frame skips on Microsoft Classic IntelliMouse (1000Hz)

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2974
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3212>
This commit is contained in:
Daniel van Vugt 2023-08-25 14:26:56 +08:00 committed by Marge Bot
parent 39f599018c
commit 7cf9997757

View File

@ -28,7 +28,7 @@
#include "backends/native/meta-kms-update-private.h" #include "backends/native/meta-kms-update-private.h"
#include "backends/native/meta-kms-utils.h" #include "backends/native/meta-kms-utils.h"
#define DEADLINE_EVASION_US 500 #define DEADLINE_EVASION_US 800
#define DEADLINE_EVASION_WITH_KMS_TOPIC_US 1000 #define DEADLINE_EVASION_WITH_KMS_TOPIC_US 1000
typedef struct _MetaKmsCrtcPropTable typedef struct _MetaKmsCrtcPropTable