Remove intel_gpgpu_check_binded_buf_address()
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 31 Oct 2014 07:11:59 +0000 (15:11 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 31 Oct 2014 06:29:50 +0000 (14:29 +0800)
commit44e574e822e8dcd14b701838f39a3bf29d2f7f4b
tree01621f584a8182380430d80a0875b80bb6dfa82b
parent557323d3d9f5918d04f3d4d78c95167ec0a3033f
Remove intel_gpgpu_check_binded_buf_address()

On recent kernel with full PPGTT support, we can possibly bind buffer
offset with 0, but intel_gpgpu_check_binded_buf_address() always thinks
it's invalid, which is not true. So simply remove the check.

v2: Add comment on why this was added and leads to failure. Use FIXME tag
on issue that needs to be fixed otherwise.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/intel/intel_gpgpu.c