[igt-dev] [PATCH i-g-t] tests/i915/drm_fdinfo: Parse compute as well
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Tue Jun 14 07:08:29 UTC 2022
On 14/06/2022 01:47, Nerlige Ramappa, Umesh wrote:
> Parse compute engines as well if available.
>
> Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
> ---
> lib/igt_drm_fdinfo.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/igt_drm_fdinfo.c b/lib/igt_drm_fdinfo.c
> index 250d9e89..5beb30b0 100644
> --- a/lib/igt_drm_fdinfo.c
> +++ b/lib/igt_drm_fdinfo.c
> @@ -60,6 +60,7 @@ static int parse_engine(char *line, struct drm_client_fdinfo *info,
> "copy",
> "video",
> "video-enhance",
> + "compute",
> };
> ssize_t name_len;
> char *name, *p;
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Although note that I have removed this driver specific data from this
common library in the "driver agnostic gputop" series. So it would be
good to review that one as well. ;)
Regards,
Tvrtko
More information about the igt-dev
mailing list