[PATCH libdrm 1/3] intel: add missing drm_public exports
Dylan Baker
dylan at pnwbakers.com
Thu Sep 20 17:09:49 UTC 2018
Quoting Eric Engestrom (2018-09-20 08:58:32)
> Fixes: 36bb0ea47b71d220b31e "intel: 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>
> ---
> intel/intel_bufmgr_fake.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/intel/intel_bufmgr_fake.c b/intel/intel_bufmgr_fake.c
> index 57cbc5365b9f0779dd5a..0cec51f5b836d26e57e0 100644
> --- a/intel/intel_bufmgr_fake.c
> +++ b/intel/intel_bufmgr_fake.c
> @@ -241,7 +241,7 @@ FENCE_LTE(unsigned a, unsigned b)
> return 0;
> }
>
> -void
> +drm_public void
> drm_intel_bufmgr_fake_set_fence_callback(drm_intel_bufmgr *bufmgr,
> unsigned int (*emit) (void *priv),
> void (*wait) (unsigned int fence,
> @@ -955,7 +955,7 @@ drm_intel_fake_bo_unreference(drm_intel_bo *bo)
> * Set the buffer as not requiring backing store, and instead get the callback
> * invoked whenever it would be set dirty.
> */
> -void
> +drm_public void
> drm_intel_bo_fake_disable_backing_store(drm_intel_bo *bo,
> void (*invalidate_cb) (drm_intel_bo *bo,
> void *ptr),
> @@ -1409,7 +1409,7 @@ drm_intel_bo_fake_post_submit(drm_intel_bo *bo)
> bo_fake->write_domain = 0;
> }
>
> -void
> +drm_public void
> drm_intel_bufmgr_fake_set_exec_callback(drm_intel_bufmgr *bufmgr,
> int (*exec) (drm_intel_bo *bo,
> unsigned int used,
> --
> 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/ae1217c9/attachment.sig>
More information about the dri-devel
mailing list