diff options
author | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2015-09-03 17:13:58 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-09-08 16:15:16 +0100 |
commit | 2269997cff0f7700566f80359971a723d0b0212b (patch) | |
tree | 464ec55a64a4de64715035be0cb2724824c0d8ec /benchmarks/gem_prw.c | |
parent | b04691b3e8e62bd105f0f4d8d3b9e7da187f0c90 (diff) |
tests/gem_bad_reloc: use correct page table size
2 subparts of gem_bad_reloc check that the reloc address is below the
global gtt boundary. However, when executing from ppgtt the reloc
address can be greater than that and still be a valid address.
To be sure that we're using the right upper limit, select it based on
the ppgtt mode.
Cc: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'benchmarks/gem_prw.c')
0 files changed, 0 insertions, 0 deletions