drm/amdgpu: move cs dependencies front a bit
Subsystems (2)
PATCH 1/1 drm/amdgpu: move cs dependencies front a bit
cs dependencies handling doesn't need in vm resv
Signed-off-by Chunming Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +6 -6
@@ -1353,6 +1353,12 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)if (r) goto out; + r =amdgpu_cs_dependencies (adev, &parser); +if (r) { +DRM_ERROR ("Failed in the dependencies handling %d!\n" , r); + goto out; + } + r =amdgpu_cs_parser_bos (&parser, data);if (r) {if (r == -ENOMEM )
@@ -1364,12 +1370,6 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) reserved_buffers = true; - r =amdgpu_cs_dependencies (adev, &parser); -if (r) { -DRM_ERROR ("Failed in the dependencies handling %d!\n" , r); - goto out; - } -for (i =0 ; i < parser.job->num_ibs; i++)trace_amdgpu_cs (&parser, i);
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Christian König
Reviewed-byAm 11.09.2018 um 11:24 schrieb Chunming Zhou:
Quoted 3 lines
cs dependencies handling doesn't need in vm resv
Signed-off-by Chunming Zhou <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +6
-0@@ -1353,6 +1353,12 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)if (r) goto out; + r =amdgpu_cs_dependencies (adev, &parser); +if (r) { +DRM_ERROR ("Failed in the dependencies handling %d!\n" , r); + goto out; + } + r =amdgpu_cs_parser_bos (&parser, data);if (r) {if (r == -ENOMEM )@@ -1364,12 +1370,6 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) reserved_buffers = true;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) · line 1375
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +0
-6- r =amdgpu_cs_dependencies (adev, &parser); -if (r) { -DRM_ERROR ("Failed in the dependencies handling %d!\n" , r); - goto out; - } -for (i =0 ; i < parser.job->num_ibs; i++)trace_amdgpu_cs (&parser, i);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx