kms/crtc: Read initial gamma state

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1420
This commit is contained in:
Jonas Ådahl 2020-09-07 16:13:43 +02:00 committed by Georges Basile Stavracas Neto
parent 1bc3b3d1fe
commit 827f545c27

View File

@ -255,6 +255,8 @@ meta_kms_crtc_new (MetaKmsImplDevice *impl_device,
crtc->id = drm_crtc->crtc_id;
crtc->idx = idx;
meta_kms_crtc_read_state (crtc, impl_device, drm_crtc);
return crtc;
}