diff options
author | Ben Widawsky <[email protected]> | 2016-12-02 11:00:00 -0800 |
---|---|---|
committer | Ben Widawsky <[email protected]> | 2017-03-09 15:35:44 -0800 |
commit | f9567ab435217a72cbae628336ead84dc0b2a803 (patch) | |
tree | 45c113a7efb39e1db06e418388d57fc4057b3cf6 /src/gbm/gbm-symbols-check | |
parent | 42eacddfc027dd8668956dd836b85e16bab4f9f4 (diff) |
gbm: Export a getter for per plane handles
v2: Make the error return be -1 instead of 0 because I think 0 is
actually valid.
v3: Set errno to EINVAL when the specified plane is above the total
planes. (Jason Ekstrand)
Return the bo's handle if there is no image ie. for dumb images like cursor (Daniel)
v4:
- Add assertions about plane == 0 (Jason)
- Add a comment about new restriction on planar dumb bo which is not an
earlier patch in the series.
- Correctly refactor from v2 in this patch; it ended up rebased into the
wrong patch.
Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Acked-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/gbm/gbm-symbols-check')
-rwxr-xr-x | src/gbm/gbm-symbols-check | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gbm/gbm-symbols-check b/src/gbm/gbm-symbols-check index 8c4da1b7ea2..1e6dd4d3ec0 100755 --- a/src/gbm/gbm-symbols-check +++ b/src/gbm/gbm-symbols-check @@ -19,6 +19,7 @@ gbm_bo_get_device gbm_bo_get_handle gbm_bo_get_fd gbm_bo_get_plane_count +gbm_bo_get_handle_for_plane gbm_bo_write gbm_bo_set_user_data gbm_bo_get_user_data |