tests/gem_softpin: Use offset addresses in canonical form
tests/gem_softpin: Use offset addresses in canonical form

i915 validates that requested offset is in canonical form, so tests need
to convert the offsets as required.

Also add test to verify non-canonical 48-bit address will be rejected.

v2: Use sign_extend64 for converting to canonical form (Tvrtko)

Cc: Vinay Belgaumkar <c52e8df8c69f60f9c9e888b392705ebaccf371af@intel.com>
Cc: Tvrtko Ursulin <82325a91373a06cdf12f953d4611ffb7756aa8d4@linux.intel.com>
Reviewed-by: Vinay Belgaumkar <c52e8df8c69f60f9c9e888b392705ebaccf371af@intel.com>
Signed-off-by: Michel Thierry <c65ff7d3dfaea3345301797f027f123ededb124c@intel.com>

tiagovignatti/intel-gpu-tools,tiagovignatti/intel-gpu-tools,tiagovignatti/intel-gpu-tools,tiagovignatti/intel-gpu-tools