[Intel-gfx] [PATCH] drm/i915/gt: Initialise rps timestamp

Matthew Auld matthew.william.auld at gmail.com
Fri Jun 19 18:34:21 UTC 2020


On Fri, 19 Jun 2020 at 16:19, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Smatch warns that we may iterate over an empty array of gt->engines[].
> One hopes that this is impossible, but nevertheless we can simply
> appease smatch by initialising the timestamp to zero before we starting
> probing the engines.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list