summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleemkhan Jamadar <saleemkhan.jamadar@amd.com>2022-11-08 17:09:14 +0530
committerLeo Liu <leo.liu@amd.com>2022-11-11 09:57:01 -0500
commite699b28b5494ab280f8b4e3ddbffd8ef4b7b7776 (patch)
tree715fbd402a02e1a1cb2dfc2385044b96ea2e9fed
parent0a8fad5f5c2197c7585daa04e414fd9c67042e10 (diff)
downloaddrm-e699b28b5494ab280f8b4e3ddbffd8ef4b7b7776.tar.gz
tests/amdgpu/jpeg: enable unit test for jpeg 4
Enable decode unit test for jpeg4. Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Reviewed-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
-rw-r--r--tests/amdgpu/jpeg_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/jpeg_tests.c b/tests/amdgpu/jpeg_tests.c
index 772a4fec..eccbfeb1 100644
--- a/tests/amdgpu/jpeg_tests.c
+++ b/tests/amdgpu/jpeg_tests.c
@@ -181,7 +181,7 @@ CU_BOOL suite_jpeg_tests_enable(void)
if (info.hw_ip_version_major == 1)
jpeg_direct_reg = false;
- else if (info.hw_ip_version_major > 1 && info.hw_ip_version_major <= 3)
+ else if (info.hw_ip_version_major > 1 && info.hw_ip_version_major <= 4)
jpeg_direct_reg = true;
else
return CU_FALSE;