aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorSasha Neftin <[email protected]>2021-07-04 07:11:41 +0000
committerTony Nguyen <[email protected]>2021-08-20 15:38:01 +0000
commit44a13a5d99c71bf9e1676d9e51679daf4d7b3d73 (patch)
tree2c034c750a6c646182bb7e8c037adc9cd4ba0185 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentigc: Use num_tx_queues when iterating over tx_ring queue (diff)
downloadkernel-44a13a5d99c71bf9e1676d9e51679daf4d7b3d73.tar.gz
kernel-44a13a5d99c71bf9e1676d9e51679daf4d7b3d73.zip
e1000e: Fix the max snoop/no-snoop latency for 10M
We should decode the latency and the max_latency before directly compare. The latency should be presented as lat_enc = scale x value: lat_enc_d = (lat_enc & 0x0x3ff) x (1U << (5*((max_ltr_enc & 0x1c00) >> 10))) Fixes: cf8fb73c23aa ("e1000e: add support for LTR on I217/I218") Suggested-by: Yee Li <[email protected]> Signed-off-by: Sasha Neftin <[email protected]> Tested-by: Dvora Fuxbrumer <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions