summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorChris Wilson2017-03-17 12:47:09 +0100
committerChris Wilson2017-03-17 14:03:25 +0100
commite642c85b03de10eb1b411884ba27550651d0100b (patch)
tree5a3e5580eeb5d0ab7bb7f629030a5ce2e1702e8e /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915/vgpu: Neuter forcewakes for VGPU more thoroughly (diff)
downloadkernel-qcow2-linux-e642c85b03de10eb1b411884ba27550651d0100b.tar.gz
kernel-qcow2-linux-e642c85b03de10eb1b411884ba27550651d0100b.tar.xz
kernel-qcow2-linux-e642c85b03de10eb1b411884ba27550651d0100b.zip
drm/i915: Remove superfluous i915_add_request_no_flush() helper
The only time we need to emit a flush inside request emission is after an execbuffer, for which we can use the full __i915_add_request(). All other instances want the simpler i915_add_request() without flushing, so remove the useless helper. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170317114709.8388-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 934a8c00073a..d55bf882d1aa 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -7086,7 +7086,7 @@ static void __intel_autoenable_gt_powersave(struct work_struct *work)
rcs->init_context(req);
/* Mark the device busy, calling intel_enable_gt_powersave() */
- i915_add_request_no_flush(req);
+ i915_add_request(req);
unlock:
mutex_unlock(&dev_priv->drm.struct_mutex);