]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "fb_defio: Remove custom address_space_operations"
authorMatthew Wilcox <willy@infradead.org>
Tue, 1 Jun 2021 14:30:30 +0000 (15:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Jun 2021 15:38:40 +0000 (17:38 +0200)
commitc4f511f042f578a37256b7476c11f6d7a7389360
tree6545ba613e36b540815717431b9b157b67cbe651
parent522fa64953e0d3fbb5fa5fd7565121714af2a489
Revert "fb_defio: Remove custom address_space_operations"

Commit 2da40f5cb0f8 makes framebuffers which use deferred I/O stop
displaying updates after the first one.  This is because the pages
handled by fb_defio no longer have a page_mapping().  That prevents
page_mkclean() from marking the PTEs as clean, and so writes are only
noticed the first time.

Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/YLZEhv0cpZp8uVE3@casper.infradead.org
drivers/video/fbdev/core/fb_defio.c
drivers/video/fbdev/core/fbmem.c
include/linux/fb.h