[Freedreno] [PATCH 03/10] drm/msm/gpu: Capture the state of the GPU

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


Quoting Jordan Crouse (2018-04-05 23:00:49)
> +struct msm_gpu_state {
> +       struct timeval time;

My recommendation would be to make this a kreffed struct. You already
have multiple uncoordinated consumers so managing the lifetime would
seem to be a point of concern?
-Chris


More information about the Freedreno mailing list