diff options
author | Dave Airlie <airlied@redhat.com> | 2022-12-09 11:53:23 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-12-09 11:53:52 +1000 |
commit | f06a4da3adf252a6ecd37c4ea1c3540db0b27738 (patch) | |
tree | c40ee90344025fd1bb57877035aa91516dc5ca97 /drivers/video | |
parent | b2268e26869a56e40964f0d912b58ffd076fd453 (diff) | |
parent | b02897e56b4e1fa6445be695ce5d605bb098435c (diff) | |
download | linux-f06a4da3adf252a6ecd37c4ea1c3540db0b27738.tar.gz linux-f06a4da3adf252a6ecd37c4ea1c3540db0b27738.tar.bz2 linux-f06a4da3adf252a6ecd37c4ea1c3540db0b27738.zip |
Merge tag 'drm-misc-next-fixes-2022-12-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
Some deferred-io and damage worker reworks revert and make a fb function
static
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221208084040.yw4zavsjd25qsltf@houat
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/core/fb_defio.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/video/fbdev/core/fb_defio.c b/drivers/video/fbdev/core/fb_defio.c index dec678f72a42..c730253ab85c 100644 --- a/drivers/video/fbdev/core/fb_defio.c +++ b/drivers/video/fbdev/core/fb_defio.c @@ -332,19 +332,3 @@ void fb_deferred_io_cleanup(struct fb_info *info) mutex_destroy(&fbdefio->lock); } EXPORT_SYMBOL_GPL(fb_deferred_io_cleanup); - -void fb_deferred_io_schedule_flush(struct fb_info *info) -{ - struct fb_deferred_io *fbdefio = info->fbdefio; - - if (WARN_ON_ONCE(!fbdefio)) - return; /* bug in driver logic */ - - /* - * There's no requirement from callers to schedule the - * flush immediately. Rather schedule the worker with a - * delay and let a few more writes pile up. - */ - schedule_delayed_work(&info->deferred_work, fbdefio->delay); -} -EXPORT_SYMBOL_GPL(fb_deferred_io_schedule_flush); |