compositor-drm: head attach requires a modeset
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 8 Dec 2017 12:45:00 +0000 (14:45 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 2 May 2018 09:08:34 +0000 (12:08 +0300)
commitd5f98d8932c6b3502b44ff5a3554ab7f80457231
tree25874ab591ce2dc50584871cdf5b1e2372749f29
parent7f853799e2ec2c43c6d45e399ae575b86ef97e8a
compositor-drm: head attach requires a modeset

For the attach on an enabled output to have an effect, we need to go
through drmModeSetCrtc or ATOMIC_ALLOW_MODESET.

v9:
- Add another XXX comment.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
libweston/compositor-drm.c