gpu-compute: Fix off-by-one when creating an AddrRange

The end value of an AddrRange is already not included in the range,
so subtracting one from the end creates an off-by-one error.

This patch removes the extra -1 that was used when determining the
end of an AddrRange in allocateGpuVma

Change-Id: I75659e9a7fabd991bb37be9aa40f8e409eb21154
Reviewed-by: Matt Sinclair <>
Reviewed-by: Bobby R. Bruce <>
Maintainer: Matt Sinclair <>
Tested-by: kokoro <>
1 file changed