All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: "Christian König" <ckoenig.leichtzumerken@gmail.com>
Cc: Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
	matthew.william.auld@gmail.com
Subject: Re: [PATCH 7/8] drm/ttm: enable TTM TT object kerneldoc v2
Date: Tue, 7 Sep 2021 11:30:08 -0400	[thread overview]
Message-ID: <CADnq5_POr3d8+xqggsni4Q+Tp=EpyM_7oWGncUzQ2AR7FyqyrQ@mail.gmail.com> (raw)
In-Reply-To: <20210907080135.101452-7-christian.koenig@amd.com>

On Tue, Sep 7, 2021 at 4:01 AM Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> Fix the remaining warnings and finally enable this.
>
> v2: add caching enum link
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
> Reviewed-by: Matthew Auld <matthew.auld@intel.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  Documentation/gpu/drm-mm.rst |  9 +++++++++
>  include/drm/ttm/ttm_tt.h     | 11 ++++++++---
>  2 files changed, 17 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst
> index 1c9930fb5e7d..69c4a20b95d0 100644
> --- a/Documentation/gpu/drm-mm.rst
> +++ b/Documentation/gpu/drm-mm.rst
> @@ -58,6 +58,15 @@ TTM resource object reference
>  .. kernel-doc:: drivers/gpu/drm/ttm/ttm_resource.c
>     :export:
>
> +TTM TT object reference
> +-----------------------
> +
> +.. kernel-doc:: include/drm/ttm/ttm_tt.h
> +   :internal:
> +
> +.. kernel-doc:: drivers/gpu/drm/ttm/ttm_tt.c
> +   :export:
> +
>  The Graphics Execution Manager (GEM)
>  ====================================
>
> diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
> index e402dab1d0f6..b3963ab12e1f 100644
> --- a/include/drm/ttm/ttm_tt.h
> +++ b/include/drm/ttm/ttm_tt.h
> @@ -54,7 +54,7 @@ struct ttm_operation_ctx;
>   * @dma_address: The DMA (bus) addresses of the pages
>   * @swap_storage: Pointer to shmem struct file for swap storage.
>   * @pages_list: used by some page allocation backend
> - * @caching: The current caching state of the pages.
> + * @caching: The current caching state of the pages, see enum ttm_caching.
>   *
>   * This is a structure holding the pages, caching- and aperture binding
>   * status for a buffer object that isn't backed by fixed (VRAM / AGP)
> @@ -126,8 +126,9 @@ int ttm_sg_tt_init(struct ttm_tt *ttm_dma, struct ttm_buffer_object *bo,
>  void ttm_tt_fini(struct ttm_tt *ttm);
>
>  /**
> - * ttm_ttm_destroy:
> + * ttm_tt_destroy:
>   *
> + * @bdev: the ttm_device this object belongs to
>   * @ttm: The struct ttm_tt.
>   *
>   * Unbind, unpopulate and destroy common struct ttm_tt.
> @@ -148,15 +149,19 @@ int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm,
>  /**
>   * ttm_tt_populate - allocate pages for a ttm
>   *
> + * @bdev: the ttm_device this object belongs to
>   * @ttm: Pointer to the ttm_tt structure
> + * @ctx: operation context for populating the tt object.
>   *
>   * Calls the driver method to allocate pages for a ttm
>   */
> -int ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx);
> +int ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm,
> +                   struct ttm_operation_ctx *ctx);
>
>  /**
>   * ttm_tt_unpopulate - free pages from a ttm
>   *
> + * @bdev: the ttm_device this object belongs to
>   * @ttm: Pointer to the ttm_tt structure
>   *
>   * Calls the driver method to free all pages from a ttm
> --
> 2.25.1
>

  reply	other threads:[~2021-09-07 15:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07  8:01 [PATCH 1/8] drm/ttm: remove the outdated kerneldoc section Christian König
2021-09-07  8:01 ` [PATCH 2/8] drm/ttm: add some general module kerneldoc Christian König
2021-09-07 15:23   ` Alex Deucher
2021-09-07  8:01 ` [PATCH 3/8] drm/ttm: add kerneldoc for enum ttm_caching Christian König
2021-09-07 15:24   ` Alex Deucher
2021-09-07  8:01 ` [PATCH 4/8] drm/ttm: enable TTM device object kerneldoc Christian König
2021-09-07 15:28   ` Alex Deucher
2021-09-07  8:01 ` [PATCH 5/8] drm/ttm: enable TTM resource object kerneldoc v2 Christian König
2021-09-07 15:29   ` Alex Deucher
2021-09-07  8:01 ` [PATCH 6/8] drm/ttm: enable TTM placement kerneldoc Christian König
2021-09-07 15:29   ` Alex Deucher
2021-09-07  8:01 ` [PATCH 7/8] drm/ttm: enable TTM TT object kerneldoc v2 Christian König
2021-09-07 15:30   ` Alex Deucher [this message]
2021-09-07  8:01 ` [PATCH 8/8] drm/ttm: enable TTM page pool kerneldoc Christian König
2021-09-07 15:30   ` Alex Deucher
2021-09-07  8:39 ` [PATCH 1/8] drm/ttm: remove the outdated kerneldoc section Daniel Vetter
2021-09-08 13:29 Enabling TTM kerneldoc Christian König
2021-09-08 13:29 ` [PATCH 7/8] drm/ttm: enable TTM TT object kerneldoc v2 Christian König

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='CADnq5_POr3d8+xqggsni4Q+Tp=EpyM_7oWGncUzQ2AR7FyqyrQ@mail.gmail.com' \
    --to=alexdeucher@gmail.com \
    --cc=ckoenig.leichtzumerken@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=matthew.william.auld@gmail.com \
    /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.