tests/amdgpu/vcn:vcn encoder unit test
Add support for vcn encoder unit test Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>main
parent
0b21fcb214
commit
f7828dc180
|
@ -96,7 +96,7 @@ CU_TestInfo vce_tests[] = {
|
||||||
|
|
||||||
CU_BOOL suite_vce_tests_enable(void)
|
CU_BOOL suite_vce_tests_enable(void)
|
||||||
{
|
{
|
||||||
uint32_t version, feature, asic_id;
|
uint32_t version, feature;
|
||||||
CU_BOOL ret_mv = CU_FALSE;
|
CU_BOOL ret_mv = CU_FALSE;
|
||||||
|
|
||||||
if (amdgpu_device_initialize(drm_amdgpu[0], &major_version,
|
if (amdgpu_device_initialize(drm_amdgpu[0], &major_version,
|
||||||
|
@ -107,7 +107,6 @@ CU_BOOL suite_vce_tests_enable(void)
|
||||||
chip_rev = device_handle->info.chip_rev;
|
chip_rev = device_handle->info.chip_rev;
|
||||||
chip_id = device_handle->info.chip_external_rev;
|
chip_id = device_handle->info.chip_external_rev;
|
||||||
ids_flags = device_handle->info.ids_flags;
|
ids_flags = device_handle->info.ids_flags;
|
||||||
asic_id = device_handle->info.asic_id;
|
|
||||||
|
|
||||||
amdgpu_query_firmware_version(device_handle, AMDGPU_INFO_FW_VCE, 0,
|
amdgpu_query_firmware_version(device_handle, AMDGPU_INFO_FW_VCE, 0,
|
||||||
0, &version, &feature);
|
0, &version, &feature);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue