From: Huang Rui <[email protected]>

OD feature isn't enabled on navi10 so skip it for the moment.

Signed-off-by: Huang Rui <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c 
b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
index 4311ee38a774..7aa6cf3c0dac 100644
--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
@@ -1618,6 +1618,13 @@ static int smu_v11_0_set_od8_default_settings(struct 
smu_context *smu,
        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;
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to