drm/amdgpu: print an error when the parser can't be initialized
Subsystems (2)
PATCH 1/1 drm/amdgpu: print an error when the parser can't be initialized
Similar to other error messages, might help for tracking down issues.
Signed-off-by Samuel Pitoiset <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +1 -1
@@ -1285,7 +1285,7 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) r =amdgpu_cs_parser_init (&parser, data);if (r) { -DRM_ERROR ("Failed to initialize parser !\n" ); +DRM_ERROR ("Failed to initialize parser %d!\n" , r); goto out; }
Signature · 6 lines
2.19.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): 20181029112306.1709-1-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Christian König
Reviewed-byAm 29.10.18 um 12:23 schrieb Samuel Pitoiset:
Quoted 4 lines
Similar to other error messages, might help for tracking down issues.
Signed-off-by Samuel Pitoiset <[email protected]>
Reviewed-by Christian König <[email protected]>
Going to push that if nobody objects,
Christian.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) · line 1291
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +1
-1@@ -1285,7 +1285,7 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) r =amdgpu_cs_parser_init (&parser, data);if (r) { -DRM_ERROR ("Failed to initialize parser !\n" ); +DRM_ERROR ("Failed to initialize parser %d!\n" , r); goto out; }
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx