[RFC PATCH 00/17] VKMS: Add configfs support

Daniel Stone daniel at fooishbar.org
Wed Aug 14 09:10:39 UTC 2024


Hi José,

On Tue, 13 Aug 2024 at 11:51, José Expósito <jose.exposito89 at gmail.com> wrote:
>  - When a CRTC is added and removed before device creation, there
>    is a vblank warning.
>    The issue is caused because vblanks are referenced using the
>    CRTC index but, because one of the CRTCs is removed, the
>    indices are not consecutives and drm_crtc_vblank_crtc() tries to
>    access and invalid index
>    I'm not sure if CRTC's indices *must* start at 0 and be
>    consecutives or if this is a bug in the drm_crtc_vblank_crtc()
>    implementation.

CRTCs and planes are not hotpluggable. I recommend you just create a
lot of each of them statically at startup, and hotplug only
connectors.

Cheers,
Daniel


More information about the dri-devel mailing list