• 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
fd6c14d 2014-12-14 01:42:17 Xiang, Haihao

SKL and BDW use the same PAK pipeline for H.264/MPEG-2 encoding

Still use different functions if using GPU to construct the batchbuffer
for PAK

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

495958b 2014-12-14 01:42:17 Xiang, Haihao

Add support for VEBOX on SKL (v2)

Use separate functions to setup VEBOX states

v2: SURFACE_STATE for VEBOX is also changed

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

41586a3 2014-12-14 01:42:17 Sirisha Muppavarapu

JPEG Encode: Added support for UYVY/YUY2/Y8 Input formats

Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com>
(cherry picked from commit 2eb9a2037a05d742ee63638f3400b772f9a311e1)

a56efcd 2014-12-14 01:42:17 Zhao Yakui

Add the override flag to assure that HEVC video command always uses BSD ring0 for SKL GT3 machine

The SKL GT3 machine has two BSD video rings,which can dispatch the video
command.But the HEVC command is an exception, which can't be handled by
the second BSD video ring. So we need to assure that the HEVC command always
uses the first BSD video ring.

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

702050f 2014-12-14 01:42:17 Zhao, Yakui

Allow the batchbuffer to be submitted with override flag

Some machines have two BSD video rings. Sometimes the user-space application
want to specify which BSD ring is to dispatch the video command. In such case
the override flag is needed so that the kernel can handle it.

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

a05772e 2014-12-14 01:42:17 Zhao Yakui

Allow the extensional ring flag to be passed when submitting the batchbuffer

This is to add the preparation that the overrride flag can be added to specify
which BSD ring is used to dispatch the video command when there exist two
BSD video rings.

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

ba4e416 2014-12-14 01:42:17 Xiang, Haihao

HEVC: Submit HCP_WEIGHTOFFSET_STATE if required

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

9aa24c3 2014-12-14 01:42:17 Xiang, Haihao

HEVC: Submit HCP_TILE_STATE if required

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

5848273 2014-12-14 01:42:17 Xiang, Haihao

Advertise the support for HEVC on SKL

v2: Only support HEVC Main Profile

v3: Check profile against VAProfileHEVCMain in i965_BeginPicture()

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

a172877 2014-12-14 01:42:17 Xiang, Haihao

HEVC: Make sure the buffer store is allocated for the current render target

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

49eea24 2014-12-14 01:42:17 Xiang, Haihao

HEVC: Verify HEVC parameters before deocoding.

Allocate the underlying surface buffer store for each
reference frame if necessary

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

5482dc2 2014-12-14 01:42:17 Xiang, Haihao

HEVC: update frame store index

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

fc1cecc 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_bsd_object()

Issue HCP_BSD_OBJECT to start decoding

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

b95b212 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_slice_state()

Set slice parameters in HCP_SLICE_STATE

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

9f8dd2e 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_weightoffset_state()

Set weight/offset in HCP_WEIGHTOFFSET_STATE

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

60f79f2 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_ref_idx_state()

Set reference idx entries in HCP_REF_IDX_STATE

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

af488dc 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_tile_state()

Set tile parameters in HCP_TILE_STATE

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

7b58c42 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_pic_state()

Set picture parameters in HCP_PIC_STATE

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

9aa3d90 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_hevc_qm_state()

Set the quantization tables in HCP_QM_STATE. The default flat
tables will be used if application doesn't pass the valid tables
to driver or scaling_list_enable_flag is set to 0

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

ae8619b 2014-12-14 01:42:17 Xiang, Haihao

HEVC: Set the default flat IQ matrix

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

5dc1fc7 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_ind_obj_base_addr_state()

Set the base address for the input bitsteam data buffer in
HCP_IND_OBJ_BASE_ADDR_STATE.

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

e3019df 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_pipe_buf_addr_state()

Set memory base address for all internal buffers and output buffer
in HCP_PIPE_BUF_ADDR_STATE

v2: Fix the command length and payload

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

babb2db 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_surface_state()

Set the frame buffer pitch and the offset to the chroma component in
HCP_SURFACE_STATE. Only surface id 0 is used for HEVC decoding

v2: Fix the command payload

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

5f9e794 2014-12-14 01:42:17 Xiang, Haihao

HEVC: gen9_hcpd_pipe_mode_select();

Set HCP_PIPE_MODE_SELECT for HEVC decoding

v2: Fix the command payload

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

6dc5b8b 2014-12-14 01:42:17 Xiang, Haihao

HEVC: Add the frame store array

The function to update the frame store index will be added later

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

d19b00d 2014-12-14 01:42:17 Xiang, Haihao

HEVC: All internal buffers used for HCP pipe on SKL

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

89d4bf2 2014-12-14 01:42:17 Xiang, Haihao

HEVC: append a motion vector temporal buffer to a VA surface

It is the current motion vector temporal buffer to the decoded
current surface, and the collocated motion verctor temporal buffer
for reference surface

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

9b573e8 2014-12-14 01:42:17 Xiang, Haihao

HEVC: some variables used later

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

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

Add the initial code for HEVC decoding on SKL into the driver

The hcp (HEVC codec pipeline) for decoding will be built later

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

1f1b0ef 2014-12-14 01:42:16 Xiang, Haihao

HEVC Codec Pipeline (HCP) commands on SKL

v2: replace HCP_BSD_OBJECT_STATE with HCP_BSD_OBJECT (Yakui)

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