diff options
author | Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> | 2022-05-09 16:51:43 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2022-06-21 17:36:13 +0300 |
commit | ca6969013d13282b42cb5edcc13db731a08e0ad8 (patch) | |
tree | 5a276cfde22ba9a4d624eda7567fd6f28204b064 /drivers/xen/gntdev.c | |
parent | ecb6237fa397b7b810d798ad19322eca466dbab1 (diff) | |
download | linux-ca6969013d13282b42cb5edcc13db731a08e0ad8.tar.xz |
drm/xen: Add missing VM_DONTEXPAND flag in mmap callback
With Xen PV Display driver in use the "expected" VM_DONTEXPAND flag
is not set (neither explicitly nor implicitly), so the driver hits
the code path in drm_gem_mmap_obj() which triggers the WARNING.
Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Link: https://lore.kernel.org/r/1652104303-5098-1-git-send-email-olekstysh@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/gntdev.c')
0 files changed, 0 insertions, 0 deletions