radeon: add missing drm_public exports

Fixes: 9f45264815 "radeon: annotate public functions"
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Mark Janes <mark.a.janes@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108006
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
main
Eric Engestrom 2018-09-20 16:53:08 +01:00
parent 4b737cde8f
commit ff8cb2402a
2 changed files with 3 additions and 3 deletions

View File

@ -67,13 +67,13 @@ drm_public struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo)
return boi->bom->funcs->bo_unref(boi); return boi->bom->funcs->bo_unref(boi);
} }
int radeon_bo_map(struct radeon_bo *bo, int write) drm_public int radeon_bo_map(struct radeon_bo *bo, int write)
{ {
struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; struct radeon_bo_int *boi = (struct radeon_bo_int *)bo;
return boi->bom->funcs->bo_map(boi, write); return boi->bom->funcs->bo_map(boi, write);
} }
int radeon_bo_unmap(struct radeon_bo *bo) drm_public int radeon_bo_unmap(struct radeon_bo *bo)
{ {
struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; struct radeon_bo_int *boi = (struct radeon_bo_int *)bo;
return boi->bom->funcs->bo_unmap(boi); return boi->bom->funcs->bo_unmap(boi);

View File

@ -227,7 +227,7 @@ radeon_cs_space_check_with_bo(struct radeon_cs *cs, struct radeon_bo *bo,
return ret; return ret;
} }
int radeon_cs_space_check(struct radeon_cs *cs) drm_public int radeon_cs_space_check(struct radeon_cs *cs)
{ {
struct radeon_cs_int *csi = (struct radeon_cs_int *)cs; struct radeon_cs_int *csi = (struct radeon_cs_int *)cs;
return radeon_cs_check_space_internal(csi, NULL); return radeon_cs_check_space_internal(csi, NULL);