Thomas Zimmermann
5905585103
fbdev: Put mmap for deferred I/O into drivers
...
The fbdev mmap function fb_mmap() unconditionally overrides the
driver's implementation if deferred I/O has been activated. This
makes it hard to implement mmap with anything but a vmalloc()'ed
software buffer. That is specifically a problem for DRM, where
video memory is maintained by a memory manager.
Leave the mmap handling to drivers and expect them to call the
helper for deferred I/O by thmeselves.
v4:
* unlock mm_lock in fb_mmap() error path (Dan)
v3:
* fix warning if fb_mmap is missing (kernel test robot)
v2:
* print a helpful error message if the defio setup is
incorrect (Javier)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220429100834.18898-2-tzimmermann@suse.de
2022-05-03 16:04:21 +02:00
..
2022-03-23 09:58:40 +01:00
2022-03-23 10:04:40 +01:00
2022-03-14 10:39:04 +01:00
2021-12-02 15:42:46 +01:00
2021-12-02 15:42:46 +01:00
2021-05-05 14:29:13 +02:00
2019-05-30 11:26:32 -07:00
2021-04-29 21:47:22 +02:00
2022-02-16 16:57:39 +01:00
2020-03-13 17:33:11 +01:00
2021-12-02 15:35:57 +01:00
2019-05-21 10:50:45 +02:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2021-09-15 16:31:21 +02:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2021-07-28 11:51:07 +02:00
2022-03-01 15:46:02 +01:00
2021-12-02 15:36:18 +01:00
2021-10-07 13:37:25 +02:00
2021-09-25 08:20:48 -07:00
2019-09-03 16:52:04 +02:00
2020-10-23 13:23:44 +02:00
2022-03-03 18:44:21 -08:00
2019-10-03 15:36:40 -04:00
2021-12-02 15:36:18 +01:00
2020-11-25 17:40:23 +01:00
2022-02-17 14:14:41 +01:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-08-22 17:11:58 +02:00
2020-03-18 13:36:21 +01:00
2022-04-01 10:14:32 -07:00
2021-05-27 15:40:34 +02:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2021-12-20 11:25:42 +01:00
2019-10-03 15:36:40 -04:00
2020-09-28 08:57:28 +00:00
2019-05-30 11:26:32 -07:00
2022-03-23 10:11:39 +01:00
2022-03-25 12:22:16 -07:00
2021-05-05 14:39:24 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-04-07 18:46:20 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:10 +02:00
2021-04-07 12:48:20 +02:00
2022-01-06 14:22:51 +01:00
2019-10-03 15:36:40 -04:00
2019-10-03 15:36:40 -04:00
2019-10-03 15:36:40 -04:00
2021-05-05 14:39:24 +02:00
2021-12-02 15:36:18 +01:00
2019-10-03 15:36:40 -04:00
2022-02-16 16:26:21 +01:00
2021-08-20 14:32:39 +02:00
2020-08-17 11:38:49 +02:00
2022-01-10 09:58:34 +01:00
2019-01-14 20:11:01 +01:00
2020-11-05 11:16:53 +01:00
2020-11-25 14:30:33 +01:00
2020-09-02 12:55:46 -07:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:08:40 +01:00
2022-03-01 15:56:43 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:30:28 +02:00
2020-09-03 16:18:55 +02:00
2021-04-07 18:46:20 +02:00
2019-06-05 17:30:28 +02:00
2022-05-03 16:04:21 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-05-30 11:26:35 -07:00
2021-03-08 11:08:58 +01:00
2021-10-27 10:05:07 +02:00
2019-06-05 17:36:37 +02:00
2021-12-02 15:36:18 +01:00
2022-02-16 16:55:00 +01:00
2022-02-16 17:12:14 +01:00
2018-06-25 15:23:40 +02:00
2019-05-30 11:26:32 -07:00
2020-10-23 16:16:31 -07:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2021-09-25 08:20:48 -07:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2021-05-05 14:21:08 +02:00
2021-05-26 12:36:46 +02:00
2021-05-05 14:36:18 +02:00
2022-02-02 15:12:22 +01:00
2019-05-30 11:26:35 -07:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2020-06-19 09:21:21 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-02-21 09:15:10 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:50:23 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:19 -07:00
2021-12-02 15:35:57 +01:00
2022-03-01 15:28:14 +01:00
2022-03-01 15:28:14 +01:00
2022-03-01 15:28:14 +01:00
2022-03-01 15:28:14 +01:00
2022-03-01 15:28:14 +01:00
2020-07-20 12:24:41 +02:00
2019-02-21 12:00:53 +01:00
2022-03-14 21:11:10 -07:00
2022-03-14 21:11:10 -07:00
2022-03-14 21:11:10 -07:00
2019-05-30 11:26:32 -07:00
2021-01-07 10:14:58 +01:00
2019-05-30 11:26:32 -07:00
2020-06-19 14:17:22 +02:00
2020-06-19 14:17:22 +02:00
2021-09-22 11:53:07 +02:00
2019-05-30 11:26:32 -07:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:52:18 +01:00
2022-04-01 10:14:32 -07:00
2022-04-01 10:14:32 -07:00
2022-02-25 09:36:06 +01:00
2021-12-02 15:36:12 +01:00
2022-01-21 15:10:02 +01:00
2021-11-10 10:02:06 +01:00
2019-11-06 21:37:29 +01:00