summaryrefslogtreecommitdiff
path: root/radeon
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2018-09-20 16:53:08 +0100
committerEric Engestrom <eric.engestrom@intel.com>2018-09-20 19:28:05 +0100
commitff8cb2402aa125e7273bcdb936e11543707c0145 (patch)
tree6749de7d2e3027b4a7186b6ac28e166a3972f213 /radeon
parent4b737cde8f689b66709850cf6794c699f935622c (diff)
radeon: add missing drm_public exports
Fixes: 9f45264815eff6ebeba3 "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>
Diffstat (limited to 'radeon')
-rw-r--r--radeon/radeon_bo.c4
-rw-r--r--radeon/radeon_cs_space.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/radeon/radeon_bo.c b/radeon/radeon_bo.c
index cd06c26e..91929532 100644
--- a/radeon/radeon_bo.c
+++ b/radeon/radeon_bo.c
@@ -67,13 +67,13 @@ drm_public struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo)
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;
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;
return boi->bom->funcs->bo_unmap(boi);
diff --git a/radeon/radeon_cs_space.c b/radeon/radeon_cs_space.c
index 08093300..039b0414 100644
--- a/radeon/radeon_cs_space.c
+++ b/radeon/radeon_cs_space.c
@@ -227,7 +227,7 @@ radeon_cs_space_check_with_bo(struct radeon_cs *cs, struct radeon_bo *bo,
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;
return radeon_cs_check_space_internal(csi, NULL);