User can use 'vainfo --display help' to get available display list and 'vainfo --display <display name>' to show available profile/entroypoint pairs with specified name
Signed-off-by: Xiang, Haihao <[email protected]> --- test/vainfo/vainfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/vainfo/vainfo.c b/test/vainfo/vainfo.c index eb7473b..6ad3e9b 100644 --- a/test/vainfo/vainfo.c +++ b/test/vainfo/vainfo.c @@ -105,6 +105,8 @@ int main(int argc, const char* argv[]) else name = argv[0]; + va_init_display_args(&argc, (char **)argv); + va_dpy = va_open_display(); if (NULL == va_dpy) { -- 1.9.1 _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
