Re: [Intel-gfx] [igt-dev] [PATCH i-g-t v6] intel-gpu-top: Rewrite the tool to be safe to use

2018-04-23 Thread Rinat Ibragimov
uses only perf PMU for counter gathering. > >A short history on how this came to be: > >There was a recent external patch contribution from Rinat Ibragimov to >support more platforms from the existing intel_gpu_top. But as the tool >is not safe to use Chris Wilson suggested

Re: [Intel-gfx] [PATCH i-g-t v5] intel-gpu-top: Rewrite the tool to be safe to use

2018-04-04 Thread Rinat Ibragimov
>Среда, 4 апреля 2018, 12:48 +03:00 от Tvrtko Ursulin : > >v5: Tried this version on Skylake on Linux 4.16, and it works. Engines "busy" metric behaves as expected. Render/3D goes up when something intensive happens on a screen. Video goes up when I use VA-API-enabled video

Re: [Intel-gfx] [PATCH i-g-t v3] intel-gpu-top: Rewrite the tool to be safe to use

2018-03-30 Thread Rinat Ibragimov
>Четверг, 29 марта 2018, 21:46 +03:00 от Tvrtko Ursulin : > >+#define engine_ptr(engines, n) \ >+((struct engine *)((unsigned char *)(>engine) + (n) * sizeof(struct >engine))) I think (>engine + (n)) is easier to read. >+if (fd < 0 && !cnt->optional) >+return -1; I've

Re: [Intel-gfx] [igt-dev] [RFC i-g-t] intel-gpu-top: Rewrite the tool to be safe to use

2018-03-28 Thread Rinat Ibragimov
>Среда, 28 марта 2018, 21:30 +03:00 от Tvrtko Ursulin : > >+static struct engines *discover_engines(void) > { >-uint32_t devid = pci_dev->device_id; >-uint16_t gcfgc; >+const char *sysfs_root = "/sys/devices/i915/events"; Just a question. I think, I have Linux 4.15.11

Re: [Intel-gfx] [PATCH] Add second DRI driver name (DRI2DriverVDPAU)

2013-08-27 Thread Rinat Ibragimov
Понедельник, 26 августа 2013, 16:22 -07:00 от Eric Anholt e...@anholt.net: Rinat Ibragimov ibragimovri...@mail.ru writes: Понедельник, 26 августа 2013, 13:40 -07:00 от Eric Anholt e...@anholt.net: Ибрагимов Ринат ibragimovri...@mail.ru writes: libvdpau uses second DRI driver name

Re: [Intel-gfx] [PATCH] Add second DRI driver name (DRI2DriverVDPAU)

2013-08-26 Thread Rinat Ibragimov
Ping. Пятница, 16 августа 2013, 14:31 +04:00 от Ибрагимов Ринатibragimovri...@mail.ru: libvdpau uses second DRI driver name to determine which VDPAU driver to use. This patch will allow libvdpau choose libvdpau_i965.so on systems with Intel GPUs, libvdpau_nvidia.so on those with nVidia ones,

Re: [Intel-gfx] [PATCH] Add second DRI driver name (DRI2DriverVDPAU)

2013-08-26 Thread Rinat Ibragimov
Понедельник, 26 августа 2013, 13:40 -07:00 от Eric Anholt e...@anholt.net: Ибрагимов Ринат ibragimovri...@mail.ru writes: libvdpau uses second DRI driver name to determine which VDPAU driver to use. This patch will allow libvdpau choose libvdpau_i965.so on systems with Intel GPUs,

Re: [Intel-gfx] [PATCH] Add second DRI driver name (DRI2DriverVDPAU)

2013-08-19 Thread Rinat Ibragimov
Ping. Пятница, 16 августа 2013, 14:31 +04:00 от Ибрагимов Ринатibragimovri...@mail.ru: libvdpau uses second DRI driver name to determine which VDPAU driver to use. This patch will allow libvdpau choose libvdpau_i965.so on systems with Intel GPUs, libvdpau_nvidia.so on those with nVidia ones,