On Mon, Nov 16, 2020 at 05:26:53PM +0000, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > It is more obvious for the user to only shows filters for DRM master > nodes since those are the ones that intel_gpu_top monitors. > > v2: > * Filter prefix needs to be sys: when listing PCI devices. > > Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > --- > tools/intel_gpu_top.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c > index 07f88d555dc8..37b2141e784d 100644 > --- a/tools/intel_gpu_top.c > +++ b/tools/intel_gpu_top.c > @@ -1388,7 +1388,8 @@ int main(int argc, char **argv) > > if (list_device) { > struct igt_devices_print_format fmt = { > - .type = IGT_PRINT_USER > + .type = IGT_PRINT_USER, > + .option = IGT_PRINT_PCI, > }; > > igt_devices_print(&fmt); > -- > 2.25.1 > > _______________________________________________ > igt-dev mailing list > igt-dev@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/igt-dev Looks ok. Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@xxxxxxxxx> -- Zbigniew _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx