drm: Add privacy-screen class and connector properties
Subsystems (7)
v2 cover drm: Add privacy-screen class and connector properties
Hi All,
Here is v2 of my series to add a privacy-screen class and connector properties. The only significantly changed patch in this v2 is:
[2/9] drm: Add privacy-screen class (v2)
which was modified to fix the dependency issues which the lkp kernel test robot, see the patches changelog for details.
Here is the v1 cover-letter which is still up2date:
Here is the privacy-screen related code which I last posted in August of last year. To the best of my knowledge there is consensus about / everyone is in agreement with the new userspace API (2 connector properties) this patch-set add (patch 1 of the series).
The blocker the last time was that there were no userspace users of the new properties and as a rule we don't add new drm userspace API without users.
There now is GNOME userspace code using the new properties:
https://hackmd.io/@3v1n0/rkyIy3BOw
The new API works as designed for this userspace user and the branches mentioned at the above link 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 (8):
drm: Add privacy-screen class (v2)
drm/privacy-screen: Add X86 specific arch init code drm/privacy-screen: Add notifier support
drm/connector: Add a drm_connector privacy-screen helper functions 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 privacy-screen support
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 | 214 +++++++++ drivers/gpu/drm/drm_drv.c | 4 + drivers/gpu/drm/drm_privacy_screen.c | 468 +++++++++++++++++++ drivers/gpu/drm/drm_privacy_screen_x86.c | 86 ++++ drivers/gpu/drm/i915/display/intel_display.c | 5 + drivers/gpu/drm/i915/display/intel_dp.c | 10 + drivers/gpu/drm/i915/i915_pci.c | 12 + drivers/platform/x86/Kconfig | 2 + drivers/platform/x86/thinkpad_acpi.c | 131 ++++-- include/drm/drm_connector.h | 56 +++ include/drm/drm_privacy_screen_consumer.h | 63 +++ include/drm/drm_privacy_screen_driver.h | 84 ++++ include/drm/drm_privacy_screen_machine.h | 46 ++ 19 files changed, 1173 insertions(+), 42 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 · 6 lines
2.31.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v2 1/9 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
@@ -475,6 +475,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
@@ -796,6 +796,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);
@@ -873,6 +875,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 · 6 lines
2.31.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 2/9 drm: Add privacy-screen class (v2)
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
--- 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 | 401 ++++++++++++++++++++++ include/drm/drm_privacy_screen_consumer.h | 48 +++ include/drm/drm_privacy_screen_driver.h | 80 +++++ include/drm/drm_privacy_screen_machine.h | 41 +++ 9 files changed, 602 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
@@ -423,3 +423,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
@@ -6131,6 +6131,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
@@ -474,3 +474,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_AGP) += drm_agpsupport.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_vram_helper-y := drm_gem_vram_helper.o obj-$(CONFIG_DRM_VRAM_HELPER) += drm_vram_helper.o
drivers/gpu/drm/drm_drv.c +4 -0
@@ -42,6 +42,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"
@@ -1030,6 +1031,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 +401 -0
401 lines not on this page · raw message
include/drm/drm_privacy_screen_consumer.h new file +48 -0
48 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 · 6 lines
2.31.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v2 2/9] drm: Add privacy-screen class (v2)
Hi Hans,
What happened with this series, did it fall through the cracks?
drivers/gpu/drm/drm_privacy_screen.c
Quoted 4 lines · Hans de Goede
drivers/gpu/drm/drm_privacy_screen.c new file +1
-0+#include "drm_internal.h"
I think we don't need this include, do we?
include/drm/drm_privacy_screen_consumer.h
Quoted 4 lines
include/drm/drm_privacy_screen_consumer.h new file +1
-0+#include <drm/drm_connector.h>
Ditto
include/drm/drm_privacy_screen_driver.h
Quoted 4 lines
include/drm/drm_privacy_screen_driver.h new file +1
-0+#include <drm/drm_connector.h>
Ditto
I like how you avoided leaking any DRM details within the new code, modulo the includes above. With above tweaks, the series is:
Theoretically one could also remove the depends on DRM from patch 8/9 but I'm not sure how much that saves us.
HTH
-Emil
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v2 2/9] drm: Add privacy-screen class (v2)
Hi Emil,
Quoted 3 lines · Emil Velikov
Hi Hans,
What happened with this series, did it fall through the cracks?
It's mostly waiting me to finish to propose the changes to GNOME, unfortunately I've been busy in the past weeks with downstream work, so I couldn't finish it, but I hope I can be back at it soon.
Cheers
Quoted 33 lines
drivers/gpu/drm/drm_privacy_screen.c
Quoted 5 lines
drivers/gpu/drm/drm_privacy_screen.c new file +1
-0+#include "drm_internal.h" I think we don't need this include, do we?
include/drm/drm_privacy_screen_consumer.h
Quoted 4 lines
include/drm/drm_privacy_screen_consumer.h new file +1
-0+#include <drm/drm_connector.h> Ditto
include/drm/drm_privacy_screen_driver.h
Quoted 4 lines
include/drm/drm_privacy_screen_driver.h new file +1
-0+#include <drm/drm_connector.h> Ditto
I like how you avoided leaking any DRM details within the new code, modulo the includes above. With above tweaks, the series is:
Reviewed-by Emil Velikov <[email protected]>Theoretically one could also remove the
depends on DRMfrom patch 8/9 but I'm not sure how much that saves us.HTH
-Emil
Re: [Intel-gfx] [PATCH v2 2/9] drm: Add privacy-screen class (v2)
In reply to Emil VelikovHi,
Quoted 3 lines · Emil Velikov
Hi Hans,
What happened with this series, did it fall through the cracks?
Sorta, as Marco already mentioned I think people are waiting for the user-space branches which he has on his personal git repos to be submitted as offical merge-req-s to GNOME.
Quoted 8 lines · Hans de Goede
drivers/gpu/drm/drm_privacy_screen.c
Quoted 5 lines
drivers/gpu/drm/drm_privacy_screen.c new file +1
-0+#include "drm_internal.h" I think we don't need this include, do we?
The drm_privacy_screen device registered by a provider uses /sys/class/drm as its class, quoting from drm_privacy_screen.c drm_privacy_screen_register():
priv->dev.class = drm_class;
priv->dev.type = &drm_privacy_screen_type;
priv->dev.parent = parent;
priv->dev.release = drm_privacy_screen_device_release;
dev_set_name(&priv->dev, "privacy_screen-%s", dev_name(parent));
priv->ops = ops;
priv->ops->get_hw_state(priv);
ret = device_register(&priv->dev);Notice the "priv->dev.class = drm_class", the drm_class variable is declared in "drm_internal.h".
Note this was not present in v2. As I mentioned in the commit msg:
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
This is something which I changed in v2. I changed this since I didn't really see any good reason for drm_privacy_screen devices having their own class, rather then just having them sit under /sys/class/drm .
I'm open to changing this if people dislike this choice.
Quoted 6 lines
include/drm/drm_privacy_screen_consumer.h
Quoted 4 lines
include/drm/drm_privacy_screen_consumer.h new file +1
-0+#include <drm/drm_connector.h> Ditto
The "enum drm_privacy_screen_status" used in various places comes from drm/drm_connector.h (it is the same enum which is used for the possible values of the drm-connector properties).
Quoted 9 lines
include/drm/drm_privacy_screen_driver.h
Quoted 4 lines
include/drm/drm_privacy_screen_driver.h new file +1
-0+#include <drm/drm_connector.h> Ditto
I like how you avoided leaking any DRM details within the new code, modulo the includes above.
I'm glad you like it. I did indeed try to make the code mostly independent, but as you can see above there are still some inter-dependencies.
Because of this, the CONFIG_DRM_PRIVACY_SCREEN option also does not control building this into a separate module. Like many other DRM Kconfig options, this controls if the privacy-screen code will be added to drm.ko or not.
Despite being 99% independent, the 2 are still intertwined at such a level that this is necessary. Specifically drm_core_init() calls drm_privacy_screen_lookup_init() to initialize the static lookup table which is used to see if there is a privacy-screen (and to which GPU,output combo it should be mapped). So if CONFIG_DRM_PRIVACY_SCREEN is enabled and drm.ko is builtin then it must be builtin too, at which point it is easiest to just make it part of drm.ko .
And there also is the later added dep from drm_privacy_screen.c on the drm_class symbol, which means there are now symbol-deps in both directions, which makes building the code into drm.ko the only option.
Quoted 2 lines
With above tweaks, the series is:
Reviewed-by Emil Velikov <[email protected]>
As I've tried to explain, the includes are necessary, does your Reviewed-by still stands when I keep the includes ?
Quoted 2 lines
Theoretically one could also remove the
depends on DRMfrom patch 8/9 but I'm not sure how much that saves us.
The depends in is necessary since CONFIG_DRM_PRIVACY_SCREEN just controls if privacy-screen support will be added to drm.ko, if it is enabled we still need drm.ko ti actually be built for things to work.
Quoted 1 line
HTH
Yes, actually getting a review of this code helps a lot, thank you.
Regards,
Hans
Re: [Intel-gfx] [PATCH v2 2/9] drm: Add privacy-screen class (v2)
Quoted 20 lines · Hans de Goede
Quoted 4 lines
Quoted 2 lines
+#include "
drm_internal.h"I think we don't need this include, do we?
The
drm_privacy_screendevice registered by a provider uses/sys/class/drmas its class, quoting fromdrm_privacy_screen.cdrm_privacy_screen_register():priv->dev.class = drm_class; priv->dev.type = &drm_privacy_screen_type; priv->dev.parent = parent; priv->dev.release = drm_privacy_screen_device_release; dev_set_name(&priv->dev, "privacy_screen-%s", dev_name(parent)); priv->ops = ops; priv->ops->get_hw_state(priv); ret = device_register(&priv->dev);
Quoted 3 lines
Notice the "
priv->dev.class=drm_class", thedrm_classvariable is declared in "drm_internal.h".
I have been looking at v1 while replying here, oopsie.
Quoted 11 lines
Quoted 6 lines
include/drm/drm_privacy_screen_consumer.h
Quoted 4 lines
include/drm/drm_privacy_screen_consumer.h new file +1
-0+#include <drm/drm_connector.h> Ditto
The "enum
drm_privacy_screen_status" used in various places comes fromdrm/drm_connector.h(it is the same enum which is used for the possible values of the drm-connector properties).
Hmm indeed.
If really needed one could move/duplicate/duplicate-and-namespace the enum. If duplicating, cross references would be great and with namespacing BUILD_BUG_ON(drm_privacy_screen_status::foo != custom-enum::foo) to enforce consistency.
Each feels dirty and I'm not sure if it's worth it - just a silly idea, don't read too much into it.
Quoted 20 lines
Quoted 10 lines
include/drm/drm_privacy_screen_driver.h
Quoted 5 lines
include/drm/drm_privacy_screen_driver.h new file +1
-0+#include <drm/drm_connector.h> Ditto
I like how you avoided leaking any DRM details within the new code, modulo the includes above.
I'm glad you like it. I did indeed try to make the code mostly independent, but as you can see above there are still some inter-dependencies.
Because of this, the
CONFIG_DRM_PRIVACY_SCREENoption also does not control building this into a separate module. Like many other DRMKconfigoptions, this controls if the privacy-screen code will be added to drm.ko or not.
Quoted 8 lines
Despite being 99% independent, the 2 are still intertwined at such a level that this is necessary. Specifically
drm_core_init()callsdrm_privacy_screen_lookup_init()to initialize the static lookup table which is used to see if there is a privacy-screen (and to which GPU,output combo it should be mapped). So ifCONFIG_DRM_PRIVACY_SCREENis enabled and drm.ko is builtin then it must be builtin too, at which point it is easiest to just make it part of drm.ko .
Yes, the initialisation is called from core drm - it has to happen somewhere.
What I was thinking of, is that we can reuse it (with minor tweaks) if vendors deploy the privacy screen principle for audio, camera, etc. Kind of crazy examples, but who knows.
Quoted 6 lines
Quoted 2 lines
With above tweaks, the series is:
Reviewed-by Emil Velikov <[email protected]>As I've tried to explain, the includes are necessary, does your Reviewed-by still stands when I keep the includes ?
Yes, r-b it stands.
Thanks for the in the detailed reply and drm_class pointer :-P -Emil
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 3/9 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_AGP) += drm_agpsupport.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 drm_vram_helper-y := drm_gem_vram_helper.o obj-$(CONFIG_DRM_VRAM_HELPER) += drm_vram_helper.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 v2 4/9 drm/privacy-screen: Add notifier support
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.
--- drivers/gpu/drm/drm_privacy_screen.c | 67 +++++++++++++++++++++++ include/drm/drm_privacy_screen_consumer.h | 15 +++++ include/drm/drm_privacy_screen_driver.h | 4 ++ 3 files changed, 86 insertions(+)
drivers/gpu/drm/drm_privacy_screen.c +67 -0
@@ -255,6 +255,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,
@@ -352,6 +395,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;
@@ -399,3 +443,26 @@ 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) +{ +if (WARN_ON (mutex_is_locked (&priv->lock))) +return ; + +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)
@@ -43,6 +48,16 @@ static inline void drm_privacy_screen_get_state(struct drm_privacy_screen *priv, enum drm_privacy_screen_status *hw_state_ret) { } +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 v2 5/9 drm/connector: Add a drm_connector privacy-screen helper functions
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(), Check if the passed in atomic state contains a privacy-screen sw_state change for the connector and if it does, call drm_privacy_screen_set_sw_state() with the new sw_state.
--- drivers/gpu/drm/drm_connector.c | 113 ++++++++++++++++++++++++++++++++ include/drm/drm_connector.h | 12 ++++ 2 files changed, 125 insertions(+)
drivers/gpu/drm/drm_connector.c +113 -0
@@ -20,6 +20,7 @@* OF THIS SOFTWARE. */ +#include <drm/drm_atomic.h> #include <drm/drm_connector.h> #include <drm/drm_edid.h> #include <drm/drm_encoder.h>
@@ -27,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>
@@ -451,6 +453,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 ;
@@ -530,6 +537,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); + goto unlock; err_debugfs:
@@ -558,6 +569,11 @@ void drm_connector_unregister(struct drm_connector *connector)return ; } +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);
@@ -2353,6 +2369,103 @@ 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) +{ +enum drm_privacy_screen_status sw_state, hw_state; + +drm_privacy_screen_get_state (connector->privacy_screen, + &sw_state, &hw_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); +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); +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 +* state (if changed) +* @connector: connector to update the privacy-screen for +* @state: drm_atomic state describing the state change +* +* This function checks if the passed in connector has a privacy-screen +* attached and if it does, it checks if the +* drm_connector_state.privacy_screen_sw_state setting has changed. +* If both conditions are true it calls drm_privacy_screen_set_sw_state() on +* the connector's privacy-screen to update the privacy-screen's state. +*/ +void drm_connector_update_privacy_screen (struct drm_connector *connector, +struct drm_atomic_state *state) +{ +struct drm_connector_state *new_connector_state, *old_connector_state; +int ret; + +if (!connector->privacy_screen) +return ; + + new_connector_state =drm_atomic_get_new_connector_state (state, connector); + old_connector_state =drm_atomic_get_old_connector_state (state, connector); + +if (new_connector_state->privacy_screen_sw_state == + old_connector_state->privacy_screen_sw_state) +return ; + + ret =drm_privacy_screen_set_sw_state (connector->privacy_screen, + new_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 the props. */ +drm_connector_update_privacy_screen_properties (connector); +} +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 +12 -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 ;
@@ -1410,6 +1412,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.
@@ -1742,6 +1750,10 @@ 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 (struct drm_connector *connector, +struct drm_atomic_state *state);/** * struct drm_tile_group - Tile group metadata
Signature · 1 line
2.31.1
kernel test robot
build botRe: [Intel-gfx] [PATCH v2 5/9] drm/connector: Add a drm_connector privacy-screen helper functions
I love your patch! Perhaps something to improve:
Hi Hans,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip linus/master v5.12-rc8 next-20210421] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/drm-Add-privacy-screen-class-and-connector-properties/20210422-045141 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: sparc64-randconfig-p002-20210421 (attached as .config) compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/62771e46e3031f0e2cea9529f292b6415810cf9c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hans-de-Goede/drm-Add-privacy-screen-class-and-connector-properties/20210422-045141 git checkout 62771e46e3031f0e2cea9529f292b6415810cf9c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=sparc64
If you fix the issue, kindly add following tag as appropriate
All warnings (new ones prefixed by >>):
drivers/gpu/drm/drm_connector.c: In function 'drm_connector_privacy_screen_notifier':
>> drivers/gpu/drm/drm_connector.c:2380:44: warning: 'sw_state' is used uninitialized in this function [-Wuninitialized]
2380 | connector->state->privacy_screen_sw_state = sw_state;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
drivers/gpu/drm/drm_connector.c:2375:33: note: 'sw_state' was declared here
2375 | enum drm_privacy_screen_status sw_state, hw_state;
| ^~~~~~~~
>> drivers/gpu/drm/drm_connector.c:2381:2: warning: 'hw_state' is used uninitialized in this function [-Wuninitialized]
2381 | drm_object_property_set_value(&connector->base,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2382 | connector->privacy_screen_hw_state_property, hw_state);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/drm_connector.c:2375:43: note: 'hw_state' was declared here
2375 | enum drm_privacy_screen_status sw_state, hw_state;
| ^~~~~~~~
drivers/gpu/drm/drm_connector.c: In function 'drm_connector_attach_privacy_screen_provider':
>> drivers/gpu/drm/drm_connector.c:2380:44: warning: 'sw_state' is used uninitialized in this function [-Wuninitialized]
2380 | connector->state->privacy_screen_sw_state = sw_state;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
drivers/gpu/drm/drm_connector.c:2375:33: note: 'sw_state' was declared here
2375 | enum drm_privacy_screen_status sw_state, hw_state;
| ^~~~~~~~
>> drivers/gpu/drm/drm_connector.c:2381:2: warning: 'hw_state' is used uninitialized in this function [-Wuninitialized]
2381 | drm_object_property_set_value(&connector->base,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2382 | connector->privacy_screen_hw_state_property, hw_state);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/drm_connector.c:2375:43: note: 'hw_state' was declared here
2375 | enum drm_privacy_screen_status sw_state, hw_state;
| ^~~~~~~~vim +/sw_state +2380 drivers/gpu/drm/drm_connector.c
2371
2372 static void drm_connector_update_privacy_screen_properties(
2373 struct drm_connector *connector)
2374 {
2375 enum drm_privacy_screen_status sw_state, hw_state;
2376
2377 drm_privacy_screen_get_state(connector->privacy_screen,
2378 &sw_state, &hw_state);
2379
> 2380 connector->state->privacy_screen_sw_state = sw_state; > 2381 drm_object_property_set_value(&connector->base,
2382 connector->privacy_screen_hw_state_property, hw_state);
2383 }
2384
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
Re: [Intel-gfx] [PATCH v2 5/9] drm/connector: Add a drm_connector privacy-screen helper functions
Hi All,
Quoted 36 lines · kernel test robot
Hi Hans,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip linus/master v5.12-rc8 next-20210421] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/drm-Add-privacy-screen-class-and-connector-properties/20210422-045141 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: sparc64-randconfig-p002-20210421 (attached as .config) compiler: sparc64-linux-gcc (GCC) 9.3.0reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/62771e46e3031f0e2cea9529f292b6415810cf9c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hans-de-Goede/drm-Add-privacy-screen-class-and-connector-properties/20210422-045141 git checkout62771e46e3031f0e2cea9529f292b6415810cf9c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=sparc64If you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All warnings (new ones prefixed by >>):
drivers/gpu/drm/drm_connector.c: In function 'drm_connector_privacy_screen_notifier':Quoted 1 line
Quoted 1 line
drivers/gpu/drm/drm_connector.c:2380:44: warning: 'sw_state' is used uninitialized in this function [-Wuninitialized]2380 | connector->state->privacy_screen_sw_state = sw_state; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ drivers/gpu/drm/drm_connector.c:2375:33: note: 'sw_state' was declared here 2375 | enum drm_privacy_screen_status sw_state, hw_state; | ^~~~~~~~
Quoted 7 lines
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/drm_connector.c:2381:2: warning: 'hw_state' is used uninitialized in this function [-Wuninitialized]2381 | drm_object_property_set_value(&connector->base, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2382 | connector->privacy_screen_hw_state_property, hw_state); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/drm_connector.c:2375:43: note: 'hw_state' was declared here 2375 | enum drm_privacy_screen_status sw_state, hw_state;
It took me a couple of minutes to wrap my head around these warnings. The problem is that if CONFIG_DRM_PRIVICAY_SCREEN is not set then drm_privacy_screen_get_state() is an inline stub, which is a no-op. So the compiler is right in warning here.
I'll make the stub actually set both to PRIVACY_SCREEN_DISABLED in v3 of the "drm: Add privacy-screen class" to squelch this warning when the stub is used:
include/drm/drm_privacy_screen_consumer.h +2 -0
@@ -47,6 +47,8 @@ static inline 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) { + *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)
I don't think it is worth sending out a new version of this series just for this, so please review the current version.
Regards,
Hans
Quoted 21 lines
vim +/sw_state +2380
drivers/gpu/drm/drm_connector.c2371
2372 static void drm_connector_update_privacy_screen_properties(
2373 structdrm_connector*connector)
2374 {
2375 enumdrm_privacy_screen_statussw_state,hw_state;
2376
2377 drm_privacy_screen_get_state(connector->privacy_screen,
2378&sw_state,&hw_state);
2379Quoted 2 lines
2380
connector->state->privacy_screen_sw_state=sw_state;
2381 drm_object_property_set_value(&connector->base,2382
connector->privacy_screen_hw_state_property,hw_state);
2383 }
2384---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
PATCH v2 6/9 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
@@ -3878,6 +3878,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)
@@ -3912,17 +3930,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 v2 7/9 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
@@ -9759,19 +9759,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;
@@ -9789,15 +9785,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 v2 8/9 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 news standardized interface which all user-space code should use to query and control the privacy-screen.
---
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 | 91 ++++++++++++++++++++-------- 2 files changed, 68 insertions(+), 25 deletions(-)
drivers/platform/x86/Kconfig +2 -0
@@ -484,7 +484,9 @@ config THINKPAD_ACPI depends on RFKILL || RFKILL = n depends on ACPI_VIDEO || ACPI_VIDEO = n depends on BACKLIGHT_CLASS_DEVICE + depends on DRM select ACPI_PLATFORM_PROFILE + select DRM_PRIVACY_SCREEN select HWMON select NVRAM select NEW_LEDS
drivers/platform/x86/thinkpad_acpi.c +66 -25
174 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH v2 9/9 drm/i915: Add privacy-screen support
In reply to Hans de GoedeAdd support for eDP panels with a built-in privacy screen using the new drm_privacy_screen class.
One thing which stands out here is the addition of these 2 lines to intel_atomic_commit_tail:
for_each_new_connector_in_state(&state->base, connector, ... drm_connector_update_privacy_screen(connector, state);
It may seem more logical to instead take care of updating the privacy-screen state by marking the crtc as needing a modeset and then do this in both the encoder update_pipe (for fast-sets) and enable (for full modesets) callbacks. But ATM these callbacks only get passed the new connector_state and these callbacks are all called after drm_atomic_helper_swap_state() at which point there is no way to get the old state from the new state.
Without access to the old state, we do not know if the sw_state of the privacy-screen has changes so we would need to call drm_privacy_screen_set_sw_state() unconditionally. This is undesirable since all current known privacy-screen providers use ACPI calls which are somewhat expensive to make.
Also, as all providers use ACPI calls, rather then poking GPU registers, there is no need to order this together with other encoder operations. Since no GPU poking is involved having this as a separate step of the commit process actually is the logical thing to do.
--- drivers/gpu/drm/i915/display/intel_display.c | 5 +++++ drivers/gpu/drm/i915/display/intel_dp.c | 10 ++++++++++ drivers/gpu/drm/i915/i915_pci.c | 12 ++++++++++++ 3 files changed, 27 insertions(+)
drivers/gpu/drm/i915/display/intel_display.c +5 -0
@@ -10159,6 +10159,8 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)struct drm_device *dev = state->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc_state *new_crtc_state, *old_crtc_state; +struct drm_connector_state *new_connector_state; +struct drm_connector *connector;struct intel_crtc *crtc;u64 put_domains[I915_MAX_PIPES ] = {};intel_wakeref_t wakeref =0 ;
@@ -10256,6 +10258,9 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)intel_color_load_luts (new_crtc_state); } +for_each_new_connector_in_state (&state->base, connector, new_connector_state, i) +drm_connector_update_privacy_screen (connector, &state->base); +/* * Now that the vblank has passed, we can go ahead and program the * optimal watermarks on platforms that need two-step watermark
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"
@@ -5178,6 +5179,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;
@@ -5268,6 +5270,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->pdev->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:
drivers/gpu/drm/i915/i915_pci.c +12 -0
@@ -26,6 +26,7 @@#include <linux/vga_switcheroo.h> #include <drm/drm_drv.h> +#include <drm/drm_privacy_screen_consumer.h> #include <drm/i915_pciids.h> #include "display/intel_fbdev.h"
@@ -1067,6 +1068,7 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) {struct intel_device_info *intel_info = (struct intel_device_info *) ent->driver_data; +struct drm_privacy_screen *privacy_screen;int err; if (intel_info->require_force_probe &&
@@ -1095,7 +1097,17 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)if (vga_switcheroo_client_probe_defer (pdev))return -EPROBE_DEFER ; +/* +* We do not handle -EPROBE_DEFER further into the probe process, so +* check if we have a laptop-panel privacy-screen for which the driver +* has not loaded yet here. +*/ + privacy_screen =drm_privacy_screen_get (&pdev->dev,NULL ); +if (IS_ERR (privacy_screen) &&PTR_ERR (privacy_screen) == -EPROBE_DEFER ) +return -EPROBE_DEFER ; + err =i915_driver_probe (pdev, ent); +drm_privacy_screen_put (privacy_screen);if (err)return err;
Signature · 6 lines
2.31.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Add privacy-screen class and connector properties (rev3)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev3)
URL : https://patchwork.freedesktop.org/series/79259/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip ac8be957664f drm/connector: Add support for privacy-screen properties (v4) -:30: WARNING:BAD_SIGN_OFF: Non-standard signature: Co-authored-by: #30: Co-authored-by: Hans de Goede <[email protected]>
-:149: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #149: FILE: drivers/gpu/drm/drm_connector.c:2319:
+ drm_property_create_enum(connector->dev, DRM_MODE_PROP_ENUM,
+ "privacy-screen sw-state",
-:154: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #154: FILE: drivers/gpu/drm/drm_connector.c:2324:
+ drm_property_create_enum(connector->dev,
+ DRM_MODE_PROP_IMMUTABLE | DRM_MODE_PROP_ENUM,
total: 0 errors, 1 warnings, 2 checks, 205 lines checked7e5c15daa117 drm: Add privacy-screen class (v2)
-:125: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #125:
new file mode 100644
-:162: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects? #162: FILE: drivers/gpu/drm/drm_privacy_screen.c:33:
+#define to_drm_privacy_screen(dev) \
+ container_of(dev, struct drm_privacy_screen, dev)
-:210: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #210: FILE: drivers/gpu/drm/drm_privacy_screen.c:81:
+static struct drm_privacy_screen *drm_privacy_screen_get_by_name(
-:411: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #411: FILE: drivers/gpu/drm/drm_privacy_screen.c:282:
+}
+/*
-:473: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #473: FILE: drivers/gpu/drm/drm_privacy_screen.c:344:
+struct drm_privacy_screen *drm_privacy_screen_register(
-:569: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #569: FILE: include/drm/drm_privacy_screen_consumer.h:33:
+}
+static inline void drm_privacy_screen_put(struct drm_privacy_screen *priv)
-:572: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #572: FILE: include/drm/drm_privacy_screen_consumer.h:36:
+}
+static inline int drm_privacy_screen_set_sw_state(struct drm_privacy_screen *priv,
-:577: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #577: FILE: include/drm/drm_privacy_screen_consumer.h:41:
+}
+static inline void drm_privacy_screen_get_state(struct drm_privacy_screen *priv,
-:666: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #666: FILE: include/drm/drm_privacy_screen_driver.h:76:
+struct drm_privacy_screen *drm_privacy_screen_register(
-:713: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #713: 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, 638 lines checked9bd51402f3ba drm/privacy-screen: Add X86 specific arch init code
-:29: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #29:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 110 lines checked4f93f9d92a68 drm/privacy-screen: Add notifier support
-:121: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #121: FILE: include/drm/drm_privacy_screen_consumer.h:51:
}
+static inline int drm_privacy_screen_register_notifier(struct drm_privacy_screen *priv,
-:126: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #126: FILE: include/drm/drm_privacy_screen_consumer.h:56:
+}
+static inline int drm_privacy_screen_unregister_notifier(struct drm_privacy_screen *priv,
total: 0 errors, 0 warnings, 2 checks, 123 lines checked 1b1cb90d0bce drm/connector: Add a drm_connector privacy-screen helper functions -:58: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #58: FILE: drivers/gpu/drm/drm_connector.c:542:
+ 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:573:
+ drm_privacy_screen_unregister_notifier(
-:79: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #79: FILE: drivers/gpu/drm/drm_connector.c:2372:
+static void drm_connector_update_privacy_screen_properties(
-:89: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #89: FILE: drivers/gpu/drm/drm_connector.c:2382:
+ drm_object_property_set_value(&connector->base,
+ connector->privacy_screen_hw_state_property, hw_state);
-:92: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #92: FILE: drivers/gpu/drm/drm_connector.c:2385:
+static int drm_connector_privacy_screen_notifier(
-:104: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #104: FILE: drivers/gpu/drm/drm_connector.c:2397:
+ drm_sysfs_connector_status_event(connector,
+ connector->privacy_screen_sw_state_property);
-:106: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #106: FILE: drivers/gpu/drm/drm_connector.c:2399:
+ drm_sysfs_connector_status_event(connector,
+ connector->privacy_screen_hw_state_property);
-:123: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #123: FILE: drivers/gpu/drm/drm_connector.c:2416:
+void drm_connector_attach_privacy_screen_provider(
-:165: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #165: FILE: drivers/gpu/drm/drm_connector.c:2458:
+ ret = drm_privacy_screen_set_sw_state(connector->privacy_screen,
+ new_connector_state->privacy_screen_sw_state);
-:216: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #216: FILE: include/drm/drm_connector.h:1753:
+void drm_connector_attach_privacy_screen_provider(
total: 0 errors, 0 warnings, 10 checks, 185 lines checkedee59d864afd4 platform/x86: thinkpad_acpi: Add hotkey_notify_extended_hotkey() helper d7f9f5f26c6f platform/x86: thinkpad_acpi: Get privacy-screen / lcdshadow ACPI handles only once ff66a2279810 platform/x86: thinkpad_acpi: Register a privacy-screen device
-:89: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#89: FILE: drivers/platform/x86/thinkpad_acpi.c:9785:
+ priv->hw_state = priv->sw_state = state;
-:106: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided #106: FILE: drivers/platform/x86/thinkpad_acpi.c:9796:
+ priv->hw_state = priv->sw_state = output & 0x1;
total: 0 errors, 0 warnings, 2 checks, 183 lines checked ed2a0fed7736 drm/i915: Add privacy-screen support
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm: Add privacy-screen class and connector properties (rev3)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev3)
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. - + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ^~~~~~~~ + ^~~~~~~~ + ^~~~~~~~ + ^~~~~~~~ + connector->privacy_screen_hw_state_property, hw_state); + connector->privacy_screen_hw_state_property, hw_state); + connector->state->privacy_screen_sw_state = sw_state; + connector->state->privacy_screen_sw_state = sw_state; +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:274:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1345:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1345:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1345:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1346:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1346:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1346:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1405:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1405:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1405:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:287:16: error: incompatible types in comparison expression (different type sizes): +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:287:16: unsigned long * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:287:16: unsigned long long * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:274:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:274:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:274:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:275:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:275:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:275:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:329:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:329:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:329:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h:90:56: error: marked inline, but without a definition +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:270:49: error: static assertion failed: "amd_srio
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm: Add privacy-screen class and connector properties (rev3)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev3)
URL : https://patchwork.freedesktop.org/series/79259/
State : warning
== Summary ==
$ make htmldocs 2>&1 > /dev/null | grep i915 ./drivers/gpu/drm/i915/gem/i915_gem_shrinker.c:102: warning: Function parameter or member 'ww' not described in 'i915_gem_shrink' ./drivers/gpu/drm/i915/i915_cmd_parser.c:1420: warning: Excess function parameter 'trampoline' description in 'intel_engine_cmd_parser' ./drivers/gpu/drm/i915/i915_cmd_parser.c:1420: warning: Function parameter or member 'jump_whitelist' not described in 'intel_engine_cmd_parser' ./drivers/gpu/drm/i915/i915_cmd_parser.c:1420: warning: Function parameter or member 'shadow_map' not described in 'intel_engine_cmd_parser' ./drivers/gpu/drm/i915/i915_cmd_parser.c:1420: warning: Function parameter or member 'batch_map' not described in 'intel_engine_cmd_parser' ./drivers/gpu/drm/i915/i915_cmd_parser.c:1420: warning: Excess function parameter 'trampoline' description in 'intel_engine_cmd_parser'
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm: Add privacy-screen class and connector properties (rev3)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev3)
URL : https://patchwork.freedesktop.org/series/79259/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9994 -> Patchwork_19968
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/index.html
Known issues
------------
Here are the changes found in Patchwork_19968 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@semaphore:
- fi-bdw-5557u: NOTRUN -> [SKIP][1] ([fdo#109271]) +27 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/fi-bdw-5557u/igt@amdgpu/[email protected]
* igt@core_hotunplug@unbind-rebind:
- fi-bdw-5557u: NOTRUN -> [WARN][2] ([i915#2283])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/fi-bdw-5557u/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-bdw-5557u: NOTRUN -> [SKIP][3] ([fdo#109271] / [fdo#111827]) +8 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/fi-bdw-5557u/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- {fi-tgl-dsi}: [DMESG-FAIL][4] ([i915#541]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/fi-tgl-dsi/igt@i915_selftest@live@gt_heartbeat.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/fi-tgl-dsi/igt@i915_selftest@live@gt_heartbeat.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1222]: https://gitlab.freedesktop.org/drm/intel/issues/1222
[i915#2283]: https://gitlab.freedesktop.org/drm/intel/issues/2283
[i915#541]: https://gitlab.freedesktop.org/drm/intel/issues/541
Participating hosts (42 -> 40)
------------------------------
Missing (2): fi-bsw-cyan fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_9994 -> Patchwork_19968
CI-20190529: 20190529
CI_DRM_9994: 37ccc1432d3a2e6dddeaa2a68659aa790a9ad50c @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6072: 0a51f49df9f5ca535fc0206a27a6780de6b52320 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19968: ed2a0fed7736e04328b5a876261c51a982463bcd @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
ed2a0fed7736 drm/i915: Add privacy-screen supportff66a2279810 platform/x86: thinkpad_acpi: Register a privacy-screen device d7f9f5f26c6f platform/x86: thinkpad_acpi: Get privacy-screen / lcdshadow ACPI handles only once ee59d864afd4 platform/x86: thinkpad_acpi: Add hotkey_notify_extended_hotkey() helper 1b1cb90d0bce drm/connector: Add a drm_connector privacy-screen helper functions 4f93f9d92a68 drm/privacy-screen: Add notifier support9bd51402f3ba drm/privacy-screen: Add X86 specific arch init code7e5c15daa117 drm: Add privacy-screen class (v2)ac8be957664f drm/connector: Add support for privacy-screen properties (v4)
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm: Add privacy-screen class and connector properties (rev3)
In reply to Hans de Goede== Series Details ==
== Series Details ==
Series: drm: Add privacy-screen class and connector properties (rev3)
URL : https://patchwork.freedesktop.org/series/79259/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_9994_full -> Patchwork_19968_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_19968_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_19968_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_19968_full:
### IGT changes ###
#### Possible regressions ####
* igt@i915_pm_rps@reset:
- shard-skl: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_19968_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-massive:
- shard-skl: NOTRUN -> [DMESG-WARN][3] ([i915#3002])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl2/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-mixed-process:
- shard-snb: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#1099]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-snb2/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: [PASS][5] -> [TIMEOUT][6] ([i915#2369] / [i915#2481] / [i915#3070])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb7/igt@[email protected]
* igt@gem_exec_create@forked:
- shard-glk: [PASS][7] -> [DMESG-WARN][8] ([i915#118] / [i915#95])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-glk2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-glk9/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-tglb: [PASS][9] -> [FAIL][10] ([i915#2846])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-tglb8/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-tglb8/igt@[email protected]
- shard-skl: NOTRUN -> [FAIL][11] ([i915#2846])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@[email protected]
* igt@gem_exec_fair@basic-pace@bcs0:
- shard-tglb: [PASS][12] -> [FAIL][13] ([i915#2842]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-tglb2/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-iclb: NOTRUN -> [FAIL][14] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-wide-active@bcs0:
- shard-apl: NOTRUN -> [FAIL][15] ([i915#2389]) +3 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@gem_exec_reloc@[email protected]
* igt@gem_exec_reloc@basic-wide-active@vcs1:
- shard-iclb: NOTRUN -> [FAIL][16] ([i915#2389])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb2/igt@gem_exec_reloc@[email protected]
* igt@gem_mmap_gtt@cpuset-medium-copy-odd:
- shard-glk: [PASS][17] -> [FAIL][18] ([i915#307])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-glk6/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-glk2/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-snb: NOTRUN -> [WARN][19] ([i915#2658])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-snb2/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-apl: NOTRUN -> [FAIL][20] ([i915#3318])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl2/igt@[email protected]
* igt@gen9_exec_parse@bb-large:
- shard-apl: NOTRUN -> [FAIL][21] ([i915#3296])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][22] -> [FAIL][23] ([i915#454])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb1/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb6/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-snb: NOTRUN -> [INCOMPLETE][24] ([i915#2782])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-snb7/igt@i915_selftest@[email protected]
* igt@kms_big_joiner@basic:
- shard-skl: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#2705])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl1/igt@[email protected]
* igt@kms_ccs@pipe-c-bad-aux-stride:
- shard-skl: NOTRUN -> [SKIP][26] ([fdo#109271] / [fdo#111304])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@[email protected]
* igt@kms_chamelium@dp-mode-timings:
- shard-apl: NOTRUN -> [SKIP][27] ([fdo#109271] / [fdo#111827]) +18 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-0-5:
- shard-kbl: NOTRUN -> [SKIP][28] ([fdo#109271] / [fdo#111827]) +4 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl2/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-limited-range:
- shard-snb: NOTRUN -> [SKIP][29] ([fdo#109271] / [fdo#111827]) +14 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-snb2/igt@[email protected]
* igt@kms_color_chamelium@pipe-invalid-ctm-matrix-sizes:
- shard-skl: NOTRUN -> [SKIP][30] ([fdo#109271] / [fdo#111827]) +14 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-apl: NOTRUN -> [TIMEOUT][31] ([i915#1319])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-skl: NOTRUN -> [FAIL][32] ([i915#2346] / [i915#533])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-hdmi-a2:
- shard-glk: [PASS][33] -> [FAIL][34] ([i915#79])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-glk8/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-glk4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-edp1:
- shard-skl: NOTRUN -> [INCOMPLETE][35] ([i915#198])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile:
- shard-apl: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#2642]) +1 similar issue
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile:
- shard-snb: NOTRUN -> [SKIP][37] ([fdo#109271]) +230 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-snb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-blt:
- shard-skl: NOTRUN -> [SKIP][38] ([fdo#109271]) +157 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-apl: [PASS][39] -> [DMESG-WARN][40] ([i915#180]) +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-apl2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl1/igt@[email protected]
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: NOTRUN -> [FAIL][41] ([i915#1188])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl10/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- shard-apl: NOTRUN -> [SKIP][42] ([fdo#109271] / [i915#533]) +3 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl8/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [PASS][43] -> [DMESG-WARN][44] ([i915#180]) +9 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][45] ([fdo#108145] / [i915#265]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [PASS][46] -> [FAIL][47] ([fdo#108145] / [i915#265])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl9/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl9/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-7efc:
- shard-skl: NOTRUN -> [FAIL][48] ([fdo#108145] / [i915#265])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3:
- shard-skl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#658]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-4:
- shard-apl: NOTRUN -> [SKIP][50] ([fdo#109271] / [i915#658]) +4 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@[email protected]
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: [PASS][51] -> [SKIP][52] ([fdo#109441]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb4/igt@kms_psr@psr2_cursor_plane_move.html
* igt@kms_vblank@pipe-d-wait-forked-hang:
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271]) +226 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl2/igt@[email protected]
* igt@kms_writeback@writeback-check-output:
- shard-apl: NOTRUN -> [SKIP][54] ([fdo#109271] / [i915#2437]) +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-kbl: NOTRUN -> [SKIP][55] ([fdo#109271] / [i915#2437])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl2/igt@[email protected]
* igt@kms_writeback@writeback-invalid-parameters:
- shard-skl: NOTRUN -> [SKIP][56] ([fdo#109271] / [i915#2437])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@[email protected]
* igt@perf@polling-small-buf:
- shard-skl: [PASS][57] -> [FAIL][58] ([i915#1722])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl9/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl7/igt@[email protected]
* igt@prime_nv_api@i915_nv_double_import:
- shard-kbl: NOTRUN -> [SKIP][59] ([fdo#109271]) +37 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl3/igt@prime_nv_api@i915_nv_double_import.html
* igt@sysfs_clients@fair-1:
- shard-apl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#2994]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl7/igt@[email protected]
* igt@sysfs_clients@sema-25:
- shard-skl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#2994])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl6/igt@[email protected]
#### Possible fixes ####
* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][62] ([i915#658]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb8/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb2/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [TIMEOUT][64] ([i915#2369] / [i915#3063]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-tglb3/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-tglb1/igt@[email protected]
* igt@gem_exec_create@madvise:
- shard-glk: [DMESG-WARN][66] ([i915#118] / [i915#95]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-glk9/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-glk6/igt@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: [FAIL][68] ([i915#2842]) -> [PASS][69] +2 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-glk5/igt@gem_exec_fair@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-glk5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-iclb: [FAIL][70] ([i915#2842]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb8/igt@gem_exec_fair@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_mmap_gtt@cpuset-big-copy-xy:
- shard-iclb: [FAIL][72] ([i915#307]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb1/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb6/igt@[email protected]
* igt@gem_vm_create@destroy-race:
- shard-tglb: [TIMEOUT][74] ([i915#2795]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-tglb1/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-tglb2/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [DMESG-WARN][76] ([i915#1436] / [i915#716]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl4/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl2/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-skl: [FAIL][78] ([i915#454]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl7/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl8/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: [DMESG-WARN][80] ([i915#180]) -> [PASS][81] +2 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl2/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl2/igt@[email protected]
* igt@kms_flip@basic-flip-vs-dpms@a-edp1:
- shard-skl: [DMESG-WARN][82] ([i915#1982]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl1/igt@kms_flip@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-skl: [FAIL][84] ([i915#79]) -> [PASS][85] +2 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl10/igt@kms_flip@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl1/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@c-edp1:
- shard-skl: [FAIL][86] ([i915#2122]) -> [PASS][87] +1 similar issue
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl7/igt@kms_flip@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl10/igt@kms_flip@[email protected]
* igt@kms_hdr@bpc-switch-dpms:
- shard-skl: [FAIL][88] ([i915#1188]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl6/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl4/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-kbl: [DMESG-WARN][90] ([i915#180] / [i915#533]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl2/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl3/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][92] ([fdo#109441]) -> [PASS][93] +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb8/igt@kms_psr@psr2_primary_mmap_cpu.html
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][94] ([i915#2681] / [i915#2684]) -> [WARN][95] ([i915#1804] / [i915#2684])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb1/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb4/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][96] ([i915#2684]) -> [WARN][97] ([i915#2681] / [i915#2684])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb2/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb1/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-4:
- shard-iclb: [SKIP][98] ([i915#658]) -> [SKIP][99] ([i915#2920])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb8/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-3:
- shard-iclb: [SKIP][100] ([i915#2920]) -> [SKIP][101] ([i915#658]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-iclb2/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-iclb1/igt@[email protected]
* igt@runner@aborted:
- shard-kbl: ([FAIL][102], [FAIL][103], [FAIL][104], [FAIL][105], [FAIL][106], [FAIL][107], [FAIL][108], [FAIL][109]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#2505] / [i915#3002]) -> ([FAIL][110], [FAIL][111], [FAIL][112], [FAIL][113], [FAIL][114], [FAIL][115], [FAIL][116], [FAIL][117], [FAIL][118], [FAIL][119], [FAIL][120], [FAIL][121]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#2505] / [i915#3002] / [i915#602])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl2/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl2/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl4/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl2/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl6/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl6/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl6/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-kbl2/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl4/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl6/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl4/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl2/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl1/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl2/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl4/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl1/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl4/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl6/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-kbl4/igt@[email protected]
- shard-apl: ([FAIL][122], [FAIL][123], [FAIL][124]) ([i915#180] / [i915#3002]) -> ([FAIL][125], [FAIL][126], [FAIL][127], [FAIL][128], [FAIL][129]) ([fdo#109271] / [i915#180] / [i915#1814] / [i915#3002])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-apl8/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-apl8/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-apl1/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl3/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl3/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl8/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl1/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-apl2/igt@[email protected]
- shard-skl: ([FAIL][130], [FAIL][131], [FAIL][132]) ([i915#1436] / [i915#1814] / [i915#2029] / [i915#3002]) -> ([FAIL][133], [FAIL][134]) ([i915#3002])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl4/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl2/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9994/shard-skl1/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl2/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/shard-skl2/igt@[email protected]
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#111304]: https://bugs.freedesktop.org/show_bug.cgi?id=111304
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1804]: https://gitlab.freedesktop.org/drm/intel/issues/1804
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2029]: https://gitlab.freedesktop.org/drm/intel/issues/2029
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2369]: https://gitlab.freedesktop.org/drm/intel/issues/2369
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2481]: https://gitlab.freedesktop.org/drm/intel/issues/2481
[i915#2505]: https://gitlab.freedesktop.org/drm/intel/issues/2505
[i915#2642]: https://gitlab.freedesktop.org/drm/intel/issues/2642
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2684]: https://gitlab.freedesktop.org/drm/intel/issues/2684
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#2782]: https://gitlab.freedesktop.org/drm/intel/issues/2782
[i915#2795]: https://gitlab.freedesktop.org/drm/intel/issues/2795
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3063]: https://gitlab.freedesktop.org/drm/intel/issues/3063
[i915#307]: https://gitlab.freedesktop.org/drm/intel/issues/307
[i915#3070]: https://gitlab.freedesktop.org/drm/intel/issues/3070
[i915#3296]: https://gitlab.freedesktop.org/drm/intel/issues/3296
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#602]: https://gitlab.freedesktop.org/drm/intel/issues/602
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_9994 -> Patchwork_19968
CI-20190529: 20190529
CI_DRM_9994: 37ccc1432d3a2e6dddeaa2a68659aa790a9ad50c @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6072: 0a51f49df9f5ca535fc0206a27a6780de6b52320 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19968: ed2a0fed7736e04328b5a876261c51a982463bcd @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19968/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi,
Quoted 2 lines · Hans de Goede
There now is GNOME userspace code using the new properties:
https://hackmd.io/@3v1n0/rkyIy3BOw
Thanks for working on this.
Can these patches be submitted as merge requests against the upstream projects? It would be nice to get some feedback from the maintainers, and be able to easily leave some comments there as well.
Thanks,
Simon
Hi,
Quoted 4 lines · Simon Ser
Hi,
On Wednesday, April 21st, 2021 at 10:47 PM, Hans de Goede <[email protected]> wrote:
Quoted 8 lines
Quoted 2 lines
There now is GNOME userspace code using the new properties:
https://hackmd.io/@3v1n0/rkyIy3BOwThanks for working on this.
Can these patches be submitted as merge requests against the upstream projects? It would be nice to get some feedback from the maintainers, and be able to easily leave some comments there as well.
I guess Marco was waiting for the kernel bits too land before submitting these, but I agree that it would probably be good to have these submitted now, we can mark them as WIP to avoid them getting merged before the kernel side is finalized.
Marco, can you take care of submitting WIP merge-reqs for these?
Regards,
Hans
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 4 lines · Hans de Goede
I guess Marco was waiting for the kernel bits too land before submitting these, but I agree that it would probably be good to have these submitted now, we can mark them as WIP to avoid them getting merged before the kernel side is finalized.
Yes, this is how it should be done, see [1]. In particular:
Quoted 2 lines
The userspace side must be fully reviewed and tested to the standards of that userspace project.
And yeah, the user-space side still can't be merged before the kernel side:
Quoted 3 lines
The kernel patch can only be merged after all the above requirements are met, but it must be merged to either drm-next or drm-misc-next before the userspace patches land.
[1]: https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#open-source-userspace-requirements
Hi,
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
There now is GNOME userspace code using the new properties:
https://hackmd.io/@3v1n0/rkyIy3BOwThanks for working on this.
Can these patches be submitted as merge requests against the upstream projects? It would be nice to get some feedback from the maintainers, and be able to easily leave some comments there as well.
FYI, I've discussed with other uptream developers about these while doing them, and afterwards on how to improve them.
Quoted 6 lines
I guess Marco was waiting for the kernel bits too land before submitting these,
but I agree that it would probably be good to have these submitted now, we
can mark them as WIP to avoid them getting merged before the kernel side is finalized.
I'll submit them in the next days once I'm done with the refactor I've in mind, and will notify the list.
And for sure we can keep them in WIP till the final bits aren't completed.
Cheers
Hello Hans, Marco, et al,
Quoted 22 lines · Marco Trevisan
Hi,
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
There now is GNOME userspace code using the new properties:
https://hackmd.io/@3v1n0/rkyIy3BOwThanks for working on this.
Can these patches be submitted as merge requests against the upstream projects? It would be nice to get some feedback from the maintainers, and be able to easily leave some comments there as well.
FYI, I've discussed with other uptream developers about these while doing them, and afterwards on how to improve them.
Quoted 6 lines
I guess Marco was waiting for the kernel bits too land before submitting these,
but I agree that it would probably be good to have these submitted now, we
can mark them as WIP to avoid them getting merged before the kernel side is finalized.
Quoted 2 lines
I'll submit them in the next days once I'm done with the refactor I've in mind, and will notify the list.
Any updates on the privacy-screen patchset? Can Hans' patchset be accepted upstream now?
Thanks,
Rajat
Quoted 4 lines
And for sure we can keep them in WIP till the final bits aren't completed.
Cheers
Hi Rajat,
The merge proposals are now in place after discussing a bit more with upstream:
- 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
This is all implemented and working for the wayland backend, for X11 I'm looking at it right now, even though it seems that we don't get any RRScreenChangeNotify on hotkey changes, and monitoring udev directly seems overkill. Anything should be adjusted at lower levels?
Cheers
Quoted 41 lines · Rajat Jain
Hello Hans, Marco, et al,
Quoted 22 lines · Marco Trevisan
Hi,
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
There now is GNOME userspace code using the new properties:
https://hackmd.io/@3v1n0/rkyIy3BOwThanks for working on this.
Can these patches be submitted as merge requests against the upstream projects? It would be nice to get some feedback from the maintainers, and be able to easily leave some comments there as well.
FYI, I've discussed with other uptream developers about these while doing them, and afterwards on how to improve them.
Quoted 6 lines
I guess Marco was waiting for the kernel bits too land before submitting these,
but I agree that it would probably be good to have these submitted now, we
can mark them as WIP to avoid them getting merged before the kernel side is finalized.Quoted 2 lines
I'll submit them in the next days once I'm done with the refactor I've in mind, and will notify the list.
Any updates on the privacy-screen patchset? Can Hans' patchset be accepted upstream now?
Thanks,
Rajat
Quoted 4 lines
And for sure we can keep them in WIP till the final bits aren't completed.
Cheers
Hello DRM / GPU maintainers,
Quoted 8 lines · Marco Trevisan
Hi Rajat,
The merge proposals are now in place after discussing a bit more with upstream:
- 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
It seems that the subject kernel patch series (privacy screen support) from Hans, has now satisfied all the requirements that were needed for it to be accepted upstream, and there aren't any open comments that need to be addressed.
I was wondering when would it be applied to the upstream kernel?
Thanks,
Rajat
Quoted 51 lines
This is all implemented and working for the wayland backend, for X11 I'm looking at it right now, even though it seems that we don't get any RRScreenChangeNotify on hotkey changes, and monitoring udev directly seems overkill. Anything should be adjusted at lower levels?
Cheers
Quoted 41 lines · Rajat Jain
Hello Hans, Marco, et al,
Quoted 22 lines · Marco Trevisan
Hi,
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
There now is GNOME userspace code using the new properties:
https://hackmd.io/@3v1n0/rkyIy3BOwThanks for working on this.
Can these patches be submitted as merge requests against the upstream projects? It would be nice to get some feedback from the maintainers, and be able to easily leave some comments there as well.
FYI, I've discussed with other uptream developers about these while doing them, and afterwards on how to improve them.
Quoted 6 lines
I guess Marco was waiting for the kernel bits too land before submitting these,
but I agree that it would probably be good to have these submitted now, we
can mark them as WIP to avoid them getting merged before the kernel side is finalized.Quoted 2 lines
I'll submit them in the next days once I'm done with the refactor I've in mind, and will notify the list.
Any updates on the privacy-screen patchset? Can Hans' patchset be accepted upstream now?
Thanks,
Rajat
Quoted 4 lines
And for sure we can keep them in WIP till the final bits aren't completed.
Cheers