aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2022-09-29 12:04:01 +0000
committerChristian König <[email protected]>2022-11-03 11:45:20 +0000
commit1728baa7e4e60054bf13dd9b1212d133cbd53b3f (patch)
tree9f1d480c5655e67c3a19c7d2dbd3eb55ad5f4d20 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h
parentdrm/amdgpu: use scheduler dependencies for UVD msgs (diff)
downloadkernel-1728baa7e4e60054bf13dd9b1212d133cbd53b3f.tar.gz
kernel-1728baa7e4e60054bf13dd9b1212d133cbd53b3f.zip
drm/amdgpu: use scheduler dependencies for CS
Entirely remove the sync obj in the job. Signed-off-by: Christian König <[email protected]> Reviewed-by: Luben Tuikov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h
index cbaa19b2b8a3..207e801c24ed 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h
@@ -75,6 +75,8 @@ struct amdgpu_cs_parser {
unsigned num_post_deps;
struct amdgpu_cs_post_dep *post_deps;
+
+ struct amdgpu_sync sync;
};
int amdgpu_cs_find_mapping(struct amdgpu_cs_parser *parser,