Skip to content
Snippets Groups Projects
Commit c7aacce8 authored by Marcin Bernatowicz's avatar Marcin Bernatowicz
Browse files

benchmarks/gem_wsim: Fix mmap for discrete graphics cards


It appears that 'gem_mmap__wc' doesn't work for discrete graphics cards
and 'I915_MMAP_OFFSET_FIXED' is needed instead.
Adopt the mapping approach from 'lib/igt_dummyload'.

v2: Correct brace balance (Kamil)
    Remove redundant 'ptr' variable

Signed-off-by: default avatarMarcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Reviewed-by: default avatarKamil Konieczny <kamil.konieczny@linux.intel.com>
parent 130cc417
No related branches found
No related tags found
No related merge requests found
Pipeline #1233419 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment