drm/i915: Remove 'retire' parameter from intel_fb_obj_flush
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2017 11:40:49 +0000 (11:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2017 12:12:17 +0000 (12:12 +0000)
commitd59b21ec6f33b6df7933e86b9906e9f4ee9b218d
treecb3b3c8d9f872448793dfad96d4126b79cbc172d
parent57822dc6b9cfeb5300e467ff83d8371aead90047
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
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_clflush.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_frontbuffer.c
drivers/gpu/drm/i915/intel_frontbuffer.h