aboutsummaryrefslogtreecommitdiffstats
path: root/src/gbm/gbm-symbols-check
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2016-11-29 21:53:52 -0800
committerBen Widawsky <[email protected]>2017-03-09 15:35:44 -0800
commit42eacddfc027dd8668956dd836b85e16bab4f9f4 (patch)
treebb004208cfb66fc50a515f3c56e8a0514b949704 /src/gbm/gbm-symbols-check
parent770b06588f79abe44d4fa1128759c45d0496362e (diff)
gbm: Export a plane getter function
This will be used by clients that need to know the number of planes allocated for them on behalf of the GL or other API. The best current example of this is when an extra "plane" is allocated to store compression data for the primary plane. v2: Return 1 for cases where there is no image, ie. dumb bo (Daniel) Signed-off-by: Ben Widawsky <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Acked-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/gbm/gbm-symbols-check')
-rwxr-xr-xsrc/gbm/gbm-symbols-check1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gbm/gbm-symbols-check b/src/gbm/gbm-symbols-check
index 5a333ffcda0..8c4da1b7ea2 100755
--- a/src/gbm/gbm-symbols-check
+++ b/src/gbm/gbm-symbols-check
@@ -18,6 +18,7 @@ gbm_bo_get_format
gbm_bo_get_device
gbm_bo_get_handle
gbm_bo_get_fd
+gbm_bo_get_plane_count
gbm_bo_write
gbm_bo_set_user_data
gbm_bo_get_user_data