[RESEND PATCH] drm/gma500: Fix comments in gtt.c

Daniel Vetter daniel at ffwll.ch
Wed Aug 10 08:35:29 UTC 2016


On Wed, Aug 10, 2016 at 11:35:14AM +0800, jiang.biao2 at zte.com.cn wrote:
> 
> Fix some comment faults in gtt.c.
> 
> Signed-off-by: Jiang Biao <jiang.biao2 at zte.com.cn>

Sending the same patch 3 times in just one hour doesn't help - people
sometimes sleep, or are busy. Please let at least a few days pass until
you ping (with a reply) or resend.

Thanks, Daniel

> ---
>  drivers/gpu/drm/gma500/gtt.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/gma500/gtt.c b/drivers/gpu/drm/gma500/gtt.c
> index 8f69225..9f9f588 100644
> --- a/drivers/gpu/drm/gma500/gtt.c
> +++ b/drivers/gpu/drm/gma500/gtt.c
> @@ -76,6 +76,7 @@ static u32 __iomem *psb_gtt_entry(struct drm_device *dev, struct gtt_range *r)
>   *	psb_gtt_insert	-	put an object into the GTT
>   *	@dev: our DRM device
>   *	@r: our GTT range
> + *	@resume: on resume
>   *
>   *	Take our preallocated GTT range and insert the GEM object into
>   *	the GTT. This is protected via the gtt mutex which the caller
> @@ -321,6 +322,7 @@ out:
>   *	@len: length (bytes) of address space required
>   *	@name: resource name
>   *	@backed: resource should be backed by stolen pages
> + *	@align: requested alignment
>   *
>   *	Ask the kernel core to find us a suitable range of addresses
>   *	to use for a GTT mapping.
> @@ -440,7 +442,6 @@ int psb_gtt_init(struct drm_device *dev, int resume)
>  	PSB_WVDC32(dev_priv->pge_ctl | _PSB_PGETBL_ENABLED, PSB_PGETBL_CTL);
>  	(void) PSB_RVDC32(PSB_PGETBL_CTL);
> 
> -	/* The root resource we allocate address space from */
>  	dev_priv->gtt_initialized = 1;
> 
>  	pg->gtt_phys_start = dev_priv->pge_ctl & PAGE_MASK;
> --
> 2.1.0
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

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


More information about the dri-devel mailing list