[mutter] onscreen-native: Set max_bpc with mode sets



commit 978cbe2da46e138af3f6ea77b3b37ead59606ef2
Author: Daniel van Vugt <daniel van vugt canonical com>
Date:   Thu Jun 9 18:49:34 2022 +0800

    onscreen-native: Set max_bpc with mode sets
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2412>

 src/backends/native/meta-onscreen-native.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/backends/native/meta-onscreen-native.c b/src/backends/native/meta-onscreen-native.c
index 36d6e291eb..a107a99bb3 100644
--- a/src/backends/native/meta-onscreen-native.c
+++ b/src/backends/native/meta-onscreen-native.c
@@ -533,6 +533,8 @@ meta_onscreen_native_set_crtc_mode (CoglOnscreen              *onscreen,
   meta_crtc_kms_set_mode (crtc_kms, kms_update);
   meta_output_kms_set_underscan (META_OUTPUT_KMS (onscreen_native->output),
                                  kms_update);
+  meta_output_kms_set_max_bpc (META_OUTPUT_KMS (onscreen_native->output),
+                               kms_update);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]