drm/amd/pm: apply the CDR workarounds only with some specific UMC firmwares(V2)
authorEvan Quan <evan.quan@amd.com>
Wed, 26 Aug 2020 10:19:28 +0000 (18:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 21:46:47 +0000 (17:46 -0400)
commitbb7257b5a8b0182019df3b9819417301978d7538
tree9938d8053a95febbe85952228d96af4e968ab041
parent665945eb49d559588633ca8653d4e9e437161df8
drm/amd/pm: apply the CDR workarounds only with some specific UMC firmwares(V2)

And different workaround will be applied based on hybrid cdr bit.

V2: add pmfw version guard to make sure the new workaround applied only
    with pmfw >= 42.53.0

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/smu_types.h
drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c