drm/i915: Handle DP_AUX_I2C_WRITE_STATUS_UPDATE
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Aug 2015 14:23:27 +0000 (17:23 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Sep 2015 18:12:43 +0000 (20:12 +0200)
commitc1e74122fb029d30b66d9364122aef50265354aa
tree2ac4e81f0370775bf37c4391c363592dc6e9bfb6
parent2b712be72fddc74ac12c2857af24a20a93d9e9c0
drm/i915: Handle DP_AUX_I2C_WRITE_STATUS_UPDATE

When we get an i2c defer or short ack for i2c-over-aux write we need
to switch to WRITE_STATUS_UPDATE to poll for the completion of the
original request.

i915 doesn't try to interpret wht request type apart from separating
reads from writes, and so we should be able to treat this the same as
a normal i2c write.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_dp.c