diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-22 11:40:49 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-22 12:12:17 +0000 |
commit | d59b21ec6f33b6df7933e86b9906e9f4ee9b218d (patch) | |
tree | cb3b3c8d9f872448793dfad96d4126b79cbc172d /drivers/gpu/drm/i915/i915_gem_clflush.c | |
parent | 57822dc6b9cfeb5300e467ff83d8371aead90047 (diff) | |
download | linux-stable-d59b21ec6f33b6df7933e86b9906e9f4ee9b218d.tar.gz linux-stable-d59b21ec6f33b6df7933e86b9906e9f4ee9b218d.tar.bz2 linux-stable-d59b21ec6f33b6df7933e86b9906e9f4ee9b218d.zip |
drm/i915: Remove 'retire' parameter from intel_fb_obj_flush
Setting retire=true is identical to using origin=ORIGIN_CS, so make the
same simplification to intel_fb_obj_flush() as already employed for
intel_fb_obj_invalidate().
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/20170222114049.28456-6-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_clflush.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_clflush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_clflush.c b/drivers/gpu/drm/i915/i915_gem_clflush.c index c5fee02f3173..d925fb582ba7 100644 --- a/drivers/gpu/drm/i915/i915_gem_clflush.c +++ b/drivers/gpu/drm/i915/i915_gem_clflush.c @@ -74,7 +74,7 @@ static void __i915_do_clflush(struct drm_i915_gem_object *obj) drm_clflush_sg(obj->mm.pages); obj->cache_dirty = false; - intel_fb_obj_flush(obj, false, ORIGIN_CPU); + intel_fb_obj_flush(obj, ORIGIN_CPU); } static void i915_clflush_work(struct work_struct *work) |