[mutter/benzea/gamma-fix-3.36: 1/2] kms/crtc: Read initial gamma state
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/benzea/gamma-fix-3.36: 1/2] kms/crtc: Read initial gamma state
- Date: Mon, 7 Sep 2020 14:19:19 +0000 (UTC)
commit 43887e64f7ffd48e7f517386703c1a8c7f7ba42e
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Mon Sep 7 16:13:43 2020 +0200
kms/crtc: Read initial gamma state
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1419
src/backends/native/meta-kms-crtc.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/backends/native/meta-kms-crtc.c b/src/backends/native/meta-kms-crtc.c
index 6cf7524949..f5547567b8 100644
--- a/src/backends/native/meta-kms-crtc.c
+++ b/src/backends/native/meta-kms-crtc.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]