All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/xe: Modify minimum of various scheduler timeout to 0.
@ 2024-04-12 10:50 Himal Prasad Ghimiray
  2024-04-12 10:53 ` Upadhyay, Tejas
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: Himal Prasad Ghimiray @ 2024-04-12 10:50 UTC (permalink / raw
  To: intel-xe
  Cc: Himal Prasad Ghimiray, Matthew Brost, Niranjana Vishwanathapura,
	Tejas Upadhyay

The sysman teams needs to disable preemption and timeslice to
test exclusivity mode and are relying on setting 'timeslice_duration_us'
and 'preempt_timeout_us' to 0 for the same. Hence set the
min configs to 0.

-v2
Modify values in drivers/gpu/drm/xe/xe_hw_engine.h

Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
---
 drivers/gpu/drm/xe/Kconfig.profile | 4 ++--
 drivers/gpu/drm/xe/xe_hw_engine.h  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/Kconfig.profile b/drivers/gpu/drm/xe/Kconfig.profile
index ba17a25e8db3..80e80b55467f 100644
--- a/drivers/gpu/drm/xe/Kconfig.profile
+++ b/drivers/gpu/drm/xe/Kconfig.profile
@@ -18,7 +18,7 @@ config DRM_XE_TIMESLICE_MAX
 	  contexts by guc scheduling.
 config DRM_XE_TIMESLICE_MIN
 	int "Default min timeslice duration (us)"
-	default 1 # microseconds
+	default 0 # microseconds
 	help
 	  Configures the default min timeslice duration between multiple
 	  contexts by guc scheduling.
@@ -39,7 +39,7 @@ config DRM_XE_PREEMPT_TIMEOUT_MAX
 	  run.
 config DRM_XE_PREEMPT_TIMEOUT_MIN
 	int "Default min preempt timeout (us)"
-	default 1 # microseconds
+	default 0 # microseconds
 	help
 	  Configures the default min preempt timeout after which context
 	  will be forcefully taken away and higher priority context will
diff --git a/drivers/gpu/drm/xe/xe_hw_engine.h b/drivers/gpu/drm/xe/xe_hw_engine.h
index 71968ee2f600..5be0783a8865 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine.h
+++ b/drivers/gpu/drm/xe/xe_hw_engine.h
@@ -23,7 +23,7 @@ struct drm_printer;
 #ifdef CONFIG_DRM_XE_TIMESLICE_MIN
 #define XE_HW_ENGINE_TIMESLICE_MIN CONFIG_DRM_XE_TIMESLICE_MIN
 #else
-#define XE_HW_ENGINE_TIMESLICE_MIN 1
+#define XE_HW_ENGINE_TIMESLICE_MIN 0
 #endif
 #ifdef CONFIG_DRM_XE_TIMESLICE_MAX
 #define XE_HW_ENGINE_TIMESLICE_MAX CONFIG_DRM_XE_TIMESLICE_MAX
@@ -38,7 +38,7 @@ struct drm_printer;
 #ifdef CONFIG_DRM_XE_PREEMPT_TIMEOUT_MIN
 #define XE_HW_ENGINE_PREEMPT_TIMEOUT_MIN CONFIG_DRM_XE_PREEMPT_TIMEOUT_MIN
 #else
-#define XE_HW_ENGINE_PREEMPT_TIMEOUT_MIN 1
+#define XE_HW_ENGINE_PREEMPT_TIMEOUT_MIN 0
 #endif
 #ifdef CONFIG_DRM_XE_PREEMPT_TIMEOUT_MAX
 #define XE_HW_ENGINE_PREEMPT_TIMEOUT_MAX CONFIG_DRM_XE_PREEMPT_TIMEOUT_MAX
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-04-24  9:51 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 10:50 [PATCH v2] drm/xe: Modify minimum of various scheduler timeout to 0 Himal Prasad Ghimiray
2024-04-12 10:53 ` Upadhyay, Tejas
2024-04-15  7:48 ` ✓ CI.Patch_applied: success for drm/xe: Modify minimum of various scheduler timeout to 0. (rev3) Patchwork
2024-04-15  7:49 ` ✓ CI.checkpatch: " Patchwork
2024-04-15  7:50 ` ✓ CI.KUnit: " Patchwork
2024-04-15  8:01 ` ✓ CI.Build: " Patchwork
2024-04-15  8:03 ` ✓ CI.Hooks: " Patchwork
2024-04-15  8:05 ` ✓ CI.checksparse: " Patchwork
2024-04-15  8:28 ` ✗ CI.BAT: failure " Patchwork
2024-04-17  6:55 ` ✓ CI.Patch_applied: success for drm/xe: Modify minimum of various scheduler timeout to 0. (rev4) Patchwork
2024-04-17  6:55 ` ✓ CI.checkpatch: " Patchwork
2024-04-17  6:56 ` ✓ CI.KUnit: " Patchwork
2024-04-17  7:20 ` ✓ CI.Build: " Patchwork
2024-04-17  7:27 ` ✓ CI.Hooks: " Patchwork
2024-04-17  7:44 ` ✓ CI.checksparse: " Patchwork
2024-04-17  8:12 ` ✗ CI.BAT: failure " Patchwork
2024-04-17 10:46 ` ✓ CI.Patch_applied: success for drm/xe: Modify minimum of various scheduler timeout to 0. (rev5) Patchwork
2024-04-17 10:46 ` ✓ CI.checkpatch: " Patchwork
2024-04-17 10:48 ` ✓ CI.KUnit: " Patchwork
2024-04-17 11:07 ` ✓ CI.Build: " Patchwork
2024-04-17 11:10 ` ✓ CI.Hooks: " Patchwork
2024-04-17 11:17 ` ✓ CI.checksparse: " Patchwork
2024-04-17 12:19 ` ✓ CI.BAT: " Patchwork
2024-04-18 13:41 ` ✗ CI.FULL: failure for drm/xe: Modify minimum of various scheduler timeout to 0. (rev4) Patchwork
2024-04-18 19:44 ` ✗ CI.FULL: failure for drm/xe: Modify minimum of various scheduler timeout to 0. (rev5) Patchwork
2024-04-24  9:51 ` [PATCH v2] drm/xe: Modify minimum of various scheduler timeout to 0 Upadhyay, Tejas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.