|
@@ -300,11 +300,9 @@ static int vce_v4_0_sriov_start(struct amdgpu_device *adev)
|
|
|
memcpy((void *)init_table, &end, sizeof(struct mmsch_v1_0_cmd_end));
|
|
|
table_size += sizeof(struct mmsch_v1_0_cmd_end) / 4;
|
|
|
header->vce_table_size = table_size;
|
|
|
-
|
|
|
- return vce_v4_0_mmsch_start(adev, &adev->virt.mm_table);
|
|
|
}
|
|
|
|
|
|
- return -EINVAL; /* already initializaed ? */
|
|
|
+ return vce_v4_0_mmsch_start(adev, &adev->virt.mm_table);
|
|
|
}
|
|
|
|
|
|
/**
|