2021-05-06 11:33:29

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] drm/gma500: update comment of psb_spank()

In commit 5c209d8056b9 ("drm/gma500: psb_spank() doesn't need it's
own file"), accel_2d.c was deleted and psb_spank() was moved into
psb_drv.c. Fix the comment here.

Signed-off-by: Wan Jiabing <[email protected]>
---
drivers/gpu/drm/gma500/psb_drv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index 49afa577d442..d6e7c2c2c947 100644
--- a/drivers/gpu/drm/gma500/psb_drv.h
+++ b/drivers/gpu/drm/gma500/psb_drv.h
@@ -646,7 +646,7 @@ extern u32 psb_get_vblank_counter(struct drm_crtc *crtc);
extern int psbfb_probed(struct drm_device *dev);
extern int psbfb_remove(struct drm_device *dev,
struct drm_framebuffer *fb);
-/* accel_2d.c */
+/* psb_drv.c */
extern void psb_spank(struct drm_psb_private *dev_priv);

/* psb_reset.c */
--
2.25.1


2021-05-06 12:29:55

by Daniel Vetter

[permalink] [raw]
Subject: Re: [PATCH] drm/gma500: update comment of psb_spank()

On Thu, May 06, 2021 at 07:28:51PM +0800, Wan Jiabing wrote:
> In commit 5c209d8056b9 ("drm/gma500: psb_spank() doesn't need it's
> own file"), accel_2d.c was deleted and psb_spank() was moved into
> psb_drv.c. Fix the comment here.
>
> Signed-off-by: Wan Jiabing <[email protected]>

Queued up for 5.14, thanks for your patch.
-Daniel

> ---
> drivers/gpu/drm/gma500/psb_drv.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
> index 49afa577d442..d6e7c2c2c947 100644
> --- a/drivers/gpu/drm/gma500/psb_drv.h
> +++ b/drivers/gpu/drm/gma500/psb_drv.h
> @@ -646,7 +646,7 @@ extern u32 psb_get_vblank_counter(struct drm_crtc *crtc);
> extern int psbfb_probed(struct drm_device *dev);
> extern int psbfb_remove(struct drm_device *dev,
> struct drm_framebuffer *fb);
> -/* accel_2d.c */
> +/* psb_drv.c */
> extern void psb_spank(struct drm_psb_private *dev_priv);
>
> /* psb_reset.c */
> --
> 2.25.1
>

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch