From 49bc07faea5f3c621eed437fadf68653b4b2498b Mon Sep 17 00:00:00 2001 From: LongChair Date: Sat, 17 Mar 2018 08:21:56 +0100 Subject: drm/atomic: add connector to atomic context This patch adds - DRM connector object to atomic context. - fd property to the drm atomic object as well as a method to read blob type properties. This allows to ensure that the proper connector is picked up, especially when specifying it from the commandline, and also allows to make sure we're using the right one when embedding with interop into an application. --- libmpv/opengl_cb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libmpv') diff --git a/libmpv/opengl_cb.h b/libmpv/opengl_cb.h index dd9ab2cf09..682068133a 100644 --- a/libmpv/opengl_cb.h +++ b/libmpv/opengl_cb.h @@ -177,6 +177,9 @@ struct mpv_opengl_cb_drm_params { // currently used crtc id int crtc_id; + // currently used connector id + int connector_id; + // pointer to the drmModeAtomicReq that is being used for the renderloop. // This atomic request pointer should be usually created at every renderloop. struct _drmModeAtomicReq *atomic_request; -- cgit v1.2.3