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
  • !20550

turnip: add cached and cached-coherent memory types

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Danylo Piliaiev requested to merge Danil/mesa:turnip/feature/cached-memory-type into main Jan 06, 2023
  • Overview 50
  • Commits 2
  • Pipelines 28
  • Changes 7

vkd3d requires cached memory type.

MSM backed supports cached-coherent but not cached non-coherent since there is no way to flush and invalidate the memory.

KGSL supports both.

Note, CTS tests doesn't seem good at testing flushing and invalidating, the ones I found passed on KGSL with both functions being no-op.

Based on the old patch from Jonathan Marek.

Closes: #7636 (closed)


Original MR: !6949 (closed)


Regarding non-coherent cached memory on MSM, I think the last attempt to provide the functionality in kernel stalled long time ago: https://lore.kernel.org/lkml/20201001002709.21361-3-jonathan@marek.ca/

@robclark I guess no other alternative to it went through?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: turnip/feature/cached-memory-type