summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-09Add 'struct i965_gpe_resource' and related utility functionsXiang, Haihao2-0/+160
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
2016-05-09Inrease the maximum number of attributesXiang, Haihao1-1/+1
We will add more attributes in the driver Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
2016-05-09Add a flag for skylake in struct intel_device_infoXiang, Haihao2-0/+7
In addition, add IS_SKL() and IS_BXT() for later usage Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
2016-05-09Add OUT_BCS_RELOC64() to support 48-bit address relocations on BCSXiang, Haihao1-0/+2
We will use this MACRO later Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
2016-04-28add the support of 8-aligned size setting for hevc encodingpeng.chen1-4/+64
v2: disable drop cu flag for 16-aliged size v1: created Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-04-28Set the right alignment on BXT/KBLXiang, Haihao1-2/+2
With the commit 'CSC: Remove average logic when saving NV12 surface on IVB+', This fixes https://bugs.freedesktop.org/show_bug.cgi?id=94845 on BXT/KBL Reviewed-by: Kelley, Sean V <sean.v.kelley@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-04-28CSC: Remove average logic when saving NV12 surface on IVB+Xiang, Haihao20-1362/+326
This fixes the issue mentioned in https://bugs.freedesktop.org/show_bug.cgi?id=94845 on IVB+(except BXT/KBL) v2: Remove the adding <1> in GEN7 shader (Emil) Cc: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Reviewed-by: Kelley, Sean V <sean.v.kelley@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-04-25Restrict the hybrid Vp9 usage on the platform without Vp9 HWDECZhao Yakui1-1/+8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2016-04-08fix the FPS caculation error for HEVC encoderpeng.chen1-3/+3
Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-04-08optimize the internal prob buffer managementpeng.chen2-149/+27
Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-03-31CSC: Set the right filter mode for YUY2/UYVY surface on BDW+Xiang, Haihao1-1/+14
AVS doesn't support mode 3 for YUY2/UYVY surface https://bugs.freedesktop.org/show_bug.cgi?id=94765 Cc: James Tang <jun.tang@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-17update PIPE_MODE command setting for VP9 decodingpeng.chen1-2/+22
v2: modify the commit message v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-03-17vp9_decoding: disable all seg reference for key frame or intra_only enabled ↵peng.chen1-1/+7
frame Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-03-171.7.1.pre1 for developmentXiang, Haihao1-2/+2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-17Merge remote-tracking branch 'fdo/v1.7-branch' into fdo--masterXiang, Haihao3-5/+13
2016-03-15libva-intel-driver 1.7.0Xiang, Haihao2-3/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-14fix memory leak in jpeg encodingJames Tang1-0/+3
Signed-off-by: James Tang <jun.tang@intel.com>
2016-03-04Update NEWS and READMEXiang, Haihao2-4/+12
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-04Remove duplicate H264MultiviewHigh and H264StereoHigh in the profile listXiang, Haihao1-7/+4
Otherwise vainfo got duplicate print message that list out the video format support for H264MultiviewHigh, H264StereoHigh. Reported-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Tested-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-04Fix a potential infinite loopXiang, Haihao1-1/+1
It will result in infinite loop if the input fourcc isn't supported by the driver. This issue is reported by Guangxin Cc: Xu, Guangxin <Guangxin.Xu@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-04Add missing SKL/BXT PCI IDsXiang, Haihao1-0/+5
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-031.7.0.pre1 for developmentXiang, Haihao1-4/+4
Update the dependency on VA-API as well Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2016-03-03Merge remote-tracking branch 'fdo/v1.6-branch' into fdo--masterXiang, Haihao2-1/+21
2016-01-29support VP9 profile2 10bits decodingpeng.chen5-22/+113
v2: ignore bit_depth for profile0,1 add the support of enum VAProfileVP9Profile2 v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit f6fe8428cc395771659a010222d0e3774b876535)
2016-01-29KBL driver enablingPeng Chen4-9/+171
v2: remove the file mode change v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit 5fb654b2577be19005bd9792a0b62c3ac1d2395b)
2016-01-29set the minimum of vp9 deocding frame width and height as 1, not 8peng.chen1-2/+2
Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit 99ae37b2e2d29be0c00447f26ccab294a2bcc2d9)
2016-01-29don't mask 8bit NV12 surface supporting for hevc main10 profilepeng.chen1-1/+0
Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit f96392ce2479c8cadef30a923c985b62fa4091c0)
2016-01-29support VP9 profile2 10bits decodingpeng.chen5-22/+113
v2: ignore bit_depth for profile0,1 add the support of enum VAProfileVP9Profile2 v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-29KBL driver enablingPeng Chen4-9/+171
v2: remove the file mode change v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-26set the minimum of vp9 deocding frame width and height as 1, not 8peng.chen1-2/+2
Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-26don't mask 8bit NV12 surface supporting for hevc main10 profilepeng.chen1-1/+0
Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-15Merge remote-tracking branch 'fdo/master' into v1.6-branchXiang, Haihao12-141/+595
Conflicts: configure.ac src/gen9_mfd.c src/gen9_mfd.h src/i965_device_info.c src/i965_drv_video.c src/i965_drv_video.h src/intel_media_common.c
2016-01-15P010(10bits) enabling in vaCreateImage(), vaGetImage(), vaPutImage()peng.chen4-0/+205
1, don't support the conversion from NV12 or other 8bits formats to P010 2, don't support scaling for P010->P010 v2: add GEN arch limitation for vebox_processing_simple() v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-15VPP P010(10bits) enablingpeng.chen5-56/+251
v2: 1, remove VPP P016 related code 2, optimize NV12->P010 3, enable IECP if all DI&DN are disabled v1: initial Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-11only re-caculate surface width&height for tiled surfacepeng.chen1-10/+10
fix Bug 93499 - daf8f6c762874 introduced display corruption on i3 330M https://bugs.freedesktop.org/show_bug.cgi?id=93499 Signed-off-by: peng.chen <peng.c.chen@intel.com>
2016-01-06VP9HWDEC:fix vp9 hw decoder issuePengfei Qu3-73/+126
v2: codes change according to haihao's comments v1: 1. fix one segmentent fault issue 2. change and optimize the mv bufffer update the logic 3. fix one segment feature issue 4. fix one issue when loopfilter level is zero. Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
2015-12-15libva-intel-driver 1.6.2Xiang, Haihao2-3/+3
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-14Add assert checking for allocated gen9_vp9_surfaceLim Siew Hoon1-0/+1
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
2015-12-141.6.3.pre1 for developmentXiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-07version 1.6.2.pre2Xiang, Haihao1-1/+1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-07Update NEWS and READMEXiang, Haihao2-0/+7
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2015-12-07Keep backward compatibility with VA API 0.38.0Xiang, Haihao1-0/+8
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 9ce333f193fa0f56ec09b9f5b2f4823461f48776)
2015-12-07Keep backward compatibility with VA API 0.38.0Xiang, Haihao1-0/+8
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
2015-12-07Export VP9 decoding on BXTSirisha Muppavarapu1-0/+1
Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit e16f923193a10f78f5462db7efa4e89e242fca93)
2015-12-07VP9 HWDec:change the name vp8_xxx to vpx_xxx and share it with VP9Pengfei Qu6-153/+0
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 6859ab7a51650cbcfa8159a37cf8d1485d162ad4)
2015-12-07VP9 HWDec: add VP9 HW decoding pipelinePengfei Qu2-2/+968
v2: fix sengment feature in inter frame v3: update the prob buffer logic v4: fix intra-only feature issue Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 8f1e1015a4cc8c08dd685f80829ca1555ae1cab1)
2015-12-07VP9 HWDec:add vp9 parameter check function before decodingPengfei Qu2-0/+162
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 833fa7715d28b89af4bd661e3f2cac72345c9a27)
2015-12-07VP9 HWDec:add vp9 surface structure and related parameterPengfei Qu3-0/+44
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit f36ab3413f814c80f4df4f4570f4ef9a1168b624)
2015-12-07VP9 HWDEC:add vp9 table fileSirisha Muppavarapu2-0/+641
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 9bc5ecadd4ea11ebab1e383632be3448eb8411f4)
2015-12-07VP9 HWDec: Added profile and entrypoint for VAProfileVP9Profile0 in the driverSirisha Muppavarapu2-1/+14
v2: don't export VP9 decoding on BXT because VP9 decoding isn't enabled (Peng) Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com> Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit bcab944bc6e898e209b1e09befb81134c31a0b22)