summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorBokun Zhang <Bokun.Zhang@amd.com>2020-11-09 13:59:27 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-11-10 14:26:24 -0500
commit25a35065c066496935217748b1662a7fcf26ed58 (patch)
tree9ffbfb9384bb38e77e9b770472b00c37d7891f2c /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parent880af2eaedd3f63d413a439ef29edcc0a5fbdc73 (diff)
drm/amd/amdgpu: Fix incorrect logic to increment VCN doorbell index
- The original logic uses a counter based index assignment, which is incorrect if we only assign VCN1 to this VF but no VCN0 The doorbell index is absolute, so we can calculate it by using index variable i and j Signed-off-by: Bokun Zhang <Bokun.Zhang@amd.com> Reviewed-by: Monk Liu <monk.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions