summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
diff options
context:
space:
mode:
authorColin Ian King2017-11-09 12:35:00 +0100
committerAlex Deucher2017-11-10 00:12:19 +0100
commit1ec9b0afbdc32800ea1ff10ce61c52f5ceba4431 (patch)
tree6d0c5e0b684c1587d9d9fc3d8556b7bef70f3f64 /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
parentdrm/amdgpu: Fix null pointer issue in amdgpu_cs_wait_any_fence (diff)
downloadkernel-qcow2-linux-1ec9b0afbdc32800ea1ff10ce61c52f5ceba4431.tar.gz
kernel-qcow2-linux-1ec9b0afbdc32800ea1ff10ce61c52f5ceba4431.tar.xz
kernel-qcow2-linux-1ec9b0afbdc32800ea1ff10ce61c52f5ceba4431.zip
drm/amd/powerplay: fix copy-n-paste error on vddci_buf index
The index to vddci_buf is using profile->ucElbVDDC_Num rather than profile->ucElbVDDCI_Num; this looks like a copy-n-paste error from previous code for the vddc_buf array and I'm pretty sure this is incorrect. Fix this by using the correct variable. Detected by CoverityScan, CID#1457172 ("Copy-paste error") Fixes: 970d9804b00d ("drm/amd/powerplay: Add support functions for CI to ppatomctrl.c") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
0 files changed, 0 insertions, 0 deletions