UPSTREAM: virtgpu_virgl: default to enable blob mem for compatible cases

All of virgl, venus and gfxstream have long been able to handle the
limited blob mem usage in the legacy backend.

BUG=b:327668289
TEST=AHB cts passing with Venus on Cuttlefish on ANV

Change-Id: Ie6a26c2e5e74faac6f8db060ffcfbb2364610d41
This commit is contained in:
Yiwei Zhang 2025-06-30 22:31:10 +00:00
parent e714ab660b
commit 6f379aae87

View file

@ -955,11 +955,6 @@ static bool should_use_blob(struct driver *drv, uint32_t format, uint64_t use_fl
{
struct virgl_priv *priv = (struct virgl_priv *)drv->priv;
// TODO(gurchetansingh): remove once all minigbm users are blob-safe
#ifndef VIRTIO_GPU_NEXT
return false;
#endif
// Only use blob when host gbm is available
if (!priv->host_gbm_enabled)
return false;