Skip to contentSkip to conversation

etnaviv: remove never-implemented etna_bo_from_handle()

PATCH In review Eric Engestrom 2 participants 2 messages Apr 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 etnaviv: remove never-implemented etna_bo_from_handle()

Entrypoint has been listed since the etnaviv support was added, but was never implemented, and therefore never exported either.

Fixes 95e2cc6a801d92a0634b "libdrm: add etnaviv drm support"
Cc Christian Gmeiner <[email protected]>
Cc Lucas Stach <[email protected]>

---
Christian, Lucas: if you prefer, you could also implement it (please cc me), but since it's never been implemented, I expect no driver needs it.

---
 etnaviv/etnaviv-symbol-check | 1 -
 etnaviv/etnaviv_drmif.h      | 2 --
 2 files changed, 3 deletions(-)
etnaviv/etnaviv-symbol-check +0 -1
index bc50961590870f4cf3d4..b1598ce52838c847096a 100755
@@ -23,7 +23,6 @@ etna_pipe_del
 etna_pipe_wait
 etna_pipe_wait_ns
 etna_bo_new
-etna_bo_from_handle
 etna_bo_from_name
 etna_bo_from_dmabuf
 etna_bo_ref
etnaviv/etnaviv_drmif.h +0 -2
index 5a6bef8d12d1bce40fb4..80aedc1cfc971afcae98 100644
@@ -115,8 +115,6 @@ int etna_pipe_wait_ns(struct etna_pipe *pipe, uint32_t timestamp, uint64_t ns);
 
 struct etna_bo *etna_bo_new(struct etna_device *dev,
 		uint32_t size, uint32_t flags);
-struct etna_bo *etna_bo_from_handle(struct etna_device *dev,
-		uint32_t handle, uint32_t size);
 struct etna_bo *etna_bo_from_name(struct etna_device *dev, uint32_t name);
 struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd);
 struct etna_bo *etna_bo_ref(struct etna_bo *bo);
Signature · 7 lines
Cheers,
  Eric

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw

2018-04-04 17:33 GMT+02:00 Eric Engestrom <[email protected]>:

Quoted 7 lines

Entrypoint has been listed since the etnaviv support was added, but was never implemented, and therefore never exported either.

Fixes 95e2cc6a801d92a0634b "libdrm: add etnaviv drm support"
Cc Christian Gmeiner <[email protected]>
Cc Lucas Stach <[email protected]>
Quoted 37 lines

---
Christian, Lucas: if you prefer, you could also implement it (please cc me), but since it's never been implemented, I expect no driver needs it.

---
 etnaviv/etnaviv-symbol-check | 1 -
 etnaviv/etnaviv_drmif.h      | 2 --
 2 files changed, 3 deletions(-)
etnaviv/etnaviv-symbol-check +0 -1
index bc50961590870f4cf3d4..b1598ce52838c847096a 100755
@@ -23,7 +23,6 @@ etna_pipe_del
 etna_pipe_wait
 etna_pipe_wait_ns
 etna_bo_new
-etna_bo_from_handle
 etna_bo_from_name
 etna_bo_from_dmabuf
 etna_bo_ref
etnaviv/etnaviv_drmif.h +0 -3
index 5a6bef8d12d1bce40fb4..80aedc1cfc971afcae98 100644
@@ -115,8 +115,6 @@ int etna_pipe_wait_ns(struct etna_pipe *pipe, uint32_t timestamp, uint64_t ns);
 
 struct etna_bo *etna_bo_new(struct etna_device *dev,
                uint32_t size, uint32_t flags);
-struct etna_bo *etna_bo_from_handle(struct etna_device *dev,
-               uint32_t handle, uint32_t size);
 struct etna_bo *etna_bo_from_name(struct etna_device *dev, uint32_t name);
 struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd);
 struct etna_bo *etna_bo_ref(struct etna_bo *bo);
--

Cheers,
Eric

Signature · 9 lines
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel