Driver: Fix the incorrect size of surface 1.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Mon, 12 Aug 2013 05:34:15 +0000 (13:34 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Mon, 12 Aug 2013 05:37:59 +0000 (13:37 +0800)
commitdd6994b1b8796848223b1b6b9a7c7455fb0469a9
treef42dbdac8fe77a4660905d9d2e9c78313bc31337
parent1db364d9471c8574eb41aed6e6903284687dc2ea
Driver: Fix the incorrect size of surface 1.

According to Ben's comments, the surface 0 and 1 should be exactly
match each other, and the only reason why we need two surfaces rather
than 1 is that for the fulsim usage. Thus we should set surface
1 and 0 with the same memory size.

This patch fixes the flat_address_space unit test case and also
a randome failure reported by yang rong.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: "Yang, Rong R" <rong.r.yang@intel.com>
src/intel/intel_gpgpu.c