goldfish-opengl: remove virtio-gpu specific ASG ops
Not used.
BUG=202552093
TEST=compile
Change-Id: I0f8a7ecc6b01a05eb9f43818d4c341cb16a0450c
diff --git a/shared/GoldfishAddressSpace/include/goldfish_address_space.h b/shared/GoldfishAddressSpace/include/goldfish_address_space.h
index d0381b8..78b0416 100644
--- a/shared/GoldfishAddressSpace/include/goldfish_address_space.h
+++ b/shared/GoldfishAddressSpace/include/goldfish_address_space.h
@@ -231,22 +231,6 @@
typedef bool (*address_space_ping_t)(
address_space_handle_t, struct address_space_ping*);
-// Specific to virtio-gpu
-typedef bool (*address_space_create_context_with_subdevice_t)(
- address_space_handle_t,
- uint32_t subdevice_type,
- struct address_space_virtgpu_info* info_out);
-
-typedef bool (*address_space_allocate_hostmem_t)(
- address_space_handle_t fd,
- size_t size,
- uint64_t hostmem_id,
- struct address_space_virtgpu_hostmem_info* hostmem_info_out);
-
-typedef bool (*address_space_ping_with_response_t)(
- struct address_space_virtgpu_info* info,
- struct address_space_ping* ping);
-
struct address_space_ops {
address_space_open_t open;
address_space_close_t close;
@@ -256,9 +240,6 @@
address_space_unmap_t unmap;
address_space_set_subdevice_type_t set_subdevice_type;
address_space_ping_t ping;
- address_space_create_context_with_subdevice_t create_context_with_subdevice;
- address_space_allocate_hostmem_t allocate_hostmem;
- address_space_ping_with_response_t ping_with_response;
};
#endif // #ifndef ANDROID_INCLUDE_HARDWARE_GOLDFISH_ADDRESS_SPACE_H
diff --git a/system/OpenglSystemCommon/AddressSpaceStream.cpp b/system/OpenglSystemCommon/AddressSpaceStream.cpp
index 8e12550..6e502d2 100644
--- a/system/OpenglSystemCommon/AddressSpaceStream.cpp
+++ b/system/OpenglSystemCommon/AddressSpaceStream.cpp
@@ -256,8 +256,6 @@
.open = virtgpu_address_space_open,
.close = virtgpu_address_space_close,
.ping = virtgpu_address_space_ping,
- .allocate_hostmem = virtgpu_address_space_allocate_hostmem,
- .ping_with_response = virtgpu_address_space_ping_with_response,
};
if (virtgpu_info.resp_mapped_ptr) {