diff --git a/meson.build b/meson.build index e6ca45c..6e06967 100644 --- a/meson.build +++ b/meson.build @@ -75,6 +75,7 @@ staging_protocols = { 'xdg-toplevel-icon': ['v1'], 'xdg-toplevel-tag': ['v1'], 'xwayland-shell': ['v1'], + 'secure-display':['v1'], } experimental_protocols = { diff --git a/staging/secure-display/README b/staging/secure-display/README new file mode 100644 index 0000000..7ce9ed4 --- /dev/null +++ b/staging/secure-display/README @@ -0,0 +1,4 @@ +Linux secure display protocol + +Maintainers: +Sophia Gong diff --git a/staging/secure-display/secure-display-v1.xml b/staging/secure-display/secure-display-v1.xml new file mode 100644 index 0000000..2c27fe3 --- /dev/null +++ b/staging/secure-display/secure-display-v1.xml @@ -0,0 +1,112 @@ + + + + + Copyright © 2023 Advanced Micro Devices, Inc. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + + + This protocol allows compositors to calculate pixel R/G/B channel CRC-16 + of specified screen region of interest for security check. + + Warning! The protocol described in this file is currently in the testing + phase. Backward compatible changes may be added together with the + corresponding interface version bump. Backward incompatible changes can + only be done by creating a new major version of the extension. + + + + + A global factory interface for secure_display objects. + + + + + Using this request a client can tell the server that it is not going to use + the secure_display_manager object anymore. + + + + + + Create a secure display crtc interface to handle roi request and crc comparison. + + + + + + + + + An interface to implement secure display on an assigned crtc. it will send roi request + to display driver and read back crc calculated by display controller. + + + + + + + + + + Clients send request to set screen roi. + + + + + + + + + + + Clients send request to read back crc-16 for specified roi. + + + + + + + + + + + + + + + + + + + out-fence is to synchronize between weston compositor and drm display driver about + crc-16 read back. + + + + + + + + + +