802f4da5ee
Add a new backend to enable using native driver in a VM guest, via a new virtgpu context type which (indirectly) makes host kernel interface available in guest and handles the details of mapping buffers to guest, etc. Note that fence-fd's are currently a bit awkward, in that they get signaled by the guest kernel driver (drm/virtio) once virglrenderer in the host has processed the execbuf, not when host kernel has signaled the submit fence. For passing buffers to the host (virtio-wl) the egl context in virglrenderer is used to create a fence on the host side. But use of out-fence-fd's in guest could have slightly unexpected results. For this reason we limit all submitqueues to default priority (so they cannot be preepmted by host egl context). AFAICT virgl and venus have a similar problem, which will eventually be solveable once we have RESOURCE_CREATE_SYNC. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14900> |
||
---|---|---|
.. | ||
README | ||
amdgpu_drm.h | ||
drm.h | ||
drm_fourcc.h | ||
drm_mode.h | ||
etnaviv_drm.h | ||
i915_drm.h | ||
lima_drm.h | ||
msm_drm.h | ||
panfrost_drm.h | ||
sync_file.h | ||
tegra_drm.h | ||
v3d_drm.h | ||
vc4_drm.h | ||
virtgpu_drm.h |
README
This directory contains a copy of the installed kernel headers required by several drivers to communicate with the kernel. Whenever one of those driver needs new definitions for new kernel APIs, these files should be updated. These files in master should only be updated once the changes have landed in the drm-next tree. You can copy files installed after running this from the kernel repository, at version the drivers require : $ make headers_install INSTALL_HDR_PATH=/path/to/install The last update was done at the following kernel commit : commit 2a7005c8a3982ba27fab237d85c27da446484e9c (HEAD) Merge: 0666cba1f5b2b 47c65b3853f88 Author: Dave Airlie <airlied@redhat.com> Date: Fri Jun 11 13:34:42 2021 +1000 Merge tag 'drm-intel-gt-next-2021-06-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-next