Skip to content

GitLab

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

Closed
Open
Opened Nov 13, 2020 by Bas Nieuwenhuizen@bnieuwenhuizenReporter

Fence optimization not triggering for timeline semaphores

in AMDGPU generally if the signal and wait of a syncobj happen on the same queue the cmdbuffer with the wait can be scheduled before the signalling cmdbuffer is finished. This can avoid causing a GPU->CPU->GPU roundtrip with an idle GPU in between.

However this seems to fail with timeline syncobj.

My running assumption is that we try to convert the fence to a drm scheduler fence:

https://cgit.freedesktop.org/drm/drm-misc/tree/drivers/gpu/drm/scheduler/sched_entity.c?id=e3e043992cb600506022761e9c5c90c85cda3386#n381

but this will likely fail as we're dealing with a dma fence chain fence.

So if we want to keep this optimization we will need to do something like unpacking the last fence in the chain.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: drm/amd#1370