Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Metrics
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Alex Deucher
  • linux
  • Repository

Switch branch/tag
  • linux
  • drivers
  • gpu
  • drm
  • amd
  • amdkfd
  • kfd_migrate.h
Find file BlameHistoryPermalink
  • Felix Kuehling's avatar
    drm/amdkfd: multiple gpu migrate vram to vram · 1a3b2b5d
    Felix Kuehling authored Feb 24, 2021
    
    
    If prefetch range to gpu with acutal location is another gpu, or GPU
    retry fault restore pages to migrate the range with acutal location is
    gpu, then migrate from one gpu to another gpu.
    
    Use system memory as bridge because sdma engine may not able to access
    another gpu vram, use sdma of source gpu to migrate to system memory,
    then use sdma of destination gpu to migrate from system memory to gpu.
    
    Print out gpuid or gpuidx in debug messages.
    Signed-off-by: Philip Yang's avatarPhilip Yang <Philip.Yang@amd.com>
    Reviewed-by: Felix Kuehling's avatarFelix Kuehling <Felix.Kuehling@amd.com>
    Signed-off-by: Felix Kuehling's avatarFelix Kuehling <Felix.Kuehling@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    1a3b2b5d

Replace kfd_migrate.h

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.