drm/i915/display: Mark the modesetting wq as WQ_HIGHPRI

Submitted by Chris Wilson on Sept. 9, 2019, 1:22 p.m.

Details

Message ID 20190909132219.12090-1-chris@chris-wilson.co.uk
State New
Headers show
Series "drm/i915/display: Mark the modesetting wq as WQ_HIGHPRI" ( rev: 1 ) in Intel GFX

Not browsing as part of any series.

Commit Message

Chris Wilson Sept. 9, 2019, 1:22 p.m.
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@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Heinrich Fink <heinrich.fink@daqri.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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);