[PATCH libdrm] amdgpu: fix "add AMDGPU_VA_RANGE_HIGH"

Michel Dänzer michel at daenzer.net
Wed Feb 28 15:21:41 UTC 2018


On 2018-02-28 03:41 PM, Christian König wrote:
> The 32bit address range end is exclusive, not inclusive.

The other way around. :) Inclusive means [a,b], i.e. an interval
including the endpoints, whereas exclusive means ]a,b[, i.e. an interval
not including the endpoints. The patch changes the 32-bit address range
endpoint from exclusive to inclusive.


> This fixes crashes when 32bit addresses are in use.
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>

With the above fixed,

Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list