drm/i915: Don't cancel DRRS worker synchronously for flush/invalidate
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Apr 2015 14:44:16 +0000 (16:44 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 10 Apr 2015 11:30:09 +0000 (14:30 +0300)
commit88f933a8b03474ebcd16935d3620e5c10b557f6f
tree733c34e381051394e1c925695e2e09c058b95d01
parent9da7d69357389ea63893434fe3b17b9fbc2c2d2d
drm/i915: Don't cancel DRRS worker synchronously for flush/invalidate

It's not needed since the worker rechecks that it didn't race. We only
need to cancel synchronously after disabling drrs to make sure the
worker really is gone (e.g. for driver unload). But for normal
operation the stall is just wasted time.

Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ramalingam C <ramalingam.c@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Vandana Kannan <vandana.kannan@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c