aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorMike Marciniszyn <[email protected]>2018-02-01 18:52:35 +0000
committerJason Gunthorpe <[email protected]>2018-02-01 22:43:30 +0000
commit78d3633ba9c2351fc869271ee00284f46e6b15b2 (patch)
treee491cd82c0c3de6b950b89fb46fc2829e8f9c5b4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentIB/hfi1: Convert PortXmitWait/PortVLXmitWait counters to flit times (diff)
downloadkernel-78d3633ba9c2351fc869271ee00284f46e6b15b2.tar.gz
kernel-78d3633ba9c2351fc869271ee00284f46e6b15b2.zip
IB/hfi1: Remove blind constants from 16B update
These values were introduced as part of the 16B code to account for the varying size of the LRH between the differing packet formats. Replace the blind constants with defines based on FIELD_SIZEOF() calls. Fixes: 5b6cabb0db77 ("IB/hfi1: Add 16B RC/UC support") Reviewed-by: Don Hiatt <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions