Skip to contentSkip to conversation

drm/atmel-hlcdc: Allow async page flips

PATCH In review Dan Sneddon 4 participants 4 messages Mar 30, 2021 – Jun 19, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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.

---

 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
index 871293d1aeeb..f6c3d8809fd8 100644
@@ -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
Tested-by on v1 1/1
#1 lore raw
Quoted 4 lines · Dan Sneddon

The driver is capable of doing async page flips so we need to tell the core to allow them.

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
index 871293d1aeeb..f6c3d8809fd8 100644
@@ -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
maintainer
#2 lore raw
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.

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
index 871293d1aeeb..f6c3d8809fd8 100644
@@ -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
#3 lore raw

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.

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