[Intel-gfx] [PATCH] drm/i915/display: Mark the modesetting wq as WQ_HIGHPRI
Chris Wilson
chris at chris-wilson.co.uk
Mon Sep 9 13:22:19 UTC 2019
We wish to avoid our presentation worker from being blocked by normal
workloads if we want to maintain an interactive frame update.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Heinrich Fink <heinrich.fink at daqri.com>
---
drivers/gpu/drm/i915/display/intel_display.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 4ee750fa3ef0..cb55ab834a07 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -16148,7 +16148,8 @@ int intel_modeset_init(struct drm_device *dev)
struct intel_crtc *crtc;
int ret;
- dev_priv->modeset_wq = alloc_ordered_workqueue("i915_modeset", 0);
+ dev_priv->modeset_wq =
+ alloc_ordered_workqueue("i915_modeset", WQ_HIGHPRI);
drm_mode_config_init(dev);
--
2.23.0
More information about the Intel-gfx
mailing list