[Intel-gfx] [PATCH] drm/i915: debugfs: Add support for probing DP sink CRC.

Daniel Vetter daniel at ffwll.ch
Sat Jan 25 20:11:26 CET 2014


On Fri, Jan 24, 2014 at 03:43:58PM +0000, Damien Lespiau wrote:
> On Fri, Jan 24, 2014 at 01:36:17PM -0200, Rodrigo Vivi wrote:
> > This debugfs interface will allow intel-gpu-tools test case
> > to verify if screen has been updated properly on cases like PSR.
> > 
> > v2: Accepted all Daniel's suggestions:
> >     * grab modeset lock
> >     * loop over connector and check DPMS on
> >     * return errors
> >     * use _eDP1 suffix for easy future extension
> >     * don't cache crc_supported neither latest crc
> >     * return crc as a full array and read it at once with aux.
> >     * use 0 to turn TEST_SINK off.
> >     * split the drm_helpers definitions in another patch.
> > 
> > v3: Accepted 2 Damien's suggestion: remove h from printf hexa
> >     and return ENODEV when eDP not present instead of EAGAIN.
> > 
> > v4: Accepted 2 Jani' s suggestion: 1 path for unlock and remove
> >     _retry from aux read.
> > 
> > v5: removing last missing useless _retry (by Damien)
> > 
> > Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> > Cc: Damien Lespiau <damien.lespiau at intel.com>
> > Cc: Jani Nikula <jani.nikula at intel.com>
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>
> 
> 
> Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list