[Freedreno] [PATCH 02/10] drm: drm_printer: Add printer for devcoredump

Chris Wilson chris at chris-wilson.co.uk
Fri Apr 6 10:45:23 UTC 2018


Quoting Chris Wilson (2018-04-06 11:42:25)
> Quoting Jordan Crouse (2018-04-05 23:00:48)
> > +struct drm_print_iterator {
> > +       void *data;
> > +
> > +       ssize_t start;
> > +       ssize_t offset;
> > +       ssize_t remain;
> > +};
> 
> Neat, we should be able to use to replace struct
> drm_i915_error_state_buf (or at least the seq_file side).

Though comparing against which, we have loff_t for that interface.
But that's immaterial for an in-memory file. (So nothing to see here,
please move along.)
-Chris


More information about the Freedreno mailing list