[PATCH] drm/i915: Boost priority for the mmioflip task

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We don't want pageflips to be delayed by any arbitrary user process, so
move their task to the high priority workqueue.

Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
---
 drivers/gpu/drm/i915/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 9cca8f76ebcd..bb40f1c163ec 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -11214,7 +11214,7 @@ static int intel_queue_mmio_flip(struct drm_device *dev,
 	mmio_flip->crtc = to_intel_crtc(crtc);
 
 	INIT_WORK(&mmio_flip->work, intel_mmio_flip_work_func);
-	schedule_work(&mmio_flip->work);
+	queue_work(system_highpri_wq, &mmio_flip->work);
 
 	return 0;
 }
-- 
2.5.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux