[PATCH v3 7/7] drm: nova: Expose a render node
Alistair Popple <[email protected]> Thu, 23 Jul 2026 16:30:45 +1000
| Newsgroups | dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
nova-drm currently only exposes a primary node even though all of its ioctls are already marked DRM_RENDER_ALLOW. Set the DRIVER_RENDER feature so that a render node (/dev/dri/renderDXX) is created as well. This is required to allow render and compute clients to interact with nova-drm. Signed-off-by: Alistair Popple <[email protected]> --- Changes since v2: - New for v3. --- drivers/gpu/drm/nova/driver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/nova/driver.rs b/drivers/gpu/drm/nova/driver.rs index f144417b29c9..a9016fcd6518 100644 --- a/drivers/gpu/drm/nova/driver.rs +++ b/drivers/gpu/drm/nova/driver.rs @@ -92,6 +92,7 @@ impl drm::Driver for NovaDriver { type ParentDevice<Ctx: DeviceContext> = auxiliary::Device<Ctx>; const INFO: drm::DriverInfo = INFO; + const FEAT_RENDER: bool = true; kernel::declare_drm_ioctls! { (NOVA_GETPARAM, drm_nova_getparam, ioctl::RENDER_ALLOW, File::get_param), -- 2.54.0