• Daniel Stone's avatar
    backend-drm: Enforce content protection for hardware planes · d32dfcf8
    Daniel Stone authored
    62626cbf ensures that the GL render will not render a view's content
    to the screen when the surface has requested a higher content-protection
    level than the output currently offers.
    
    When the HDCP MR was split into the core content-protection support in !83
    and specific DRM support for HDCP in !48 (not yet landed), this opened a
    hole where the DRM backend could promote a view to a hardware plane,
    even if the output offered a lower protection level than the surface
    wanted to enforce.
    
    In the DRM backend, check the desired protection level, and refuse to
    promote the view to a hardware plane if the output does not offer
    sufficient protection. This will lead to presentation falling back to
    the renderer, which may censor the content, reduce quality, etc.
    Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
    Fixes: 4b6e73d6 ("libweston: Add support to set content-protection for a weston_surface")
    d32dfcf8
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clients Loading commit data...
compositor Loading commit data...
data Loading commit data...
desktop-shell Loading commit data...
doc Loading commit data...
fullscreen-shell Loading commit data...
include Loading commit data...
ivi-shell Loading commit data...
libweston Loading commit data...
libweston-desktop Loading commit data...
man Loading commit data...
pipewire Loading commit data...
protocol Loading commit data...
remoting Loading commit data...
shared Loading commit data...
tests Loading commit data...
tools/zunitc Loading commit data...
wcap Loading commit data...
xwayland Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
DCO-1.1.txt Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
notes.txt Loading commit data...
releasing.md Loading commit data...
weston.ini.in Loading commit data...