[PATCH v8 2/4] drm: Add API for capturing frame CRCs

Daniel Vetter daniel at ffwll.ch
Tue Oct 4 11:25:23 UTC 2016


On Tue, Oct 4, 2016 at 12:10 PM, Jon Hunter <jonathanh at nvidia.com> wrote:
> Looks like crtc is a errno in the above case. I see this function is
> called by looping through all the crtc and we never check to see if
> they are valid. Should we?

Tegra is still using the load/unload hooks. That didn't mesh well with
Tomeu's patches (and Tomeu's patches have been thrown out meanwhile
because of that). Still would be neat if tegra could be demidlayered
and loose it's load/unload hooks. See the kerneldoc in drm_drv.c
(especially the DOC: section).
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list