Currently we do the below: 1. Open one render node fd per renderer process 2. Track gbm_device pointer per vkr_physical_device The main reason is that the fallback path requiring the gbm_device does not use drm render node for physical device. Later we might: 1. Figure out render nodes for different physical devices 2. Open render node and create gbm_device per vkr_physical_device Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com>macos/master
parent
bb4186fc7b
commit
c653aa735d
Loading…
Reference in new issue