Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 85
    • Issues 85
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 30
    • Merge requests 30
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • virgl
  • virglrenderer
  • Merge requests
  • !682

venus: add logging and raise VKR_CS_DECODER_TEMP_POOL_MAX_SIZE to 1GB

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Chia-I Wu requested to merge olv/virglrenderer:vrend-log into master Jan 19, 2022
  • Overview 6
  • Commits 4
  • Pipelines 6
  • Changes 4

VKR_CS_DECODER_TEMP_POOL_MAX_SIZE is to avoid integer overflows and to catch bogus allocations (e.g., the guest driver encodes an uninitialized value). In practice, the largest allocations we've seen are from vkGetPipelineCacheData and are dozens of MBs.

This fixes Rise of the Tomb Raider whose vkGetPipelineCacheData calls can exceed 32MB.

/cc @zzyiwei @ryanneph

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: vrend-log