Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,068
    • Issues 3,068
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 999
    • Merge requests 999
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Merge requests
  • !10134

amd: add support for tiled multi-planar formats

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Simon Ser requested to merge emersion/mesa:nv12 into master Apr 09, 2021
  • Overview 9
  • Commits 5
  • Pipelines 12
  • Changes 4

The goal of this merge request is to allow radeonsi's VA-API driver to produce NV12 buffers that can be scanned out by KMS on a rotated hw plane. amdgpu requires buffers to have a tiled (ie, non-linear) layout for rotated hw planes. This MR can be tested together with an amdgpu patch.

The first part of this MR adds support for VASurfaceAttribDRMFormatModifiers, a new VA-API surface attribute that allows applications to choose the format modifier picked by the driver for buffer allocations. The second part of this MR enables non-linear multi-planar buffers for all of the Mesa AMD drivers.

cc @bnieuwenhuizen @mareko @leoliu

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: nv12