diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-06-24 11:14:14 +0200 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2021-06-24 11:17:53 -0700 |
commit | a306810ebbc8984bde38a57ef0c33eea394f4e18 (patch) | |
tree | 1fb0c1e67f451d2b096d432532818d6d4afefacd /overlay | |
parent | a2e8c890845b6441d7b01f8afefa94a6fa4ee9e4 (diff) |
i915: Handle the case where legacy mmap is not available, v2.
We will remove support for the legacy mmap ioctl, so handle that
case without rewriting all tests.
When the gem_mmap ioctl is not available, transparently fallback to mmap_offset.
Changes since v1:
- Skip gem_tiled_wc too, as it requires on legacy mmap behavior. (Ashutosh)
- Remove fallback for __gem_mmap__gtt, it's already mmap_offset. (Ashutosh)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'overlay')
0 files changed, 0 insertions, 0 deletions