When trying to run Chromium Ozone-GBM on Raspbian with kernel 5.4, I get an error from minigbm:
Code: Select all
[minigbm:vc4.c(76)] DRM_IOCTL_VC4_GEM_CREATE failed (size=8294400)
Having looked more closely, this should actually be "DRM_IOCTL_VC4_CREATE_BO failed", not DRM_IOCTL_VC4_GEM_CREATE. Looking in GDB, I can see we are using /dev/dri/card1, and the resulting error is ENODEV (19).
Having compared the source for vc4_create_bo_ioctl in the 5.4 and 4.19 kernels, I can see there is a call made to a new function called vc4_grab_bin_bo. This returns an ENODEV if (!vc4->v3d).
What's the reason for this statement? Are we checking that the VC4 device is in fact a V3D device? Why do we need this check, when everything seemed to work fine for minigbm in kernel 4.19?
