All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aurabindo Pillai <aurabindo.pillai@amd.com>
To: Alex Deucher <alexander.deucher@amd.com>, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/amdgpu: make amdgpu_display_framebuffer_init() static
Date: Tue, 15 Mar 2022 15:27:32 -0400	[thread overview]
Message-ID: <c92f6a77-e529-287f-ede8-27b6270bca07@amd.com> (raw)
In-Reply-To: <20220315170914.2804385-1-alexander.deucher@amd.com>

Series is

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>

On 2022-03-15 13:09, Alex Deucher wrote:
> It's not used outside of amdgpu_display.c.
> 
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 13 +++++++++----
>   drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h    |  4 ----
>   2 files changed, 9 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> index 70be09dd2a93..cb78ba396672 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> @@ -41,6 +41,11 @@
>   #include <drm/drm_fourcc.h>
>   #include <drm/drm_vblank.h>
>   
> +static int amdgpu_display_framebuffer_init(struct drm_device *dev,
> +					   struct amdgpu_framebuffer *rfb,
> +					   const struct drm_mode_fb_cmd2 *mode_cmd,
> +					   struct drm_gem_object *obj);
> +
>   static void amdgpu_display_flip_callback(struct dma_fence *f,
>   					 struct dma_fence_cb *cb)
>   {
> @@ -1097,10 +1102,10 @@ int amdgpu_display_gem_fb_verify_and_init(
>   	return ret;
>   }
>   
> -int amdgpu_display_framebuffer_init(struct drm_device *dev,
> -				    struct amdgpu_framebuffer *rfb,
> -				    const struct drm_mode_fb_cmd2 *mode_cmd,
> -				    struct drm_gem_object *obj)
> +static int amdgpu_display_framebuffer_init(struct drm_device *dev,
> +					   struct amdgpu_framebuffer *rfb,
> +					   const struct drm_mode_fb_cmd2 *mode_cmd,
> +					   struct drm_gem_object *obj)
>   {
>   	struct amdgpu_device *adev = drm_to_adev(dev);
>   	int ret, i;
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
> index 28848f1348a8..69ce2eeb782e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
> @@ -600,10 +600,6 @@ int amdgpu_display_gem_fb_verify_and_init(
>   	struct drm_device *dev, struct amdgpu_framebuffer *rfb,
>   	struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd,
>   	struct drm_gem_object *obj);
> -int amdgpu_display_framebuffer_init(struct drm_device *dev,
> -				    struct amdgpu_framebuffer *rfb,
> -				    const struct drm_mode_fb_cmd2 *mode_cmd,
> -				    struct drm_gem_object *obj);
>   
>   int amdgpufb_remove(struct drm_device *dev, struct drm_framebuffer *fb);
>   

  parent reply	other threads:[~2022-03-15 19:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-15 17:09 [PATCH 1/3] drm/amdgpu: make amdgpu_display_framebuffer_init() static Alex Deucher
2022-03-15 17:09 ` [PATCH 2/3] drm/amdgpu: drop amdgpu_display_gem_fb_init() Alex Deucher
2022-03-15 17:09 ` [PATCH 3/3] drm/amdgpu: make amdgpu_display_gem_fb_verify_and_init() static Alex Deucher
2022-03-15 19:27 ` Aurabindo Pillai [this message]
2022-03-16  0:55 ` [PATCH 1/3] drm/amdgpu: make amdgpu_display_framebuffer_init() static Chen, Guchun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c92f6a77-e529-287f-ede8-27b6270bca07@amd.com \
    --to=aurabindo.pillai@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.