aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2017-11-22 14:55:21 +0000
committerAlex Deucher <[email protected]>2017-11-28 22:44:14 +0000
commitfa7c7939b4bf112cd06ba166b739244077898990 (patch)
treedb5b7742c26247e7d67aab43cca8952ec25777f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: Set adev->vcn.irq.num_types for VCN (diff)
downloadkernel-fa7c7939b4bf112cd06ba166b739244077898990.tar.gz
kernel-fa7c7939b4bf112cd06ba166b739244077898990.zip
drm/amdgpu: Use unsigned ring indices in amdgpu_queue_mgr_map
This matches the corresponding UAPI fields. Treating the ring index as signed could result in accessing random unrelated memory if the MSB was set. Fixes: effd924d2f3b ("drm/amdgpu: untie user ring ids from kernel ring ids v6") Cc: [email protected] Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Michel Dänzer <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions