diff options
author | Christian König <christian.koenig@amd.com> | 2018-02-28 15:39:46 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2018-02-28 20:04:32 +0100 |
commit | bca585b02f09e27d7adef8375630515711bd4802 (patch) | |
tree | c8b670e9a394240b6bfb0a2faf1bb2ed77a72219 /etnaviv | |
parent | ff0da7b32369a08c8a2f69cd4dcd046ad7a15bec (diff) |
amdgpu: fix "add AMDGPU_VA_RANGE_HIGH"
The range is stored as exclusive, not inclusive. Subtracts one to get
the inclusive interval for the calculation. This fixes crashes when 32bit
addresses are in use.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'etnaviv')
0 files changed, 0 insertions, 0 deletions