diff mbox series

drm/atmel-hlcdc: Allow async page flips

Message ID 20210330151721.6616-1-dan.sneddon@microchip.com (mailing list archive)
State New, archived
Headers show
Series drm/atmel-hlcdc: Allow async page flips | expand

Commit Message

Dan Sneddon March 30, 2021, 3:17 p.m. UTC
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(+)

Comments

Ludovic Desroches April 9, 2021, 10:58 a.m. UTC | #1
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
>
Nicolas Ferre May 25, 2021, 9:29 a.m. UTC | #2
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
>>
Sam Ravnborg June 19, 2021, 9:10 p.m. UTC | #3
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
diff mbox series

Patch

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;
 }