mutter/src/backends/native
Michel Dänzer 2e5b767c01 gpu/kms: Turn off CRTCs as well for DPMS
This avoids some issues which could happen on some setups[0] due to
meta-native-renderer.c:dummy_power_save_page_flip →
meta_onscreen_native_swap_drm_fb implicitly turning of the primary
plane (by destroying the KMS framebuffer assigned to it):

* drmModeObjectSetProperty could return an "Invalid argument" error
  between setting a non-empty cursor with drmModeSetCursor(2) and
  enabling the primary plane again:

  Failed to DPMS: Failed to set connector 69 property 2: Invalid argument

  (This was harmless other than the error message, as we always re-set
  a mode on the CRTC after setting the DPMS property to on, which
  enables the primary plane and implicitly sets the DRM property to on)

* drmModeSetCursor(2) could return an "Invalid argument" error between
  setting the DPMS property to on and enabling the primary plane again:

  Failed to set hardware cursor (drmModeSetCursor failed: Invalid argument), using OpenGL from now on

[0] E.g. with the amdgpu DC display code.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1240
2020-06-23 12:04:14 +02:00
..
dbus-utils.c
dbus-utils.h
gen-default-modes.py
meta-backend-native-private.h
meta-backend-native-types.h
meta-backend-native.c compositor: use XDG_CONFIG_HOME as initial lookup path for xkb 2020-06-08 11:29:30 +00:00
meta-backend-native.h
meta-barrier-native.c
meta-barrier-native.h
meta-clutter-backend-native.c
meta-clutter-backend-native.h
meta-crtc-kms.c crtc-kms: Include MetaCrtc in MetaCrtcKms struct 2020-06-11 11:52:53 +02:00
meta-crtc-kms.h crtc: Make implementations inherit MetaCrtc 2020-06-10 18:54:51 +00:00
meta-crtc-mode-kms.c crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode 2020-06-11 09:20:16 +00:00
meta-crtc-mode-kms.h crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode 2020-06-11 09:20:16 +00:00
meta-cursor-renderer-native.c crtc-mode: Move away fields from public MetaCrtcMode struct 2020-06-10 18:54:51 +00:00
meta-cursor-renderer-native.h
meta-drm-buffer-dumb.c
meta-drm-buffer-dumb.h drm-buffer: Make the "types" actual types 2019-05-21 14:55:38 +00:00
meta-drm-buffer-gbm.c cogl/onscreen: Add API to scanout a buffer directly 2020-04-16 15:05:15 +02:00
meta-drm-buffer-gbm.h drm-buffer/gbm: Support both surface and standalone buffers 2020-04-16 14:08:19 +02:00
meta-drm-buffer-import.c
meta-drm-buffer-import.h
meta-drm-buffer.c
meta-drm-buffer.h
meta-event-native.c
meta-event-native.h
meta-gpu-kms.c gpu/kms: Turn off CRTCs as well for DPMS 2020-06-23 12:04:14 +02:00
meta-gpu-kms.h
meta-input-device-native.c backends/native: Fix input device touch hash table leak 2020-06-11 07:23:18 +00:00
meta-input-device-native.h backends: Add MetaInputDevice derivable class 2020-03-24 18:07:31 +00:00
meta-input-device-tool-native.c
meta-input-device-tool-native.h
meta-input-settings-native.c input-settings: Wire up middle-emulation 2020-03-15 13:04:32 +09:00
meta-input-settings-native.h
meta-keymap-native.c compositor: use XDG_CONFIG_HOME as initial lookup path for xkb 2020-06-08 11:29:30 +00:00
meta-keymap-native.h
meta-kms-connector-private.h
meta-kms-connector.c
meta-kms-connector.h
meta-kms-crtc-private.h
meta-kms-crtc.c
meta-kms-crtc.h
meta-kms-device-private.h kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-device.c kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-device.h
meta-kms-impl-device.c kms-impl-device: Clean up state if drm resources disappear 2020-03-12 13:08:46 +00:00
meta-kms-impl-device.h kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-impl-simple.c kms-impl/simple: Fix page_flip_data ref leak on fallback 2020-04-23 16:30:22 +03:00
meta-kms-impl-simple.h
meta-kms-impl.c kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-impl.h kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-page-flip-private.h
meta-kms-page-flip.c
meta-kms-plane-private.h kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-plane.c kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-plane.h kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-private.h
meta-kms-types.h kms-impl-simple: Add fake cursor planes if no real ones 2020-03-07 21:40:50 +00:00
meta-kms-update-private.h kms/plane-assignment: Add API to set cursor hotspot metadata 2020-03-26 16:18:28 +00:00
meta-kms-update.c crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode 2020-06-11 09:20:16 +00:00
meta-kms-update.h crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode 2020-06-11 09:20:16 +00:00
meta-kms-utils.c
meta-kms-utils.h
meta-kms.c kms: Make GSource ready by default 2020-04-23 16:30:17 +03:00
meta-kms.h
meta-launcher.c
meta-launcher.h
meta-monitor-manager-kms.c crtc: Make implementations inherit MetaCrtc 2020-06-10 18:54:51 +00:00
meta-monitor-manager-kms.h
meta-output-kms.c crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode 2020-06-11 09:20:16 +00:00
meta-output-kms.h output: Make implementations inherit MetaOutput 2020-06-10 18:54:51 +00:00
meta-renderer-native-gles3.c
meta-renderer-native-gles3.h
meta-renderer-native.c crtc-mode: Move away fields from public MetaCrtcMode struct 2020-06-10 18:54:51 +00:00
meta-renderer-native.h onscreen/native: Add API to check whether buffer is scanout compatible 2020-04-16 15:05:52 +02:00
meta-seat-native.c clutter/seat: Add private method to peek list of input devices 2020-06-16 10:09:26 +00:00
meta-seat-native.h backends/native: Drop external keyboard detection for ::touch-mode 2020-05-29 14:37:21 +00:00
meta-stage-native.c clutter/stage: Rename update_resource_scales to clear_stage_views 2020-06-09 16:07:46 +00:00
meta-stage-native.h
meta-udev.c native: Return an error if no drm devices are found 2020-05-22 20:25:06 +00:00
meta-udev.h
meta-virtual-input-device-native.c backends/native: Unset the correct button codes when a virtual device is destroyed 2020-05-07 17:01:05 +00:00
meta-virtual-input-device-native.h
meta-xkb-utils.c
meta-xkb-utils.h