Bug 72016

Summary: [sgb] vainfo output VAEntrypointEncSlice while sgb don't support mpeg2encoding
Product: libva Reporter: zhenxiang.li <zhenxiang.li>
Component: intelAssignee: haihao <haihao.xiang>
Status: VERIFIED FIXED QA Contact: Sean V Kelley <seanvk>
Severity: normal    
Priority: medium CC: shengyanx.zhao, shuang.he
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description zhenxiang.li 2013-11-26 02:06:40 UTC
Environment:
--------------
Platform: sgb
Libva: (master)73a11b3e249da35ede92560eb089239252721351
Libva_intel_driver: (master)46c490188fee9d717db1ad526265e0dc1b09d91d

Bug info:
--------------
vainfo contains VAEntrypointEncSlice 
vainfo:
...
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.2.2.pre1)
vainfo: Driver version: Intel i965 driver - 1.2.2.pre1
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
Comment 1 haihao 2013-11-26 02:08:46 UTC
sgb doesn't support MPEG-2 encoding
Comment 2 Shuang He 2013-11-26 02:24:58 UTC
Haihao, you're misunderstanding the purpose of this bug report.
If sandybridge doesn't support MPEG2 encoding, vainfo/libva/intel-driver should be fixed to not report this capability
This bug is used to drive this
Comment 3 haihao 2013-11-26 02:40:08 UTC
Oh, this is an 'old' bug,  I thought it has been fixed :(
Comment 4 haihao 2013-11-26 02:45:46 UTC
commit 4a0f76c5b706fccbc85fadaeee9d785cd7b57d5a
Author: Xiang, Haihao <haihao.xiang@intel.com>
Date:   Tue Nov 26 10:43:45 2013 +0800

    SNB doesn't support MPEG-2 encoding
Comment 5 zhenxiang.li 2013-11-26 07:48:12 UTC
Bug has been fixed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.