linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/atmel-hlcdc: Allow async page flips
@ 2021-03-30 15:17 Dan Sneddon
  2021-04-09 10:58 ` Ludovic.Desroches
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Sneddon @ 2021-03-30 15:17 UTC (permalink / raw)
  To: Sam Ravnborg, Boris Brezillon, David Airlie, Daniel Vetter,
	Nicolas Ferre, Alexandre Belloni, Ludovic Desroches, dri-devel,
	linux-arm-kernel, linux-kernel
  Cc: 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 <dan.sneddon@microchip.com>
---

 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
index 871293d1aeeb..f6c3d8809fd8 100644
--- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
+++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
@@ -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;
 }
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/atmel-hlcdc: Allow async page flips
  2021-03-30 15:17 [PATCH] drm/atmel-hlcdc: Allow async page flips Dan Sneddon
@ 2021-04-09 10:58 ` Ludovic.Desroches
  2021-05-25  9:29   ` Nicolas Ferre
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic.Desroches @ 2021-04-09 10:58 UTC (permalink / raw)
  To: Dan.Sneddon
  Cc: alexandre.belloni, bbrezillon, airlied, dri-devel, linux-kernel,
	daniel, sam, linux-arm-kernel

On Tue, Mar 30, 2021 at 08:17:20AM -0700, Dan Sneddon wrote:
> 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> 

Thanks,
Ludovic

> ---
> 
>  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> index 871293d1aeeb..f6c3d8809fd8 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
> @@ -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;
>  }
> -- 
> 2.17.1
> 
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/atmel-hlcdc: Allow async page flips
  2021-04-09 10:58 ` Ludovic.Desroches
@ 2021-05-25  9:29   ` Nicolas Ferre
  2021-06-19 21:10     ` Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Ferre @ 2021-05-25  9:29 UTC (permalink / raw)
  To: Sam Ravnborg, Dan Sneddon - C50748
  Cc: Ludovic Desroches - M43218, Boris Brezillon, David Airlie,
	Daniel Vetter, Alexandre Belloni, dri-devel, linux-arm-kernel,
	linux-kernel

On 09/04/2021 at 12:58, Ludovic Desroches - M43218 wrote:
> On Tue, Mar 30, 2021 at 08:17:20AM -0700, Dan Sneddon wrote:
>> 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>

Sam,

Do you need more from us or can you queue this patch (aka "ping")?

Best regards,
   Nicolas

>> ---
>>
>>   drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
>> index 871293d1aeeb..f6c3d8809fd8 100644
>> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
>> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
>> @@ -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;
>>   }
>> -- 
>> 2.17.1
>>


-- 
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/atmel-hlcdc: Allow async page flips
  2021-05-25  9:29   ` Nicolas Ferre
@ 2021-06-19 21:10     ` Sam Ravnborg
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2021-06-19 21:10 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Dan Sneddon - C50748, Ludovic Desroches - M43218,
	Boris Brezillon, David Airlie, Daniel Vetter, Alexandre Belloni,
	dri-devel, linux-arm-kernel, linux-kernel

Hi Nicolas, Dan

On Tue, May 25, 2021 at 11:29:15AM +0200, Nicolas Ferre wrote:
> On 09/04/2021 at 12:58, Ludovic Desroches - M43218 wrote:
> > On Tue, Mar 30, 2021 at 08:17:20AM -0700, Dan Sneddon wrote:
> > > 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>
> 
> 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-19 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 15:17 [PATCH] drm/atmel-hlcdc: Allow async page flips Dan Sneddon
2021-04-09 10:58 ` Ludovic.Desroches
2021-05-25  9:29   ` Nicolas Ferre
2021-06-19 21:10     ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).