drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
authorjsg <jsg@openbsd.org>
Mon, 11 Apr 2022 03:50:08 +0000 (03:50 +0000)
committerjsg <jsg@openbsd.org>
Mon, 11 Apr 2022 03:50:08 +0000 (03:50 +0000)
commita57ec6dbbd39da1263cbd833e9e7df945f001758
treee91fd8f1720521da970ed135ab95824ca9dd6455
parent574f34472dd90906066e8be4d9bb2bf2f88bdae4
drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function

From Tom Rix
b175bc58641032cfdb89f92afd76939be2ae22b4 in linux 5.15.y/5.15.33
430e6a0212b2a0eb1de5e9d47a016fa79edf3978 in mainline linux
sys/dev/pci/drm/amd/pm/swsmu/amdgpu_smu.c