From 88aa2940b27044794d4dcb49c924a5df17cc0055 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 1 Feb 2025 16:19:47 +0100 Subject: screen: add crtc --- src/screen/drm/card.zig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/screen/drm/card.zig') diff --git a/src/screen/drm/card.zig b/src/screen/drm/card.zig index c5cca24..411716a 100644 --- a/src/screen/drm/card.zig +++ b/src/screen/drm/card.zig @@ -6,6 +6,7 @@ const cerror = @import("../cerror.zig"); const Resources = @import("resources.zig").Resources; const Connector = @import("connector/root.zig").Connector; const Encoder = @import("encoder/root.zig").Encoder; +const Crtc = @import("crtc/root.zig").Crtc; pub const Card = struct { @@ -47,4 +48,8 @@ pub const Card = struct { pub fn encoder(self: *Card, id: u32) !Encoder { return Encoder.init(self, id); } + + pub fn crtc(self: *Card, id: u32) !Crtc { + return Crtc.init(self, id); + } }; -- cgit v1.2.3-70-g09d2