OD feature isn't enabled on navi10 so skip it for the moment.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
struct smu_table_context *table_context = &smu->smu_table;
int ret;
+ /**
+ * TODO: Enable overdrive for navi10, that replies on smc/pptable
+ * support.
+ */
+ if (smu->adev->asic_type == CHIP_NAVI10)
+ return 0;
+
if (initialize) {
if (table_context->overdrive_table)
return -EINVAL;