virgl: remove renderer_data from virgl_context_blob

This is some leftover from the get_blob_done cleanup.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
macos/master
Yiwei Zhang 3 years ago
parent 482af27cd0
commit da9effc518
  1. 3
      src/venus/vkr_context.c
  2. 2
      src/virgl_context.h

@ -298,7 +298,6 @@ vkr_context_get_blob_locked(struct virgl_context *base,
blob->type = VIRGL_RESOURCE_FD_SHM; blob->type = VIRGL_RESOURCE_FD_SHM;
blob->u.fd = fd; blob->u.fd = fd;
blob->map_info = VIRGL_RENDERER_MAP_CACHE_CACHED; blob->map_info = VIRGL_RENDERER_MAP_CACHE_CACHED;
blob->renderer_data = NULL;
return 0; return 0;
} }
@ -377,8 +376,6 @@ vkr_context_get_blob_locked(struct virgl_context *base,
blob->map_info = VIRGL_RENDERER_MAP_CACHE_NONE; blob->map_info = VIRGL_RENDERER_MAP_CACHE_NONE;
} }
blob->renderer_data = mem;
return 0; return 0;
} }

@ -44,8 +44,6 @@ struct virgl_context_blob {
} u; } u;
uint32_t map_info; uint32_t map_info;
void *renderer_data;
}; };
struct virgl_context; struct virgl_context;

Loading…
Cancel
Save