mutter/src/backends/native
Sebastian Wick cca07612b8 output: Check the EDID for the supported sink Colorimetry
Just like the HDR Metadata property the Colorspace property values only
indicate that the display driver supports signaling certain colorimetry.
It does not indidcate that the sink actually supports processing the
colorimetry. For this we have to look up the colorimetry support in the
EDID.

The default colorimetry is always supported. If we want bt.2020 we might
get either the RGB or YCC variant even if we ask for the RGB variant but
there is nothing we can do about it so let's just pretend it's a driver
issue.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2919>
2023-04-21 00:00:24 +02:00
..
dbus-utils.c
dbus-utils.h
gen-default-modes.py
meta-backend-native-private.h backend/native: Create MetaRenderDevice on_gpu_added when it does not exists 2022-11-01 11:13:38 +01:00
meta-backend-native-types.h backend/native: Prepare render devices earlier than KMS 2022-09-02 20:43:05 +00:00
meta-backend-native.c kms: Prepare shutdown on 'prepare-shutdown' signal 2023-02-18 10:53:27 +00:00
meta-backend-native.h tests: Port headless start test case to VKMS 2023-03-02 23:49:15 +00:00
meta-barrier-native.c barrier/native: Fix coding style 2022-11-24 12:25:29 +00:00
meta-barrier-native.h
meta-clutter-backend-native.c
meta-clutter-backend-native.h
meta-cogl-utils.c
meta-cogl-utils.h
meta-crtc-kms.c backends/native: Handle gamma sizes independent of the KMS LUT 2023-02-23 17:20:36 +00:00
meta-crtc-kms.h backends/native: Replace MetaKmsCrtcGamma with MetaGammaLut 2023-02-23 17:20:36 +00:00
meta-crtc-mode-kms.c output/kms: Replace common mode bandwidth check with clock check 2022-07-01 16:13:18 +02:00
meta-crtc-mode-kms.h
meta-crtc-mode-virtual.c
meta-crtc-mode-virtual.h
meta-crtc-native.c
meta-crtc-native.h
meta-crtc-virtual.c backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-crtc-virtual.h backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-cursor-renderer-native.c renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-cursor-renderer-native.h renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-device-pool-private.h backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-device-pool.c Use the same prefix for all generated D-Bus boiler plate 2023-01-28 12:35:54 +01:00
meta-device-pool.h backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-drm-buffer-dumb.c Use g_clear_fd() instead of open coding the same behavior 2023-01-30 15:11:26 +00:00
meta-drm-buffer-dumb.h
meta-drm-buffer-gbm.c backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-drm-buffer-gbm.h
meta-drm-buffer-import.c
meta-drm-buffer-import.h
meta-drm-buffer-private.h
meta-drm-buffer.c drm-buffer: Clarify misleading error message on drmModeAddFB2 failure 2022-10-13 16:06:57 +08:00
meta-drm-buffer.h tests/kms/render: Add direct scanout test case 2022-06-02 08:59:13 +00:00
meta-frame-native.c frame/native: Remember whether the frame carried a kms update 2023-04-17 09:16:10 +00:00
meta-frame-native.h frame/native: Remember whether the frame carried a kms update 2023-04-17 09:16:10 +00:00
meta-gpu-kms.c gpu/kms: Report that we can have outputs if we have connectors 2023-03-02 23:49:15 +00:00
meta-gpu-kms.h kms/device: Differentiate between lack of AddFb2() and udev rule 2022-08-02 10:04:52 +00:00
meta-input-device-native.c backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-input-device-native.h backends/native: Implement get_dimensions() in native devices 2022-11-09 10:46:55 +00:00
meta-input-device-tool-native.c
meta-input-device-tool-native.h
meta-input-settings-native.c Support selecting an acceleration profile for touchpad devices 2023-02-01 03:03:47 +00:00
meta-input-settings-native.h
meta-input-thread.h
meta-keymap-native.c
meta-keymap-native.h
meta-kms-connector-private.h backends/native: Convert MetaOutputColorspace to DRM Colorspace 2023-03-04 19:53:30 +00:00
meta-kms-connector.c backends/native: Convert MetaOutputColorspace to DRM Colorspace 2023-03-04 19:53:30 +00:00
meta-kms-connector.h backends/native: Read color space and HDR metadata connector state 2023-03-04 09:30:41 +00:00
meta-kms-crtc-private.h backends/native: Read CRTC Gamma state from legacy and property APIs 2023-02-23 17:20:36 +00:00
meta-kms-crtc.c backends: Use meta_gamma_lut_new_sized() in a few more places 2023-03-30 11:21:02 +00:00
meta-kms-crtc.h backends/native: Replace MetaKmsCrtcGamma with MetaGammaLut 2023-02-23 17:20:36 +00:00
meta-kms-device-private.h tests/kms: Run tests both using simple and atomic KMS 2022-07-28 23:59:24 +00:00
meta-kms-device.c kms/device: Avoid leaking some fields 2023-03-19 22:32:43 +00:00
meta-kms-device.h tests/kms: Don't leak MetaKmsFeedback 2023-02-18 10:53:27 +00:00
meta-kms-impl-device-atomic.c backends/native: Convert MetaOutputColorspace to DRM Colorspace 2023-03-04 19:53:30 +00:00
meta-kms-impl-device-atomic.h tests/kms: Run tests both using simple and atomic KMS 2022-07-28 23:59:24 +00:00
meta-kms-impl-device-dummy.c backend/native: Prepare render devices earlier than KMS 2022-09-02 20:43:05 +00:00
meta-kms-impl-device-dummy.h
meta-kms-impl-device-simple.c kms/impl-device/simple: Avoid destroying a NULL hash table 2023-03-20 09:20:16 +00:00
meta-kms-impl-device-simple.h tests/kms: Run tests both using simple and atomic KMS 2022-07-28 23:59:24 +00:00
meta-kms-impl-device.c kms/impl-device: Fix result listener list leak 2023-03-19 22:05:00 +00:00
meta-kms-impl-device.h kms/device: Move result queueing to impl device 2023-03-02 01:39:16 +01:00
meta-kms-impl.c
meta-kms-impl.h
meta-kms-mode-private.h
meta-kms-mode.c
meta-kms-mode.h
meta-kms-page-flip-private.h kms: Always handle KMS update result via callback 2023-03-01 23:57:32 +00:00
meta-kms-page-flip.c kms/page-flip: Add a debug print with page flip event timings 2022-06-03 06:55:28 +00:00
meta-kms-plane-private.h backends/native: Use MetaKmsPlaneRotation in plane updates 2022-06-10 17:49:07 +00:00
meta-kms-plane.c backends/native: Fix checks for 'reflect-x' and 'reflect-y' bits 2022-07-26 18:41:43 +00:00
meta-kms-plane.h
meta-kms-private.h kms/result-listener: Let listeners own a feedback ref 2023-03-01 23:57:32 +00:00
meta-kms-types-private.h kms/result-listener: Let listeners own a feedback ref 2023-03-01 23:57:32 +00:00
meta-kms-types.h onscreen/native: Handle unexpected scanout failures async 2023-03-01 23:57:32 +00:00
meta-kms-update-private.h backends/native: Add color space and HDR metadata updates 2023-03-04 09:30:41 +00:00
meta-kms-update.c backends/native: Add color space and HDR metadata updates 2023-03-04 09:30:41 +00:00
meta-kms-update.h backends/native: Add color space and HDR metadata updates 2023-03-04 09:30:41 +00:00
meta-kms-utils.c
meta-kms-utils.h
meta-kms.c renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-kms.h renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-launcher.c Use the same prefix for all generated D-Bus boiler plate 2023-01-28 12:35:54 +01:00
meta-launcher.h Use the same prefix for all generated D-Bus boiler plate 2023-01-28 12:35:54 +01:00
meta-monitor-manager-native.c backends/native: Replace MetaKmsCrtcGamma with MetaGammaLut 2023-02-23 17:20:36 +00:00
meta-monitor-manager-native.h backends/native: Replace MetaKmsCrtcGamma with MetaGammaLut 2023-02-23 17:20:36 +00:00
meta-onscreen-native.c onscreen/native: Avoid freezing the frame clock on failed cursor commits 2023-03-29 10:43:31 +00:00
meta-onscreen-native.h renderer/native: Detach old onscreens when rebuilding views 2023-02-22 15:25:25 +00:00
meta-output-kms.c output: Check the EDID for the supported sink Colorimetry 2023-04-21 00:00:24 +02:00
meta-output-kms.h output/kms: Make set privacy screen caller handle the update 2023-02-01 08:40:53 +01:00
meta-output-native.c
meta-output-native.h
meta-output-virtual.c monitor: Add API to check whether the monitor is virtual or not 2022-09-01 14:31:40 +00:00
meta-output-virtual.h
meta-pointer-constraint-native.c pointer-constraints/native: Fix borders array memory leaks 2022-07-06 19:27:20 +00:00
meta-pointer-constraint-native.h pointer-constraints: Move min edge distance from backend to Wayland 2022-06-13 18:38:50 +00:00
meta-render-device-egl-stream.c
meta-render-device-egl-stream.h
meta-render-device-gbm.c
meta-render-device-gbm.h
meta-render-device-private.h
meta-render-device-surfaceless.c
meta-render-device-surfaceless.h
meta-render-device.c render-device: Unmake the EGLContext after checking whether hw accelerated 2022-09-03 18:34:49 +02:00
meta-render-device.h
meta-renderer-native-gles3.c
meta-renderer-native-gles3.h
meta-renderer-native-private.h renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-renderer-native.c renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-renderer-native.h renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-renderer-view-native.c renderer-view/native: Allocate backend specific ClutterFrame 2023-03-02 01:39:16 +01:00
meta-renderer-view-native.h backends/native: Introduce MetaRendererViewNative 2023-03-02 01:39:16 +01:00
meta-seat-impl.c backends/native/seat-impl: Translate touch coords before storing 2023-02-20 18:00:06 +00:00
meta-seat-impl.h backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-seat-native.c backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-seat-native.h tests/utils: Add helper to flush the input thread 2022-12-13 18:31:14 +00:00
meta-stage-native.c renderer/native: Move per frame KMS update to MetaFrameNative 2023-03-02 01:40:16 +01:00
meta-stage-native.h
meta-udev.c backend/native: Sending modifiers to clients can be disabled via udev 2022-09-22 08:32:02 +00:00
meta-udev.h tests: Port headless start test case to VKMS 2023-03-02 23:49:15 +00:00
meta-virtual-input-device-native.c virtual-input-device/native: Emit discrete scroll when the source is a wheel 2022-10-18 08:16:11 +00:00
meta-virtual-input-device-native.h
meta-virtual-monitor-native.c backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-virtual-monitor-native.h backend: Set up and use ownership chains 2022-12-17 13:52:51 +00:00
meta-xkb-utils.c
meta-xkb-utils.h