[PATCH] drm/dp: Allow signals to interrupt drm_aux-dev reads/writes

2016-04-28 Thread Jani Nikula
On Wed, 27 Apr 2016, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Let's be nice and interrupt the dpcd aux-dev reads/writes when there's > a signal pending. Much nicer if the user can hit ^C instead of having to > sit around waiting for the read/write to finish. > > time dd

[PATCH] drm/dp: Allow signals to interrupt drm_aux-dev reads/writes

2016-04-28 Thread Daniel Vetter
On Thu, Apr 28, 2016 at 11:49:12AM +0300, Jani Nikula wrote: > On Wed, 27 Apr 2016, ville.syrjala at linux.intel.com wrote: > > From: Ville Syrjälä > > > > Let's be nice and interrupt the dpcd aux-dev reads/writes when there's > > a signal pending. Much nicer if the user can hit ^C instead of ha

[PATCH] drm/dp: Allow signals to interrupt drm_aux-dev reads/writes

2016-04-27 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Let's be nice and interrupt the dpcd aux-dev reads/writes when there's a signal pending. Much nicer if the user can hit ^C instead of having to sit around waiting for the read/write to finish. time dd if=/dev/drm_dp_aux0 bs=$((1024*1024)) ^C before: real 0m34.681s user