[Libva] [libva-intel-driver][PATCH] Set the right alignment on BXT/KBL

Kelley, Sean V sean.v.kelley at intel.com
Mon Apr 11 16:01:34 UTC 2016



On Mon, 2016-04-11 at 16:27 +0800, Xiang, Haihao wrote:

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



lgtm

Sean



Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com<mailto:haihao.xiang at intel.com>>
---
 src/i965_device_info.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/i965_device_info.c b/src/i965_device_info.c
index 6ac1d0c..c777a0d 100644
--- a/src/i965_device_info.c
+++ b/src/i965_device_info.c
@@ -378,7 +378,7 @@ static struct hw_codec_info bxt_hw_codec_info = {

     .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) |
@@ -430,7 +430,7 @@ static struct hw_codec_info kbl_hw_codec_info = {

     .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) |




More information about the Libva mailing list