[PATCH libdrm 2/3] nouveau: add missing drm_public exports

Dylan Baker dylan at pnwbakers.com
Thu Sep 20 17:14:13 UTC 2018


Quoting Eric Engestrom (2018-09-20 08:58:33)
> Fixes: d7320bfcddc596f23fa2 "nouveau: annotate public functions"
> Cc: Lucas De Marchi <lucas.demarchi at intel.com>
> Cc: Mark Janes <mark.a.janes at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108006
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
>  nouveau/nouveau.c | 2 +-
>  nouveau/pushbuf.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c
> index 5be0611e0e79451112c6..f18d1426bd4000019e3c 100644
> --- a/nouveau/nouveau.c
> +++ b/nouveau/nouveau.c
> @@ -856,7 +856,7 @@ nouveau_bo_wait(struct nouveau_bo *bo, uint32_t access,
>         return ret;
>  }
>  
> -int
> +drm_public int
>  nouveau_bo_map(struct nouveau_bo *bo, uint32_t access,
>                struct nouveau_client *client)
>  {
> diff --git a/nouveau/pushbuf.c b/nouveau/pushbuf.c
> index 856ae7ee169b58bffd78..e5f73f0d74c178939c91 100644
> --- a/nouveau/pushbuf.c
> +++ b/nouveau/pushbuf.c
> @@ -728,7 +728,7 @@ nouveau_pushbuf_data(struct nouveau_pushbuf *push, struct nouveau_bo *bo,
>         }
>  }
>  
> -int
> +drm_public int
>  nouveau_pushbuf_refn(struct nouveau_pushbuf *push,
>                      struct nouveau_pushbuf_refn *refs, int nr)
>  {
> -- 
> Cheers,
>   Eric
> 

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Tested-by: Dylan Baker <dylan at pnwbakers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180920/7314862e/attachment.sig>


More information about the dri-devel mailing list