Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx> writes: > + > +/** > + * drm_dp_start_crc() - start capture of frame CRCs > + * @aux: DisplayPort AUX channel > + * > + * Returns 0 on success or a negative error code on failure. > + */ > +int drm_dp_start_crc(struct drm_dp_aux *aux, struct drm_crtc *crtc) > +{ > + u8 buf; > + int ret; > + > + ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK, &buf); > + if (ret < 0) > + return ret; > + > + ret = drm_dp_dpcd_writeb(aux, DP_TEST_SINK, buf | DP_TEST_SINK_START); > + if (ret < 0) > + return ret; > + > + aux->crc_count = 0; > + aux->crtc = crtc; > + schedule_work(&aux->crc_work); > + > + return 0; > +} > +EXPORT_SYMBOL(drm_dp_start_crc); > + Hi Tomeu, This triggers a new warning when building documentation: ./drivers/gpu/drm/drm_dp_helper.c:1165: warning: No description found for parameter 'crtc' ./drivers/gpu/drm/drm_dp_helper.c:1166: warning: No description found for parameter 'crtc' -- Gabriel Krisman Bertazi _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel