summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDan Sneddon <dan.sneddon@microchip.com>2021-03-30 18:17:20 +0300
committerSam Ravnborg <sam@ravnborg.org>2021-06-20 00:06:56 +0300
commite541845ae0858616c52dd97df4bf91568c7a7a1b (patch)
tree80663197832fc55ba4d5602403df93e40d705839 /drivers
parentaf42167f53ec18b0856387fc119b28c8c1ba98a1 (diff)
downloadlinux-e541845ae0858616c52dd97df4bf91568c7a7a1b.tar.xz
drm/atmel-hlcdc: Allow async page flips
The driver is capable of doing async page flips so we need to tell the core to allow them. Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com> Tested-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210330151721.6616-1-dan.sneddon@microchip.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
index 65af56e47129..f09b6dd8754c 100644
--- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
+++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
@@ -593,6 +593,7 @@ static int atmel_hlcdc_dc_modeset_init(struct drm_device *dev)
dev->mode_config.max_width = dc->desc->max_width;
dev->mode_config.max_height = dc->desc->max_height;
dev->mode_config.funcs = &mode_config_funcs;
+ dev->mode_config.async_page_flip = true;
return 0;
}