OSDN Git Service

Set the right alignment on BXT/KBL
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 11 Apr 2016 08:22:18 +0000 (16:22 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 28 Apr 2016 12:30:33 +0000 (20:30 +0800)
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>
src/i965_device_info.c

index 6ac1d0c..c777a0d 100644 (file)
@@ -378,7 +378,7 @@ static struct hw_codec_info bxt_hw_codec_info = {
 
     .max_width = 4096,
     .max_height = 4096,
 
     .max_width = 4096,
     .max_height = 4096,
-    .min_linear_wpitch = 64,
+    .min_linear_wpitch = 128,
     .min_linear_hpitch = 16,
 
     .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) |
     .min_linear_hpitch = 16,
 
     .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) |
@@ -430,7 +430,7 @@ static struct hw_codec_info kbl_hw_codec_info = {
 
     .max_width = 4096,
     .max_height = 4096,
 
     .max_width = 4096,
     .max_height = 4096,
-    .min_linear_wpitch = 64,
+    .min_linear_wpitch = 128,
     .min_linear_hpitch = 16,
 
     .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) |
     .min_linear_hpitch = 16,
 
     .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) |