diff options
author | 2019-02-25 14:46:03 +0800 | |
---|---|---|
committer | 2019-03-19 15:04:02 -0500 | |
commit | a8394cfa42335f0d634be5715bcca51caa178f6a (patch) | |
tree | b9a525438b6a4dcc381929ea42bd89e9688d8238 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | drm/amd/powerplay: fix the issue of checking on message mapping (diff) | |
download | linux-dev-a8394cfa42335f0d634be5715bcca51caa178f6a.tar.xz linux-dev-a8394cfa42335f0d634be5715bcca51caa178f6a.zip |
drm/amd/powerplay: use REG32_PCIE wrapper instead for sw smu
This patch uses REG32_PCIE wrapper instead of writting pci_index2 and reading
pci_data2. This sequence should be protected by pcie_idx_lock.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions