Check the max resolution supported by hardware when create VA context
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 27 Mar 2012 06:55:23 +0000 (14:55 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 27 Mar 2012 07:02:07 +0000 (15:02 +0800)
commit99959acf41c6258616958756b8fa4678f0d9ccb9
tree1ebc9c6ffa413b3026b8bf26b12dd60522bc841d
parent0649bff08acc4b06a5a604f806a9b9a945f285d0
Check the max resolution supported by hardware when create VA context

It will avoid GPU hang when try to play unsupported large resolution
videos.

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

Conflicts:

src/i965_drv_video.c
src/i965_drv_video.h
src/i965_drv_video.c
src/i965_drv_video.h