• R/O
  • HTTP
  • SSH
  • HTTPS

コミット一覧

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


RSS
Rev. 日時 作者
e37a958 2015-09-06 16:13:57 Zhao Yakui

Add one field to store the expected VA_RT_FORMAT for surface

The VA_RT_FORMAT_XXX is also used to derive the corresponding layout of
VA SURFACE.For example: VA_RT_FORMAT_YUV420/422, RGB32 and so on.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Xiang Haihao <haihao.xiang@intel.com>
(cherry picked from commit 02a2d4cb26e9a651b33a6e35c665b287155bbb83)

010b635 2015-09-06 16:13:57 Zhao Yakui

VPP: Initialize the uninitialed surface to avoid NULL GPU buffer

Sometimes the surface allocation is deferred. In such case it should be
checked correctly before it is using. Otherwise the corresponding
GPU buffer is NULL.
This is to fix the regression issue reported by XBMC.

Tested-by: Zaverel <zaverel@free.fr>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 7c47a8f74878904e0d2fbb5da966552f783d74ab)

9d7c3d1 2015-09-06 16:13:57 Zhao Yakui

VPP: Flush batch buffer to assure that previous GPU operation is submitted

Tested-by: Zaverel <zaverel@free.fr>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 67e122a4b100365d5d8bb6377c73e39f6c44abf9)

8e8d548 2015-09-06 16:13:57 Xiang, Haihao

encode/hevc: fix HEVC encode on SKL GT3

GT3 has 2 BSD rings, but HEVC commands can be only dispatched to BSD ring 0.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 611d8ea9d75dc026c203e3ebe53b434769d4587c)

8e12b81 2015-09-06 16:13:57 Zhao Yakui

VPP: Combine the CSC/Scaling together to optimize the performance

Currently it is divided into two steps when the video format is invovled.
In such case it is not efficient.

V1->V2: Follow Haihao's comment to call back the missing operation of
handle background color

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 4bda4667fd635df5bd27ce01353a3b6d6bf85508)

19cf264 2015-09-06 16:13:57 Xu Guangxin

CreateSurfaces2: forward function return to caller

we did not check following function's return:
i965_surface_native_memory
i965_suface_external_memory
i965_check_alloc_surface_bo
It will be in trouble if underlay buffer allocation is failed.
(cherry picked from commit 12b3d9ef379e6159e30c2aafc040f1137cd4141a)

b10a990 2015-09-06 16:13:57 Xiang, Haihao

1.6.1.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit d06c17e9c0d4a11a3efaead7da63765148bf938e)

4ab12ef 2015-09-06 16:12:50 Gwenole Beauchesne

vpp/avs: fix license terms (MIT).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit fb5e1cd86047e2683f169cd52cc27861447321cf)

1a08993 2015-09-06 16:12:39 Zhao Yakui

H264: Use macroblock pair to calculate H264 decoding parameter under MBAFF flag

Based on the H264 spec the macroblock pair should be used to calculate
the corresponding parameters under MBAFF.(mb-adaptive frame-field).
Otherwise the wrong parameter is sent to GPU HW.

Fix the GPU hang issue in https://bugs.freedesktop.org/show_bug.cgi?id=91207

Tested-by: Lim, Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 7bb3658212f49a6f8d3d61b0b5d161aca73c2a11)

56bb240 2015-09-06 16:12:22 Xiang, Haihao

dec/hevc: Use a different equation for metadata tile column buffer on BSW

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 8d11fd7dd7952551b2d57f900ce1f408a35616a1)

0b719df 2015-09-06 16:12:22 Xiang, Haihao

dec/hevc: Use the same equation for each metadata buffer no matter slice type

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 6ff572fb94fce0b941d56eb7c0f45d82c1672ea3)

a991490 2015-09-06 16:12:20 fritsch

Gen75_vpp: Don't assert on BGRA input and output
(cherry picked from commit e49960198a4c53ad96e36e0952db514764af06f6)

b63c289 2015-09-06 15:13:27 Sameer Kibey

Remove file access check in loading wrapper

Remove the check for file access in the wrapper.
Otherwise this call will fail on Chrome OS with sandboxing
enabled.

Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

ad7b5a0 2015-09-06 15:13:27 Zhao Yakui

Export the profile/entrypoints for the wrapped backend drivers

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

12a09a2 2015-09-06 15:13:27 Zhao Yakui

Call the wrapped backend driver for the given decoding

The wrapped vaBeginPicture/vaRenderPicture/vaEndPicture are called.
Currently the wrapper is for the VP9 decoding.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

f75ddc5 2015-09-06 15:13:27 Zhao Yakui

Add the support of wrapper the VA Buffer to the backend driver

The obj_context is passed when calling vaCreateBuffer, which can be
used to check whether it belongs to the wrapped context. If one VA buffer
belongs to wrapped buffer, the callback function of backend driver will
be called for the corresponding VA buffer.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

44e3ec2 2015-09-06 15:13:27 Zhao Yakui

Add one function to wrapper VA surface into backend driver

Currently only NV12 surface is supported as the decoding uses the NV12 format.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

464ebff 2015-09-06 15:13:27 Zhao Yakui

Call the wrapped function to free wrapped surface/buffer

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

815d17f 2015-09-06 15:13:27 Zhao Yakui

Call wrapped driver to handle config/context related with VP9 decoding

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

3bbaff8 2015-09-06 15:13:27 Zhao Yakui

Wrapper the DriverContextP of backend driver

The default directory of backend driver is used.(LIBVA_DRIVERS_PATH).
Only when the backend driver exists, the wrapper is initialized and added.
Otherwise it won't be initialized.

And the option of "enable-wrapper" is added, which is used to determine whether
the wrapper of backend driver is supported.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

2f254ec 2015-09-06 15:13:27 Zhao Yakui

Add one field for Config/Context/Surface/Buffer to store the wrapper content

This is to do the preparation that the libva-intel-driver can be the user of
other backend driver.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Sean V Kelley <seanvk@posteo.de>

020b341 2015-09-06 14:28:29 Lim Siew Hoon

Clean up unused local variable 'i965'

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

cec8f05 2015-09-06 14:28:11 Lim Siew Hoon

Clean up the duplicate extra two line of code

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

d7c2ba3 2015-09-06 14:27:54 Lim Siew Hoon

Fix if statement checking sampling factor for YUV422V_4Y

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

eb06298 2015-09-06 14:11:26 Lim Siew Hoon

Fix suspiciously placed semicolon at if statement.

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

e12ddd3 2015-09-06 14:11:22 Lim Siew Hoon

Fix memset initialize for huff_co_table and huff_si_table array

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

d69346b 2015-09-06 14:11:17 Lim Siew Hoon

Fix memset initialize value for huff_size_table and huff_code_table

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

d117b9d 2015-09-06 13:53:35 Lim Siew Hoon

Fix klockwork critical message hit on calloc function usage

The calloc function maybe return NULL, it will causing
memory access violation if continue using NULL C structure.
Add assert function to do checking on its.

bugzilla:
https://bugs.freedesktop.org/show_bug.cgi?id=91699

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

9170fed 2015-09-06 13:32:31 Xiang, Haihao

encode/hevc: Check slice type first in case user passes wrong parameters to driver

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>

1c5a843 2015-09-06 13:30:42 Xiang, Haihao

encode/hevc: Check the correct BO before unreferencing it

v2: Change the log message per Emil's suggestion

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>