aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2019-11-08 15:07:56 +0000
committerAlex Deucher <[email protected]>2019-11-19 15:12:49 +0000
commit9d9cc9b8fe85e7c7cdfc58b61830ca38f770cab1 (patch)
tree801ea7b793018c840f8607fb51e9d4465113157f /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
parentdrm/amdgpu: add JPEG HW IP and SW structures (diff)
downloadkernel-9d9cc9b8fe85e7c7cdfc58b61830ca38f770cab1.tar.gz
kernel-9d9cc9b8fe85e7c7cdfc58b61830ca38f770cab1.zip
drm/amdgpu: add amdgpu_jpeg and JPEG tests
It will be used for all versions of JPEG eventually. Previous JPEG tests will be removed later since they are still used by JPEG2.x. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
index 36e2b7340c97..a8d988c25f45 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
@@ -43,4 +43,7 @@ struct amdgpu_jpeg {
unsigned harvest_config;
};
+int amdgpu_jpeg_dec_ring_test_ring(struct amdgpu_ring *ring);
+int amdgpu_jpeg_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout);
+
#endif /*__AMDGPU_JPEG_H__*/