ResourceManager: add card()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Sun, 14 Aug 2016 08:10:21 +0000 (11:10 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 15 Aug 2016 11:42:55 +0000 (14:42 +0300)
kms++util/inc/kms++util/resourcemanager.h

index 92e7b93a98d657f9c176ab6fec7f1323f623f6ba..42e50001de6be3c2386e6cf142d29e608f2d5dee 100644 (file)
@@ -11,6 +11,7 @@ public:
 
        void reset();
 
+       Card& card() const { return m_card; }
        Connector* reserve_connector(const std::string& name = "");
        Crtc* reserve_crtc(Connector* conn);
        Plane* reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format = PixelFormat::Undefined);