Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3.2k
    • Issues 3.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1k
    • Merge requests 1k
  • 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
  • !3723

gallium: Add format modifier aux plane query

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged James Jones requested to merge cubanismo/mesa:gallium-dri_cleanup into master Feb 05, 2020
  • Overview 52
  • Commits 2
  • Pipelines 30
  • Changes 13

Rather than hard-code a list of all the format modifiers supported by any gallium driver in the dri state tracker, add a screen proc that queries the number of auxiliary planes required for a given modifier+format pair.

Since the only format modifier that requires auxiliary planes currently is the iris driver's I915_FORMAT_MOD_Y_TILED_CCS, provide a generic implementation of this screen proc as a utility function, and use that in every driver besides the iris driver, which requires a trivial customization on top of it.

Signed-off-by: James Jones jajones@nvidia.com

Edited Sep 05, 2020 by James Jones
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gallium-dri_cleanup