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 <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Leo Liu
2019-11-08 10:07:56 -05:00
committed by Alex Deucher
parent 88a1c40a04
commit 9d9cc9b8fe
3 changed files with 141 additions and 2 deletions

View File

@@ -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__*/