drm: Add privacy-screen class and connector properties
Subsystems (7)
cover drm: Add privacy-screen class and connector properties
Hi all,
Here is a new version of my privacy-screen series, addressing the (few) review-remarks from the version posted on September 6th. This new version contains the following changes:
- drm: Add privacy-screen class (v4)
- Make drm_privacy_screen_set_sw_state() skip calling out to the hw if hw_state == new_sw_state
- drm/privacy-screen: Add notifier support (v2)
- Drop WARN_ON(mutex_is_locked(&priv->lock)) check in drm_privacy_screen_call_notifier_chain() it may be locked by another thread, which would lead to a false-positive triggering of the check (change requested by Lyude)
- drm/connector: Add a drm_connector privacy-screen helper functions (v2)
- Do not update connector->state->privacy_screen_sw_state on atomic-commits (change requested by Ville)
- Change drm_connector_update_privacy_screen() to take drm_connector_state as argument instead of a full drm_atomic_state. This allows the helper to be called by drivers when they are enabling crtcs/encoders/connectors.
- platform/x86: thinkpad_acpi: Register a privacy-screen device (v3)
- On receiving a TP_HKEY_EV_PRIVACYGUARD_TOGGLE event only call drm_privacy_screen_call_notifier_chain() if the privacy-screen state has actually changed
- drm/i915: Add intel_modeset_probe_defer() helper
- New patch in this version of the series (change requested by Jani)
- drm/i915: Add privacy-screen support (v2)
- Call drm_connector_update_privacy_screen() from intel_enable_ddi_dp() / intel_ddi_update_pipe_dp() instead of adding a for_each_new_connector_in_state() loop to intel_atomic_commit_tail() (change requested by Ville)
- Move the probe-deferral check to the intel_modeset_probe_defer() helper (change requested by Jani)
With these changes I believe that this series now is fully ready for merging, but the last 2 patches need to be (re)reviewed.
Here is some more info from the previous cover-letters:
The first userspace consumer of the new properties is now fully ready for merging (it is just waiting for the kernel bits to land first):
- https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/merge_requests/49
- https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1952
- https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1032
The new API works as designed and add the following features to GNOME:
1. Showing an OSD notification when the privacy-screen is toggled on/off through hotkeys handled by the embedded-controller
2. Allowing control of the privacy-screen from the GNOME control-panel, including the on/off slider shown there updating to match the hw-setting when the setting is changed with the control-panel open.
3. Restoring the last user-setting at login
This series consists of a number of different parts:
1. A new version of Rajat's privacy-screen connector properties patch, this adds new userspace API in the form of new properties
2. Since on most devices the privacy screen is actually controlled by some vendor specific ACPI/WMI interface which has a driver under drivers/platform/x86, we need some "glue" code to make this functionality available to KMS drivers. Patches 2-4 add a new privacy-screen class for this, which allows non KMS drivers (and possibly KMS drivers too) to register a privacy-screen device and also adds an interface for KMS drivers to get access to the privacy-screen associated with a specific connector. This is modelled similar to how we deal with e.g. PWMs and GPIOs in the kernel, including separate includes for consumers and providers(drivers).
3. Some drm_connector helper functions to keep the actual changes needed for this in individual KMS drivers as small as possible (patch 5).
4. Make the thinkpad_acpi code register a privacy-screen device on ThinkPads with a privacy-screen (patches 6-8)
5. Make the i915 driver export the privacy-screen functionality through the connector properties on the eDP connector.
I believe that it would be best to merge the entire series, including the thinkpad_acpi changes through drm-misc in one go. As the pdx86 subsys maintainer I hereby give my ack for merging the thinkpad_acpi changes through drm-misc.
There is one small caveat with this series, which it is good to be aware of. The i915 driver will now return -EPROBE_DEFER on Thinkpads with an eprivacy screen, until the thinkpad_acpi driver is loaded. This means that initrd generation tools will need to be updated to include thinkpad_acpi when the i915 driver is added to the initrd. Without this the loading of the i915 driver will be delayed to after the switch to real rootfs.
Regards,
Hans
Hans de Goede (9):
drm: Add privacy-screen class (v4)
drm/privacy-screen: Add X86 specific arch init code drm/privacy-screen: Add notifier support (v2) drm/connector: Add a drm_connector privacy-screen helper functions
(v2)
platform/x86: thinkpad_acpi: Add hotkey_notify_extended_hotkey()
helper
platform/x86: thinkpad_acpi: Get privacy-screen / lcdshadow ACPI
handles only once
platform/x86: thinkpad_acpi: Register a privacy-screen device drm/i915: Add intel_modeset_probe_defer() helper drm/i915: Add privacy-screen support (v2)
Rajat Jain (1):
drm/connector: Add support for privacy-screen properties (v4)
Documentation/gpu/drm-kms-helpers.rst | 15 + Documentation/gpu/drm-kms.rst | 2 + MAINTAINERS | 8 + drivers/gpu/drm/Kconfig | 4 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_atomic_uapi.c | 4 + drivers/gpu/drm/drm_connector.c | 203 ++++++++ drivers/gpu/drm/drm_drv.c | 4 + drivers/gpu/drm/drm_privacy_screen.c | 467 +++++++++++++++++++ drivers/gpu/drm/drm_privacy_screen_x86.c | 86 ++++ drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 3 + drivers/gpu/drm/i915/display/intel_display.c | 23 + drivers/gpu/drm/i915/display/intel_display.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 10 + drivers/gpu/drm/i915/i915_pci.c | 9 +- drivers/platform/x86/Kconfig | 2 + drivers/platform/x86/thinkpad_acpi.c | 137 ++++-- include/drm/drm_connector.h | 55 +++ include/drm/drm_privacy_screen_consumer.h | 65 +++ include/drm/drm_privacy_screen_driver.h | 84 ++++ include/drm/drm_privacy_screen_machine.h | 46 ++ 22 files changed, 1181 insertions(+), 49 deletions(-) create mode 100644 drivers/gpu/drm/drm_privacy_screen.c create mode 100644 drivers/gpu/drm/drm_privacy_screen_x86.c create mode 100644 include/drm/drm_privacy_screen_consumer.h create mode 100644 include/drm/drm_privacy_screen_driver.h create mode 100644 include/drm/drm_privacy_screen_machine.h
Signature · 1 line
2.31.1
PATCH 1/10 drm/connector: Add support for privacy-screen properties (v4)
From: Rajat Jain <[email protected]>
Add support for generic electronic privacy screen properties, that can be added by systems that have an integrated EPS.
Changes in v2 (Hans de Goede)
- Create 2 properties, "privacy-screen sw-state" and "privacy-screen hw-state", to deal with devices where the OS might be locked out of making state changes
- Write kerneldoc explaining how the 2 properties work together, what happens when changes to the state are made outside of the DRM code's control, etc.
Changes in v3 (Hans de Goede)
- Some small tweaks to the kerneldoc describing the 2 properties
Changes in v4 (Hans de Goede)
- Change the "Enabled, locked" and "Disabled, locked" hw-state enum value names to "Enabled-locked" and "Disabled-locked". The xrandr command shows all possible enum values separated by commas in its output, so having a comma in an enum name is not a good idea.
- Do not add a privacy_screen_hw_state member to drm_connector_state since this property is immutable its value must be directly stored in the obj->properties->values array
--- Documentation/gpu/drm-kms.rst | 2 + drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 101 ++++++++++++++++++++++++++++++ include/drm/drm_connector.h | 44 +++++++++++++ 4 files changed, 151 insertions(+)
Documentation/gpu/drm-kms.rst +2 -0
@@ -506,6 +506,8 @@ Property Types and Blob Property Support .. kernel-doc:: drivers/gpu/drm/drm_property.c :export: +.. _standard_connector_properties: + Standard Connector Properties -----------------------------
drivers/gpu/drm/drm_atomic_uapi.c +4 -0
@@ -797,6 +797,8 @@ static int drm_atomic_connector_set_property(struct drm_connector *connector, fence_ptr); }else if (property == connector->max_bpc_property) { state->max_requested_bpc = val; + }else if (property == connector->privacy_screen_sw_state_property) { + state->privacy_screen_sw_state = val; }else if (connector->funcs->atomic_set_property) {return connector->funcs->atomic_set_property (connector, state, property, val);
@@ -874,6 +876,8 @@ drm_atomic_connector_get_property(struct drm_connector *connector, *val =0 ; }else if (property == connector->max_bpc_property) { *val = state->max_requested_bpc; + }else if (property == connector->privacy_screen_sw_state_property) { + *val = state->privacy_screen_sw_state; }else if (connector->funcs->atomic_get_property) {return connector->funcs->atomic_get_property (connector, state, property, val);
drivers/gpu/drm/drm_connector.c +101 -0
113 lines not on this page · raw message
include/drm/drm_connector.h +44 -0
68 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 2/10 drm: Add privacy-screen class (v4)
In reply to Hans de GoedeOn some new laptops the LCD panel has a builtin electronic privacy-screen. We want to export this functionality as a property on the drm connector object. But often this functionality is not exposed on the GPU but on some other (ACPI) device.
This commit adds a privacy-screen class allowing the driver for these other devices to register themselves as a privacy-screen provider; and allowing the drm/kms code to get a privacy-screen provider associated with a specific GPU/connector combo.
Changes in v2:
- Make CONFIG_DRM_PRIVACY_SCREEN a bool which controls if the drm_privacy code gets built as part of the main drm module rather then making it a tristate which builds its own module.
- Add a #if IS_ENABLED(CONFIG_DRM_PRIVACY_SCREEN) check to drm_privacy_screen_consumer.h and define stubs when the check fails. Together these 2 changes fix several dependency issues.
- Remove module related code now that this is part of the main drm.ko
- Use drm_class as class for the privacy-screen devices instead of adding a separate class for this
Changes in v3:
- Make the static inline drm_privacy_screen_get_state() stub set sw_state and hw_state to PRIVACY_SCREEN_DISABLED to squelch an uninitialized variable warning when CONFIG_DRM_PRIVICAY_SCREEN is not set
Changes in v4:
- Make drm_privacy_screen_set_sw_state() skip calling out to the hw if hw_state == new_sw_state
--- Documentation/gpu/drm-kms-helpers.rst | 15 + MAINTAINERS | 8 + drivers/gpu/drm/Kconfig | 4 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_drv.c | 4 + drivers/gpu/drm/drm_privacy_screen.c | 403 ++++++++++++++++++++++ include/drm/drm_privacy_screen_consumer.h | 50 +++ include/drm/drm_privacy_screen_driver.h | 80 +++++ include/drm/drm_privacy_screen_machine.h | 41 +++ 9 files changed, 606 insertions(+) create mode 100644 drivers/gpu/drm/drm_privacy_screen.c create mode 100644 include/drm/drm_privacy_screen_consumer.h create mode 100644 include/drm/drm_privacy_screen_driver.h create mode 100644 include/drm/drm_privacy_screen_machine.h
Documentation/gpu/drm-kms-helpers.rst +15 -0
@@ -435,3 +435,18 @@ Legacy CRTC/Modeset Helper Functions Reference .. kernel-doc:: drivers/gpu/drm/drm_crtc_helper.c :export: + +Privacy-screen class +==================== + +.. kernel-doc:: drivers/gpu/drm/drm_privacy_screen.c + :doc: overview + +.. kernel-doc:: include/drm/drm_privacy_screen_driver.h + :internal: + +.. kernel-doc:: include/drm/drm_privacy_screen_machine.h + :internal: + +.. kernel-doc:: drivers/gpu/drm/drm_privacy_screen.c + :export:
MAINTAINERS +8 -0
@@ -6421,6 +6421,14 @@ F: drivers/gpu/drm/drm_panel.c F: drivers/gpu/drm/panel/ F: include/drm/drm_panel.h +DRM PRIVACY-SCREEN CLASS +M: Hans de Goede <[email protected]> +L: [email protected] +S: Maintained +T: git git://anongit.freedesktop.org/drm/drm-misc +F: drivers/gpu/drm/drm_privacy_screen* +F: include/drm/drm_privacy_screen* + DRM TTM SUBSYSTEM M: Christian Koenig <[email protected]> M: Huang Rui <[email protected]>
drivers/gpu/drm/Kconfig +4 -0
@@ -481,3 +481,7 @@ config DRM_PANEL_ORIENTATION_QUIRKS config DRM_LIB_RANDOM bool default n + +config DRM_PRIVACY_SCREEN + bool + default n
drivers/gpu/drm/Makefile +1 -0
@@ -32,6 +32,7 @@ drm-$(CONFIG_OF) += drm_of.o drm-$(CONFIG_PCI) += drm_pci.o drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o +drm-$(CONFIG_DRM_PRIVACY_SCREEN) += drm_privacy_screen.o obj-$(CONFIG_DRM_DP_AUX_BUS) += drm_dp_aux_bus.o
drivers/gpu/drm/drm_drv.c +4 -0
@@ -43,6 +43,7 @@#include <drm/drm_managed.h> #include <drm/drm_mode_object.h> #include <drm/drm_print.h> +#include <drm/drm_privacy_screen_machine.h> #include "drm_crtc_internal.h" #include "drm_internal.h"
@@ -1029,6 +1030,7 @@ static const struct file_operations drm_stub_fops = {static void drm_core_exit (void ) { +drm_privacy_screen_lookup_exit ();unregister_chrdev (DRM_MAJOR ,"drm" );debugfs_remove (drm_debugfs_root);drm_sysfs_destroy ();
@@ -1056,6 +1058,8 @@ static int __init drm_core_init(void)if (ret <0 ) goto error; +drm_privacy_screen_lookup_init (); + drm_core_init_complete = true;DRM_DEBUG ("Initialized\n" );
drivers/gpu/drm/drm_privacy_screen.c new file +403 -0
403 lines not on this page · raw message
include/drm/drm_privacy_screen_consumer.h new file +50 -0
50 lines not on this page · raw message
include/drm/drm_privacy_screen_driver.h new file +80 -0
80 lines not on this page · raw message
include/drm/drm_privacy_screen_machine.h new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 3/10 drm/privacy-screen: Add X86 specific arch init code
In reply to Hans de GoedeAdd X86 specific arch init code, which fills the privacy-screen lookup table by checking for various vendor specific ACPI interfaces for controlling the privacy-screen.
This initial version only checks for the Lenovo Thinkpad specific ACPI methods for privacy-screen control.
--- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_privacy_screen_x86.c | 86 ++++++++++++++++++++++++ include/drm/drm_privacy_screen_machine.h | 5 ++ 3 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/drm_privacy_screen_x86.c
drivers/gpu/drm/Makefile +1 -1
@@ -32,7 +32,7 @@ drm-$(CONFIG_OF) += drm_of.o drm-$(CONFIG_PCI) += drm_pci.o drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o -drm-$(CONFIG_DRM_PRIVACY_SCREEN) += drm_privacy_screen.o +drm-$(CONFIG_DRM_PRIVACY_SCREEN) += drm_privacy_screen.o drm_privacy_screen_x86.o obj-$(CONFIG_DRM_DP_AUX_BUS) += drm_dp_aux_bus.o
drivers/gpu/drm/drm_privacy_screen_x86.c new file +86 -0
86 lines not on this page · raw message
include/drm/drm_privacy_screen_machine.h +5 -0
@@ -31,11 +31,16 @@ struct drm_privacy_screen_lookup {void drm_privacy_screen_lookup_add (struct drm_privacy_screen_lookup *lookup);void drm_privacy_screen_lookup_remove (struct drm_privacy_screen_lookup *lookup); +#if IS_ENABLED (CONFIG_DRM_PRIVACY_SCREEN ) &&IS_ENABLED (CONFIG_X86 ) +void drm_privacy_screen_lookup_init (void ); +void drm_privacy_screen_lookup_exit (void ); +#else static inline void drm_privacy_screen_lookup_init (void ) { }static inline void drm_privacy_screen_lookup_exit (void ) { } +#endif #endif
Signature · 1 line
2.31.1
PATCH 4/10 drm/privacy-screen: Add notifier support (v2)
In reply to Hans de GoedeAdd support for privacy-screen consumers to register a notifier to be notified of external (e.g. done by the hw itself on a hotkey press) state changes.
Changes in v2:
- Drop WARN_ON(mutex_is_locked(&priv->lock)) check in drm_privacy_screen_call_notifier_chain() it may be locked by another thread, which would lead to a false-positive triggering of the check
--- drivers/gpu/drm/drm_privacy_screen.c | 64 +++++++++++++++++++++++ include/drm/drm_privacy_screen_consumer.h | 15 ++++++ include/drm/drm_privacy_screen_driver.h | 4 ++ 3 files changed, 83 insertions(+)
drivers/gpu/drm/drm_privacy_screen.c +64 -0
@@ -257,6 +257,49 @@ void drm_privacy_screen_get_state(struct drm_privacy_screen *priv, }EXPORT_SYMBOL (drm_privacy_screen_get_state); +/** +* drm_privacy_screen_register_notifier - register a notifier +* @priv: Privacy screen to register the notifier with +* @nb: Notifier-block for the notifier to register +* +* Register a notifier with the privacy-screen to be notified of changes made +* to the privacy-screen state from outside of the privacy-screen class. +* E.g. the state may be changed by the hardware itself in response to a +* hotkey press. +* +* The notifier is called with no locks held. The new hw_state and sw_state +* can be retrieved using the drm_privacy_screen_get_state() function. +* A pointer to the drm_privacy_screen's struct is passed as the void *data +* argument of the notifier_block's notifier_call. +* +* The notifier will NOT be called when changes are made through +* drm_privacy_screen_set_sw_state(). It is only called for external changes. +* +* Return: 0 on success, negative error code on failure. +*/ +int drm_privacy_screen_register_notifier (struct drm_privacy_screen *priv, +struct notifier_block *nb) +{ +return blocking_notifier_chain_register (&priv->notifier_head, nb); +} +EXPORT_SYMBOL (drm_privacy_screen_register_notifier); + +/** +* drm_privacy_screen_unregister_notifier - unregister a notifier +* @priv: Privacy screen to register the notifier with +* @nb: Notifier-block for the notifier to register +* +* Unregister a notifier registered with drm_privacy_screen_register_notifier(). +* +* Return: 0 on success, negative error code on failure. +*/ +int drm_privacy_screen_unregister_notifier (struct drm_privacy_screen *priv, +struct notifier_block *nb) +{ +return blocking_notifier_chain_unregister (&priv->notifier_head, nb); +} +EXPORT_SYMBOL (drm_privacy_screen_unregister_notifier); +/*** drm_privacy_screen_driver.h functions ***/ static ssize_t sw_state_show(struct device *dev,
@@ -354,6 +397,7 @@ struct drm_privacy_screen *drm_privacy_screen_register(return ERR_PTR (-ENOMEM );mutex_init (&priv->lock); +BLOCKING_INIT_NOTIFIER_HEAD (&priv->notifier_head); priv->dev.class = drm_class; priv->dev.type = &drm_privacy_screen_type;
@@ -401,3 +445,23 @@ void drm_privacy_screen_unregister(struct drm_privacy_screen *priv)device_unregister (&priv->dev); }EXPORT_SYMBOL (drm_privacy_screen_unregister); + +/** +* drm_privacy_screen_call_notifier_chain - notify consumers of state change +* @priv: Privacy screen to register the notifier with +* +* A privacy-screen provider driver can call this functions upon external +* changes to the privacy-screen state. E.g. the state may be changed by the +* hardware itself in response to a hotkey press. +* This function must be called without holding the privacy-screen lock. +* the driver must update sw_state and hw_state to reflect the new state before +* calling this function. +* The expected behavior from the driver upon receiving an external state +* change event is: 1. Take the lock; 2. Update sw_state and hw_state; +* 3. Release the lock. 4. Call drm_privacy_screen_call_notifier_chain(). +*/ +void drm_privacy_screen_call_notifier_chain (struct drm_privacy_screen *priv) +{ +blocking_notifier_call_chain (&priv->notifier_head,0 , priv); +} +EXPORT_SYMBOL (drm_privacy_screen_call_notifier_chain);
include/drm/drm_privacy_screen_consumer.h +15 -0
@@ -24,6 +24,11 @@ int drm_privacy_screen_set_sw_state(struct drm_privacy_screen *priv,void drm_privacy_screen_get_state (struct drm_privacy_screen *priv,enum drm_privacy_screen_status *sw_state_ret,enum drm_privacy_screen_status *hw_state_ret); + +int drm_privacy_screen_register_notifier (struct drm_privacy_screen *priv, +struct notifier_block *nb); +int drm_privacy_screen_unregister_notifier (struct drm_privacy_screen *priv, +struct notifier_block *nb);#else static inline struct drm_privacy_screen *drm_privacy_screen_get (struct device *dev,const char *con_id)
@@ -45,6 +50,16 @@ static inline void drm_privacy_screen_get_state(struct drm_privacy_screen *priv, *sw_state_ret =PRIVACY_SCREEN_DISABLED ; *hw_state_ret =PRIVACY_SCREEN_DISABLED ; } +static inline int drm_privacy_screen_register_notifier (struct drm_privacy_screen *priv, +struct notifier_block *nb) +{ +return -ENODEV ; +} +static inline int drm_privacy_screen_unregister_notifier (struct drm_privacy_screen *priv, +struct notifier_block *nb) +{ +return -ENODEV ; +}#endif #endif
include/drm/drm_privacy_screen_driver.h +4 -0
@@ -54,6 +54,8 @@ struct drm_privacy_screen {struct mutex lock;/** @list: privacy-screen devices list list-entry. */ struct list_head list; +/** @notifier_head: privacy-screen notifier head. */ +struct blocking_notifier_head notifier_head;/** * @ops: &struct drm_privacy_screen_ops for this privacy-screen. * This is NULL if the driver has unregistered the privacy-screen.
@@ -77,4 +79,6 @@ struct drm_privacy_screen *drm_privacy_screen_register( struct device *parent, const struct drm_privacy_screen_ops *ops);void drm_privacy_screen_unregister (struct drm_privacy_screen *priv); +void drm_privacy_screen_call_notifier_chain (struct drm_privacy_screen *priv); +#endif
Signature · 1 line
2.31.1
PATCH 5/10 drm/connector: Add a drm_connector privacy-screen helper functions (v2)
In reply to Hans de GoedeAdd 2 drm_connector privacy-screen helper functions:
1. drm_connector_attach_privacy_screen_provider(), this function creates and attaches the standard privacy-screen properties and registers a generic notifier for generating sysfs-connector-status-events on external changes to the privacy-screen status.
2. drm_connector_update_privacy_screen(), update the privacy-screen's sw_state if the connector has a privacy-screen.
Changes in v2:
- Do not update connector->state->privacy_screen_sw_state on atomic-commits.
- Change drm_connector_update_privacy_screen() to take drm_connector_state as argument instead of a full drm_atomic_state. This allows the helper to be called by drivers when they are enabling crtcs/encoders/connectors.
--- drivers/gpu/drm/drm_connector.c | 102 ++++++++++++++++++++++++++++++++ include/drm/drm_connector.h | 11 ++++ 2 files changed, 113 insertions(+)
drivers/gpu/drm/drm_connector.c +102 -0
@@ -28,6 +28,7 @@#include <drm/drm_print.h> #include <drm/drm_drv.h> #include <drm/drm_file.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_sysfs.h> #include <linux/uaccess.h>
@@ -462,6 +463,11 @@ void drm_connector_cleanup(struct drm_connector *connector) DRM_CONNECTOR_REGISTERED))drm_connector_unregister (connector ); +if (connector->privacy_screen) { +drm_privacy_screen_put (connector->privacy_screen); + connector->privacy_screen =NULL ; + } +if (connector->tile_group) {drm_mode_put_tile_group (dev, connector->tile_group); connector->tile_group =NULL ;
@@ -543,6 +549,10 @@ int drm_connector_register(struct drm_connector *connector)/* Let userspace know we have a new connector */ drm_sysfs_hotplug_event (connector->dev); +if (connector->privacy_screen) +drm_privacy_screen_register_notifier (connector->privacy_screen, + &connector->privacy_screen_notifier); +mutex_lock (&connector_list_lock);list_add_tail (&connector->global_connector_list_entry, &connector_list);mutex_unlock (&connector_list_lock);
@@ -578,6 +588,11 @@ void drm_connector_unregister(struct drm_connector *connector)list_del_init (&connector->global_connector_list_entry);mutex_unlock (&connector_list_lock); +if (connector->privacy_screen) +drm_privacy_screen_unregister_notifier ( + connector->privacy_screen, + &connector->privacy_screen_notifier); +if (connector->funcs->early_unregister) connector->funcs->early_unregister (connector);
@@ -2442,6 +2457,93 @@ drm_connector_attach_privacy_screen_properties(struct drm_connector *connector) }EXPORT_SYMBOL (drm_connector_attach_privacy_screen_properties); +static void drm_connector_update_privacy_screen_properties ( +struct drm_connector *connector,bool set_sw_state) +{ +enum drm_privacy_screen_status sw_state, hw_state; + +drm_privacy_screen_get_state (connector->privacy_screen, + &sw_state, &hw_state); + +if (set_sw_state) + connector->state->privacy_screen_sw_state = sw_state; +drm_object_property_set_value (&connector->base, + connector->privacy_screen_hw_state_property, hw_state); +} + +static int drm_connector_privacy_screen_notifier ( +struct notifier_block *nb,unsigned long action,void *data) +{ +struct drm_connector *connector = + container_of(nb, struct drm_connector, privacy_screen_notifier); +struct drm_device *dev = connector->dev; + +drm_modeset_lock (&dev->mode_config.connection_mutex,NULL ); +drm_connector_update_privacy_screen_properties (connector, true); +drm_modeset_unlock (&dev->mode_config.connection_mutex); + +drm_sysfs_connector_status_event (connector, + connector->privacy_screen_sw_state_property); +drm_sysfs_connector_status_event (connector, + connector->privacy_screen_hw_state_property); + +return NOTIFY_DONE ; +} + +/** +* drm_connector_attach_privacy_screen_provider - attach a privacy-screen to +* the connector +* @connector: connector to attach the privacy-screen to +* @priv: drm_privacy_screen to attach +* +* Create and attach the standard privacy-screen properties and register +* a generic notifier for generating sysfs-connector-status-events +* on external changes to the privacy-screen status. +* This function takes ownership of the passed in drm_privacy_screen and will +* call drm_privacy_screen_put() on it when the connector is destroyed. +*/ +void drm_connector_attach_privacy_screen_provider ( +struct drm_connector *connector,struct drm_privacy_screen *priv) +{ + connector->privacy_screen = priv; + connector->privacy_screen_notifier.notifier_call = + drm_connector_privacy_screen_notifier; + +drm_connector_create_privacy_screen_properties (connector); +drm_connector_update_privacy_screen_properties (connector, true); +drm_connector_attach_privacy_screen_properties (connector); +} +EXPORT_SYMBOL (drm_connector_attach_privacy_screen_provider); + +/** +* drm_connector_update_privacy_screen - update connector's privacy-screen sw-state +* @connector_state: connector-state to update the privacy-screen for +* +* This function calls drm_privacy_screen_set_sw_state() on the connector's +* privacy-screen. +* +* If the connector has no privacy-screen, then this is a no-op. +*/ +void drm_connector_update_privacy_screen (const struct drm_connector_state *connector_state) +{ +struct drm_connector *connector = connector_state->connector; +int ret; + +if (!connector->privacy_screen) +return ; + + ret =drm_privacy_screen_set_sw_state (connector->privacy_screen, + connector_state->privacy_screen_sw_state); +if (ret) { +drm_err (connector->dev,"Error updating privacy-screen sw_state\n" ); +return ; + } + +/* The hw_state property value may have changed, update it. */ +drm_connector_update_privacy_screen_properties (connector, false); +} +EXPORT_SYMBOL (drm_connector_update_privacy_screen); +int drm_connector_set_obj_prop (struct drm_mode_object *obj,struct drm_property *property,uint64_t value)
include/drm/drm_connector.h +11 -0
@@ -27,6 +27,7 @@#include <linux/llist.h> #include <linux/ctype.h> #include <linux/hdmi.h> +#include <linux/notifier.h> #include <drm/drm_mode_object.h> #include <drm/drm_util.h>
@@ -40,6 +41,7 @@ struct drm_encoder;struct drm_property ;struct drm_property_blob ;struct drm_printer ; +struct drm_privacy_screen ;struct edid ;struct i2c_adapter ;
@@ -1451,6 +1453,12 @@ struct drm_connector {*/ struct drm_property *max_bpc_property; +/** @privacy_screen: drm_privacy_screen for this connector, or NULL. */ +struct drm_privacy_screen *privacy_screen; + +/** @privacy_screen_notifier: privacy-screen notifier_block */ +struct notifier_block privacy_screen_notifier; +/** * @privacy_screen_sw_state_property: Optional atomic property for the * connector to control the integrated privacy screen.
@@ -1788,6 +1796,9 @@ int drm_connector_attach_max_bpc_property(struct drm_connector *connector, int min, int max);void drm_connector_create_privacy_screen_properties (struct drm_connector *conn);void drm_connector_attach_privacy_screen_properties (struct drm_connector *conn); +void drm_connector_attach_privacy_screen_provider ( +struct drm_connector *connector,struct drm_privacy_screen *priv); +void drm_connector_update_privacy_screen (const struct drm_connector_state *connector_state);/** * struct drm_tile_group - Tile group metadata
Signature · 1 line
2.31.1
Re: [PATCH 05/10] drm/connector: Add a drm_connector privacy-screen helper functions (v2)
Quoted 89 lines · Hans de Goede
Add 2
drm_connectorprivacy-screen helper functions:1.
drm_connector_attach_privacy_screen_provider(), this function creates and attaches the standard privacy-screen properties and registers a generic notifier for generating sysfs-connector-status-events on external changes to the privacy-screen status.2.
drm_connector_update_privacy_screen(), update the privacy-screen'ssw_stateif the connector has a privacy-screen.Changes in v2:
- Do not updateconnector->state->privacy_screen_sw_stateon atomic-commits.
- Changedrm_connector_update_privacy_screen()to takedrm_connector_stateas argument instead of a fulldrm_atomic_state. This allows the helper to be called by drivers when they are enabling crtcs/encoders/connectors.Reviewed-by Emil Velikov <[email protected]>Reviewed-by Lyude Paul <[email protected]>Signed-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/drm_connector.c | 102 ++++++++++++++++++++++++++++++++ include/drm/drm_connector.h | 11 ++++ 2 files changed, 113 insertions(+)drivers/gpu/drm/drm_connector.c +28
-0@@ -28,6 +28,7 @@#include <drm/drm_print.h> #include <drm/drm_drv.h> #include <drm/drm_file.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_sysfs.h> #include <linux/uaccess.h> @@ -462,6 +463,11 @@ void drm_connector_cleanup(struct drm_connector *connector) DRM_CONNECTOR_REGISTERED))drm_connector_unregister (connector ); +if (connector->privacy_screen) { +drm_privacy_screen_put (connector->privacy_screen); + connector->privacy_screen =NULL ; + } +if (connector->tile_group) {drm_mode_put_tile_group (dev, connector->tile_group); connector->tile_group =NULL ;@@ -543,6 +549,10 @@ int drm_connector_register(struct drm_connector *connector)/* Let userspace know we have a new connector */ drm_sysfs_hotplug_event (connector->dev); +if (connector->privacy_screen) +drm_privacy_screen_register_notifier (connector->privacy_screen, + &connector->privacy_screen_notifier); +mutex_lock (&connector_list_lock);list_add_tail (&connector->global_connector_list_entry, &connector_list);mutex_unlock (&connector_list_lock);@@ -578,6 +588,11 @@ void drm_connector_unregister(struct drm_connector *connector)list_del_init (&connector->global_connector_list_entry);mutex_unlock (&connector_list_lock); +if (connector->privacy_screen) +drm_privacy_screen_unregister_notifier ( + connector->privacy_screen, + &connector->privacy_screen_notifier); +if (connector->funcs->early_unregister) connector->funcs->early_unregister (connector);@@ -2442,6 +2457,93 @@ drm_connector_attach_privacy_screen_properties(struct drm_connector *connector) }EXPORT_SYMBOL (drm_connector_attach_privacy_screen_properties); +static void drm_connector_update_privacy_screen_properties ( +struct drm_connector *connector,bool set_sw_state) +{ +enum drm_privacy_screen_status sw_state, hw_state; + +drm_privacy_screen_get_state (connector->privacy_screen, + &sw_state, &hw_state); + +if (set_sw_state) + connector->state->privacy_screen_sw_state = sw_state; +drm_object_property_set_value (&connector->base, + connector->privacy_screen_hw_state_property, hw_state); +}
drivers/gpu/drm/drm_connector.c drm_connector_attach_privacy_screen_properties(struct drm_connector *connector) · line 2482
Quoted 10 lines
drivers/gpu/drm/drm_connector.c +10
-0+ +static int drm_connector_privacy_screen_notifier ( +struct notifier_block *nb,unsigned long action,void *data) +{ +struct drm_connector *connector = + container_of(nb, struct drm_connector, privacy_screen_notifier); +struct drm_device *dev = connector->dev; + +drm_modeset_lock (&dev->mode_config.connection_mutex,NULL ); +drm_connector_update_privacy_screen_properties (connector, true);
This thing still seems pretty unatomic in essence. The standard rule is that non-immutable properties do not change under external influence. So if userspace is unaware of the change then it could just flip the state back to where it was previously. Ie. seems racy at least which could in theory lead to some funny ping pong in the state.
To go proper atomic route here the state of the prop should be fully cotrolled by userspace. Is that not possible for some reason?
Quoted 112 lines
drivers/gpu/drm/drm_connector.c +64
-0+drm_modeset_unlock (&dev->mode_config.connection_mutex); + +drm_sysfs_connector_status_event (connector, + connector->privacy_screen_sw_state_property); +drm_sysfs_connector_status_event (connector, + connector->privacy_screen_hw_state_property); + +return NOTIFY_DONE ; +} + +/** +* drm_connector_attach_privacy_screen_provider - attach a privacy-screen to +* the connector +* @connector: connector to attach the privacy-screen to +* @priv: drm_privacy_screen to attach +* +* Create and attach the standard privacy-screen properties and register +* a generic notifier for generating sysfs-connector-status-events +* on external changes to the privacy-screen status. +* This function takes ownership of the passed in drm_privacy_screen and will +* call drm_privacy_screen_put() on it when the connector is destroyed. +*/ +void drm_connector_attach_privacy_screen_provider ( +struct drm_connector *connector,struct drm_privacy_screen *priv) +{ + connector->privacy_screen = priv; + connector->privacy_screen_notifier.notifier_call = + drm_connector_privacy_screen_notifier; + +drm_connector_create_privacy_screen_properties (connector); +drm_connector_update_privacy_screen_properties (connector, true); +drm_connector_attach_privacy_screen_properties (connector); +} +EXPORT_SYMBOL (drm_connector_attach_privacy_screen_provider); + +/** +* drm_connector_update_privacy_screen - update connector's privacy-screen sw-state +* @connector_state: connector-state to update the privacy-screen for +* +* This function calls drm_privacy_screen_set_sw_state() on the connector's +* privacy-screen. +* +* If the connector has no privacy-screen, then this is a no-op. +*/ +void drm_connector_update_privacy_screen (const struct drm_connector_state *connector_state) +{ +struct drm_connector *connector = connector_state->connector; +int ret; + +if (!connector->privacy_screen) +return ; + + ret =drm_privacy_screen_set_sw_state (connector->privacy_screen, + connector_state->privacy_screen_sw_state); +if (ret) { +drm_err (connector->dev,"Error updating privacy-screen sw_state\n" ); +return ; + } + +/* The hw_state property value may have changed, update it. */ +drm_connector_update_privacy_screen_properties (connector, false); +} +EXPORT_SYMBOL (drm_connector_update_privacy_screen); +int drm_connector_set_obj_prop (struct drm_mode_object *obj,struct drm_property *property,uint64_t value)include/drm/drm_connector.h +11
-0@@ -27,6 +27,7 @@#include <linux/llist.h> #include <linux/ctype.h> #include <linux/hdmi.h> +#include <linux/notifier.h> #include <drm/drm_mode_object.h> #include <drm/drm_util.h> @@ -40,6 +41,7 @@ struct drm_encoder;struct drm_property ;struct drm_property_blob ;struct drm_printer ; +struct drm_privacy_screen ;struct edid ;struct i2c_adapter ;@@ -1451,6 +1453,12 @@ struct drm_connector {*/ struct drm_property *max_bpc_property; +/** @privacy_screen: drm_privacy_screen for this connector, or NULL. */ +struct drm_privacy_screen *privacy_screen; + +/** @privacy_screen_notifier: privacy-screen notifier_block */ +struct notifier_block privacy_screen_notifier; +/** * @privacy_screen_sw_state_property: Optional atomic property for the * connector to control the integrated privacy screen. @@ -1788,6 +1796,9 @@ int drm_connector_attach_max_bpc_property(struct drm_connector *connector, int min, int max);void drm_connector_create_privacy_screen_properties (struct drm_connector *conn);void drm_connector_attach_privacy_screen_properties (struct drm_connector *conn); +void drm_connector_attach_privacy_screen_provider ( +struct drm_connector *connector,struct drm_privacy_screen *priv); +void drm_connector_update_privacy_screen (const struct drm_connector_state *connector_state);/** * struct drm_tile_group - Tile group metadata Signature · 1 line
2.31.1
Signature · 2 lines
Ville Syrjälä Intel
Re: [PATCH 05/10] drm/connector: Add a drm_connector privacy-screen helper functions (v2)
Hi,
Quoted 108 lines · Ville Syrjälä
Quoted 89 lines · Hans de Goede
Add 2
drm_connectorprivacy-screen helper functions:1.
drm_connector_attach_privacy_screen_provider(), this function creates and attaches the standard privacy-screen properties and registers a generic notifier for generating sysfs-connector-status-events on external changes to the privacy-screen status.2.
drm_connector_update_privacy_screen(), update the privacy-screen'ssw_stateif the connector has a privacy-screen.Changes in v2:
- Do not updateconnector->state->privacy_screen_sw_stateon atomic-commits.
- Changedrm_connector_update_privacy_screen()to takedrm_connector_stateas argument instead of a fulldrm_atomic_state. This allows the helper to be called by drivers when they are enabling crtcs/encoders/connectors.Reviewed-by Emil Velikov <[email protected]>Reviewed-by Lyude Paul <[email protected]>Signed-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/drm_connector.c | 102 ++++++++++++++++++++++++++++++++ include/drm/drm_connector.h | 11 ++++ 2 files changed, 113 insertions(+)drivers/gpu/drm/drm_connector.c +28
-0@@ -28,6 +28,7 @@#include <drm/drm_print.h> #include <drm/drm_drv.h> #include <drm/drm_file.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_sysfs.h> #include <linux/uaccess.h> @@ -462,6 +463,11 @@ void drm_connector_cleanup(struct drm_connector *connector) DRM_CONNECTOR_REGISTERED))drm_connector_unregister (connector ); +if (connector->privacy_screen) { +drm_privacy_screen_put (connector->privacy_screen); + connector->privacy_screen =NULL ; + } +if (connector->tile_group) {drm_mode_put_tile_group (dev, connector->tile_group); connector->tile_group =NULL ;@@ -543,6 +549,10 @@ int drm_connector_register(struct drm_connector *connector)/* Let userspace know we have a new connector */ drm_sysfs_hotplug_event (connector->dev); +if (connector->privacy_screen) +drm_privacy_screen_register_notifier (connector->privacy_screen, + &connector->privacy_screen_notifier); +mutex_lock (&connector_list_lock);list_add_tail (&connector->global_connector_list_entry, &connector_list);mutex_unlock (&connector_list_lock);@@ -578,6 +588,11 @@ void drm_connector_unregister(struct drm_connector *connector)list_del_init (&connector->global_connector_list_entry);mutex_unlock (&connector_list_lock); +if (connector->privacy_screen) +drm_privacy_screen_unregister_notifier ( + connector->privacy_screen, + &connector->privacy_screen_notifier); +if (connector->funcs->early_unregister) connector->funcs->early_unregister (connector);@@ -2442,6 +2457,93 @@ drm_connector_attach_privacy_screen_properties(struct drm_connector *connector) }EXPORT_SYMBOL (drm_connector_attach_privacy_screen_properties); +static void drm_connector_update_privacy_screen_properties ( +struct drm_connector *connector,bool set_sw_state) +{ +enum drm_privacy_screen_status sw_state, hw_state; + +drm_privacy_screen_get_state (connector->privacy_screen, + &sw_state, &hw_state); + +if (set_sw_state) + connector->state->privacy_screen_sw_state = sw_state; +drm_object_property_set_value (&connector->base, + connector->privacy_screen_hw_state_property, hw_state); +}drivers/gpu/drm/drm_connector.c drm_connector_attach_privacy_screen_properties(struct drm_connector *connector) · line 2482
Quoted 10 lines
drivers/gpu/drm/drm_connector.c +10
-0+ +static int drm_connector_privacy_screen_notifier ( +struct notifier_block *nb,unsigned long action,void *data) +{ +struct drm_connector *connector = + container_of(nb, struct drm_connector, privacy_screen_notifier); +struct drm_device *dev = connector->dev; + +drm_modeset_lock (&dev->mode_config.connection_mutex,NULL ); +drm_connector_update_privacy_screen_properties (connector, true);This thing still seems pretty unatomic in essence. The standard rule is that non-immutable properties do not change under external influence. So if userspace is unaware of the change then it could just flip the state back to where it was previously. Ie. seems racy at least which could in theory lead to some funny ping pong in the state.
Quoted 2 lines
To go proper atomic route here the state of the prop should be fully cotrolled by userspace. Is that not possible for some reason?
No, the privacy-screen can be toggled on/off with a Fn + somekey hotkey combo on the laptop's keyboard, this is fully handled by the laptop's embedded-controller.
Note that when this happens we do send a udev change event with info on which connector the event is on as well which property is changed.
The only current userspace consumer of this listens to these udev events avoiding the ping/pong, also the doc for the property says:
"Note that the ability for the state to change outside of control of the DRM master process means that userspace must not cache the value of the sw-state. Caching the sw-state value and including it in later atomic commits may lead to overriding a state change done through e.g. a firmware handled hotkey. Therefor userspace must not include the privacy-screen sw-state in an atomic commit unless it wants to change its value."
This was the solution decided upon when this was all first discussed (after which there was a long wait for the userspace side to get ready). During the implementation of the userspace side no reasons were found to change this.
Regards,
Hans
Quoted 114 lines
Quoted 113 lines
drivers/gpu/drm/drm_connector.c +64
-0+drm_modeset_unlock (&dev->mode_config.connection_mutex); + +drm_sysfs_connector_status_event (connector, + connector->privacy_screen_sw_state_property); +drm_sysfs_connector_status_event (connector, + connector->privacy_screen_hw_state_property); + +return NOTIFY_DONE ; +} + +/** +* drm_connector_attach_privacy_screen_provider - attach a privacy-screen to +* the connector +* @connector: connector to attach the privacy-screen to +* @priv: drm_privacy_screen to attach +* +* Create and attach the standard privacy-screen properties and register +* a generic notifier for generating sysfs-connector-status-events +* on external changes to the privacy-screen status. +* This function takes ownership of the passed in drm_privacy_screen and will +* call drm_privacy_screen_put() on it when the connector is destroyed. +*/ +void drm_connector_attach_privacy_screen_provider ( +struct drm_connector *connector,struct drm_privacy_screen *priv) +{ + connector->privacy_screen = priv; + connector->privacy_screen_notifier.notifier_call = + drm_connector_privacy_screen_notifier; + +drm_connector_create_privacy_screen_properties (connector); +drm_connector_update_privacy_screen_properties (connector, true); +drm_connector_attach_privacy_screen_properties (connector); +} +EXPORT_SYMBOL (drm_connector_attach_privacy_screen_provider); + +/** +* drm_connector_update_privacy_screen - update connector's privacy-screen sw-state +* @connector_state: connector-state to update the privacy-screen for +* +* This function calls drm_privacy_screen_set_sw_state() on the connector's +* privacy-screen. +* +* If the connector has no privacy-screen, then this is a no-op. +*/ +void drm_connector_update_privacy_screen (const struct drm_connector_state *connector_state) +{ +struct drm_connector *connector = connector_state->connector; +int ret; + +if (!connector->privacy_screen) +return ; + + ret =drm_privacy_screen_set_sw_state (connector->privacy_screen, + connector_state->privacy_screen_sw_state); +if (ret) { +drm_err (connector->dev,"Error updating privacy-screen sw_state\n" ); +return ; + } + +/* The hw_state property value may have changed, update it. */ +drm_connector_update_privacy_screen_properties (connector, false); +} +EXPORT_SYMBOL (drm_connector_update_privacy_screen); +int drm_connector_set_obj_prop (struct drm_mode_object *obj,struct drm_property *property,uint64_t value)include/drm/drm_connector.h +11
-0@@ -27,6 +27,7 @@#include <linux/llist.h> #include <linux/ctype.h> #include <linux/hdmi.h> +#include <linux/notifier.h> #include <drm/drm_mode_object.h> #include <drm/drm_util.h> @@ -40,6 +41,7 @@ struct drm_encoder;struct drm_property ;struct drm_property_blob ;struct drm_printer ; +struct drm_privacy_screen ;struct edid ;struct i2c_adapter ;@@ -1451,6 +1453,12 @@ struct drm_connector {*/ struct drm_property *max_bpc_property; +/** @privacy_screen: drm_privacy_screen for this connector, or NULL. */ +struct drm_privacy_screen *privacy_screen; + +/** @privacy_screen_notifier: privacy-screen notifier_block */ +struct notifier_block privacy_screen_notifier; +/** * @privacy_screen_sw_state_property: Optional atomic property for the * connector to control the integrated privacy screen. @@ -1788,6 +1796,9 @@ int drm_connector_attach_max_bpc_property(struct drm_connector *connector, int min, int max);void drm_connector_create_privacy_screen_properties (struct drm_connector *conn);void drm_connector_attach_privacy_screen_properties (struct drm_connector *conn); +void drm_connector_attach_privacy_screen_provider ( +struct drm_connector *connector,struct drm_privacy_screen *priv); +void drm_connector_update_privacy_screen (const struct drm_connector_state *connector_state);/** * struct drm_tile_group - Tile group metadata Signature · 1 line
2.31.1
PATCH 6/10 platform/x86: thinkpad_acpi: Add hotkey_notify_extended_hotkey() helper
In reply to Hans de GoedeFactor the extended hotkey handling out of hotkey_notify_hotkey() and into a new hotkey_notify_extended_hotkey() helper.
This is a preparation patch for adding support the privacy-screen hotkey toggle (which needs some special handling, it should NOT send an evdev key-event to userspace...).
--- drivers/platform/x86/thinkpad_acpi.c | 30 ++++++++++++++++++---------- 1 file changed, 19 insertions(+), 11 deletions(-)
drivers/platform/x86/thinkpad_acpi.c +19 -11
@@ -3885,6 +3885,24 @@ static bool adaptive_keyboard_hotkey_notify_hotkey(unsigned int scancode) } } +static bool hotkey_notify_extended_hotkey (const u32 hkey) +{ +unsigned int scancode; + +/* Extended keycodes start at 0x300 and our offset into the map +* TP_ACPI_HOTKEYSCAN_EXTENDED_START. The calculated scancode +* will be positive, but might not be in the correct range. +*/ + scancode = (hkey &0xfff ) - (0x300 -TP_ACPI_HOTKEYSCAN_EXTENDED_START ); +if (scancode >=TP_ACPI_HOTKEYSCAN_EXTENDED_START && + scancode <TPACPI_HOTKEY_MAP_LEN ) { +tpacpi_input_send_key (scancode); +return true; + } + +return false; +} +static bool hotkey_notify_hotkey (const u32 hkey,bool *send_acpi_ev,bool *ignore_acpi_ev)
@@ -3919,17 +3937,7 @@ static bool hotkey_notify_hotkey(const u32 hkey,return adaptive_keyboard_hotkey_notify_hotkey (scancode);case 3 : -/* Extended keycodes start at 0x300 and our offset into the map -* TP_ACPI_HOTKEYSCAN_EXTENDED_START. The calculated scancode -* will be positive, but might not be in the correct range. -*/ - scancode -= (0x300 -TP_ACPI_HOTKEYSCAN_EXTENDED_START ); -if (scancode >=TP_ACPI_HOTKEYSCAN_EXTENDED_START && - scancode <TPACPI_HOTKEY_MAP_LEN ) { -tpacpi_input_send_key (scancode); -return true; - } -break ; +return hotkey_notify_extended_hotkey (hkey); }return false;
Signature · 1 line
2.31.1
PATCH 7/10 platform/x86: thinkpad_acpi: Get privacy-screen / lcdshadow ACPI handles only once
In reply to Hans de GoedeGet the privacy-screen / lcdshadow ACPI handles once and cache them, instead of retrieving them every time we need them.
--- drivers/platform/x86/thinkpad_acpi.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-)
drivers/platform/x86/thinkpad_acpi.c +8 -10
@@ -9819,19 +9819,15 @@ static struct ibm_struct battery_driver_data = {* LCD Shadow subdriver, for the Lenovo PrivacyGuard feature */ +static acpi_handle lcdshadow_get_handle; +static acpi_handle lcdshadow_set_handle;static int lcdshadow_state;static int lcdshadow_on_off (bool state) { -acpi_handle set_shadow_handle;int output; -if (ACPI_FAILURE (acpi_get_handle (hkey_handle,"SSSS" , &set_shadow_handle))) { -pr_warn ("Thinkpad ACPI has no %s interface.\n" ,"SSSS" ); -return -EIO ; - } - -if (!acpi_evalf (set_shadow_handle, &output,NULL ,"dd" , (int )state)) +if (!acpi_evalf (lcdshadow_set_handle, &output,NULL ,"dd" , (int )state))return -EIO ; lcdshadow_state = state;
@@ -9849,15 +9845,17 @@ static int lcdshadow_set(bool on)static int tpacpi_lcdshadow_init (struct ibm_init_struct *iibm) { -acpi_handle get_shadow_handle; +acpi_status status1, status2;int output; -if (ACPI_FAILURE (acpi_get_handle (hkey_handle,"GSSS" , &get_shadow_handle))) { + status1 =acpi_get_handle (hkey_handle,"GSSS" , &lcdshadow_get_handle); + status2 =acpi_get_handle (hkey_handle,"SSSS" , &lcdshadow_set_handle); +if (ACPI_FAILURE (status1) ||ACPI_FAILURE (status2)) { lcdshadow_state = -ENODEV ;return 0 ; } -if (!acpi_evalf (get_shadow_handle, &output,NULL ,"dd" ,0 )) { +if (!acpi_evalf (lcdshadow_get_handle, &output,NULL ,"dd" ,0 )) { lcdshadow_state = -EIO ;return -EIO ; }
Signature · 1 line
2.31.1
PATCH 8/10 platform/x86: thinkpad_acpi: Register a privacy-screen device
In reply to Hans de GoedeRegister a privacy-screen device on laptops with a privacy-screen, this exports the PrivacyGuard features to user-space using a standardized vendor-agnostic sysfs interface. Note the sysfs interface is read-only.
Registering a privacy-screen device with the new privacy-screen class code will also allow the GPU driver to get a handle to it and export the privacy-screen setting as a property on the DRM connector object for the LCD panel. This DRM connector property is a new standardized interface which all user-space code should use to query and control the privacy-screen.
---
Changes in v3:
- On receiving a TP_HKEY_EV_PRIVACYGUARD_TOGGLE event only call drm_privacy_screen_call_notifier_chain() if the privacy-screen state has actually changed
Changes in v2:
- Make the new lcdshadow_set_sw_state, lcdshadow_get_hw_state and lcdshadow_ops symbols static
- Update state and call drm_privacy_screen_call_notifier_chain() when the state is changed by pressing the Fn + D hotkey combo
--- drivers/platform/x86/Kconfig | 2 + drivers/platform/x86/thinkpad_acpi.c | 97 +++++++++++++++++++++------- 2 files changed, 74 insertions(+), 25 deletions(-)
drivers/platform/x86/Kconfig +2 -0
@@ -501,7 +501,9 @@ config THINKPAD_ACPI depends on ACPI_VIDEO || ACPI_VIDEO = n depends on BACKLIGHT_CLASS_DEVICE depends on I2C + depends on DRM select ACPI_PLATFORM_PROFILE + select DRM_PRIVACY_SCREEN select HWMON select NVRAM select NEW_LEDS
drivers/platform/x86/thinkpad_acpi.c +72 -25
180 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 9/10 drm/i915: Add intel_modeset_probe_defer() helper
In reply to Hans de GoedeThe upcoming privacy-screen support adds another check for deferring probe till some other drivers have bound first.
Factor out the current vga_switcheroo_client_probe_defer() check into an intel_modeset_probe_defer() helper, so that further probe-deferral checks can be added there.
--- drivers/gpu/drm/i915/display/intel_display.c | 13 +++++++++++++ drivers/gpu/drm/i915/display/intel_display.h | 1 + drivers/gpu/drm/i915/i915_pci.c | 9 ++------- 3 files changed, 16 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +13 -0
@@ -32,6 +32,7 @@#include <linux/module.h> #include <linux/dma-resv.h> #include <linux/slab.h> +#include <linux/vga_switcheroo.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h>
@@ -12690,6 +12691,18 @@ void intel_modeset_driver_remove_nogem(struct drm_i915_private *i915)intel_bios_driver_remove (i915); } +bool intel_modeset_probe_defer (struct pci_dev *pdev) +{ +/* +* apple-gmux is needed on dual GPU MacBook Pro +* to probe the panel if we're the inactive GPU. +*/ +if (vga_switcheroo_client_probe_defer (pdev)) +return true; + +return false; +} +void intel_display_driver_register (struct drm_i915_private *i915) {if (!HAS_DISPLAY (i915))
drivers/gpu/drm/i915/display/intel_display.h +1 -0
@@ -633,6 +633,7 @@ void intel_display_driver_register(struct drm_i915_private *i915);void intel_display_driver_unregister (struct drm_i915_private *i915);/* modesetting */ +bool intel_modeset_probe_defer (struct pci_dev *pdev);void intel_modeset_init_hw (struct drm_i915_private *i915);int intel_modeset_init_noirq (struct drm_i915_private *i915);int intel_modeset_init_nogem (struct drm_i915_private *i915);
drivers/gpu/drm/i915/i915_pci.c +2 -7
@@ -22,8 +22,6 @@* */ -#include <linux/vga_switcheroo.h> -#include <drm/drm_drv.h> #include <drm/i915_pciids.h>
@@ -1187,11 +1185,8 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (PCI_FUNC (pdev->devfn))return -ENODEV ; -/* -* apple-gmux is needed on dual GPU MacBook Pro -* to probe the panel if we're the inactive GPU. -*/ -if (vga_switcheroo_client_probe_defer (pdev)) +/* Detect if we need to wait for other drivers early on */ +if (intel_modeset_probe_defer (pdev))return -EPROBE_DEFER ; err =i915_driver_probe (pdev, ent);
Signature · 1 line
2.31.1
Re: [PATCH 09/10] drm/i915: Add intel_modeset_probe_defer() helper
Quoted 31 lines · Hans de Goede
The upcoming privacy-screen support adds another check for deferring probe till some other drivers have bound first.
Factor out the current
vga_switcheroo_client_probe_defer()check into anintel_modeset_probe_defer()helper, so that further probe-deferral checks can be added there.Signed-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 13 +++++++++++++ drivers/gpu/drm/i915/display/intel_display.h | 1 + drivers/gpu/drm/i915/i915_pci.c | 9 ++------- 3 files changed, 16 insertions(+), 7 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +2
-0@@ -32,6 +32,7 @@#include <linux/module.h> #include <linux/dma-resv.h> #include <linux/slab.h> +#include <linux/vga_switcheroo.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> @@ -12690,6 +12691,18 @@ void intel_modeset_driver_remove_nogem(struct drm_i915_private *i915)intel_bios_driver_remove (i915); } +bool intel_modeset_probe_defer (struct pci_dev *pdev)
drivers/gpu/drm/i915/display/intel_display.c void intel_modeset_driver_remove_nogem(struct drm_i915_private *i915) · line 12704
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_display.c +10
-0+{ +/* +* apple-gmux is needed on dual GPU MacBook Pro +* to probe the panel if we're the inactive GPU. +*/ +if (vga_switcheroo_client_probe_defer (pdev)) +return true; + +return false; +}
Seems fine. Presumably Jani isn't too grumpy about it :P
Quoted 45 lines
drivers/gpu/drm/i915/display/intel_display.c +1
-0+void intel_display_driver_register (struct drm_i915_private *i915) {if (!HAS_DISPLAY (i915))drivers/gpu/drm/i915/display/intel_display.h +1
-0@@ -633,6 +633,7 @@ void intel_display_driver_register(struct drm_i915_private *i915);void intel_display_driver_unregister (struct drm_i915_private *i915);/* modesetting */ +bool intel_modeset_probe_defer (struct pci_dev *pdev);void intel_modeset_init_hw (struct drm_i915_private *i915);int intel_modeset_init_noirq (struct drm_i915_private *i915);int intel_modeset_init_nogem (struct drm_i915_private *i915);drivers/gpu/drm/i915/i915_pci.c +2
-7@@ -22,8 +22,6 @@* */ -#include <linux/vga_switcheroo.h> -#include <drm/drm_drv.h> #include <drm/i915_pciids.h> @@ -1187,11 +1185,8 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (PCI_FUNC (pdev->devfn))return -ENODEV ; -/* -* apple-gmux is needed on dual GPU MacBook Pro -* to probe the panel if we're the inactive GPU. -*/ -if (vga_switcheroo_client_probe_defer (pdev)) +/* Detect if we need to wait for other drivers early on */ +if (intel_modeset_probe_defer (pdev))return -EPROBE_DEFER ; err =i915_driver_probe (pdev, ent);Signature · 1 line
2.31.1
Signature · 2 lines
Ville Syrjälä Intel
PATCH 10/10 drm/i915: Add privacy-screen support (v2)
In reply to Hans de GoedeAdd support for eDP panels with a built-in privacy screen using the new drm_privacy_screen class.
Changes in v2:
- Call drm_connector_update_privacy_screen() from intel_enable_ddi_dp() / intel_ddi_update_pipe_dp() instead of adding a for_each_new_connector_in_state() loop to intel_atomic_commit_tail()
- Move the probe-deferral check to the intel_modeset_probe_defer() helper
--- drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++ drivers/gpu/drm/i915/display/intel_display.c | 10 ++++++++++ drivers/gpu/drm/i915/display/intel_dp.c | 10 ++++++++++ 4 files changed, 24 insertions(+)
drivers/gpu/drm/i915/display/intel_atomic.c +1 -0
@@ -139,6 +139,7 @@ int intel_digital_connector_atomic_check(struct drm_connector *conn, new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || new_conn_state->base.content_type != old_conn_state->base.content_type || new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || + new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state || !drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) crtc_state->mode_changed = true;
drivers/gpu/drm/i915/display/intel_ddi.c +3 -0
@@ -25,6 +25,7 @@* */ +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_scdc_helper.h> #include "i915_drv.h"
@@ -3022,6 +3023,7 @@ static void intel_enable_ddi_dp(struct intel_atomic_state *state,if (port ==PORT_A &&DISPLAY_VER (dev_priv) <9 )intel_dp_stop_link_train (intel_dp, crtc_state); +drm_connector_update_privacy_screen (conn_state);intel_edp_backlight_on (crtc_state, conn_state);if (!dig_port->lspcon.active || dig_port->dp.has_hdmi_sink)
@@ -3247,6 +3249,7 @@ static void intel_ddi_update_pipe_dp(struct intel_atomic_state *state,intel_drrs_update (intel_dp, crtc_state);intel_backlight_update (state, encoder, crtc_state, conn_state); +drm_connector_update_privacy_screen (conn_state); } void intel_ddi_update_pipe(struct intel_atomic_state *state,
drivers/gpu/drm/i915/display/intel_display.c +10 -0
@@ -42,6 +42,7 @@#include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include <drm/drm_plane_helper.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include <drm/drm_rect.h> #include <drm/drm_drv.h>
@@ -12693,6 +12694,8 @@ void intel_modeset_driver_remove_nogem(struct drm_i915_private *i915)bool intel_modeset_probe_defer (struct pci_dev *pdev) { +struct drm_privacy_screen *privacy_screen; +/* * apple-gmux is needed on dual GPU MacBook Pro * to probe the panel if we're the inactive GPU.
@@ -12700,6 +12703,13 @@ bool intel_modeset_probe_defer(struct pci_dev *pdev)if (vga_switcheroo_client_probe_defer (pdev))return true; +/* If the LCD panel has a privacy-screen, wait for it */ + privacy_screen =drm_privacy_screen_get (&pdev->dev,NULL ); +if (IS_ERR (privacy_screen) &&PTR_ERR (privacy_screen) == -EPROBE_DEFER ) +return true; + +drm_privacy_screen_put (privacy_screen); +return false; }
drivers/gpu/drm/i915/display/intel_dp.c +10 -0
@@ -37,6 +37,7 @@#include <drm/drm_crtc.h> #include <drm/drm_dp_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include "g4x_dp.h"
@@ -4808,6 +4809,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,struct drm_connector *connector = &intel_connector->base;struct drm_display_mode *fixed_mode =NULL ;struct drm_display_mode *downclock_mode =NULL ; +struct drm_privacy_screen *privacy_screen;bool has_dpcd;enum pipe pipe =INVALID_PIPE ;struct edid *edid;
@@ -4902,6 +4904,14 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp, fixed_mode->hdisplay, fixed_mode->vdisplay); } + privacy_screen =drm_privacy_screen_get (dev->dev,NULL ); +if (!IS_ERR (privacy_screen)) { +drm_connector_attach_privacy_screen_provider (connector, + privacy_screen); + }else if (PTR_ERR (privacy_screen) != -ENODEV ) { +drm_warn (&dev_priv->drm,"Error getting privacy-screen\n" ); + } +return true; out_vdd_off:
Signature · 1 line
2.31.1
Re: [PATCH 10/10] drm/i915: Add privacy-screen support (v2)
Quoted 113 lines · Hans de Goede
Add support for eDP panels with a built-in privacy screen using the new
drm_privacy_screenclass.Changes in v2:
- Calldrm_connector_update_privacy_screen()fromintel_enable_ddi_dp()/intel_ddi_update_pipe_dp()instead of adding afor_each_new_connector_in_state()loop tointel_atomic_commit_tail()
- Move the probe-deferral check to theintel_modeset_probe_defer()helperSigned-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++ drivers/gpu/drm/i915/display/intel_display.c | 10 ++++++++++ drivers/gpu/drm/i915/display/intel_dp.c | 10 ++++++++++ 4 files changed, 24 insertions(+)drivers/gpu/drm/i915/display/intel_atomic.c +1
-0@@ -139,6 +139,7 @@ int intel_digital_connector_atomic_check(struct drm_connector *conn, new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || new_conn_state->base.content_type != old_conn_state->base.content_type || new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || + new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state || !drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) crtc_state->mode_changed = true;drivers/gpu/drm/i915/display/intel_ddi.c +3
-0@@ -25,6 +25,7 @@* */ +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_scdc_helper.h> #include "i915_drv.h" @@ -3022,6 +3023,7 @@ static void intel_enable_ddi_dp(struct intel_atomic_state *state,if (port ==PORT_A &&DISPLAY_VER (dev_priv) <9 )intel_dp_stop_link_train (intel_dp, crtc_state); +drm_connector_update_privacy_screen (conn_state);intel_edp_backlight_on (crtc_state, conn_state);if (!dig_port->lspcon.active || dig_port->dp.has_hdmi_sink)@@ -3247,6 +3249,7 @@ static void intel_ddi_update_pipe_dp(struct intel_atomic_state *state,intel_drrs_update (intel_dp, crtc_state);intel_backlight_update (state, encoder, crtc_state, conn_state); +drm_connector_update_privacy_screen (conn_state); } void intel_ddi_update_pipe(struct intel_atomic_state *state,drivers/gpu/drm/i915/display/intel_display.c +10
-0@@ -42,6 +42,7 @@#include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include <drm/drm_plane_helper.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include <drm/drm_rect.h> #include <drm/drm_drv.h> @@ -12693,6 +12694,8 @@ void intel_modeset_driver_remove_nogem(struct drm_i915_private *i915)bool intel_modeset_probe_defer (struct pci_dev *pdev) { +struct drm_privacy_screen *privacy_screen; +/* * apple-gmux is needed on dual GPU MacBook Pro * to probe the panel if we're the inactive GPU. @@ -12700,6 +12703,13 @@ bool intel_modeset_probe_defer(struct pci_dev *pdev)if (vga_switcheroo_client_probe_defer (pdev))return true; +/* If the LCD panel has a privacy-screen, wait for it */ + privacy_screen =drm_privacy_screen_get (&pdev->dev,NULL ); +if (IS_ERR (privacy_screen) &&PTR_ERR (privacy_screen) == -EPROBE_DEFER ) +return true; + +drm_privacy_screen_put (privacy_screen); +return false; }drivers/gpu/drm/i915/display/intel_dp.c +2
-0@@ -37,6 +37,7 @@#include <drm/drm_crtc.h> #include <drm/drm_dp_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include "g4x_dp.h" @@ -4808,6 +4809,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,struct drm_connector *connector = &intel_connector->base;struct drm_display_mode *fixed_mode =NULL ;struct drm_display_mode *downclock_mode =NULL ; +struct drm_privacy_screen *privacy_screen;bool has_dpcd;enum pipe pipe =INVALID_PIPE ;struct edid *edid;
drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp *intel_dp, · line 4913
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +7
-0@@ -4902,6 +4904,14 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp, fixed_mode->hdisplay, fixed_mode->vdisplay); } + privacy_screen =drm_privacy_screen_get (dev->dev,NULL ); +if (!IS_ERR (privacy_screen)) { +drm_connector_attach_privacy_screen_provider (connector, + privacy_screen); + }else if (PTR_ERR (privacy_screen) != -ENODEV ) { +drm_warn (&dev_priv->drm,"Error getting privacy-screen\n" ); + }
I'm thinking this should go into intel_ddi_init_dp_connector() on account of only the ddi codepaths having the drm_connector_update_privacy_screen() calls.
Otherwise seems ok.
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_dp.c +1
-0+return true; out_vdd_off:Signature · 1 line
2.31.1
Signature · 2 lines
Ville Syrjälä Intel
Re: [PATCH 10/10] drm/i915: Add privacy-screen support (v2)
Hi,
Quoted 117 lines · Ville Syrjälä
Quoted 116 lines · Hans de Goede
Add support for eDP panels with a built-in privacy screen using the new
drm_privacy_screenclass.Changes in v2:
- Calldrm_connector_update_privacy_screen()fromintel_enable_ddi_dp()/intel_ddi_update_pipe_dp()instead of adding afor_each_new_connector_in_state()loop tointel_atomic_commit_tail()
- Move the probe-deferral check to theintel_modeset_probe_defer()helperSigned-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++ drivers/gpu/drm/i915/display/intel_display.c | 10 ++++++++++ drivers/gpu/drm/i915/display/intel_dp.c | 10 ++++++++++ 4 files changed, 24 insertions(+)drivers/gpu/drm/i915/display/intel_atomic.c +1
-0@@ -139,6 +139,7 @@ int intel_digital_connector_atomic_check(struct drm_connector *conn, new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || new_conn_state->base.content_type != old_conn_state->base.content_type || new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || + new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state || !drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) crtc_state->mode_changed = true;drivers/gpu/drm/i915/display/intel_ddi.c +3
-0@@ -25,6 +25,7 @@* */ +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_scdc_helper.h> #include "i915_drv.h" @@ -3022,6 +3023,7 @@ static void intel_enable_ddi_dp(struct intel_atomic_state *state,if (port ==PORT_A &&DISPLAY_VER (dev_priv) <9 )intel_dp_stop_link_train (intel_dp, crtc_state); +drm_connector_update_privacy_screen (conn_state);intel_edp_backlight_on (crtc_state, conn_state);if (!dig_port->lspcon.active || dig_port->dp.has_hdmi_sink)@@ -3247,6 +3249,7 @@ static void intel_ddi_update_pipe_dp(struct intel_atomic_state *state,intel_drrs_update (intel_dp, crtc_state);intel_backlight_update (state, encoder, crtc_state, conn_state); +drm_connector_update_privacy_screen (conn_state); } void intel_ddi_update_pipe(struct intel_atomic_state *state,drivers/gpu/drm/i915/display/intel_display.c +10
-0@@ -42,6 +42,7 @@#include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include <drm/drm_plane_helper.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include <drm/drm_rect.h> #include <drm/drm_drv.h> @@ -12693,6 +12694,8 @@ void intel_modeset_driver_remove_nogem(struct drm_i915_private *i915)bool intel_modeset_probe_defer (struct pci_dev *pdev) { +struct drm_privacy_screen *privacy_screen; +/* * apple-gmux is needed on dual GPU MacBook Pro * to probe the panel if we're the inactive GPU. @@ -12700,6 +12703,13 @@ bool intel_modeset_probe_defer(struct pci_dev *pdev)if (vga_switcheroo_client_probe_defer (pdev))return true; +/* If the LCD panel has a privacy-screen, wait for it */ + privacy_screen =drm_privacy_screen_get (&pdev->dev,NULL ); +if (IS_ERR (privacy_screen) &&PTR_ERR (privacy_screen) == -EPROBE_DEFER ) +return true; + +drm_privacy_screen_put (privacy_screen); +return false; }drivers/gpu/drm/i915/display/intel_dp.c +2
-0@@ -37,6 +37,7 @@#include <drm/drm_crtc.h> #include <drm/drm_dp_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include "g4x_dp.h" @@ -4808,6 +4809,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,struct drm_connector *connector = &intel_connector->base;struct drm_display_mode *fixed_mode =NULL ;struct drm_display_mode *downclock_mode =NULL ; +struct drm_privacy_screen *privacy_screen;bool has_dpcd;enum pipe pipe =INVALID_PIPE ;struct edid *edid;@@ -4902,6 +4904,14 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp, fixed_mode->hdisplay, fixed_mode->vdisplay); }
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp *intel_dp, · line 4913
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_dp.c +7
-0+ privacy_screen =drm_privacy_screen_get (dev->dev,NULL ); +if (!IS_ERR (privacy_screen)) { +drm_connector_attach_privacy_screen_provider (connector, + privacy_screen); + }else if (PTR_ERR (privacy_screen) != -ENODEV ) { +drm_warn (&dev_priv->drm,"Error getting privacy-screen\n" ); + }I'm thinking this should go into
intel_ddi_init_dp_connector()on account of only the ddi codepaths having thedrm_connector_update_privacy_screen()calls.
This should only be done in case of intel_dp_is_edp(intel_dp) returning true. We don't have a mapping which connector has the privacy screen (hence the NULL argument as second parameter to drm_privacy_screen_get()), so if there are multiple DP connectors we want this to only happen on the eDP one.
Yes this assumes that devices with a builtin privacy-screen have only one eDP connector. For now this holds true, if this becomes not true in the future then that is something to figure out at that point in time (with a lot of luck the privacy-screen will be controlled through DP by then and not through some random ACPI interface).
So I traced the call-graph and I see that we can also end up in intel_edp_init_connector() from g4x_dp_init(), which I assume is your main reason for requesting this change. But unless someone retro-fits an electronic privacy-screen to the old hw supported by g4x_dp_init() then drm_privacy_screen_get() will always return -ENODEV, so in that case this is a no-op.
Quoted 1 line
Otherwise seems ok.
Thanks, note if you still want me to move this please let me know, this does mean adding a intel_dp_is_edp() check to intel_ddi.c which so far is free of these kinda checks.
Regards,
Hans
Re: [PATCH 10/10] drm/i915: Add privacy-screen support (v2)
Quoted 151 lines · Hans de Goede
Hi,
Quoted 117 lines · Ville Syrjälä
Quoted 116 lines · Hans de Goede
Add support for eDP panels with a built-in privacy screen using the new
drm_privacy_screenclass.Changes in v2:
- Calldrm_connector_update_privacy_screen()fromintel_enable_ddi_dp()/intel_ddi_update_pipe_dp()instead of adding afor_each_new_connector_in_state()loop tointel_atomic_commit_tail()
- Move the probe-deferral check to theintel_modeset_probe_defer()helperSigned-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/i915/display/intel_atomic.c | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++ drivers/gpu/drm/i915/display/intel_display.c | 10 ++++++++++ drivers/gpu/drm/i915/display/intel_dp.c | 10 ++++++++++ 4 files changed, 24 insertions(+)drivers/gpu/drm/i915/display/intel_atomic.c +1
-0@@ -139,6 +139,7 @@ int intel_digital_connector_atomic_check(struct drm_connector *conn, new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || new_conn_state->base.content_type != old_conn_state->base.content_type || new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || + new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state || !drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) crtc_state->mode_changed = true;drivers/gpu/drm/i915/display/intel_ddi.c +3
-0@@ -25,6 +25,7 @@* */ +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_scdc_helper.h> #include "i915_drv.h" @@ -3022,6 +3023,7 @@ static void intel_enable_ddi_dp(struct intel_atomic_state *state,if (port ==PORT_A &&DISPLAY_VER (dev_priv) <9 )intel_dp_stop_link_train (intel_dp, crtc_state); +drm_connector_update_privacy_screen (conn_state);intel_edp_backlight_on (crtc_state, conn_state);if (!dig_port->lspcon.active || dig_port->dp.has_hdmi_sink)@@ -3247,6 +3249,7 @@ static void intel_ddi_update_pipe_dp(struct intel_atomic_state *state,intel_drrs_update (intel_dp, crtc_state);intel_backlight_update (state, encoder, crtc_state, conn_state); +drm_connector_update_privacy_screen (conn_state); } void intel_ddi_update_pipe(struct intel_atomic_state *state,drivers/gpu/drm/i915/display/intel_display.c +10
-0@@ -42,6 +42,7 @@#include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include <drm/drm_plane_helper.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include <drm/drm_rect.h> #include <drm/drm_drv.h> @@ -12693,6 +12694,8 @@ void intel_modeset_driver_remove_nogem(struct drm_i915_private *i915)bool intel_modeset_probe_defer (struct pci_dev *pdev) { +struct drm_privacy_screen *privacy_screen; +/* * apple-gmux is needed on dual GPU MacBook Pro * to probe the panel if we're the inactive GPU. @@ -12700,6 +12703,13 @@ bool intel_modeset_probe_defer(struct pci_dev *pdev)if (vga_switcheroo_client_probe_defer (pdev))return true; +/* If the LCD panel has a privacy-screen, wait for it */ + privacy_screen =drm_privacy_screen_get (&pdev->dev,NULL ); +if (IS_ERR (privacy_screen) &&PTR_ERR (privacy_screen) == -EPROBE_DEFER ) +return true; + +drm_privacy_screen_put (privacy_screen); +return false; }drivers/gpu/drm/i915/display/intel_dp.c +2
-0@@ -37,6 +37,7 @@#include <drm/drm_crtc.h> #include <drm/drm_dp_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/drm_probe_helper.h> #include "g4x_dp.h" @@ -4808,6 +4809,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,struct drm_connector *connector = &intel_connector->base;struct drm_display_mode *fixed_mode =NULL ;struct drm_display_mode *downclock_mode =NULL ; +struct drm_privacy_screen *privacy_screen;bool has_dpcd;enum pipe pipe =INVALID_PIPE ;struct edid *edid;@@ -4902,6 +4904,14 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp, fixed_mode->hdisplay, fixed_mode->vdisplay); }Quoted 11 lines
drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp *intel_dp, · line 4913
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_dp.c +7
-0+ privacy_screen =drm_privacy_screen_get (dev->dev,NULL ); +if (!IS_ERR (privacy_screen)) { +drm_connector_attach_privacy_screen_provider (connector, + privacy_screen); + }else if (PTR_ERR (privacy_screen) != -ENODEV ) { +drm_warn (&dev_priv->drm,"Error getting privacy-screen\n" ); + }I'm thinking this should go into
intel_ddi_init_dp_connector()on account of only the ddi codepaths having thedrm_connector_update_privacy_screen()calls.This should only be done in case of
intel_dp_is_edp(intel_dp)returning true. We don't have a mapping which connector has the privacy screen (hence the NULL argument as second parameter todrm_privacy_screen_get()), so if there are multiple DP connectors we want this to only happen on the eDP one.Yes this assumes that devices with a builtin privacy-screen have only one eDP connector. For now this holds true, if this becomes not true in the future then that is something to figure out at that point in time (with a lot of luck the privacy-screen will be controlled through DP by then and not through some random ACPI interface).
So I traced the call-graph and I see that we can also end up in
intel_edp_init_connector()fromg4x_dp_init(), which I assume is your main reason for requesting this change. But unless someone retro-fits an electronic privacy-screen to the old hw supported byg4x_dp_init()thendrm_privacy_screen_get()will always return-ENODEV, so in that case this is a no-op.
Quoted 5 lines
Quoted 1 line
Otherwise seems ok.
Thanks, note if you still want me to move this please let me know, this does mean adding a
intel_dp_is_edp()check tointel_ddi.cwhich so far is free of these kinda checks.
Yeah I think less confusing there with a check. And I'd probably check the connector type rather than the encoder type. Otherwise I suspect a year from now I'll end up wondering what happened to the rest of the related code when I see the thing in the common init function.
Signature · 2 lines
Ville Syrjälä Intel
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Add privacy-screen class and connector properties (rev5)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev5)
URL : https://patchwork.freedesktop.org/series/79259/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip fa9e8ab5d112 drm/connector: Add support for privacy-screen properties (v4) -:151: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #151: FILE: drivers/gpu/drm/drm_connector.c:2408: + drm_property_create_enum(connector->dev, DRM_MODE_PROP_ENUM, + "privacy-screen sw-state",
-:156: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #156: FILE: drivers/gpu/drm/drm_connector.c:2413:
+ drm_property_create_enum(connector->dev,
+ DRM_MODE_PROP_IMMUTABLE | DRM_MODE_PROP_ENUM,
total: 0 errors, 0 warnings, 2 checks, 205 lines checked406f587b7cf9 drm: Add privacy-screen class (v4)
-:136: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #136:
new file mode 100644
-:173: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects? #173: FILE: drivers/gpu/drm/drm_privacy_screen.c:33:
+#define to_drm_privacy_screen(dev) \
+ container_of(dev, struct drm_privacy_screen, dev)
-:221: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #221: FILE: drivers/gpu/drm/drm_privacy_screen.c:81:
+static struct drm_privacy_screen *drm_privacy_screen_get_by_name(
-:424: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #424: FILE: drivers/gpu/drm/drm_privacy_screen.c:284:
+}
+/*
-:486: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #486: FILE: drivers/gpu/drm/drm_privacy_screen.c:346:
+struct drm_privacy_screen *drm_privacy_screen_register(
-:582: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #582: FILE: include/drm/drm_privacy_screen_consumer.h:33:
+}
+static inline void drm_privacy_screen_put(struct drm_privacy_screen *priv)
-:585: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #585: FILE: include/drm/drm_privacy_screen_consumer.h:36:
+}
+static inline int drm_privacy_screen_set_sw_state(struct drm_privacy_screen *priv,
-:590: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #590: FILE: include/drm/drm_privacy_screen_consumer.h:41:
+}
+static inline void drm_privacy_screen_get_state(struct drm_privacy_screen *priv,
-:681: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #681: FILE: include/drm/drm_privacy_screen_driver.h:76:
+struct drm_privacy_screen *drm_privacy_screen_register(
-:728: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #728: FILE: include/drm/drm_privacy_screen_machine.h:37:
+}
+static inline void drm_privacy_screen_lookup_exit(void)
total: 0 errors, 1 warnings, 9 checks, 642 lines checked4410bc650ef6 drm/privacy-screen: Add X86 specific arch init code
-:31: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #31:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 110 lines checked54f2a33ce52e drm/privacy-screen: Add notifier support (v2)
-:126: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #126: FILE: include/drm/drm_privacy_screen_consumer.h:53:
}
+static inline int drm_privacy_screen_register_notifier(struct drm_privacy_screen *priv,
-:131: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #131: FILE: include/drm/drm_privacy_screen_consumer.h:58:
+}
+static inline int drm_privacy_screen_unregister_notifier(struct drm_privacy_screen *priv,
total: 0 errors, 0 warnings, 2 checks, 120 lines checked0000448b0758 drm/connector: Add a drm_connector privacy-screen helper functions (v2) -:58: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #58: FILE: drivers/gpu/drm/drm_connector.c:554:
+ drm_privacy_screen_register_notifier(connector->privacy_screen,
+ &connector->privacy_screen_notifier);
-:68: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #68: FILE: drivers/gpu/drm/drm_connector.c:592:
+ drm_privacy_screen_unregister_notifier(
-:79: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #79: FILE: drivers/gpu/drm/drm_connector.c:2460:
+static void drm_connector_update_privacy_screen_properties(
-:90: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #90: FILE: drivers/gpu/drm/drm_connector.c:2471:
+ drm_object_property_set_value(&connector->base,
+ connector->privacy_screen_hw_state_property, hw_state);
-:93: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #93: FILE: drivers/gpu/drm/drm_connector.c:2474:
+static int drm_connector_privacy_screen_notifier(
-:105: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #105: FILE: drivers/gpu/drm/drm_connector.c:2486:
+ drm_sysfs_connector_status_event(connector,
+ connector->privacy_screen_sw_state_property);
-:107: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #107: FILE: drivers/gpu/drm/drm_connector.c:2488:
+ drm_sysfs_connector_status_event(connector,
+ connector->privacy_screen_hw_state_property);
-:124: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #124: FILE: drivers/gpu/drm/drm_connector.c:2505:
+void drm_connector_attach_privacy_screen_provider(
-:206: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #206: FILE: include/drm/drm_connector.h:1799:
+void drm_connector_attach_privacy_screen_provider(
total: 0 errors, 0 warnings, 9 checks, 167 lines checkedd630516dccc9 platform/x86: thinkpad_acpi: Add hotkey_notify_extended_hotkey() helper 59dfe41d6ffa platform/x86: thinkpad_acpi: Get privacy-screen / lcdshadow ACPI handles only once af1e0d4c0398 platform/x86: thinkpad_acpi: Register a privacy-screen device
-:91: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#91: FILE: drivers/platform/x86/thinkpad_acpi.c:9845:
+ priv->hw_state = priv->sw_state = state;
-:108: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided #108: FILE: drivers/platform/x86/thinkpad_acpi.c:9856:
+ priv->hw_state = priv->sw_state = output & 0x1;
total: 0 errors, 0 warnings, 2 checks, 189 lines checked dd7b27aeeb2f drm/i915: Add intel_modeset_probe_defer() helper 685c32580e4c drm/i915: Add privacy-screen support (v2) -:25: WARNING:LONG_LINE: line length of 107 exceeds 100 columns #25: FILE: drivers/gpu/drm/i915/display/intel_atomic.c:142:
+ new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state ||
total: 0 errors, 1 warnings, 0 checks, 84 lines checked
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm: Add privacy-screen class and connector properties (rev5)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev5)
URL : https://patchwork.freedesktop.org/series/79259/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0a3 /* 2.0 */ + #def
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm: Add privacy-screen class and connector properties (rev5)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev5)
URL : https://patchwork.freedesktop.org/series/79259/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10680 -> Patchwork_21229
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/index.html
Known issues
------------
Here are the changes found in Patchwork_21229 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@query-info:
- fi-tgl-1115g4: NOTRUN -> [SKIP][1] ([fdo#109315])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@amdgpu/[email protected]
- fi-kbl-soraka: NOTRUN -> [SKIP][2] ([fdo#109271])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-kbl-soraka/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([fdo#109315] / [i915#2575]) +16 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@amdgpu/[email protected]
* igt@gem_exec_suspend@basic-s0:
- fi-tgl-1115g4: NOTRUN -> [FAIL][4] ([i915#1888])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-kbl-r: [PASS][5] -> [INCOMPLETE][6] ([i915#155] / [i915#4173] / [i915#4221])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/fi-kbl-r/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-kbl-r/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][7] ([i915#2190])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][8] ([i915#1155])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-tgl-1115g4: NOTRUN -> [SKIP][9] ([fdo#111827]) +8 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@[email protected]
* igt@kms_chamelium@hdmi-crc-fast:
- fi-bsw-n3050: NOTRUN -> [SKIP][10] ([fdo#109271] / [fdo#111827]) +8 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-bsw-n3050/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][11] ([i915#4103]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][12] ([fdo#109285])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@[email protected]
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
- fi-bsw-n3050: NOTRUN -> [SKIP][13] ([fdo#109271]) +41 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-bsw-n3050/igt@[email protected]
* igt@kms_psr@primary_mmap_gtt:
- fi-tgl-1115g4: NOTRUN -> [SKIP][14] ([i915#1072]) +3 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@kms_psr@primary_mmap_gtt.html
* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][15] ([i915#3301])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-tgl-1115g4/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-bsw-n3050: [INCOMPLETE][16] ([i915#2369] / [i915#3159]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/fi-bsw-n3050/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-bsw-n3050/igt@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank@b-edp1:
- fi-bsw-kefka: [FAIL][18] ([i915#2122]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/fi-bsw-kefka/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/fi-bsw-kefka/igt@kms_flip@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2369]: https://gitlab.freedesktop.org/drm/intel/issues/2369
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#3159]: https://gitlab.freedesktop.org/drm/intel/issues/3159
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4173]: https://gitlab.freedesktop.org/drm/intel/issues/4173
[i915#4221]: https://gitlab.freedesktop.org/drm/intel/issues/4221
Participating hosts (33 -> 28)
------------------------------
Additional (1): fi-tgl-1115g4
Missing (6): bat-adls-5 bat-dg1-6 fi-bsw-cyan bat-adlp-4 bat-jsl-2 bat-jsl-1
Build changes
-------------
* Linux: CI_DRM_10680 -> Patchwork_21229
CI-20190529: 20190529
CI_DRM_10680: a5be335f84415ea2d1898be94f5c9a338520aaf5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6228: 22643ce4014a0b2dc52ce7916b2f657e2a7757c3 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21229: 685c32580e4cfb3f80317f49d56c4952e7191844 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
685c32580e4c drm/i915: Add privacy-screen support (v2)dd7b27aeeb2f drm/i915: Add intel_modeset_probe_defer() helperaf1e0d4c0398 platform/x86: thinkpad_acpi: Register a privacy-screen device 59dfe41d6ffa platform/x86: thinkpad_acpi: Get privacy-screen / lcdshadow ACPI handles only once d630516dccc9 platform/x86: thinkpad_acpi: Add hotkey_notify_extended_hotkey() helper 0000448b0758 drm/connector: Add a drm_connector privacy-screen helper functions (v2) 54f2a33ce52e drm/privacy-screen: Add notifier support (v2)4410bc650ef6 drm/privacy-screen: Add X86 specific arch init code406f587b7cf9 drm: Add privacy-screen class (v4)fa9e8ab5d112 drm/connector: Add support for privacy-screen properties (v4)
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm: Add privacy-screen class and connector properties (rev5)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev5)
URL : https://patchwork.freedesktop.org/series/79259/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10680_full -> Patchwork_21229_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_21229_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@unwedge-stress:
- shard-tglb: NOTRUN -> [TIMEOUT][1] ([i915#2369] / [i915#3063] / [i915#3648])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][2] -> [FAIL][3] ([i915#2842])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-tglb5/igt@gem_exec_fair@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [PASS][4] -> [FAIL][5] ([i915#2842])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-glk7/igt@gem_exec_fair@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-glk2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@no-bsd:
- shard-tglb: NOTRUN -> [SKIP][6] ([fdo#109283])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][7] ([fdo#109283])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-forked-all:
- shard-glk: [PASS][8] -> [DMESG-WARN][9] ([i915#118] / [i915#95]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-glk7/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-glk5/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-kbl: NOTRUN -> [WARN][10] ([i915#2658])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
* igt@gem_render_copy@y-tiled-to-vebox-x-tiled:
- shard-glk: NOTRUN -> [SKIP][11] ([fdo#109271]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-glk3/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-apl: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#3323])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl1/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-apl: NOTRUN -> [FAIL][13] ([i915#3318])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl3/igt@[email protected]
* igt@gen7_exec_parse@load-register-reg:
- shard-iclb: NOTRUN -> [SKIP][14] ([fdo#109289])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-kbl: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#1937])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl3/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-tglb: NOTRUN -> [WARN][16] ([i915#2681])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][17] ([i915#2684])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
* igt@i915_suspend@forcewake:
- shard-kbl: [PASS][18] -> [DMESG-WARN][19] ([i915#180]) +3 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl3/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl4/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][20] ([fdo#110725] / [fdo#111614])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-apl: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#3777]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl1/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#3777])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][23] ([fdo#109271] / [i915#3886]) +14 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl6/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][24] ([i915#3689]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_ccs.html
* igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#3886])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-glk3/igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#3886]) +12 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl4/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_chamelium@dp-crc-multiple:
- shard-apl: NOTRUN -> [SKIP][27] ([fdo#109271] / [fdo#111827]) +22 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl3/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- shard-tglb: NOTRUN -> [SKIP][28] ([fdo#109284] / [fdo#111827])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-0-25:
- shard-iclb: NOTRUN -> [SKIP][29] ([fdo#109284] / [fdo#111827])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-degamma:
- shard-kbl: NOTRUN -> [SKIP][30] ([fdo#109271] / [fdo#111827]) +14 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl3/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-apl: NOTRUN -> [TIMEOUT][31] ([i915#1319])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl6/igt@[email protected]
- shard-kbl: NOTRUN -> [TIMEOUT][32] ([i915#1319])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-kbl: NOTRUN -> [FAIL][33] ([i915#2105])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl4/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][34] ([i915#2105])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x512-sliding:
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#109278] / [fdo#109279])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][36] ([fdo#109279] / [i915#3359])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen:
- shard-glk: [PASS][37] -> [FAIL][38] ([i915#3444])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-glk7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-glk5/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-tglb: [PASS][39] -> [INCOMPLETE][40] ([i915#2411] / [i915#2828] / [i915#456])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-tglb5/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-dpms:
- shard-iclb: NOTRUN -> [SKIP][41] ([fdo#109278]) +2 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-kbl: NOTRUN -> [SKIP][42] ([fdo#109271]) +184 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-legacy:
- shard-tglb: NOTRUN -> [SKIP][43] ([fdo#111825]) +4 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: [PASS][44] -> [FAIL][45] ([i915#2346])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl3/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl1/igt@[email protected]
* igt@kms_flip@2x-flip-vs-panning:
- shard-iclb: NOTRUN -> [SKIP][46] ([fdo#109274])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@[email protected]
* igt@kms_flip@flip-vs-suspend@a-edp1:
- shard-tglb: [PASS][47] -> [INCOMPLETE][48] ([i915#4173] / [i915#456])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-tglb6/igt@kms_flip@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@c-edp1:
- shard-skl: [PASS][49] -> [INCOMPLETE][50] ([i915#146] / [i915#198])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl8/igt@kms_flip@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl9/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-edp1:
- shard-skl: [PASS][51] -> [FAIL][52] ([i915#2122]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl7/igt@kms_flip@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl2/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-wc:
- shard-skl: NOTRUN -> [SKIP][53] ([fdo#109271]) +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-suspend:
- shard-tglb: [PASS][54] -> [INCOMPLETE][55] ([i915#456])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-tglb8/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb7/igt@[email protected]
* igt@kms_hdr@bpc-switch-dpms:
- shard-skl: [PASS][56] -> [FAIL][57] ([i915#1188])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl9/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl10/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- shard-apl: NOTRUN -> [SKIP][58] ([fdo#109271] / [i915#533]) +5 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl3/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-d-frame-sequence:
- shard-kbl: NOTRUN -> [SKIP][59] ([fdo#109271] / [i915#533])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [PASS][60] -> [INCOMPLETE][61] ([i915#155] / [i915#794])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl1/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-skl: [PASS][62] -> [INCOMPLETE][63] ([i915#146] / [i915#198] / [i915#2828])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl8/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl5/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][64] ([fdo#108145] / [i915#265]) +2 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:
- shard-kbl: NOTRUN -> [FAIL][65] ([i915#265])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [PASS][66] -> [FAIL][67] ([fdo#108145] / [i915#265])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl5/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-opaque-fb:
- shard-kbl: NOTRUN -> [FAIL][68] ([fdo#108145] / [i915#265]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-1:
- shard-kbl: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#658]) +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl3/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][70] ([fdo#109271] / [i915#658]) +8 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl8/igt@[email protected]
* igt@kms_psr@psr2_dpms:
- shard-tglb: NOTRUN -> [FAIL][71] ([i915#132] / [i915#3467])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@kms_psr@psr2_dpms.html
* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-iclb: [PASS][72] -> [SKIP][73] ([fdo#109441])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb8/igt@kms_psr@psr2_primary_mmap_gtt.html
* igt@kms_sysfs_edid_timing:
- shard-kbl: NOTRUN -> [FAIL][74] ([IGT#2])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl3/igt@kms_sysfs_edid_timing.html
* igt@kms_writeback@writeback-check-output:
- shard-kbl: NOTRUN -> [SKIP][75] ([fdo#109271] / [i915#2437])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl1/igt@[email protected]
* igt@nouveau_crc@pipe-a-ctx-flip-detection:
- shard-tglb: NOTRUN -> [SKIP][76] ([i915#2530])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
* igt@perf@polling-small-buf:
- shard-skl: [PASS][77] -> [FAIL][78] ([i915#1722])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl3/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl1/igt@[email protected]
* igt@prime_nv_api@i915_nv_import_vs_close:
- shard-iclb: NOTRUN -> [SKIP][79] ([fdo#109291])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@prime_nv_api@i915_nv_import_vs_close.html
* igt@prime_nv_api@i915_nv_reimport_twice_check_flink_name:
- shard-apl: NOTRUN -> [SKIP][80] ([fdo#109271]) +277 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl6/igt@prime_nv_api@i915_nv_reimport_twice_check_flink_name.html
* igt@sysfs_clients@fair-1:
- shard-apl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#2994]) +3 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl1/igt@[email protected]
* igt@sysfs_clients@split-50:
- shard-kbl: NOTRUN -> [SKIP][82] ([fdo#109271] / [i915#2994]) +1 similar issue
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@in-flight-contexts-immediate:
- shard-tglb: [TIMEOUT][83] ([i915#3063]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-tglb8/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb5/igt@[email protected]
* igt@gem_eio@in-flight-suspend:
- shard-glk: [DMESG-WARN][85] -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-glk8/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-glk3/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: [FAIL][87] ([i915#2842]) -> [PASS][88]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-tglb3/igt@gem_exec_fair@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-apl: [FAIL][89] ([i915#2842]) -> [PASS][90]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl7/igt@gem_exec_fair@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [FAIL][91] ([i915#2842]) -> [PASS][92] +2 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl1/igt@gem_exec_fair@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@gem_exec_fair@[email protected]
- shard-iclb: [FAIL][93] ([i915#2842]) -> [PASS][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-iclb4/igt@gem_exec_fair@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@i915_query@query-regions-garbage-items:
- shard-skl: [DMESG-WARN][95] ([i915#1982]) -> [PASS][96] +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl8/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl9/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [INCOMPLETE][97] ([i915#180] / [i915#1982]) -> [PASS][98]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl7/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl8/igt@[email protected]
- shard-kbl: [INCOMPLETE][99] ([i915#155] / [i915#636]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl4/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl7/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check@ac-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][101] ([i915#2122]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-glk1/igt@kms_flip@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-glk8/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible@b-edp1:
- shard-skl: [FAIL][103] ([i915#2122]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl1/igt@kms_flip@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl6/igt@kms_flip@[email protected]
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [FAIL][105] ([i915#1188]) -> [PASS][106] +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl4/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl4/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b-planes:
- shard-kbl: [DMESG-WARN][107] ([i915#180]) -> [PASS][108] +8 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl7/igt@kms_plane@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl2/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][109] ([fdo#108145] / [i915#265]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl7/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl10/igt@[email protected]
* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [SKIP][111] ([fdo#109441]) -> [PASS][112] +1 similar issue
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-iclb4/igt@kms_psr@psr2_cursor_blt.html
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-apl: [DMESG-WARN][113] ([i915#180]) -> [PASS][114] +2 similar issues
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl6/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl7/igt@[email protected]
* igt@sysfs_heartbeat_interval@precise@vecs0:
- shard-tglb: [FAIL][115] ([i915#1755]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-tglb1/igt@sysfs_heartbeat_interval@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-tglb1/igt@sysfs_heartbeat_interval@[email protected]
#### Warnings ####
* igt@gem_exec_fair@basic-none@vcs0:
- shard-iclb: [FAIL][117] -> [FAIL][118] ([i915#2842])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-iclb8/igt@gem_exec_fair@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb6/igt@gem_exec_fair@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [FAIL][119] ([i915#2680]) -> [WARN][120] ([i915#1804] / [i915#2684])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-iclb3/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-iclb6/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-skl: [FAIL][121] ([i915#3743]) -> [FAIL][122] ([i915#3722])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl5/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl8/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@runner@aborted:
- shard-kbl: ([FAIL][123], [FAIL][124], [FAIL][125], [FAIL][126], [FAIL][127], [FAIL][128], [FAIL][129], [FAIL][130], [FAIL][131], [FAIL][132], [FAIL][133]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#602]) -> ([FAIL][134], [FAIL][135], [FAIL][136], [FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140], [FAIL][141]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl1/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl3/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl1/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl7/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl6/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl6/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl6/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl6/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl6/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl6/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-kbl7/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl6/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl6/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl7/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl6/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl6/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl4/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl4/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-kbl4/igt@[email protected]
- shard-apl: ([FAIL][142], [FAIL][143], [FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147], [FAIL][148]) ([fdo#109271] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363]) -> ([FAIL][149], [FAIL][150]) ([i915#3002] / [i915#3363])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl6/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl8/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl2/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl7/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl2/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl6/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-apl1/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl2/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-apl8/igt@[email protected]
- shard-skl: ([FAIL][151], [FAIL][152]) ([i915#3002] / [i915#3363]) -> ([FAIL][153], [FAIL][154], [FAIL][155]) ([i915#2029] / [i915#3002] / [i915#3363])
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl4/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10680/shard-skl9/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl2/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl6/igt@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/shard-skl3/igt@[email protected]
[IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21229/index.html