[Libva] [Libva-intel-driver][PATCH 2/2] Wayland: try prime fd first in buffer sharing meachanism

2016-09-01 Thread Xiang, Haihao
Signed-off-by: Xiang, Haihao --- src/i965_output_wayland.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/src/i965_output_wayland.c b/src/i965_output_wayland.c index 5a75397..aa56c55 100644 --- a/src/i965_output_wayland.c +++ b/src/i965_outpu

Re: [Libva] [PATCH 1/2] New wayland-drm.xml

2016-09-01 Thread Xiang, Haihao
Add a prefix in subject and resend.  > Update wayland-drm-client-protocol.h as well > > Signed-off-by: Xiang, Haihao > --- >  src/wayland-drm-client-protocol.h | 155 > -- >  src/wayland-drm.xml   |  32 +++- >  2 files changed, 147 insertions(+

[Libva] [Libva-intel-driver][PATCH 1/2] New wayland-drm.xml

2016-09-01 Thread Xiang, Haihao
Update wayland-drm-client-protocol.h as well Signed-off-by: Xiang, Haihao --- src/wayland-drm-client-protocol.h | 155 -- src/wayland-drm.xml | 32 +++- 2 files changed, 147 insertions(+), 40 deletions(-) diff --git a/src/wayland-drm-client

[Libva] [PATCH 2/2] Wayland: try prime fd first in buffer sharing meachanism

2016-09-01 Thread Xiang, Haihao
Signed-off-by: Xiang, Haihao --- src/i965_output_wayland.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/src/i965_output_wayland.c b/src/i965_output_wayland.c index 5a75397..aa56c55 100644 --- a/src/i965_output_wayland.c +++ b/src/i965_outpu

[Libva] [PATCH 1/2] New wayland-drm.xml

2016-09-01 Thread Xiang, Haihao
Update wayland-drm-client-protocol.h as well Signed-off-by: Xiang, Haihao --- src/wayland-drm-client-protocol.h | 155 -- src/wayland-drm.xml | 32 +++- 2 files changed, 147 insertions(+), 40 deletions(-) diff --git a/src/wayland-drm-client

[Libva] [PATCH 2/2] wayland: Check whether prime fd can be used in buffer sharing mechanism

2016-09-01 Thread Xiang, Haihao
Signed-off-by: Xiang, Haihao --- va/wayland/va_backend_wayland.h | 3 +++ va/wayland/va_wayland_drm.c | 20 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/va/wayland/va_backend_wayland.h b/va/wayland/va_backend_wayland.h index b33e3a1..67d0004 100644 ---

[Libva] [PATCH 1/2] New wayland-drm.xml

2016-09-01 Thread Xiang, Haihao
Update wayland-drm-client-protocol.h as well Signed-off-by: Xiang, Haihao --- va/wayland/wayland-drm-client-protocol.h | 155 +++ va/wayland/wayland-drm.xml | 32 ++- 2 files changed, 147 insertions(+), 40 deletions(-) diff --git a/va/wayland/wayla

Re: [Libva] [PATCH RFC intel-driver 00/11] Automated (Unit) Test Suite

2016-09-01 Thread Zhao, Yakui
Thanks for the explanation. Now I understand the intent. Thanks Yakui -Original Message- From: Sean V Kelley [mailto:svkel...@posteo.de] Sent: Friday, September 2, 2016 11:45 AM To: Zhao, Yakui ; Haitao Huang Cc: Eoff, Ullysses A ; libva@lists.freedesktop.org Subject: Re: [Libva] [

Re: [Libva] [PATCH RFC intel-driver 00/11] Automated (Unit) Test Suite

2016-09-01 Thread Zhao Yakui
On 09/02/2016 03:59 AM, U. Artie Eoff wrote: HI, Artie thanks for your patch set. It is great idea to add gtest test-suite, which is helpful to improve the code quality and avoid the regression. I have one main concern. Can we add it into the libva instead of driver? In such case

[Libva] [PATCH RFC intel-driver 04/11] i965: compile driver source as convenience library

2016-09-01 Thread U. Artie Eoff
Compile driver source into a noinst convenience library and link it into the driver module. This allows for tests to link to the driver library, too, for testing. Signed-off-by: U. Artie Eoff --- src/Makefile.am | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --gi

[Libva] [PATCH RFC intel-driver 02/11] toolchain: build gtest convenience library

2016-09-01 Thread U. Artie Eoff
Define autoconf/automake rules to build libgtest.la as a convenience library. Add --enable-tests configure option (default:no). Signed-off-by: U. Artie Eoff --- Makefile.am | 5 + configure.ac | 11 ++- test/Makefile.am | 38 ++ 3 files

[Libva] [PATCH RFC intel-driver 11/11] test: add TESTING readme file

2016-09-01 Thread U. Artie Eoff
Add a TESTING readme file to describe the design and usage of the libva-intel-driver tests. Signed-off-by: U. Artie Eoff --- README | 7 +++- TESTING | 147 2 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 T

[Libva] [PATCH RFC intel-driver 06/11] test: add i965 test fixture

2016-09-01 Thread U. Artie Eoff
Add an i965 test fixture class which creates a va drm display for driver testing and initializes/terminates va. It also provides some conversion operators for converting to various driver data types. Various driver wrapper functions are provided, too, for convenience. Signed-off-by: U. Artie Eof

[Libva] [PATCH RFC intel-driver 10/11] test: add some chipset tests

2016-09-01 Thread U. Artie Eoff
Add various tests to verify the integrity of the chipset and pciid definitions and lookups. Signed-off-by: U. Artie Eoff --- test/Makefile.am | 1 + test/i965_chipset_test.cpp | 104 + test/i965_internal_decl.h | 3 ++ 3 files changed, 1

[Libva] [PATCH RFC intel-driver 05/11] test: link to i965 convenience library

2016-09-01 Thread U. Artie Eoff
Link the i965 convenience library to the i965 test executable for testing. Signed-off-by: U. Artie Eoff --- test/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Makefile.am b/test/Makefile.am index 19ad34746541..f309de202559 100644 --- a/test/Makefile.am +++ b/test/Makefile.

[Libva] [PATCH RFC intel-driver 07/11] test: add an i965 initialize test

2016-09-01 Thread U. Artie Eoff
Add basic i965 initialize test to verify certain driver data is properly initialized and to demonstrate the usage of the I965TestFixture class. Signed-off-by: U. Artie Eoff --- test/Makefile.am | 1 + test/i965_initialize_test.cpp | 66 +++ 2

[Libva] [PATCH RFC intel-driver 03/11] test: add initial test_i965_drv_video target

2016-09-01 Thread U. Artie Eoff
Add test_i965_drv_video as noinst program with an initial test main() definition. Also provide a test.h header with common test includes and definitions that can be included by all test compilation units. Signed-off-by: U. Artie Eoff --- test/Makefile.am | 43 +

[Libva] [PATCH RFC intel-driver 09/11] test: add some object_heap tests

2016-09-01 Thread U. Artie Eoff
Add some basic object_heap tests to verify logical usage. Signed-off-by: U. Artie Eoff --- test/Makefile.am | 1 + test/object_heap_test.cpp | 248 ++ test/test.h | 3 + 3 files changed, 252 insertions(+) create mode 100644

[Libva] [PATCH RFC intel-driver 08/11] test: add some JPEG decode test cases

2016-09-01 Thread U. Artie Eoff
Test that the driver properly decodes JPEG data that is encoded in various fourcc formats. Signed-off-by: U. Artie Eoff --- test/Makefile.am |2 + test/i965_jpeg_decode_test.cpp | 292 +++ test/i965_jpeg_test_data.h | 1085

[Libva] [PATCH RFC intel-driver 00/11] Automated (Unit) Test Suite

2016-09-01 Thread U. Artie Eoff
The following patchset integrates the Google Test Framework into the source tree. This test framework provides a rich set of features like automatic test discovery, assertion macros, test fixtures, structured console and/or xml test results, and more. These kinds of features allow developers to sp

[Libva] HEVC-10 decoding support on BXT / Apollo Lake

2016-09-01 Thread Peter Frühberger
Hi, there is a whole lot of confusion out there if the Broxton / Apollo Lake platform is able to decode hevc-10 bit content. According to the driver code: a) https://cgit.freedesktop.org/vaapi/intel-driver/tree/src/i965_device_info.c?id=daf8f6c76287452f2bc37af83d9078831ba0a8b0#n543 b) https://cgi

Re: [Libva] keep Nalu start code in VASliceDataBufferType data

2016-09-01 Thread Sreerenj
Hi, On 31.08.2016 05:31, Randy Li wrote: On 08/31/2016 09:52 AM, Xiang, Haihao wrote: On Tue, 2016-08-30 at 08:59 +0800, Randy Li wrote: Hi all: When I just doing the driver for us chip, we would request the Nalu header present in the data to be process. But I found the data be Rendered