summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorJesse.zhang@amd.com <Jesse.zhang@amd.com>2024-12-05 12:41:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-12-10 18:26:18 +0300
commit438b39ac74e2a9dc0a5c9d653b7d8066877e86b1 (patch)
tree8b15a3c824327d37a8fc70053cc3458428923ae1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentf4df208177d02f1c90f3644da3a2453080b8c24f (diff)
downloadlinux-438b39ac74e2a9dc0a5c9d653b7d8066877e86b1.tar.xz
drm/amdkfd: pause autosuspend when creating pdd
When using MES creating a pdd will require talking to the GPU to setup the relevant context. The code here forgot to wake up the GPU in case it was in suspend, this causes KVM to EFAULT for passthrough GPU for example. This issue can be masked if the GPU was woken up by other things (e.g. opening the KMS node) first and have not yet gone to sleep. v4: do the allocation of proc_ctx_bo in a lazy fashion when the first queue is created in a process (Felix) Signed-off-by: Jesse Zhang <jesse.zhang@amd.com> Reviewed-by: Yunxiang Li <Yunxiang.Li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions