[Intel-xe] [PATCH 1/4] fixup! drm/xe/display: Implement display support

Matt Atwood matthew.s.atwood at intel.com
Wed May 10 21:01:10 UTC 2023


On Wed, May 10, 2023 at 12:54:21PM -0700, Lucas De Marchi wrote:
> Remove a bunch of ; that shouldn't be there.
> 
Reviewed-by: Matt Atwood <matthew.s.atwood at intel.com>
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
> ---
>  drivers/gpu/drm/xe/xe_display.h | 38 ++++++++++++++++-----------------
>  1 file changed, 19 insertions(+), 19 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_display.h b/drivers/gpu/drm/xe/xe_display.h
> index d1af8e3a5c0f..84c556111c91 100644
> --- a/drivers/gpu/drm/xe/xe_display.h
> +++ b/drivers/gpu/drm/xe/xe_display.h
> @@ -56,36 +56,36 @@ xe_display_create(struct xe_device *xe) { return 0; }
>  static inline void xe_display_info_init(struct xe_device *xe) { }
>  
>  static inline int
> -xe_display_enable(struct pci_dev *pdev, struct drm_driver *driver) { return 0; };
> +xe_display_enable(struct pci_dev *pdev, struct drm_driver *driver) { return 0; }
>  
>  static inline int
> -xe_display_init_nommio(struct xe_device *xe) { return 0; };
> -static inline void xe_display_fini_nommio(struct drm_device *dev, void *dummy) {};
> +xe_display_init_nommio(struct xe_device *xe) { return 0; }
> +static inline void xe_display_fini_nommio(struct drm_device *dev, void *dummy) {}
>  
>  static inline int xe_display_init_noirq(struct xe_device *xe) { return 0; }
>  
>  static inline void
> -xe_display_fini_noirq(struct drm_device *dev, void *dummy) {};
> +xe_display_fini_noirq(struct drm_device *dev, void *dummy) {}
>  
> -static inline int xe_display_init_noaccel(struct xe_device *xe) { return 0; };
> -static inline void xe_display_fini_noaccel(struct drm_device *dev, void *dummy) {};
> +static inline int xe_display_init_noaccel(struct xe_device *xe) { return 0; }
> +static inline void xe_display_fini_noaccel(struct drm_device *dev, void *dummy) {}
>  
> -static inline int xe_display_init(struct xe_device *xe) { return 0; };
> -static inline void xe_display_unlink(struct xe_device *xe) {};
> +static inline int xe_display_init(struct xe_device *xe) { return 0; }
> +static inline void xe_display_unlink(struct xe_device *xe) {}
>  
> -static inline void xe_display_register(struct xe_device *xe) {};
> -static inline void xe_display_unregister(struct xe_device *xe) {};
> -static inline void xe_display_modset_driver_remove(struct xe_device *xe) {};
> +static inline void xe_display_register(struct xe_device *xe) {}
> +static inline void xe_display_unregister(struct xe_device *xe) {}
> +static inline void xe_display_modset_driver_remove(struct xe_device *xe) {}
>  
> -static inline void xe_display_irq_handler(struct xe_device *xe, u32 master_ctl) {};
> -static inline void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir) {};
> -static inline void xe_display_irq_reset(struct xe_device *xe) {};
> -static inline void xe_display_irq_postinstall(struct xe_device *xe, struct xe_gt *gt) {};
> +static inline void xe_display_irq_handler(struct xe_device *xe, u32 master_ctl) {}
> +static inline void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir) {}
> +static inline void xe_display_irq_reset(struct xe_device *xe) {}
> +static inline void xe_display_irq_postinstall(struct xe_device *xe, struct xe_gt *gt) {}
>  
> -static inline void xe_display_pm_suspend(struct xe_device *xe) {};
> -static inline void xe_display_pm_suspend_late(struct xe_device *xe) {};
> -static inline void xe_display_pm_resume_early(struct xe_device *xe) {};
> -static inline void xe_display_pm_resume(struct xe_device *xe) {};
> +static inline void xe_display_pm_suspend(struct xe_device *xe) {}
> +static inline void xe_display_pm_suspend_late(struct xe_device *xe) {}
> +static inline void xe_display_pm_resume_early(struct xe_device *xe) {}
> +static inline void xe_display_pm_resume(struct xe_device *xe) {}
>  
>  #endif /* CONFIG_DRM_XE_DISPLAY */
>  #endif /* _XE_DISPLAY_H_ */
> -- 
> 2.40.1
> 


More information about the Intel-xe mailing list