drm/atmel-hlcdc: Allow async page flips
PATCH 1/1 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 <[email protected]>
---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1 -0
@@ -686,6 +686,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 ; }
Signature · 1 line
2.17.1
Quoted 4 lines · Dan Sneddon
The driver is capable of doing async page flips so we need to tell the core to allow them.
Signed-off-by Dan Sneddon <[email protected]>
Tested-by Ludovic Desroches <[email protected]>
Thanks,
Ludovic
Quoted 20 lines
---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1
-0@@ -686,6 +686,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 ; }Signature · 1 line
2.17.1
Nicolas Ferre
maintainerQuoted 6 lines · On 09/04/2021 at 12:58, Ludovic Desroches - M43218 wrote:
Quoted 4 lines · Dan Sneddon
The driver is capable of doing async page flips so we need to tell the core to allow them.
Signed-off-by Dan Sneddon <[email protected]>Tested-by Ludovic Desroches <[email protected]>
Sam,
Do you need more from us or can you queue this patch (aka "ping")?
Best regards,
Nicolas
Quoted 20 lines
Quoted 20 lines
---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1
-0@@ -686,6 +686,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 ; }Signature · 1 line
2.17.1
Signature · 1 line
Nicolas Ferre
Hi Nicolas, Dan
Quoted 11 lines · Nicolas Ferre
Quoted 6 lines · On 09/04/2021 at 12:58, Ludovic Desroches - M43218 wrote:
Quoted 4 lines · Dan Sneddon
The driver is capable of doing async page flips so we need to tell the core to allow them.
Signed-off-by Dan Sneddon <[email protected]>Tested-by Ludovic Desroches <[email protected]>Sam,
Do you need more from us or can you queue this patch (aka "ping")?
Thanks, patch pushed to drm-misc-fixes.
If there are more atmel-hlcdc patches pending please resend as I have pruned my inbox.
Sam