• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

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

hardware/intel/intel-driver


RSS
Rev. Tiempo Autor
8ff7f48 2014-12-14 01:42:16 Xiang, Haihao

Add support for JPEG encoding on SKL

We can re-use CHV JPEG encoding pipeline

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

e4612c3 2014-12-14 01:42:16 Xiang, Haihao

Fix SKL media pipeline for VPP

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

Conflicts:

src/gen8_post_processing.c

cf34d3e 2014-12-14 01:42:16 Zhong Li

Use BDW rebuilt shaders for skl encoding

BDW rebuilt shaders can be used for SKL encoding as verification on
simulator. Further checking of DOCs is needed.

V2:follow haihao's suggestion to update comments and some declaration.

Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 3815273df04cce853d849cd55a32e100057c2a48)

Conflicts:

src/shaders/vme/Makefile.am

0f3c33b 2014-12-14 01:42:16 Xiang, Haihao

Add Makefile.am to build the shader code for VPP on SKL

We can reuse all of BDW assembly shader code. CSC between
I420/YV12/NV12 are verfied on Simulator, other shaders will be
verfied on HW.

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

385ac01 2014-12-14 01:42:16 Xiang, Haihao

Add the initial support for VPP on SKL

There are only a few changes on media pipeline between BDW
and SKL, so we can reuse most BDW VPP code. I will follow the DOCs
to fix media pipeline states for SKL and add shaders for each
processing

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

Conflicts:

src/gen8_post_processing.c

1a51ef2 2014-12-14 01:41:48 Xiang, Haihao

SKL: The minimum URB start address for VS is 4

Otherwise it may result in GPU hang

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

99db30e 2014-12-14 01:41:48 Xiang, Haihao

SKL: Set the 3DSTATE_VF/3DSTATE_VF_INSTANCING

To ensure the "Component Packing Enable" bit is set to 0

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

049ecd3 2014-12-14 01:39:09 Zhao Yakui

Rendering/SKL: Add the rendering shaders

Rendering is used to display the decoded image. It will do the color-space
conversion from NV12 to RGB, which is implemented by using 3D pipeline.

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

SKL: update the native SEND instruction

The extdesc field in SEND instruction is changed on SKL.
The Gfx assembler has been updated for this change, however
the used shader in the driver still use the wrong format.

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

SKL: The SEND with EOT message must use register 112-127 as source register

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

2a33cd9 2014-12-14 01:26:32 Zhao Yakui

Rendering/SKL: Update the 3DSTATE_SBE command for 3D pipeline

This is based on the hardware spec.

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

9b3ad19 2014-12-14 01:26:32 Zhao Yakui

SKL: Add the Render_SURFACE_STATE for SKL

This is based on the hardware spec.

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

f72b981 2014-12-14 01:26:32 Zhao Yakui

SKL: Add the MEDIA_SURFACE_STATE for SKL

This is the hardware requirement.

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

a0490a3 2014-12-14 01:26:32 Zhao Yakui

Media/SKL: Follow the spec to add the media_sampler DOP gating for media pipeline

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

01941a2 2014-12-14 01:26:32 Zhao Yakui

Media/SKL: Follow the spec to add the FORCE_MEDIA_AWAKE for media pipeline

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

bcdfd5a 2014-12-14 01:26:32 Zhao Yakui

Media/SKL: Follow the spec to add the pipeline_selection mask for media pipeline

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

030f48a 2014-12-14 01:26:32 Zhao Yakui

Media/SKL: Follow the spec to update the STATE_BASE_ADDRESS command for media pipeline

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

a5893c0 2014-12-14 01:26:32 Zhao Yakui

Media/Skl: Add the gen9_gpe_pipeline_setup to configure the media pipeline

As some media commands related with media pipeline are updated for SKL,
one new function is used to config the media pipeline on SKL.

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

7fd04dd 2014-12-14 01:26:32 Zhao Yakui

Rendering/SKL: Follow the spec to update the 3DSTATE_DS command

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>

1c72434 2014-12-14 01:26:32 Zhao Yakui

Rendering/SKL: Follw the spec to add the PIPE_SELECTION mask for pipeline selection

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>

73ca0cb 2014-12-14 01:26:32 Zhao Yakui

Rendering/Skl: Update the STATE_BASE_ADDRESS command

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>

e016826 2014-12-14 01:26:32 Zhao Yakui

Skl: Flush batch buffer like that on Gen8

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

2eced53 2014-12-14 01:26:32 Zhao Yakui

Skl: Export the surface attribute like that on Gen8

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

Conflicts:

src/i965_drv_video.c

2ac9c2f 2014-12-14 01:26:32 Zhao Yakui

Skl: Add the initial support for media encoding

The separated file are added for the media encoding on SKL, which is copied
from that on Gen8 and the function name is changed from gen8_xxx to gen9_xxx.

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

Cleanup packed header insertion for MVC encoding

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

7584236 2014-12-14 01:26:32 Zhao Yakui

Skl: Add the initial support for rendering on Skl

The seperated file of gen9_render.c is added for the rendering, which
is copied from gen8_render.c and the function name is changed from
gen8_XXX to gen9_XXX.

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

1bf4e48 2014-12-14 01:26:32 Zhao Yakui

Skl: Add the PCIIDs and initial driver-codec info for Skl

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

Conflicts:

src/intel_driver.h

0d837fd 2014-12-14 01:26:08 Xiang, Haihao

decoder: Remove the dependency on the fixed length frame store array

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

7d2cad6 2014-12-14 01:26:08 Xiang, Haihao

decoder: Remove the dependency on H.264 picture parameter

Only POC is needed in the algorithm

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

6c3ff20 2014-12-14 01:25:39 Xiang, Haihao

decoder: Add struct gen_codec_surface

It is the base of struct gen_avc_surface, and move frame_store_id
from gen_avc_surface to gen_codec_surface

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

Conflicts:

src/i965_decoder_utils.c

f2a34f9 2014-11-26 15:31:12 Xiang, Haihao

Remove the check against obj_config->profile

The profile has been validated when creating the corresponding config,
it fixes a JPEG decode regression on non-CHV as well.

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

89238b2 2014-11-26 15:27:18 Xiang, Haihao

Remove two fields from struct i965_render_state

They are useless now

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

bea75d8 2014-11-26 15:22:52 Xiang, Haihao

Remove the check against render_state->interleaved_uv in i965_sw_getimage()

The surface and image have the same fourcc now, it is unnecessary to check
it is interleaved.

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