Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
weston
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 273
    • Issues 273
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 120
    • Merge Requests 120
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • weston
  • Merge Requests
  • !252

Merged
Opened Aug 19, 2019 by Daniel Stone@danielsOwner

backend-drm: Enforce content protection for hardware planes

  • Overview 3
  • Commits 1
  • Pipelines 2
  • Changes 1

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 (closed) and specific DRM support for HDCP in !48 (merged) (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 daniels@collabora.com Fixes: 4b6e73d6 ("libweston: Add support to set content-protection for a weston_surface")

Assignee
Assign to
Reviewer
Request review from
7.0.0
Milestone
7.0.0 (Past due)
Assign milestone
Time tracking
Reference: wayland/weston!252
Source branch: drm-no-protected-content-in-planes