diff options
author | Thierry Reding <treding@nvidia.com> | 2018-02-07 18:45:56 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-03-08 14:38:42 +0100 |
commit | b8f3f500e09c2c457efc2fcbfe8b7f815f2e6a0e (patch) | |
tree | 8c7a43b60ba3f9482bf621f38d55b4468e045038 /kernel/fail_function.c | |
parent | 04c0746663bd3ae3cce5e02d5b32c8ade2a833b8 (diff) |
drm/tegra: fb: Implement ->fb_mmap() callback
This fixes hangs with legacy applications that use the mmap() syscall on
the fbdev device to map framebuffer memory. The fbdev implementation for
mmap() creates a mapping that conflicts with DRM usage and causes a hang
when the memory is accessed through the mapping.
Reported-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Stefan Agner <stefan@agner.ch>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reported-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions