Re: [PATCH] mi/mibitblt: Fix an overflow bug of bit shift.

2012-01-06 Thread Adam Jackson
On 1/4/12 2:01 AM, zhigang.g...@linux.intel.com wrote: From: Zhigang Gongzhigang.g...@linux.intel.com When depth equal to 32 and planeMask equal to 0, the overflow will occur and cause the pixmap can't be cleared. There are some test cases in XTS hit this bug, and this fix can eliminate the

[PATCH] mi/mibitblt: Fix an overflow bug of bit shift.

2012-01-03 Thread zhigang . gong
From: Zhigang Gong zhigang.g...@linux.intel.com When depth equal to 32 and planeMask equal to 0, the overflow will occur and cause the pixmap can't be cleared. There are some test cases in XTS hit this bug, and this fix can eliminate the corresponding failures. Signed-off-by: Zhigang Gong